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
697 DEFAULT_BACKUP_SUBDIR
698 DEFAULT_ARCHIVE_SUBDIR
807 program_transform_name
819 enable_option_checking
838 with_cmirrord_pidfile
865 with_dmeventd_pidfile
868 with_default_system_dir
869 with_default_archive_subdir
870 with_default_backup_subdir
871 with_default_cache_subdir
872 with_default_locking_dir
875 ac_precious_vars
='build_alias
909 # Initialize some variables set by options.
911 ac_init_version
=false
912 ac_unrecognized_opts
=
914 # The variables have the same names as the options, with
915 # dashes changed to underlines.
923 program_transform_name
=s
,x
,x
,
931 # Installation directory options.
932 # These are left unexpanded so users can "make install exec_prefix=/foo"
933 # and all the variables that are supposed to be based on exec_prefix
934 # by default will actually change.
935 # Use braces instead of parens because sh, perl, etc. also accept them.
936 # (The list follows the same order as the GNU Coding Standards.)
937 bindir
='${exec_prefix}/bin'
938 sbindir
='${exec_prefix}/sbin'
939 libexecdir
='${exec_prefix}/libexec'
940 datarootdir
='${prefix}/share'
941 datadir
='${datarootdir}'
942 sysconfdir
='${prefix}/etc'
943 sharedstatedir
='${prefix}/com'
944 localstatedir
='${prefix}/var'
945 includedir
='${prefix}/include'
946 oldincludedir
='/usr/include'
947 docdir
='${datarootdir}/doc/${PACKAGE}'
948 infodir
='${datarootdir}/info'
953 libdir
='${exec_prefix}/lib'
954 localedir
='${datarootdir}/locale'
955 mandir
='${datarootdir}/man'
961 # If the previous option needs an argument, assign it.
962 if test -n "$ac_prev"; then
963 eval $ac_prev=\
$ac_option
969 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 # Accept the important Cygnus configure options, so we can diagnose typos.
975 case $ac_dashdash$ac_option in
979 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
981 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
984 -build |
--build |
--buil |
--bui |
--bu)
985 ac_prev
=build_alias
;;
986 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
987 build_alias
=$ac_optarg ;;
989 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
990 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
991 ac_prev
=cache_file
;;
992 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
993 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
994 cache_file
=$ac_optarg ;;
997 cache_file
=config.cache
;;
999 -datadir |
--datadir |
--datadi |
--datad)
1001 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1002 datadir
=$ac_optarg ;;
1004 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1005 |
--dataroo |
--dataro |
--datar)
1006 ac_prev
=datarootdir
;;
1007 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1008 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1009 datarootdir
=$ac_optarg ;;
1011 -disable-* |
--disable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1016 { (exit 1); exit 1; }; }
1017 ac_useropt_orig
=$ac_useropt
1018 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_
$ac_useropt"
1023 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1024 ac_unrecognized_sep
=', ';;
1026 eval enable_
$ac_useropt=no
;;
1028 -docdir |
--docdir |
--docdi |
--doc |
--do)
1030 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1031 docdir
=$ac_optarg ;;
1033 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1035 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1036 dvidir
=$ac_optarg ;;
1038 -enable-* |
--enable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=\
$ac_optarg ;;
1055 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1056 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1057 |
--exec |
--exe |
--ex)
1058 ac_prev
=exec_prefix
;;
1059 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1060 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1061 |
--exec=* |
--exe=* |
--ex=*)
1062 exec_prefix
=$ac_optarg ;;
1064 -gas |
--gas |
--ga |
--g)
1065 # Obsolete; use --with-gas.
1068 -help |
--help |
--hel |
--he |
-h)
1069 ac_init_help
=long
;;
1070 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1071 ac_init_help
=recursive
;;
1072 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1073 ac_init_help
=short
;;
1075 -host |
--host |
--hos |
--ho)
1076 ac_prev
=host_alias
;;
1077 -host=* |
--host=* |
--hos=* |
--ho=*)
1078 host_alias
=$ac_optarg ;;
1080 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1082 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1084 htmldir
=$ac_optarg ;;
1086 -includedir |
--includedir |
--includedi |
--included |
--include \
1087 |
--includ |
--inclu |
--incl |
--inc)
1088 ac_prev
=includedir
;;
1089 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1090 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1091 includedir
=$ac_optarg ;;
1093 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1095 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1096 infodir
=$ac_optarg ;;
1098 -libdir |
--libdir |
--libdi |
--libd)
1100 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1101 libdir
=$ac_optarg ;;
1103 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1104 |
--libexe |
--libex |
--libe)
1105 ac_prev
=libexecdir
;;
1106 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1107 |
--libexe=* |
--libex=* |
--libe=*)
1108 libexecdir
=$ac_optarg ;;
1110 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1111 ac_prev
=localedir
;;
1112 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1113 localedir
=$ac_optarg ;;
1115 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1116 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1117 ac_prev
=localstatedir
;;
1118 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1119 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1120 localstatedir
=$ac_optarg ;;
1122 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1124 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1125 mandir
=$ac_optarg ;;
1127 -nfp |
--nfp |
--nf)
1128 # Obsolete; use --without-fp.
1131 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1132 |
--no-cr |
--no-c |
-n)
1135 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1136 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1139 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1140 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1141 |
--oldin |
--oldi |
--old |
--ol |
--o)
1142 ac_prev
=oldincludedir
;;
1143 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1144 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1145 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1146 oldincludedir
=$ac_optarg ;;
1148 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1150 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1151 prefix
=$ac_optarg ;;
1153 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1154 |
--program-pre |
--program-pr |
--program-p)
1155 ac_prev
=program_prefix
;;
1156 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1157 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1158 program_prefix
=$ac_optarg ;;
1160 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1161 |
--program-suf |
--program-su |
--program-s)
1162 ac_prev
=program_suffix
;;
1163 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1164 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1165 program_suffix
=$ac_optarg ;;
1167 -program-transform-name |
--program-transform-name \
1168 |
--program-transform-nam |
--program-transform-na \
1169 |
--program-transform-n |
--program-transform- \
1170 |
--program-transform |
--program-transfor \
1171 |
--program-transfo |
--program-transf \
1172 |
--program-trans |
--program-tran \
1173 |
--progr-tra |
--program-tr |
--program-t)
1174 ac_prev
=program_transform_name
;;
1175 -program-transform-name=* |
--program-transform-name=* \
1176 |
--program-transform-nam=* |
--program-transform-na=* \
1177 |
--program-transform-n=* |
--program-transform-=* \
1178 |
--program-transform=* |
--program-transfor=* \
1179 |
--program-transfo=* |
--program-transf=* \
1180 |
--program-trans=* |
--program-tran=* \
1181 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1182 program_transform_name
=$ac_optarg ;;
1184 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1186 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1187 pdfdir
=$ac_optarg ;;
1189 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1191 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1194 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1195 |
-silent |
--silent |
--silen |
--sile |
--sil)
1198 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1200 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1202 sbindir
=$ac_optarg ;;
1204 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1205 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1206 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1208 ac_prev
=sharedstatedir
;;
1209 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1210 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1211 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1213 sharedstatedir
=$ac_optarg ;;
1215 -site |
--site |
--sit)
1217 -site=* |
--site=* |
--sit=*)
1220 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1222 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1223 srcdir
=$ac_optarg ;;
1225 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1226 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1227 ac_prev
=sysconfdir
;;
1228 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1229 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1230 sysconfdir
=$ac_optarg ;;
1232 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1233 ac_prev
=target_alias
;;
1234 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1235 target_alias
=$ac_optarg ;;
1237 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1240 -version |
--version |
--versio |
--versi |
--vers |
-V)
1241 ac_init_version
=: ;;
1244 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1248 { (exit 1); exit 1; }; }
1249 ac_useropt_orig
=$ac_useropt
1250 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1255 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep
=', ';;
1258 eval with_
$ac_useropt=\
$ac_optarg ;;
1260 -without-* |
--without-*)
1261 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1264 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1265 { (exit 1); exit 1; }; }
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=no
;;
1278 # Obsolete; use --with-x.
1281 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1282 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1283 ac_prev
=x_includes
;;
1284 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1285 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1286 x_includes
=$ac_optarg ;;
1288 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1289 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1290 ac_prev
=x_libraries
;;
1291 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1292 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1293 x_libraries
=$ac_optarg ;;
1295 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1296 Try \`$0 --help' for more information." >&2
1297 { (exit 1); exit 1; }; }
1301 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1304 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1305 { (exit 1); exit 1; }; }
1306 eval $ac_envvar=\
$ac_optarg
1307 export $ac_envvar ;;
1310 # FIXME: should be removed in autoconf 3.0.
1311 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1312 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1313 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1314 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320 if test -n "$ac_prev"; then
1321 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1322 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1323 { (exit 1); exit 1; }; }
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1329 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1330 { (exit 1); exit 1; }; } ;;
1331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335 # Check all directory arguments for consistency.
1336 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337 datadir sysconfdir sharedstatedir localstatedir includedir \
1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339 libdir localedir mandir
1341 eval ac_val
=\$
$ac_var
1342 # Remove trailing slashes.
1345 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346 eval $ac_var=\
$ac_val;;
1348 # Be sure to have absolute directory names.
1350 [\\/$
]* | ?
:[\\/]* ) continue;;
1351 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1353 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1354 { (exit 1); exit 1; }; }
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1362 target
=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x
; then
1366 if test "x$build_alias" = x
; then
1367 cross_compiling
=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1376 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1378 test "$silent" = yes && exec 6>/dev
/null
1381 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di
=`ls -di .` &&
1383 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1384 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1385 { (exit 1); exit 1; }; }
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1388 { (exit 1); exit 1; }; }
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393 ac_srcdir_defaulted
=yes
1394 # Try the directory containing this script, then the parent directory.
1395 ac_confdir
=`$as_dirname -- "$as_myself" ||
1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397 X"$as_myself" : 'X\(//\)[^/]' \| \
1398 X"$as_myself" : 'X\(//\)$' \| \
1399 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400 $as_echo X"$as_myself" |
1401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1423 ac_srcdir_defaulted
=no
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1427 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1428 { (exit 1); exit 1; }; }
1430 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1432 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1433 { (exit 1); exit 1; }; }
1435 # When building in place, set srcdir=.
1436 if test "$ac_abs_confdir" = "$ac_pwd"; then
1439 # Remove unnecessary trailing slashes from srcdir.
1440 # Double slashes in file names in object file debugging info
1441 # mess up M-x gdb in Emacs.
1443 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 for ac_var
in $ac_precious_vars; do
1446 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1448 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1453 # Report the --help message.
1455 if test "$ac_init_help" = "long"; then
1456 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.
1459 \`configure' configures this package to adapt to many kinds of systems.
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE. See below for descriptions of some of the useful variables.
1466 Defaults for the options are specified in brackets.
1469 -h, --help display this help and exit
1470 --help=short display options specific to this package
1471 --help=recursive display the short help of all the included packages
1472 -V, --version display version information and exit
1473 -q, --quiet, --silent do not print \`checking...' messages
1474 --cache-file=FILE cache test results in FILE [disabled]
1475 -C, --config-cache alias for \`--cache-file=config.cache'
1476 -n, --no-create do not create output files
1477 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1479 Installation directories:
1480 --prefix=PREFIX install architecture-independent files in PREFIX
1481 [$ac_default_prefix]
1482 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1490 For better control, use the options below.
1492 Fine tuning of the installation directories:
1493 --bindir=DIR user executables [EPREFIX/bin]
1494 --sbindir=DIR system admin executables [EPREFIX/sbin]
1495 --libexecdir=DIR program executables [EPREFIX/libexec]
1496 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499 --libdir=DIR object code libraries [EPREFIX/lib]
1500 --includedir=DIR C header files [PREFIX/include]
1501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504 --infodir=DIR info documentation [DATAROOTDIR/info]
1505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506 --mandir=DIR man documentation [DATAROOTDIR/man]
1507 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1508 --htmldir=DIR html documentation [DOCDIR]
1509 --dvidir=DIR dvi documentation [DOCDIR]
1510 --pdfdir=DIR pdf documentation [DOCDIR]
1511 --psdir=DIR ps documentation [DOCDIR]
1517 --build=BUILD configure
for building on BUILD
[guessed
]
1518 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1519 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1523 if test -n "$ac_init_help"; then
1528 --disable-option-checking ignore unrecognized
--enable/--with options
1529 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1530 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1531 --enable-static_link use this to link the tools to their libraries
1532 statically
(default is dynamic linking
1533 --enable-lvm1_fallback use this to fall back and use LVM1 binaries
if
1534 device-mapper is missing from the kernel
1535 --disable-readline disable readline support
1536 --enable-realtime enable realtime
clock support
1537 --enable-cmirrord enable the cluster mirror log daemon
1538 --enable-debug enable debugging
1539 --enable-profiling gather gcov profiling data
1540 --enable-testing enable testing targets
in the makefile
1541 --disable-devmapper disable LVM2 device-mapper interaction
1542 --enable-udev_sync enable synchronisation with udev processing
1543 --enable-udev_rules install rule files needed
for udev synchronisation
1544 --enable-compat enable support
for old device-mapper versions
1545 --enable-units-compat enable output compatibility with old versions that
1546 that
do not use KiB-style unit suffixes
1547 --disable-driver disable calls to device-mapper
in the kernel
1548 --disable-o_direct disable O_DIRECT
1549 --enable-applib build application library
1550 --enable-cmdlib build shared
command library
1551 --enable-pkgconfig install pkgconfig support
1552 --enable-write_install install user writable files
1553 --disable-fsadm disable fsadm
1554 --enable-dmeventd enable the device-mapper event daemon
1555 --disable-selinux disable selinux support
1556 --enable-nls enable Native Language Support
1559 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1560 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1561 --with-user=USER
set the owner of installed files
[USER
=]
1562 --with-group=GROUP
set the group owner of installed files
[GROUP
=]
1563 --with-device-uid=UID
set the owner used
for new device nodes
[UID
=0]
1564 --with-device-gid=GID
set the group used
for new device nodes
[GID
=0]
1565 --with-device-mode=MODE
set the mode used
for new device nodes
[MODE
=0600]
1566 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1568 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1570 --with-cluster=TYPE cluster LVM locking support
: internal
/shared
/none
1572 --with-snapshots=TYPE snapshot support
: internal
/shared
/none
1574 --with-mirrors=TYPE mirror support
: internal
/shared
/none
1576 --with-replicators=TYPE replicator support
: internal
/shared
/none
1578 --with-clvmd=TYPE build cluster LVM Daemon
1579 The following cluster manager combinations are valid
:
1580 * cman
,gulm
(RHEL4 or equivalent
)
1581 * cman
(RHEL5 or equivalent
)
1582 * cman
,corosync
,openais
(or selection of them
)
1583 * singlenode
(localhost only
)
1585 * none
(disable build
)
1587 --with-clvmd-pidfile=PATH
1588 clvmd pidfile
[/var
/run
/clvmd.pid
]
1589 --with-cmirrord-pidfile=PATH
1590 cmirrord pidfile
[/var
/run
/cmirrord.pid
]
1591 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1592 --with-localedir=DIR translation files
in DIR
[PREFIX
/share
/locale
]
1593 --with-confdir=DIR configuration files
in DIR
[/etc
]
1594 --with-staticdir=DIR static binaries
in DIR
[EPREFIX
/sbin
]
1595 --with-usrlibdir=DIR usrlib
in DIR
[PREFIX
/lib
]
1596 --with-usrsbindir=DIR usrsbin executables
in DIR
[PREFIX
/sbin
]
1597 --with-udev-prefix=UPREFIX
1598 install udev rule files
in UPREFIX
[EPREFIX
]
1599 --with-udevdir=DIR udev rules
in DIR
[UPREFIX
/lib
/udev
/rules.d
]
1600 --with-dmeventd-pidfile=PATH
1601 dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1602 --with-dmeventd-path=PATH
1603 dmeventd path
[EPREFIX
/sbin
/dmeventd
]
1604 --with-default-run-dir=DIR Default run directory
[/var
/run
/lvm
]
1605 --with-default-system-dir=DIR
1606 default LVM system directory
[/etc
/lvm
]
1607 --with-default-archive-subdir=SUBDIR
1608 default metadata archive subdir
[archive
]
1609 --with-default-backup-subdir=SUBDIR
1610 default metadata backup subdir
[backup
]
1611 --with-default-cache-subdir=SUBDIR
1612 default metadata cache subdir
[cache
]
1613 --with-default-locking-dir=DIR
1614 default locking directory
[/var
/lock
/lvm
]
1615 --with-interface=IFACE choose kernel interface
(ioctl
) [ioctl
]
1617 Some influential environment variables
:
1618 CC C compiler
command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1621 nonstandard directory
<lib dir
>
1622 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1623 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1624 you have headers
in a nonstandard directory
<include dir
>
1626 PKG_CONFIG path to pkg-config utility
1627 PKGCONFIGINIT_CFLAGS
1628 C compiler flags
for PKGCONFIGINIT
, overriding pkg-config
1630 linker flags
for PKGCONFIGINIT
, overriding pkg-config
1631 CCS_CFLAGS C compiler flags
for CCS
, overriding pkg-config
1632 CCS_LIBS linker flags
for CCS
, overriding pkg-config
1633 GULM_CFLAGS C compiler flags
for GULM
, overriding pkg-config
1634 GULM_LIBS linker flags
for GULM
, overriding pkg-config
1635 CMAN_CFLAGS C compiler flags
for CMAN
, overriding pkg-config
1636 CMAN_LIBS linker flags
for CMAN
, overriding pkg-config
1638 C compiler flags
for COROSYNC
, overriding pkg-config
1640 linker flags
for COROSYNC
, overriding pkg-config
1642 C compiler flags
for QUORUM
, overriding pkg-config
1643 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1645 C compiler flags
for SALCK
, overriding pkg-config
1646 SALCK_LIBS linker flags
for SALCK
, overriding pkg-config
1648 C compiler flags
for CONFDB
, overriding pkg-config
1649 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1650 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1651 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1652 DLM_CFLAGS C compiler flags
for DLM
, overriding pkg-config
1653 DLM_LIBS linker flags
for DLM
, overriding pkg-config
1655 C compiler flags
for SACKPT
, overriding pkg-config
1656 SACKPT_LIBS linker flags
for SACKPT
, overriding pkg-config
1658 Use these variables to override the choices made by
`configure' or to help
1659 it to find libraries and programs with nonstandard names/locations.
1665 if test "$ac_init_help" = "recursive"; then
1666 # If there are subdirs, report their specific --help.
1667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1668 test -d "$ac_dir" ||
1669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1676 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1677 # A ".." for each directory in $ac_dir_suffix.
1678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1679 case $ac_top_builddir_sub in
1680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1684 ac_abs_top_builddir=$ac_pwd
1685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1686 # for backward compatibility:
1687 ac_top_builddir=$ac_top_build_prefix
1690 .) # We are building in place.
1692 ac_top_srcdir=$ac_top_builddir_sub
1693 ac_abs_top_srcdir=$ac_pwd ;;
1694 [\\/]* | ?:[\\/]* ) # Absolute name.
1695 ac_srcdir=$srcdir$ac_dir_suffix;
1696 ac_top_srcdir=$srcdir
1697 ac_abs_top_srcdir=$srcdir ;;
1699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1700 ac_top_srcdir=$ac_top_build_prefix$srcdir
1701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1705 cd "$ac_dir" || { ac_status=$?; continue; }
1706 # Check for guested configure.
1707 if test -f "$ac_srcdir/configure.gnu"; then
1709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1710 elif test -f "$ac_srcdir/configure"; then
1712 $SHELL "$ac_srcdir/configure" --help=recursive
1714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1716 cd "$ac_pwd" || { ac_status=$?; break; }
1720 test -n "$ac_init_help" && exit $ac_status
1721 if $ac_init_version; then
1724 generated by GNU Autoconf 2.63
1726 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1727 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1728 This configure script is free software; the Free Software Foundation
1729 gives unlimited permission to copy, distribute and modify it.
1733 cat >config.log <<_ACEOF
1734 This file contains any messages produced by compilers while
1735 running configure, to aid debugging if configure makes a mistake.
1737 It was created by $as_me, which was
1738 generated by GNU Autoconf 2.63. Invocation command line was
1750 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1751 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1752 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1753 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1754 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1756 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1757 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1759 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1760 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1761 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1762 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1763 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1764 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1765 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 test -z "$as_dir" && as_dir=.
1774 $as_echo "PATH: $as_dir"
1790 # Keep a trace of the command line.
1791 # Strip out --no-create and --no-recursion so they do not pile up.
1792 # Strip out --silent because we don't want to record it for future runs.
1793 # Also quote any args containing shell meta-characters.
1794 # Make two passes to allow for proper duplicate-argument suppression.
1798 ac_must_keep_next=false
1804 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1805 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1806 | -silent | --silent | --silen | --sile | --sil)
1809 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1812 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1814 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1815 if test $ac_must_keep_next = true; then
1816 ac_must_keep_next=false # Got value, back to normal.
1819 *=* | --config-cache | -C | -disable-* | --disable-* \
1820 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1821 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1822 | -with-* | --with-* | -without-* | --without-* | --x)
1823 case "$ac_configure_args0 " in
1824 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1827 -* ) ac_must_keep_next=true ;;
1830 ac_configure_args="$ac_configure_args '$ac_arg'"
1835 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1836 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1838 # When interrupted or exit'd, cleanup temporary files, and complete
1839 # config.log. We remove comments because anyway the quotes in there
1840 # would cause problems or look ugly.
1841 # WARNING: Use '\'' to represent an apostrophe within the trap.
1842 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1843 trap 'exit_status=$?
1844 # Save into config.log some information that might help in debugging.
1849 ## ---------------- ##
1850 ## Cache variables. ##
1851 ## ---------------- ##
1854 # The following way of writing the cache mishandles newlines in values,
1856 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1857 eval ac_val=\$$ac_var
1861 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1865 _ | IFS | as_nl) ;; #(
1866 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1867 *) $as_unset $ac_var ;;
1872 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1873 *${as_nl}ac_space=\ *)
1875 "s/'\''/'\''\\\\'\'''\''/g;
1876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1887 ## ----------------- ##
1888 ## Output variables. ##
1889 ## ----------------- ##
1892 for ac_var in $ac_subst_vars
1894 eval ac_val=\$$ac_var
1896 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1898 $as_echo "$ac_var='\''$ac_val'\''"
1902 if test -n "$ac_subst_files"; then
1904 ## ------------------- ##
1905 ## File substitutions. ##
1906 ## ------------------- ##
1909 for ac_var in $ac_subst_files
1911 eval ac_val=\$$ac_var
1913 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915 $as_echo "$ac_var='\''$ac_val'\''"
1920 if test -s confdefs.h; then
1930 test "$ac_signal" != 0 &&
1931 $as_echo "$as_me: caught signal $ac_signal"
1932 $as_echo "$as_me: exit $exit_status"
1934 rm -f core *.core core.conftest.* &&
1935 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1938 for ac_signal in 1 2 13 15; do
1939 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1943 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1944 rm -f -r conftest* confdefs.h
1946 # Predefined preprocessor variables.
1948 cat >>confdefs.h <<_ACEOF
1949 #define PACKAGE_NAME "$PACKAGE_NAME"
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1958 cat >>confdefs.h <<_ACEOF
1959 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1963 cat >>confdefs.h <<_ACEOF
1964 #define PACKAGE_STRING "$PACKAGE_STRING"
1968 cat >>confdefs.h <<_ACEOF
1969 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1973 # Let the site file select an alternate cache file if it wants to.
1974 # Prefer an explicitly selected file to automatically selected ones.
1977 if test -n "$CONFIG_SITE"; then
1978 ac_site_file1=$CONFIG_SITE
1979 elif test "x$prefix" != xNONE; then
1980 ac_site_file1=$prefix/share/config.site
1981 ac_site_file2=$prefix/etc/config.site
1983 ac_site_file1=$ac_default_prefix/share/config.site
1984 ac_site_file2=$ac_default_prefix/etc/config.site
1986 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1988 test "x$ac_site_file" = xNONE && continue
1989 if test -r "$ac_site_file"; then
1990 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1991 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1992 sed 's/^/| /' "$ac_site_file" >&5
1997 if test -r "$cache_file"; then
1998 # Some versions of bash will fail to source /dev/null (special
1999 # files actually), so we avoid doing that.
2000 if test -f "$cache_file"; then
2001 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2002 $as_echo "$as_me: loading cache $cache_file" >&6;}
2004 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2005 *) . "./$cache_file";;
2009 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2010 $as_echo "$as_me: creating cache $cache_file" >&6;}
2014 # Check that the precious variables saved in the cache have kept the same
2016 ac_cache_corrupted=false
2017 for ac_var in $ac_precious_vars; do
2018 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2019 eval ac_new_set=\$ac_env_${ac_var}_set
2020 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2021 eval ac_new_val=\$ac_env_${ac_var}_value
2022 case $ac_old_set,$ac_new_set in
2024 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2025 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2026 ac_cache_corrupted=: ;;
2028 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2029 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2030 ac_cache_corrupted=: ;;
2033 if test "x$ac_old_val" != "x$ac_new_val"; then
2034 # differences in whitespace do not lead to failure.
2035 ac_old_val_w=`echo x
$ac_old_val`
2036 ac_new_val_w=`echo x
$ac_new_val`
2037 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2038 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2039 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2040 ac_cache_corrupted=:
2042 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2043 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2044 eval $ac_var=\$ac_old_val
2046 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2047 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2048 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2049 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2052 # Pass precious variables to config.status.
2053 if test "$ac_new_set" = set; then
2055 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2056 *) ac_arg=$ac_var=$ac_new_val ;;
2058 case " $ac_configure_args " in
2059 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2060 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2064 if $ac_cache_corrupted; then
2065 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2068 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2069 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2070 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2071 { (exit 1); exit 1; }; }
2091 ac_cpp='$CPP $CPPFLAGS'
2092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2098 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
2101 ################################################################################
2103 for ac_dir in autoconf "$srcdir"/autoconf; do
2104 if test -f "$ac_dir/install-sh
"; then
2106 ac_install_sh="$ac_aux_dir/install-sh
-c"
2108 elif test -f "$ac_dir/install.sh
"; then
2110 ac_install_sh="$ac_aux_dir/install.sh
-c"
2112 elif test -f "$ac_dir/shtool
"; then
2114 ac_install_sh="$ac_aux_dir/shtool
install -c"
2118 if test -z "$ac_aux_dir"; then
2119 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2120 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2121 { (exit 1); exit 1; }; }
2124 # These three variables are undocumented and unsupported,
2125 # and are intended to be withdrawn in a future Autoconf release.
2126 # They can cause serious problems if a builder's source tree is in a directory
2127 # whose full name contains unusual characters.
2128 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2129 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2130 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2134 ################################################################################
2135 # Make sure we can run config.sub.
2136 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2137 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2138 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2139 { (exit 1); exit 1; }; }
2141 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2142 $as_echo_n "checking build system
type...
" >&6; }
2143 if test "${ac_cv_build+set}" = set; then
2144 $as_echo_n "(cached
) " >&6
2146 ac_build_alias=$build_alias
2147 test "x
$ac_build_alias" = x &&
2148 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2149 test "x
$ac_build_alias" = x &&
2150 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2151 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2152 { (exit 1); exit 1; }; }
2153 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2154 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2155 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2156 { (exit 1); exit 1; }; }
2159 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2160 $as_echo "$ac_cv_build" >&6; }
2161 case $ac_cv_build in
2163 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2164 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2165 { (exit 1); exit 1; }; };;
2168 ac_save_IFS=$IFS; IFS='-'
2174 # Remember, the first character of IFS is used to create $*,
2175 # except with old shells:
2178 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2181 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2182 $as_echo_n "checking
host system
type...
" >&6; }
2183 if test "${ac_cv_host+set}" = set; then
2184 $as_echo_n "(cached
) " >&6
2186 if test "x
$host_alias" = x; then
2187 ac_cv_host=$ac_cv_build
2189 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2190 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2191 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2192 { (exit 1); exit 1; }; }
2196 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2197 $as_echo "$ac_cv_host" >&6; }
2200 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2201 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2202 { (exit 1); exit 1; }; };;
2205 ac_save_IFS=$IFS; IFS='-'
2211 # Remember, the first character of IFS is used to create $*,
2212 # except with old shells:
2215 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2218 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2219 $as_echo_n "checking target system
type...
" >&6; }
2220 if test "${ac_cv_target+set}" = set; then
2221 $as_echo_n "(cached
) " >&6
2223 if test "x
$target_alias" = x; then
2224 ac_cv_target=$ac_cv_host
2226 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2227 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2228 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2229 { (exit 1); exit 1; }; }
2233 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2234 $as_echo "$ac_cv_target" >&6; }
2235 case $ac_cv_target in
2237 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2238 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2239 { (exit 1); exit 1; }; };;
2241 target=$ac_cv_target
2242 ac_save_IFS=$IFS; IFS='-'
2248 # Remember, the first character of IFS is used to create $*,
2249 # except with old shells:
2252 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2255 # The aliases save the names the user supplied, while $host etc.
2256 # will get canonicalized.
2257 test -n "$target_alias" &&
2258 test "$program_prefix$program_suffix$program_transform_name" = \
2260 program_prefix=${target_alias}-
2265 COPTIMISE_FLAG="-O2"
2266 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2267 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2268 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2269 LDDEPS="$LDDEPS .
export.sym
"
2270 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2280 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2281 COPTIMISE_FLAG="-O2"
2282 CLDFLAGS="$CLDFLAGS"
2283 CLDWHOLEARCHIVE="-all_load"
2295 ################################################################################
2296 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2297 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2298 if test "${ac_cv_path_SED+set}" = set; then
2299 $as_echo_n "(cached
) " >&6
2301 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2302 for ac_i in 1 2 3 4 5 6 7; do
2303 ac_script="$ac_script$as_nl$ac_script"
2305 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2306 $as_unset ac_script || ac_script=
2307 if test -z "$SED"; then
2308 ac_path_SED_found=false
2309 # Loop through the user's path and test for each of PROGNAME-LIST
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_prog in sed gsed; do
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2318 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2319 # Check for GNU ac_path_SED and select it if it is found.
2320 # Check for GNU $ac_path_SED
2321 case `"$ac_path_SED" --version 2>&1` in
2323 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2326 $as_echo_n 0123456789 >"conftest.
in"
2329 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2330 mv "conftest.tmp
" "conftest.
in"
2331 cp "conftest.
in" "conftest.
nl"
2332 $as_echo '' >> "conftest.
nl"
2333 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2334 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2335 ac_count=`expr $ac_count + 1`
2336 if test $ac_count -gt ${ac_path_SED_max-0}; then
2337 # Best one so far, save it but keep looking for a better one
2338 ac_cv_path_SED="$ac_path_SED"
2339 ac_path_SED_max=$ac_count
2341 # 10*(2^10) chars as input seems more than enough
2342 test $ac_count -gt 10 && break
2344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2347 $ac_path_SED_found && break 3
2352 if test -z "$ac_cv_path_SED"; then
2353 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2354 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2355 { (exit 1); exit 1; }; }
2362 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2363 $as_echo "$ac_cv_path_SED" >&6; }
2364 SED="$ac_cv_path_SED"
2367 for ac_prog in gawk mawk nawk awk
2369 # Extract the first word of "$ac_prog", so it can be a program name with args.
2370 set dummy $ac_prog; ac_word=$2
2371 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2372 $as_echo_n "checking
for $ac_word...
" >&6; }
2373 if test "${ac_cv_prog_AWK+set}" = set; then
2374 $as_echo_n "(cached
) " >&6
2376 if test -n "$AWK"; then
2377 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2386 ac_cv_prog_AWK="$ac_prog"
2387 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2397 if test -n "$AWK"; then
2398 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2399 $as_echo "$AWK" >&6; }
2401 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2402 $as_echo "no
" >&6; }
2406 test -n "$AWK" && break
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2417 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2418 $as_echo_n "checking
for $ac_word...
" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 $as_echo_n "(cached
) " >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2433 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2443 if test -n "$CC"; then
2444 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2445 $as_echo "$CC" >&6; }
2447 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2448 $as_echo "no
" >&6; }
2453 if test -z "$ac_cv_prog_CC"; then
2455 # Extract the first word of "gcc
", so it can be a program name with args.
2456 set dummy gcc; ac_word=$2
2457 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2458 $as_echo_n "checking
for $ac_word...
" >&6; }
2459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2460 $as_echo_n "(cached
) " >&6
2462 if test -n "$ac_ct_CC"; then
2463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_ac_ct_CC="gcc
"
2473 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2483 if test -n "$ac_ct_CC"; then
2484 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2485 $as_echo "$ac_ct_CC" >&6; }
2487 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2488 $as_echo "no
" >&6; }
2491 if test "x
$ac_ct_CC" = x; then
2494 case $cross_compiling:$ac_tool_warned in
2496 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2497 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2498 ac_tool_warned=yes ;;
2506 if test -z "$CC"; then
2507 if test -n "$ac_tool_prefix"; then
2508 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2509 set dummy ${ac_tool_prefix}cc; ac_word=$2
2510 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2511 $as_echo_n "checking
for $ac_word...
" >&6; }
2512 if test "${ac_cv_prog_CC+set}" = set; then
2513 $as_echo_n "(cached
) " >&6
2515 if test -n "$CC"; then
2516 ac_cv_prog_CC="$CC" # Let the user override the test.
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir=.
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2525 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2526 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2536 if test -n "$CC"; then
2537 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2538 $as_echo "$CC" >&6; }
2540 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2541 $as_echo "no
" >&6; }
2547 if test -z "$CC"; then
2548 # Extract the first word of "cc
", so it can be a program name with args.
2549 set dummy cc; ac_word=$2
2550 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2551 $as_echo_n "checking
for $ac_word...
" >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then
2553 $as_echo_n "(cached
) " >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC="$CC" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2567 ac_prog_rejected=yes
2571 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2578 if test $ac_prog_rejected = yes; then
2579 # We found a bogon in the path, so make sure we never use it.
2580 set dummy $ac_cv_prog_CC
2582 if test $# != 0; then
2583 # We chose a different compiler from the bogus one.
2584 # However, it has the same basename, so the bogon will be chosen
2585 # first if we set CC to just the basename; use the full file name.
2587 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2593 if test -n "$CC"; then
2594 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2595 $as_echo "$CC" >&6; }
2597 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2598 $as_echo "no
" >&6; }
2603 if test -z "$CC"; then
2604 if test -n "$ac_tool_prefix"; then
2605 for ac_prog in cl.exe
2607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2609 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2610 $as_echo_n "checking
for $ac_word...
" >&6; }
2611 if test "${ac_cv_prog_CC+set}" = set; then
2612 $as_echo_n "(cached
) " >&6
2614 if test -n "$CC"; then
2615 ac_cv_prog_CC="$CC" # Let the user override the test.
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2625 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$CC"; then
2636 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2637 $as_echo "$CC" >&6; }
2639 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2640 $as_echo "no
" >&6; }
2644 test -n "$CC" && break
2647 if test -z "$CC"; then
2649 for ac_prog in cl.exe
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2654 $as_echo_n "checking
for $ac_word...
" >&6; }
2655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2656 $as_echo_n "(cached
) " >&6
2658 if test -n "$ac_ct_CC"; then
2659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_ac_ct_CC="$ac_prog"
2669 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2679 if test -n "$ac_ct_CC"; then
2680 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2681 $as_echo "$ac_ct_CC" >&6; }
2683 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2684 $as_echo "no
" >&6; }
2688 test -n "$ac_ct_CC" && break
2691 if test "x
$ac_ct_CC" = x; then
2694 case $cross_compiling:$ac_tool_warned in
2696 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2697 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2698 ac_tool_warned=yes ;;
2707 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2710 See \`config.log' for more details.
" >&5
2711 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2712 See \
`config.log' for more details." >&2;}
2713 { (exit 1); exit 1; }; }; }
2715 # Provide some information about the compiler.
2716 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2719 { (ac_try="$ac_compiler --version >&5"
2721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2722 *) ac_try_echo
=$ac_try;;
2724 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2725 $as_echo "$ac_try_echo") >&5
2726 (eval "$ac_compiler --version >&5") 2>&5
2728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }
2730 { (ac_try
="$ac_compiler -v >&5"
2732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2736 $as_echo "$ac_try_echo") >&5
2737 (eval "$ac_compiler -v >&5") 2>&5
2739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }
2741 { (ac_try="$ac_compiler -V >&5"
2743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2744 *) ac_try_echo
=$ac_try;;
2746 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2747 $as_echo "$ac_try_echo") >&5
2748 (eval "$ac_compiler -V >&5") 2>&5
2750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2753 cat >conftest.
$ac_ext <<_ACEOF
2756 cat confdefs.h
>>conftest.
$ac_ext
2757 cat >>conftest.
$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 ac_clean_files_save
=$ac_clean_files
2769 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2770 # Try to create an executable without -o first, disregard a.out.
2771 # It will help us diagnose broken compilers, and finding out an intuition
2773 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2774 $as_echo_n "checking for C compiler default output file name... " >&6; }
2775 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2777 # The possible output files:
2778 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2781 for ac_file
in $ac_files
2784 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2785 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2790 if { (ac_try
="$ac_link_default"
2792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2796 $as_echo "$ac_try_echo") >&5
2797 (eval "$ac_link_default") 2>&5
2799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; then
2801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2802 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2803 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2804 # so that the user can short-circuit this test for compilers unknown to
2806 for ac_file in $ac_files ''
2808 test -f "$ac_file" || continue
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2813 # We found the default executable, but exeext='' is most
2817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2821 # We set ac_cv_exeext here because the later test for it is not
2822 # safe: cross compilers may not add the suffix if given an `-o'
2823 # argument, so we may need to know it at that point already.
2824 # Even if this section looks crufty: it has the advantage of
2831 test "$ac_cv_exeext" = no && ac_cv_exeext=
2837 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2838 $as_echo "$ac_file" >&6; }
2839 if test -z "$ac_file"; then
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's
/^
/|
/' conftest.$ac_ext >&5
2843 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2844 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2845 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2846 See \`config.log
' for more details." >&5
2847 $as_echo "$as_me: error: C compiler cannot create executables
2848 See \`config.log' for more details.
" >&2;}
2849 { (exit 77); exit 77; }; }; }
2852 ac_exeext=$ac_cv_exeext
2854 # Check that the compiler produces executables we can run. If not, either
2855 # the compiler is broken, or we cross compile.
2856 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2857 $as_echo_n "checking whether the C compiler works...
" >&6; }
2858 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2859 # If not cross compiling, check that we can run a simple program.
2860 if test "$cross_compiling" != yes; then
2861 if { ac_try='./$ac_file'
2862 { (case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2866 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2867 $as_echo "$ac_try_echo") >&5
2868 (eval "$ac_try") 2>&5
2870 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2871 (exit $ac_status); }; }; then
2874 if test "$cross_compiling" = maybe; then
2877 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2879 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2880 If you meant to cross compile, use \`--host'.
2881 See \
`config.log' for more details." >&5
2882 $as_echo "$as_me: error: cannot run C compiled programs.
2883 If you meant to cross compile, use \`--host'.
2884 See \`config.log' for more details.
" >&2;}
2885 { (exit 1); exit 1; }; }; }
2889 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2890 $as_echo "yes" >&6; }
2892 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2893 ac_clean_files=$ac_clean_files_save
2894 # Check that the compiler produces executables we can run. If not, either
2895 # the compiler is broken, or we cross compile.
2896 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2897 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2898 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2899 $as_echo "$cross_compiling" >&6; }
2901 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2902 $as_echo_n "checking
for suffix of executables...
" >&6; }
2903 if { (ac_try="$ac_link"
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2908 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2909 $as_echo "$ac_try_echo") >&5
2910 (eval "$ac_link") 2>&5
2912 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2915 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2916 # work properly (i.e., refer to `conftest.exe'), while it won't with
2918 for ac_file in conftest.exe conftest conftest.*; do
2919 test -f "$ac_file" || continue
2921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2922 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2928 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2930 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2931 See \`config.log' for more details.
" >&5
2932 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2933 See \
`config.log' for more details." >&2;}
2934 { (exit 1); exit 1; }; }; }
2937 rm -f conftest$ac_cv_exeext
2938 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2939 $as_echo "$ac_cv_exeext" >&6; }
2941 rm -f conftest.$ac_ext
2942 EXEEXT=$ac_cv_exeext
2944 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2945 $as_echo_n "checking for suffix of object files... " >&6; }
2946 if test "${ac_cv_objext+set}" = set; then
2947 $as_echo_n "(cached) " >&6
2949 cat >conftest.$ac_ext <<_ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2964 rm -f conftest.o conftest.obj
2965 if { (ac_try="$ac_compile"
2967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2968 *) ac_try_echo
=$ac_try;;
2970 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_compile") 2>&5
2974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; then
2976 for ac_file
in conftest.o conftest.obj conftest.
*; do
2977 test -f "$ac_file" ||
continue;
2979 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2980 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.
$ac_ext >&5
2988 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2991 See \`config.log' for more details." >&5
2992 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }; }
2997 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2999 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3000 $as_echo "$ac_cv_objext" >&6; }
3001 OBJEXT
=$ac_cv_objext
3003 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3004 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3005 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3006 $as_echo_n "(cached) " >&6
3008 cat >conftest.
$ac_ext <<_ACEOF
3011 cat confdefs.h
>>conftest.
$ac_ext
3012 cat >>conftest.
$ac_ext <<_ACEOF
3013 /* end confdefs.h. */
3026 rm -f conftest.
$ac_objext
3027 if { (ac_try
="$ac_compile"
3029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3033 $as_echo "$ac_try_echo") >&5
3034 (eval "$ac_compile") 2>conftest.er1
3036 grep -v '^ *+' conftest.er1 >conftest.err
3038 cat conftest.err >&5
3039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); } && {
3041 test -z "$ac_c_werror_flag" ||
3042 test ! -s conftest.err
3043 } && test -s conftest.$ac_objext; then
3046 $as_echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.$ac_ext >&5
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3056 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3057 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3058 if test $ac_compiler_gnu = yes; then
3063 ac_test_CFLAGS=${CFLAGS+set}
3064 ac_save_CFLAGS=$CFLAGS
3065 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3066 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3067 if test "${ac_cv_prog_cc_g+set}" = set; then
3068 $as_echo_n "(cached) " >&6
3070 ac_save_c_werror_flag=$ac_c_werror_flag
3071 ac_c_werror_flag=yes
3074 cat >conftest.$ac_ext <<_ACEOF
3077 cat confdefs.h >>conftest.$ac_ext
3078 cat >>conftest.$ac_ext <<_ACEOF
3079 /* end confdefs.h. */
3089 rm -f conftest.$ac_objext
3090 if { (ac_try="$ac_compile"
3092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3093 *) ac_try_echo
=$ac_try;;
3095 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3096 $as_echo "$ac_try_echo") >&5
3097 (eval "$ac_compile") 2>conftest.er1
3099 grep -v '^ *+' conftest.er1
>conftest.err
3101 cat conftest.err
>&5
3102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } && {
3104 test -z "$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3106 } && test -s conftest.
$ac_objext; then
3109 $as_echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.
$ac_ext >&5
3113 cat >conftest.
$ac_ext <<_ACEOF
3116 cat confdefs.h
>>conftest.
$ac_ext
3117 cat >>conftest.
$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3128 rm -f conftest.
$ac_objext
3129 if { (ac_try
="$ac_compile"
3131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3135 $as_echo "$ac_try_echo") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3138 grep -v '^ *+' conftest.er1 >conftest.err
3140 cat conftest.err >&5
3141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_c_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_c_werror_flag=$ac_save_c_werror_flag
3153 cat >conftest.$ac_ext <<_ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3168 rm -f conftest.$ac_objext
3169 if { (ac_try="$ac_compile"
3171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3172 *) ac_try_echo
=$ac_try;;
3174 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3175 $as_echo "$ac_try_echo") >&5
3176 (eval "$ac_compile") 2>conftest.er1
3178 grep -v '^ *+' conftest.er1
>conftest.err
3180 cat conftest.err
>&5
3181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } && {
3183 test -z "$ac_c_werror_flag" ||
3184 test ! -s conftest.err
3185 } && test -s conftest.
$ac_objext; then
3188 $as_echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3201 ac_c_werror_flag
=$ac_save_c_werror_flag
3203 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3204 $as_echo "$ac_cv_prog_cc_g" >&6; }
3205 if test "$ac_test_CFLAGS" = set; then
3206 CFLAGS
=$ac_save_CFLAGS
3207 elif test $ac_cv_prog_cc_g = yes; then
3208 if test "$GCC" = yes; then
3214 if test "$GCC" = yes; then
3220 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3221 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3222 if test "${ac_cv_prog_cc_c89+set}" = set; then
3223 $as_echo_n "(cached) " >&6
3225 ac_cv_prog_cc_c89
=no
3227 cat >conftest.
$ac_ext <<_ACEOF
3230 cat confdefs.h
>>conftest.
$ac_ext
3231 cat >>conftest.
$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3235 #include <sys/types.h>
3236 #include <sys/stat.h>
3237 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3238 struct buf { int x; };
3239 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3240 static char *e (p, i)
3246 static char *f (char * (*g) (char **, int), char **p, ...)
3251 s = g (p, va_arg (v,int));
3256 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3257 function prototypes and stuff, but not '\xHH' hex character constants.
3258 These don't provoke an error unfortunately, instead are silently treated
3259 as 'x'. The following induces an error, until -std is added to get
3260 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3261 array size at least. It's necessary to write '\x00'==0 to get something
3262 that's true only with -std. */
3263 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3265 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3266 inside strings and character constants. */
3268 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3270 int test (int i, double x);
3271 struct s1 {int (*f) (int a);};
3272 struct s2 {int (*f) (double a);};
3273 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3279 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3284 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3285 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3287 CC
="$ac_save_CC $ac_arg"
3288 rm -f conftest.
$ac_objext
3289 if { (ac_try
="$ac_compile"
3291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3295 $as_echo "$ac_try_echo") >&5
3296 (eval "$ac_compile") 2>conftest.er1
3298 grep -v '^ *+' conftest.er1 >conftest.err
3300 cat conftest.err >&5
3301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } && {
3303 test -z "$ac_c_werror_flag" ||
3304 test ! -s conftest.err
3305 } && test -s conftest.$ac_objext; then
3306 ac_cv_prog_cc_c89=$ac_arg
3308 $as_echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3314 rm -f core conftest.err conftest.$ac_objext
3315 test "x$ac_cv_prog_cc_c89" != "xno" && break
3317 rm -f conftest.$ac_ext
3322 case "x$ac_cv_prog_cc_c89" in
3324 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3325 $as_echo "none needed" >&6; } ;;
3327 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3328 $as_echo "unsupported" >&6; } ;;
3330 CC="$CC $ac_cv_prog_cc_c89"
3331 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345 ac_cpp='$CPP $CPPFLAGS'
3346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3349 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3350 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3351 # On Suns, sometimes $CPP names a directory.
3352 if test -n "$CPP" && test -d "$CPP"; then
3355 if test -z "$CPP"; then
3356 if test "${ac_cv_prog_CPP+set}" = set; then
3357 $as_echo_n "(cached) " >&6
3359 # Double quotes because CPP needs to be expanded
3360 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3363 for ac_c_preproc_warn_flag in '' yes
3365 # Use a header file that comes with gcc, so configuring glibc
3366 # with a fresh cross-compiler works.
3367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3368 # <limits.h> exists even on freestanding compilers.
3369 # On the NeXT, cc -E runs the code through the compiler's parser,
3370 # not just through cpp. "Syntax error" is here to catch this case.
3371 cat >conftest.$ac_ext <<_ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3376 /* end confdefs.h. */
3378 # include <limits.h>
3380 # include <assert.h>
3384 if { (ac_try="$ac_cpp conftest.$ac_ext"
3386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3387 *) ac_try_echo
=$ac_try;;
3389 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3390 $as_echo "$ac_try_echo") >&5
3391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3393 grep -v '^ *+' conftest.er1
>conftest.err
3395 cat conftest.err
>&5
3396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } >/dev
/null
&& {
3398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3399 test ! -s conftest.err
3403 $as_echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.
$ac_ext >&5
3406 # Broken: fails on valid input.
3410 rm -f conftest.err conftest.
$ac_ext
3412 # OK, works on sane cases. Now check whether nonexistent headers
3413 # can be detected and how.
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3420 #include <ac_nonexistent.h>
3422 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3428 $as_echo "$ac_try_echo") >&5
3429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3431 grep -v '^ *+' conftest.er1 >conftest.err
3433 cat conftest.err >&5
3434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } >/dev/null && {
3436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3437 test ! -s conftest.err
3439 # Broken: success on invalid input.
3442 $as_echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.$ac_ext >&5
3445 # Passes both tests.
3450 rm -f conftest.err conftest.$ac_ext
3453 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3454 rm -f conftest.err conftest.
$ac_ext
3455 if $ac_preproc_ok; then
3467 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3468 $as_echo "$CPP" >&6; }
3470 for ac_c_preproc_warn_flag
in '' yes
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error" is here to catch this case.
3478 cat >conftest.
$ac_ext <<_ACEOF
3481 cat confdefs.h
>>conftest.
$ac_ext
3482 cat >>conftest.
$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3485 # include <limits.h>
3487 # include <assert.h>
3491 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3497 $as_echo "$ac_try_echo") >&5
3498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } >/dev/null && {
3505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3506 test ! -s conftest.err
3510 $as_echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 # Broken: fails on valid input.
3517 rm -f conftest.err conftest.$ac_ext
3519 # OK, works on sane cases. Now check whether nonexistent headers
3520 # can be detected and how.
3521 cat >conftest.$ac_ext <<_ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 #include <ac_nonexistent.h>
3529 if { (ac_try="$ac_cpp conftest.$ac_ext"
3531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3532 *) ac_try_echo
=$ac_try;;
3534 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3535 $as_echo "$ac_try_echo") >&5
3536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3538 grep -v '^ *+' conftest.er1
>conftest.err
3540 cat conftest.err
>&5
3541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } >/dev
/null
&& {
3543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3544 test ! -s conftest.err
3546 # Broken: success on invalid input.
3549 $as_echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.
$ac_ext >&5
3552 # Passes both tests.
3557 rm -f conftest.err conftest.
$ac_ext
3560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3561 rm -f conftest.err conftest.
$ac_ext
3562 if $ac_preproc_ok; then
3565 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3568 See \`config.log' for more details." >&5
3569 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3570 See \`config.log' for more details." >&2;}
3571 { (exit 1); exit 1; }; }; }
3575 ac_cpp
='$CPP $CPPFLAGS'
3576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3581 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3582 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3583 if test "${ac_cv_path_GREP+set}" = set; then
3584 $as_echo_n "(cached) " >&6
3586 if test -z "$GREP"; then
3587 ac_path_GREP_found
=false
3588 # Loop through the user's path and test for each of PROGNAME-LIST
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_prog
in grep ggrep
; do
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3597 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3598 # Check for GNU ac_path_GREP and select it if it is found.
3599 # Check for GNU $ac_path_GREP
3600 case `"$ac_path_GREP" --version 2>&1` in
3602 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3605 $as_echo_n 0123456789 >"conftest.in"
3608 cat "conftest.in" "conftest.in" >"conftest.tmp"
3609 mv "conftest.tmp" "conftest.in"
3610 cp "conftest.in" "conftest.nl"
3611 $as_echo 'GREP' >> "conftest.nl"
3612 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3613 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3614 ac_count
=`expr $ac_count + 1`
3615 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3616 # Best one so far, save it but keep looking for a better one
3617 ac_cv_path_GREP
="$ac_path_GREP"
3618 ac_path_GREP_max
=$ac_count
3620 # 10*(2^10) chars as input seems more than enough
3621 test $ac_count -gt 10 && break
3623 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3626 $ac_path_GREP_found && break 3
3631 if test -z "$ac_cv_path_GREP"; then
3632 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3633 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3634 { (exit 1); exit 1; }; }
3637 ac_cv_path_GREP
=$GREP
3641 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3642 $as_echo "$ac_cv_path_GREP" >&6; }
3643 GREP
="$ac_cv_path_GREP"
3646 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3647 $as_echo_n "checking for egrep... " >&6; }
3648 if test "${ac_cv_path_EGREP+set}" = set; then
3649 $as_echo_n "(cached) " >&6
3651 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3652 then ac_cv_path_EGREP
="$GREP -E"
3654 if test -z "$EGREP"; then
3655 ac_path_EGREP_found
=false
3656 # Loop through the user's path and test for each of PROGNAME-LIST
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_prog
in egrep; do
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3665 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3666 # Check for GNU ac_path_EGREP and select it if it is found.
3667 # Check for GNU $ac_path_EGREP
3668 case `"$ac_path_EGREP" --version 2>&1` in
3670 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3673 $as_echo_n 0123456789 >"conftest.in"
3676 cat "conftest.in" "conftest.in" >"conftest.tmp"
3677 mv "conftest.tmp" "conftest.in"
3678 cp "conftest.in" "conftest.nl"
3679 $as_echo 'EGREP' >> "conftest.nl"
3680 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3681 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3682 ac_count
=`expr $ac_count + 1`
3683 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3684 # Best one so far, save it but keep looking for a better one
3685 ac_cv_path_EGREP
="$ac_path_EGREP"
3686 ac_path_EGREP_max
=$ac_count
3688 # 10*(2^10) chars as input seems more than enough
3689 test $ac_count -gt 10 && break
3691 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3694 $ac_path_EGREP_found && break 3
3699 if test -z "$ac_cv_path_EGREP"; then
3700 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3701 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3702 { (exit 1); exit 1; }; }
3705 ac_cv_path_EGREP
=$EGREP
3710 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3711 $as_echo "$ac_cv_path_EGREP" >&6; }
3712 EGREP
="$ac_cv_path_EGREP"
3715 if test $ac_cv_c_compiler_gnu = yes; then
3716 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3717 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3718 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3719 $as_echo_n "(cached) " >&6
3721 ac_pattern
="Autoconf.*'x'"
3722 cat >conftest.
$ac_ext <<_ACEOF
3725 cat confdefs.h
>>conftest.
$ac_ext
3726 cat >>conftest.
$ac_ext <<_ACEOF
3727 /* end confdefs.h. */
3731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3732 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3733 ac_cv_prog_gcc_traditional
=yes
3735 ac_cv_prog_gcc_traditional
=no
3740 if test $ac_cv_prog_gcc_traditional = no
; then
3741 cat >conftest.
$ac_ext <<_ACEOF
3744 cat confdefs.h
>>conftest.
$ac_ext
3745 cat >>conftest.
$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3751 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3752 ac_cv_prog_gcc_traditional
=yes
3758 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3759 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3760 if test $ac_cv_prog_gcc_traditional = yes; then
3761 CC
="$CC -traditional"
3765 # Find a good install program. We prefer a C program (faster),
3766 # so one script is as good as another. But avoid the broken or
3767 # incompatible versions:
3768 # SysV /etc/install, /usr/sbin/install
3769 # SunOS /usr/etc/install
3770 # IRIX /sbin/install
3772 # AmigaOS /C/install, which installs bootblocks on floppy discs
3773 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3774 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3775 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3776 # OS/2's system install, which has a completely different semantic
3777 # ./install, which can be erroneously created by make from ./install.sh.
3778 # Reject install programs that cannot install multiple files.
3779 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3780 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3781 if test -z "$INSTALL"; then
3782 if test "${ac_cv_path_install+set}" = set; then
3783 $as_echo_n "(cached) " >&6
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir
=.
3790 # Account for people who put trailing slashes in PATH elements.
3792 .
/ | .
// |
/cC
/* | \
3793 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3794 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3797 # OSF1 and SCO ODT 3.0 have their own names for install.
3798 # Don't use installbsd from OSF since it installs stuff as root
3800 for ac_prog
in ginstall scoinst
install; do
3801 for ac_exec_ext
in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3803 if test $ac_prog = install &&
3804 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3805 # AIX install. It has an incompatible calling convention.
3807 elif test $ac_prog = install &&
3808 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3809 # program-specific install script used by HP pwplus--don't use.
3812 rm -rf conftest.one conftest.two conftest.dir
3813 echo one
> conftest.one
3814 echo two
> conftest.two
3816 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3817 test -s conftest.one
&& test -s conftest.two
&&
3818 test -s conftest.dir
/conftest.one
&&
3819 test -s conftest.dir
/conftest.two
3821 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3834 rm -rf conftest.one conftest.two conftest.dir
3837 if test "${ac_cv_path_install+set}" = set; then
3838 INSTALL
=$ac_cv_path_install
3840 # As a last resort, use the slow shell script. Don't cache a
3841 # value for INSTALL within a source directory, because that will
3842 # break other packages using the cache if that directory is
3843 # removed, or if the value is a relative name.
3844 INSTALL
=$ac_install_sh
3847 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3848 $as_echo "$INSTALL" >&6; }
3850 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3851 # It thinks the first close brace ends the variable substitution.
3852 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3854 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3856 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3858 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3859 $as_echo_n "checking whether ln -s works... " >&6; }
3861 if test "$LN_S" = "ln -s"; then
3862 { $as_echo "$as_me:$LINENO: result: yes" >&5
3863 $as_echo "yes" >&6; }
3865 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3866 $as_echo "no, using $LN_S" >&6; }
3869 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3870 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3872 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3873 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3874 $as_echo_n "(cached) " >&6
3876 cat >conftest.
make <<\_ACEOF
3879 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3884 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3886 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3890 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3891 { $as_echo "$as_me:$LINENO: result: yes" >&5
3892 $as_echo "yes" >&6; }
3895 { $as_echo "$as_me:$LINENO: result: no" >&5
3896 $as_echo "no" >&6; }
3897 SET_MAKE
="MAKE=${MAKE-make}"
3900 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3901 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3902 if test -z "$MKDIR_P"; then
3903 if test "${ac_cv_path_mkdir+set}" = set; then
3904 $as_echo_n "(cached) " >&6
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_prog
in mkdir gmkdir
; do
3912 for ac_exec_ext
in '' $ac_executable_extensions; do
3913 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3914 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3915 'mkdir (GNU coreutils) '* | \
3916 'mkdir (coreutils) '* | \
3917 'mkdir (fileutils) '4.1*)
3918 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3928 if test "${ac_cv_path_mkdir+set}" = set; then
3929 MKDIR_P
="$ac_cv_path_mkdir -p"
3931 # As a last resort, use the slow shell script. Don't cache a
3932 # value for MKDIR_P within a source directory, because that will
3933 # break other packages using the cache if that directory is
3934 # removed, or if the value is a relative name.
3935 test -d .
/--version && rmdir .
/--version
3936 MKDIR_P
="$ac_install_sh -d"
3939 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3940 $as_echo "$MKDIR_P" >&6; }
3942 if test -n "$ac_tool_prefix"; then
3943 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3944 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3945 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if test "${ac_cv_prog_RANLIB+set}" = set; then
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$RANLIB"; then
3951 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir
=.
3958 for ac_exec_ext
in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3961 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 RANLIB
=$ac_cv_prog_RANLIB
3971 if test -n "$RANLIB"; then
3972 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3973 $as_echo "$RANLIB" >&6; }
3975 { $as_echo "$as_me:$LINENO: result: no" >&5
3976 $as_echo "no" >&6; }
3981 if test -z "$ac_cv_prog_RANLIB"; then
3982 ac_ct_RANLIB
=$RANLIB
3983 # Extract the first word of "ranlib", so it can be a program name with args.
3984 set dummy ranlib
; ac_word
=$2
3985 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$ac_ct_RANLIB"; then
3991 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir
=.
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4001 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4011 if test -n "$ac_ct_RANLIB"; then
4012 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4013 $as_echo "$ac_ct_RANLIB" >&6; }
4015 { $as_echo "$as_me:$LINENO: result: no" >&5
4016 $as_echo "no" >&6; }
4019 if test "x$ac_ct_RANLIB" = x
; then
4022 case $cross_compiling:$ac_tool_warned in
4024 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned
=yes ;;
4028 RANLIB
=$ac_ct_RANLIB
4031 RANLIB
="$ac_cv_prog_RANLIB"
4034 # Extract the first word of "cflow", so it can be a program name with args.
4035 set dummy cflow
; ac_word
=$2
4036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
4039 $as_echo_n "(cached) " >&6
4043 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4053 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4054 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4065 if test -n "$CFLOW_CMD"; then
4066 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4067 $as_echo "$CFLOW_CMD" >&6; }
4069 { $as_echo "$as_me:$LINENO: result: no" >&5
4070 $as_echo "no" >&6; }
4074 # Extract the first word of "cscope", so it can be a program name with args.
4075 set dummy cscope
; ac_word
=$2
4076 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4077 $as_echo_n "checking for $ac_word... " >&6; }
4078 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4079 $as_echo_n "(cached) " >&6
4083 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4105 if test -n "$CSCOPE_CMD"; then
4106 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4107 $as_echo "$CSCOPE_CMD" >&6; }
4109 { $as_echo "$as_me:$LINENO: result: no" >&5
4110 $as_echo "no" >&6; }
4115 ################################################################################
4122 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4123 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4124 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4125 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4126 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4127 $as_echo_n "(cached) " >&6
4129 cat >conftest.
$ac_ext <<_ACEOF
4132 cat confdefs.h
>>conftest.
$ac_ext
4133 cat >>conftest.
$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4135 #include <sys/types.h>
4147 rm -f conftest.
$ac_objext
4148 if { (ac_try
="$ac_compile"
4150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154 $as_echo "$ac_try_echo") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_c_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4165 eval "$as_ac_Header=yes"
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 eval "$as_ac_Header=no"
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 ac_res=`eval 'as_val=${'$as_ac_Header'}
4176 $as_echo "$as_val"'`
4177 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4178 $as_echo "$ac_res" >&6; }
4179 as_val=`eval 'as_val=${'$as_ac_Header'}
4180 $as_echo "$as_val"'`
4181 if test "x$as_val" = x""yes; then
4182 cat >>confdefs.h <<_ACEOF
4183 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4186 ac_header_dirent=$ac_hdr; break
4190 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4191 if test $ac_header_dirent = dirent.h; then
4192 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4193 $as_echo_n "checking for library containing opendir... " >&6; }
4194 if test "${ac_cv_search_opendir+set}" = set; then
4195 $as_echo_n "(cached) " >&6
4197 ac_func_search_save_LIBS=$LIBS
4198 cat >conftest.$ac_ext <<_ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4205 /* Override any GCC internal prototype to avoid an error.
4206 Use char because int might match the return type of a GCC
4207 builtin and then its argument prototype would still apply. */
4220 for ac_lib in '' dir; do
4221 if test -z "$ac_lib"; then
4222 ac_res="none required"
4225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4227 rm -f conftest.$ac_objext conftest$ac_exeext
4228 if { (ac_try="$ac_link"
4230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4231 *) ac_try_echo
=$ac_try;;
4233 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4234 $as_echo "$ac_try_echo") >&5
4235 (eval "$ac_link") 2>conftest.er1
4237 grep -v '^ *+' conftest.er1
>conftest.err
4239 cat conftest.err
>&5
4240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } && {
4242 test -z "$ac_c_werror_flag" ||
4243 test ! -s conftest.err
4244 } && test -s conftest
$ac_exeext && {
4245 test "$cross_compiling" = yes ||
4246 $as_test_x conftest
$ac_exeext
4248 ac_cv_search_opendir
=$ac_res
4250 $as_echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.
$ac_ext >&5
4256 rm -rf conftest.dSYM
4257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4259 if test "${ac_cv_search_opendir+set}" = set; then
4263 if test "${ac_cv_search_opendir+set}" = set; then
4266 ac_cv_search_opendir
=no
4269 LIBS
=$ac_func_search_save_LIBS
4271 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4272 $as_echo "$ac_cv_search_opendir" >&6; }
4273 ac_res
=$ac_cv_search_opendir
4274 if test "$ac_res" != no
; then
4275 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4280 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4281 $as_echo_n "checking for library containing opendir... " >&6; }
4282 if test "${ac_cv_search_opendir+set}" = set; then
4283 $as_echo_n "(cached) " >&6
4285 ac_func_search_save_LIBS
=$LIBS
4286 cat >conftest.
$ac_ext <<_ACEOF
4289 cat confdefs.h
>>conftest.
$ac_ext
4290 cat >>conftest.
$ac_ext <<_ACEOF
4291 /* end confdefs.h. */
4293 /* Override any GCC internal prototype to avoid an error.
4294 Use char because int might match the return type of a GCC
4295 builtin and then its argument prototype would still apply. */
4308 for ac_lib
in '' x
; do
4309 if test -z "$ac_lib"; then
4310 ac_res
="none required"
4313 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4315 rm -f conftest.
$ac_objext conftest
$ac_exeext
4316 if { (ac_try
="$ac_link"
4318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4322 $as_echo "$ac_try_echo") >&5
4323 (eval "$ac_link") 2>conftest.er1
4325 grep -v '^ *+' conftest.er1 >conftest.err
4327 cat conftest.err >&5
4328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } && {
4330 test -z "$ac_c_werror_flag" ||
4331 test ! -s conftest.err
4332 } && test -s conftest$ac_exeext && {
4333 test "$cross_compiling" = yes ||
4334 $as_test_x conftest$ac_exeext
4336 ac_cv_search_opendir=$ac_res
4338 $as_echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.$ac_ext >&5
4344 rm -rf conftest.dSYM
4345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4347 if test "${ac_cv_search_opendir+set}" = set; then
4351 if test "${ac_cv_search_opendir+set}" = set; then
4354 ac_cv_search_opendir=no
4357 LIBS=$ac_func_search_save_LIBS
4359 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4360 $as_echo "$ac_cv_search_opendir" >&6; }
4361 ac_res=$ac_cv_search_opendir
4362 if test "$ac_res" != no; then
4363 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4369 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4370 $as_echo_n "checking for ANSI C header files... " >&6; }
4371 if test "${ac_cv_header_stdc+set}" = set; then
4372 $as_echo_n "(cached) " >&6
4374 cat >conftest.$ac_ext <<_ACEOF
4377 cat confdefs.h >>conftest.$ac_ext
4378 cat >>conftest.$ac_ext <<_ACEOF
4379 /* end confdefs.h. */
4393 rm -f conftest.$ac_objext
4394 if { (ac_try="$ac_compile"
4396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4397 *) ac_try_echo
=$ac_try;;
4399 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4400 $as_echo "$ac_try_echo") >&5
4401 (eval "$ac_compile") 2>conftest.er1
4403 grep -v '^ *+' conftest.er1
>conftest.err
4405 cat conftest.err
>&5
4406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); } && {
4408 test -z "$ac_c_werror_flag" ||
4409 test ! -s conftest.err
4410 } && test -s conftest.
$ac_objext; then
4411 ac_cv_header_stdc
=yes
4413 $as_echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_cv_header_stdc
=no
4419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4421 if test $ac_cv_header_stdc = yes; then
4422 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4423 cat >conftest.
$ac_ext <<_ACEOF
4426 cat confdefs.h
>>conftest.
$ac_ext
4427 cat >>conftest.
$ac_ext <<_ACEOF
4428 /* end confdefs.h. */
4432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4433 $EGREP "memchr" >/dev
/null
2>&1; then
4436 ac_cv_header_stdc
=no
4442 if test $ac_cv_header_stdc = yes; then
4443 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4444 cat >conftest.
$ac_ext <<_ACEOF
4447 cat confdefs.h
>>conftest.
$ac_ext
4448 cat >>conftest.
$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4454 $EGREP "free" >/dev
/null
2>&1; then
4457 ac_cv_header_stdc
=no
4463 if test $ac_cv_header_stdc = yes; then
4464 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4465 if test "$cross_compiling" = yes; then
4468 cat >conftest.
$ac_ext <<_ACEOF
4471 cat confdefs.h
>>conftest.
$ac_ext
4472 cat >>conftest.
$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4476 #if ((' ' & 0x0FF) == 0x020)
4477 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4478 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4480 # define ISLOWER(c) \
4481 (('a' <= (c) && (c) <= 'i') \
4482 || ('j' <= (c) && (c) <= 'r') \
4483 || ('s' <= (c) && (c) <= 'z'))
4484 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4487 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4492 for (i = 0; i < 256; i++)
4493 if (XOR (islower (i), ISLOWER (i))
4494 || toupper (i) != TOUPPER (i))
4499 rm -f conftest
$ac_exeext
4500 if { (ac_try
="$ac_link"
4502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4503 *) ac_try_echo=$ac_try;;
4505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4506 $as_echo "$ac_try_echo") >&5
4507 (eval "$ac_link") 2>&5
4509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4511 { (case "(($ac_try" in
4512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4513 *) ac_try_echo
=$ac_try;;
4515 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4516 $as_echo "$ac_try_echo") >&5
4517 (eval "$ac_try") 2>&5
4519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; }; then
4523 $as_echo "$as_me: program exited with status $ac_status" >&5
4524 $as_echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.
$ac_ext >&5
4528 ac_cv_header_stdc
=no
4530 rm -rf conftest.dSYM
4531 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4537 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4538 $as_echo "$ac_cv_header_stdc" >&6; }
4539 if test $ac_cv_header_stdc = yes; then
4541 cat >>confdefs.h
<<\_ACEOF
4542 #define STDC_HEADERS 1
4547 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4557 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4558 inttypes.h stdint.h unistd.h
4560 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4561 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4562 $as_echo_n "checking for $ac_header... " >&6; }
4563 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4564 $as_echo_n "(cached) " >&6
4566 cat >conftest.
$ac_ext <<_ACEOF
4569 cat confdefs.h
>>conftest.
$ac_ext
4570 cat >>conftest.
$ac_ext <<_ACEOF
4571 /* end confdefs.h. */
4572 $ac_includes_default
4574 #include <$ac_header>
4576 rm -f conftest.
$ac_objext
4577 if { (ac_try
="$ac_compile"
4579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4583 $as_echo "$ac_try_echo") >&5
4584 (eval "$ac_compile") 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest.$ac_objext; then
4594 eval "$as_ac_Header=yes"
4596 $as_echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 eval "$as_ac_Header=no"
4602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4604 ac_res=`eval 'as_val=${'$as_ac_Header'}
4605 $as_echo "$as_val"'`
4606 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4607 $as_echo "$ac_res" >&6; }
4608 as_val=`eval 'as_val=${'$as_ac_Header'}
4609 $as_echo "$as_val"'`
4610 if test "x$as_val" = x""yes; then
4611 cat >>confdefs.h <<_ACEOF
4612 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4620 { $as_echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
4621 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
4622 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
4623 $as_echo_n "(cached) " >&6
4625 cat >conftest.$ac_ext <<_ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 #include <sys/types.h>
4635 return makedev(0, 0);
4640 rm -f conftest.$ac_objext conftest$ac_exeext
4641 if { (ac_try="$ac_link"
4643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4644 *) ac_try_echo
=$ac_try;;
4646 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4647 $as_echo "$ac_try_echo") >&5
4648 (eval "$ac_link") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest
$ac_exeext && {
4658 test "$cross_compiling" = yes ||
4659 $as_test_x conftest
$ac_exeext
4661 ac_cv_header_sys_types_h_makedev
=yes
4663 $as_echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 ac_cv_header_sys_types_h_makedev
=no
4669 rm -rf conftest.dSYM
4670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4671 conftest
$ac_exeext conftest.
$ac_ext
4674 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
4675 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
4677 if test $ac_cv_header_sys_types_h_makedev = no
; then
4678 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4679 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4680 $as_echo_n "checking for sys/mkdev.h... " >&6; }
4681 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4682 $as_echo_n "(cached) " >&6
4684 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4685 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
4687 # Is the header compilable?
4688 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
4689 $as_echo_n "checking sys/mkdev.h usability... " >&6; }
4690 cat >conftest.
$ac_ext <<_ACEOF
4693 cat confdefs.h
>>conftest.
$ac_ext
4694 cat >>conftest.
$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4696 $ac_includes_default
4697 #include <sys/mkdev.h>
4699 rm -f conftest.
$ac_objext
4700 if { (ac_try
="$ac_compile"
4702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4706 $as_echo "$ac_try_echo") >&5
4707 (eval "$ac_compile") 2>conftest.er1
4709 grep -v '^ *+' conftest.er1 >conftest.err
4711 cat conftest.err >&5
4712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } && {
4714 test -z "$ac_c_werror_flag" ||
4715 test ! -s conftest.err
4716 } && test -s conftest.$ac_objext; then
4717 ac_header_compiler=yes
4719 $as_echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4722 ac_header_compiler=no
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4727 $as_echo "$ac_header_compiler" >&6; }
4729 # Is the header present?
4730 { $as_echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
4731 $as_echo_n "checking sys/mkdev.h presence... " >&6; }
4732 cat >conftest.$ac_ext <<_ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4738 #include <sys/mkdev.h>
4740 if { (ac_try="$ac_cpp conftest.$ac_ext"
4742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4743 *) ac_try_echo
=$ac_try;;
4745 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4746 $as_echo "$ac_try_echo") >&5
4747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4749 grep -v '^ *+' conftest.er1
>conftest.err
4751 cat conftest.err
>&5
4752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); } >/dev
/null
&& {
4754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4755 test ! -s conftest.err
4757 ac_header_preproc
=yes
4759 $as_echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.
$ac_ext >&5
4762 ac_header_preproc
=no
4765 rm -f conftest.err conftest.
$ac_ext
4766 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4767 $as_echo "$ac_header_preproc" >&6; }
4769 # So? What about this header?
4770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4772 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
4773 $as_echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4774 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
4775 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
4776 ac_header_preproc
=yes
4779 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
4780 $as_echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
4781 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
4782 $as_echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
4783 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
4784 $as_echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
4785 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
4786 $as_echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
4787 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4788 $as_echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4789 { $as_echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
4790 $as_echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
4794 { $as_echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4795 $as_echo_n "checking for sys/mkdev.h... " >&6; }
4796 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4797 $as_echo_n "(cached) " >&6
4799 ac_cv_header_sys_mkdev_h
=$ac_header_preproc
4801 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4802 $as_echo "$ac_cv_header_sys_mkdev_h" >&6; }
4805 if test "x$ac_cv_header_sys_mkdev_h" = x
""yes; then
4807 cat >>confdefs.h
<<\_ACEOF
4808 #define MAJOR_IN_MKDEV 1
4815 if test $ac_cv_header_sys_mkdev_h = no
; then
4816 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4817 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4818 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
4819 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4820 $as_echo_n "(cached) " >&6
4822 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4823 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
4825 # Is the header compilable?
4826 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
4827 $as_echo_n "checking sys/sysmacros.h usability... " >&6; }
4828 cat >conftest.
$ac_ext <<_ACEOF
4831 cat confdefs.h
>>conftest.
$ac_ext
4832 cat >>conftest.
$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4834 $ac_includes_default
4835 #include <sys/sysmacros.h>
4837 rm -f conftest.
$ac_objext
4838 if { (ac_try
="$ac_compile"
4840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4844 $as_echo "$ac_try_echo") >&5
4845 (eval "$ac_compile") 2>conftest.er1
4847 grep -v '^ *+' conftest.er1 >conftest.err
4849 cat conftest.err >&5
4850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } && {
4852 test -z "$ac_c_werror_flag" ||
4853 test ! -s conftest.err
4854 } && test -s conftest.$ac_objext; then
4855 ac_header_compiler=yes
4857 $as_echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4860 ac_header_compiler=no
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4864 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4865 $as_echo "$ac_header_compiler" >&6; }
4867 # Is the header present?
4868 { $as_echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
4869 $as_echo_n "checking sys/sysmacros.h presence... " >&6; }
4870 cat >conftest.$ac_ext <<_ACEOF
4873 cat confdefs.h >>conftest.$ac_ext
4874 cat >>conftest.$ac_ext <<_ACEOF
4875 /* end confdefs.h. */
4876 #include <sys/sysmacros.h>
4878 if { (ac_try="$ac_cpp conftest.$ac_ext"
4880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4881 *) ac_try_echo
=$ac_try;;
4883 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4884 $as_echo "$ac_try_echo") >&5
4885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4887 grep -v '^ *+' conftest.er1
>conftest.err
4889 cat conftest.err
>&5
4890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } >/dev
/null
&& {
4892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4893 test ! -s conftest.err
4895 ac_header_preproc
=yes
4897 $as_echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.
$ac_ext >&5
4900 ac_header_preproc
=no
4903 rm -f conftest.err conftest.
$ac_ext
4904 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4905 $as_echo "$ac_header_preproc" >&6; }
4907 # So? What about this header?
4908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4910 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
4911 $as_echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4912 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
4913 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
4914 ac_header_preproc
=yes
4917 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
4918 $as_echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
4919 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
4920 $as_echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
4921 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
4922 $as_echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
4923 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
4924 $as_echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
4925 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4926 $as_echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4927 { $as_echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
4928 $as_echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
4932 { $as_echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4933 $as_echo_n "checking for sys/sysmacros.h... " >&6; }
4934 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4935 $as_echo_n "(cached) " >&6
4937 ac_cv_header_sys_sysmacros_h
=$ac_header_preproc
4939 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4940 $as_echo "$ac_cv_header_sys_sysmacros_h" >&6; }
4943 if test "x$ac_cv_header_sys_sysmacros_h" = x
""yes; then
4945 cat >>confdefs.h
<<\_ACEOF
4946 #define MAJOR_IN_SYSMACROS 1
4955 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4956 $as_echo_n "checking for ANSI C header files... " >&6; }
4957 if test "${ac_cv_header_stdc+set}" = set; then
4958 $as_echo_n "(cached) " >&6
4960 cat >conftest.
$ac_ext <<_ACEOF
4963 cat confdefs.h
>>conftest.
$ac_ext
4964 cat >>conftest.
$ac_ext <<_ACEOF
4965 /* end confdefs.h. */
4979 rm -f conftest.
$ac_objext
4980 if { (ac_try
="$ac_compile"
4982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4986 $as_echo "$ac_try_echo") >&5
4987 (eval "$ac_compile") 2>conftest.er1
4989 grep -v '^ *+' conftest.er1 >conftest.err
4991 cat conftest.err >&5
4992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } && {
4994 test -z "$ac_c_werror_flag" ||
4995 test ! -s conftest.err
4996 } && test -s conftest.$ac_objext; then
4997 ac_cv_header_stdc=yes
4999 $as_echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5002 ac_cv_header_stdc=no
5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 if test $ac_cv_header_stdc = yes; then
5008 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5019 $EGREP "memchr" >/dev/null 2>&1; then
5022 ac_cv_header_stdc=no
5028 if test $ac_cv_header_stdc = yes; then
5029 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5030 cat >conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5040 $EGREP "free" >/dev/null 2>&1; then
5043 ac_cv_header_stdc=no
5049 if test $ac_cv_header_stdc = yes; then
5050 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5051 if test "$cross_compiling" = yes; then
5054 cat >conftest.$ac_ext <<_ACEOF
5057 cat confdefs.h >>conftest.$ac_ext
5058 cat >>conftest.$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5062 #if ((' ' & 0x0FF) == 0x020)
5063 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5064 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5066 # define ISLOWER(c) \
5067 (('a' <= (c) && (c) <= 'i') \
5068 || ('j' <= (c) && (c) <= 'r') \
5069 || ('s' <= (c) && (c) <= 'z'))
5070 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5073 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5078 for (i = 0; i < 256; i++)
5079 if (XOR (islower (i), ISLOWER (i))
5080 || toupper (i) != TOUPPER (i))
5085 rm -f conftest$ac_exeext
5086 if { (ac_try="$ac_link"
5088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5089 *) ac_try_echo
=$ac_try;;
5091 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5092 $as_echo "$ac_try_echo") >&5
5093 (eval "$ac_link") 2>&5
5095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5097 { (case "(($ac_try" in
5098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5102 $as_echo "$ac_try_echo") >&5
5103 (eval "$ac_try") 2>&5
5105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); }; }; then
5109 $as_echo "$as_me: program exited with status $ac_status" >&5
5110 $as_echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5114 ac_cv_header_stdc=no
5116 rm -rf conftest.dSYM
5117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5123 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5124 $as_echo "$ac_cv_header_stdc" >&6; }
5125 if test $ac_cv_header_stdc = yes; then
5127 cat >>confdefs.h <<\_ACEOF
5128 #define STDC_HEADERS 1
5133 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5134 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5135 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5136 $as_echo_n "(cached) " >&6
5138 cat >conftest.$ac_ext <<_ACEOF
5141 cat confdefs.h >>conftest.$ac_ext
5142 cat >>conftest.$ac_ext <<_ACEOF
5143 /* end confdefs.h. */
5144 #include <sys/types.h>
5145 #include <sys/wait.h>
5147 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5150 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5158 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5163 rm -f conftest.$ac_objext
5164 if { (ac_try="$ac_compile"
5166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5167 *) ac_try_echo
=$ac_try;;
5169 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5170 $as_echo "$ac_try_echo") >&5
5171 (eval "$ac_compile") 2>conftest.er1
5173 grep -v '^ *+' conftest.er1
>conftest.err
5175 cat conftest.err
>&5
5176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } && {
5178 test -z "$ac_c_werror_flag" ||
5179 test ! -s conftest.err
5180 } && test -s conftest.
$ac_objext; then
5181 ac_cv_header_sys_wait_h
=yes
5183 $as_echo "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.
$ac_ext >&5
5186 ac_cv_header_sys_wait_h
=no
5189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5191 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5192 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
5193 if test $ac_cv_header_sys_wait_h = yes; then
5195 cat >>confdefs.h
<<\_ACEOF
5196 #define HAVE_SYS_WAIT_H 1
5201 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5202 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5203 if test "${ac_cv_header_time+set}" = set; then
5204 $as_echo_n "(cached) " >&6
5206 cat >conftest.
$ac_ext <<_ACEOF
5209 cat confdefs.h
>>conftest.
$ac_ext
5210 cat >>conftest.
$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 #include <sys/types.h>
5213 #include <sys/time.h>
5219 if ((struct tm *) 0)
5225 rm -f conftest.
$ac_objext
5226 if { (ac_try
="$ac_compile"
5228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5229 *) ac_try_echo=$ac_try;;
5231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5232 $as_echo "$ac_try_echo") >&5
5233 (eval "$ac_compile") 2>conftest.er1
5235 grep -v '^ *+' conftest.er1 >conftest.err
5237 cat conftest.err >&5
5238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); } && {
5240 test -z "$ac_c_werror_flag" ||
5241 test ! -s conftest.err
5242 } && test -s conftest.$ac_objext; then
5243 ac_cv_header_time=yes
5245 $as_echo "$as_me: failed program was:" >&5
5246 sed 's/^/| /' conftest.$ac_ext >&5
5248 ac_cv_header_time=no
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5254 $as_echo "$ac_cv_header_time" >&6; }
5255 if test $ac_cv_header_time = yes; then
5257 cat >>confdefs.h <<\_ACEOF
5258 #define TIME_WITH_SYS_TIME 1
5278 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
5279 langinfo.h libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h \
5282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5284 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5285 $as_echo_n "checking for $ac_header... " >&6; }
5286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5287 $as_echo_n "(cached) " >&6
5289 ac_res=`eval 'as_val=${'$as_ac_Header'}
5290 $as_echo "$as_val"'`
5291 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5292 $as_echo "$ac_res" >&6; }
5294 # Is the header compilable?
5295 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5296 $as_echo_n "checking $ac_header usability... " >&6; }
5297 cat >conftest.$ac_ext <<_ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 $ac_includes_default
5304 #include <$ac_header>
5306 rm -f conftest.$ac_objext
5307 if { (ac_try="$ac_compile"
5309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5310 *) ac_try_echo
=$ac_try;;
5312 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5313 $as_echo "$ac_try_echo") >&5
5314 (eval "$ac_compile") 2>conftest.er1
5316 grep -v '^ *+' conftest.er1
>conftest.err
5318 cat conftest.err
>&5
5319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } && {
5321 test -z "$ac_c_werror_flag" ||
5322 test ! -s conftest.err
5323 } && test -s conftest.
$ac_objext; then
5324 ac_header_compiler
=yes
5326 $as_echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.
$ac_ext >&5
5329 ac_header_compiler
=no
5332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5333 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5334 $as_echo "$ac_header_compiler" >&6; }
5336 # Is the header present?
5337 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5338 $as_echo_n "checking $ac_header presence... " >&6; }
5339 cat >conftest.
$ac_ext <<_ACEOF
5342 cat confdefs.h
>>conftest.
$ac_ext
5343 cat >>conftest.
$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5345 #include <$ac_header>
5347 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5350 *) ac_try_echo=$ac_try;;
5352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5353 $as_echo "$ac_try_echo") >&5
5354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5356 grep -v '^ *+' conftest.er1 >conftest.err
5358 cat conftest.err >&5
5359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } >/dev/null && {
5361 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5362 test ! -s conftest.err
5364 ac_header_preproc=yes
5366 $as_echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.$ac_ext >&5
5369 ac_header_preproc=no
5372 rm -f conftest.err conftest.$ac_ext
5373 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5374 $as_echo "$ac_header_preproc" >&6; }
5376 # So? What about this header?
5377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5379 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5380 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5381 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5382 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5383 ac_header_preproc=yes
5386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5387 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5389 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5391 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5393 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5395 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5397 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5401 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5402 $as_echo_n "checking for $ac_header... " >&6; }
5403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5404 $as_echo_n "(cached) " >&6
5406 eval "$as_ac_Header=\$ac_header_preproc"
5408 ac_res=`eval 'as_val=${'$as_ac_Header'}
5409 $as_echo "$as_val"'`
5410 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5411 $as_echo "$ac_res" >&6; }
5414 as_val=`eval 'as_val=${'$as_ac_Header'}
5415 $as_echo "$as_val"'`
5416 if test "x$as_val" = x""yes; then
5417 cat >>confdefs.h <<_ACEOF
5418 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5422 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5423 $as_echo "$as_me: error: bailing out" >&2;}
5424 { (exit 1); exit 1; }; }
5435 for ac_header in asm/byteorder.h linux/fs.h malloc.h
5437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5439 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5440 $as_echo_n "checking for $ac_header... " >&6; }
5441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5442 $as_echo_n "(cached) " >&6
5444 ac_res=`eval 'as_val=${'$as_ac_Header'}
5445 $as_echo "$as_val"'`
5446 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5447 $as_echo "$ac_res" >&6; }
5449 # Is the header compilable?
5450 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5451 $as_echo_n "checking $ac_header usability... " >&6; }
5452 cat >conftest.$ac_ext <<_ACEOF
5455 cat confdefs.h >>conftest.$ac_ext
5456 cat >>conftest.$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5458 $ac_includes_default
5459 #include <$ac_header>
5461 rm -f conftest.$ac_objext
5462 if { (ac_try="$ac_compile"
5464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5465 *) ac_try_echo
=$ac_try;;
5467 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5468 $as_echo "$ac_try_echo") >&5
5469 (eval "$ac_compile") 2>conftest.er1
5471 grep -v '^ *+' conftest.er1
>conftest.err
5473 cat conftest.err
>&5
5474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && {
5476 test -z "$ac_c_werror_flag" ||
5477 test ! -s conftest.err
5478 } && test -s conftest.
$ac_objext; then
5479 ac_header_compiler
=yes
5481 $as_echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.
$ac_ext >&5
5484 ac_header_compiler
=no
5487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5488 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5489 $as_echo "$ac_header_compiler" >&6; }
5491 # Is the header present?
5492 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5493 $as_echo_n "checking $ac_header presence... " >&6; }
5494 cat >conftest.
$ac_ext <<_ACEOF
5497 cat confdefs.h
>>conftest.
$ac_ext
5498 cat >>conftest.
$ac_ext <<_ACEOF
5499 /* end confdefs.h. */
5500 #include <$ac_header>
5502 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5505 *) ac_try_echo=$ac_try;;
5507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5508 $as_echo "$ac_try_echo") >&5
5509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5511 grep -v '^ *+' conftest.er1 >conftest.err
5513 cat conftest.err >&5
5514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } >/dev/null && {
5516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5517 test ! -s conftest.err
5519 ac_header_preproc=yes
5521 $as_echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5
5524 ac_header_preproc=no
5527 rm -f conftest.err conftest.$ac_ext
5528 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5529 $as_echo "$ac_header_preproc" >&6; }
5531 # So? What about this header?
5532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5535 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5537 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5538 ac_header_preproc=yes
5541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5542 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5544 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5546 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5548 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5552 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5556 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5557 $as_echo_n "checking for $ac_header... " >&6; }
5558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5559 $as_echo_n "(cached) " >&6
5561 eval "$as_ac_Header=\$ac_header_preproc"
5563 ac_res=`eval 'as_val=${'$as_ac_Header'}
5564 $as_echo "$as_val"'`
5565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5566 $as_echo "$ac_res" >&6; }
5569 as_val=`eval 'as_val=${'$as_ac_Header'}
5570 $as_echo "$as_val"'`
5571 if test "x$as_val" = x""yes; then
5572 cat >>confdefs.h <<_ACEOF
5573 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5577 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5578 $as_echo "$as_me: error: bailing out" >&2;}
5579 { (exit 1); exit 1; }; }
5587 for ac_header in machine/endian.h sys/disk.h
5589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5591 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5592 $as_echo_n "checking for $ac_header... " >&6; }
5593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5594 $as_echo_n "(cached) " >&6
5596 ac_res=`eval 'as_val=${'$as_ac_Header'}
5597 $as_echo "$as_val"'`
5598 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5599 $as_echo "$ac_res" >&6; }
5601 # Is the header compilable?
5602 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5603 $as_echo_n "checking $ac_header usability... " >&6; }
5604 cat >conftest.$ac_ext <<_ACEOF
5607 cat confdefs.h >>conftest.$ac_ext
5608 cat >>conftest.$ac_ext <<_ACEOF
5609 /* end confdefs.h. */
5610 $ac_includes_default
5611 #include <$ac_header>
5613 rm -f conftest.$ac_objext
5614 if { (ac_try="$ac_compile"
5616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5617 *) ac_try_echo
=$ac_try;;
5619 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5620 $as_echo "$ac_try_echo") >&5
5621 (eval "$ac_compile") 2>conftest.er1
5623 grep -v '^ *+' conftest.er1
>conftest.err
5625 cat conftest.err
>&5
5626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } && {
5628 test -z "$ac_c_werror_flag" ||
5629 test ! -s conftest.err
5630 } && test -s conftest.
$ac_objext; then
5631 ac_header_compiler
=yes
5633 $as_echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.
$ac_ext >&5
5636 ac_header_compiler
=no
5639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5640 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5641 $as_echo "$ac_header_compiler" >&6; }
5643 # Is the header present?
5644 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5645 $as_echo_n "checking $ac_header presence... " >&6; }
5646 cat >conftest.
$ac_ext <<_ACEOF
5649 cat confdefs.h
>>conftest.
$ac_ext
5650 cat >>conftest.
$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 #include <$ac_header>
5654 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5657 *) ac_try_echo=$ac_try;;
5659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5660 $as_echo "$ac_try_echo") >&5
5661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5663 grep -v '^ *+' conftest.er1 >conftest.err
5665 cat conftest.err >&5
5666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } >/dev/null && {
5668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5669 test ! -s conftest.err
5671 ac_header_preproc=yes
5673 $as_echo "$as_me: failed program was:" >&5
5674 sed 's/^/| /' conftest.$ac_ext >&5
5676 ac_header_preproc=no
5679 rm -f conftest.err conftest.$ac_ext
5680 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5681 $as_echo "$ac_header_preproc" >&6; }
5683 # So? What about this header?
5684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5687 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5689 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5690 ac_header_preproc=yes
5693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5694 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5696 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5698 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5700 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5702 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5704 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5708 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5709 $as_echo_n "checking for $ac_header... " >&6; }
5710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5711 $as_echo_n "(cached) " >&6
5713 eval "$as_ac_Header=\$ac_header_preproc"
5715 ac_res=`eval 'as_val=${'$as_ac_Header'}
5716 $as_echo "$as_val"'`
5717 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5718 $as_echo "$ac_res" >&6; }
5721 as_val=`eval 'as_val=${'$as_ac_Header'}
5722 $as_echo "$as_val"'`
5723 if test "x$as_val" = x""yes; then
5724 cat >>confdefs.h <<_ACEOF
5725 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5729 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5730 $as_echo "$as_me: error: bailing out" >&2;}
5731 { (exit 1); exit 1; }; }
5754 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5755 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5756 sys/types.h unistd.h
5758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5760 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5761 $as_echo_n "checking for $ac_header... " >&6; }
5762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5763 $as_echo_n "(cached) " >&6
5765 ac_res=`eval 'as_val=${'$as_ac_Header'}
5766 $as_echo "$as_val"'`
5767 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5768 $as_echo "$ac_res" >&6; }
5770 # Is the header compilable?
5771 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5772 $as_echo_n "checking $ac_header usability... " >&6; }
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 $ac_includes_default
5780 #include <$ac_header>
5782 rm -f conftest.$ac_objext
5783 if { (ac_try="$ac_compile"
5785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5786 *) ac_try_echo
=$ac_try;;
5788 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5789 $as_echo "$ac_try_echo") >&5
5790 (eval "$ac_compile") 2>conftest.er1
5792 grep -v '^ *+' conftest.er1
>conftest.err
5794 cat conftest.err
>&5
5795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } && {
5797 test -z "$ac_c_werror_flag" ||
5798 test ! -s conftest.err
5799 } && test -s conftest.
$ac_objext; then
5800 ac_header_compiler
=yes
5802 $as_echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5805 ac_header_compiler
=no
5808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5809 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5810 $as_echo "$ac_header_compiler" >&6; }
5812 # Is the header present?
5813 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5814 $as_echo_n "checking $ac_header presence... " >&6; }
5815 cat >conftest.
$ac_ext <<_ACEOF
5818 cat confdefs.h
>>conftest.
$ac_ext
5819 cat >>conftest.
$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5821 #include <$ac_header>
5823 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5826 *) ac_try_echo=$ac_try;;
5828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5829 $as_echo "$ac_try_echo") >&5
5830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5832 grep -v '^ *+' conftest.er1 >conftest.err
5834 cat conftest.err >&5
5835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); } >/dev/null && {
5837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5838 test ! -s conftest.err
5840 ac_header_preproc=yes
5842 $as_echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.$ac_ext >&5
5845 ac_header_preproc=no
5848 rm -f conftest.err conftest.$ac_ext
5849 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5850 $as_echo "$ac_header_preproc" >&6; }
5852 # So? What about this header?
5853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5856 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5858 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5859 ac_header_preproc=yes
5862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5863 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5865 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5867 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5869 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5871 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5873 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5877 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5878 $as_echo_n "checking for $ac_header... " >&6; }
5879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5880 $as_echo_n "(cached) " >&6
5882 eval "$as_ac_Header=\$ac_header_preproc"
5884 ac_res=`eval 'as_val=${'$as_ac_Header'}
5885 $as_echo "$as_val"'`
5886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5887 $as_echo "$ac_res" >&6; }
5890 as_val=`eval 'as_val=${'$as_ac_Header'}
5891 $as_echo "$as_val"'`
5892 if test "x$as_val" = x""yes; then
5893 cat >>confdefs.h <<_ACEOF
5894 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5898 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5899 $as_echo "$as_me: error: bailing out" >&2;}
5900 { (exit 1); exit 1; }; }
5907 for ac_header in termios.h sys/statvfs.h
5909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5911 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5912 $as_echo_n "checking for $ac_header... " >&6; }
5913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5914 $as_echo_n "(cached) " >&6
5916 ac_res=`eval 'as_val=${'$as_ac_Header'}
5917 $as_echo "$as_val"'`
5918 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5919 $as_echo "$ac_res" >&6; }
5921 # Is the header compilable?
5922 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5923 $as_echo_n "checking $ac_header usability... " >&6; }
5924 cat >conftest.$ac_ext <<_ACEOF
5927 cat confdefs.h >>conftest.$ac_ext
5928 cat >>conftest.$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5930 $ac_includes_default
5931 #include <$ac_header>
5933 rm -f conftest.$ac_objext
5934 if { (ac_try="$ac_compile"
5936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5937 *) ac_try_echo
=$ac_try;;
5939 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5940 $as_echo "$ac_try_echo") >&5
5941 (eval "$ac_compile") 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } && {
5948 test -z "$ac_c_werror_flag" ||
5949 test ! -s conftest.err
5950 } && test -s conftest.
$ac_objext; then
5951 ac_header_compiler
=yes
5953 $as_echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.
$ac_ext >&5
5956 ac_header_compiler
=no
5959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5960 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5961 $as_echo "$ac_header_compiler" >&6; }
5963 # Is the header present?
5964 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5965 $as_echo_n "checking $ac_header presence... " >&6; }
5966 cat >conftest.
$ac_ext <<_ACEOF
5969 cat confdefs.h
>>conftest.
$ac_ext
5970 cat >>conftest.
$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 #include <$ac_header>
5974 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5977 *) ac_try_echo=$ac_try;;
5979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5980 $as_echo "$ac_try_echo") >&5
5981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5983 grep -v '^ *+' conftest.er1 >conftest.err
5985 cat conftest.err >&5
5986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } >/dev/null && {
5988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5989 test ! -s conftest.err
5991 ac_header_preproc=yes
5993 $as_echo "$as_me: failed program was:" >&5
5994 sed 's/^/| /' conftest.$ac_ext >&5
5996 ac_header_preproc=no
5999 rm -f conftest.err conftest.$ac_ext
6000 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6001 $as_echo "$ac_header_preproc" >&6; }
6003 # So? What about this header?
6004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6007 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6009 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6010 ac_header_preproc=yes
6013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6014 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6016 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6018 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6020 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6022 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6024 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6028 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6029 $as_echo_n "checking for $ac_header... " >&6; }
6030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6031 $as_echo_n "(cached) " >&6
6033 eval "$as_ac_Header=\$ac_header_preproc"
6035 ac_res=`eval 'as_val=${'$as_ac_Header'}
6036 $as_echo "$as_val"'`
6037 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6038 $as_echo "$ac_res" >&6; }
6041 as_val=`eval 'as_val=${'$as_ac_Header'}
6042 $as_echo "$as_val"'`
6043 if test "x$as_val" = x""yes; then
6044 cat >>confdefs.h <<_ACEOF
6045 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6053 ################################################################################
6054 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6055 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6056 if test "${ac_cv_c_const+set}" = set; then
6057 $as_echo_n "(cached) " >&6
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6069 /* FIXME: Include the comments suggested by Paul. */
6071 /* Ultrix mips cc rejects this. */
6072 typedef int charset[2];
6074 /* SunOS 4.1.1 cc rejects this. */
6075 char const *const *pcpcc;
6077 /* NEC SVR4.0.2 mips cc rejects this. */
6078 struct point {int x, y;};
6079 static struct point const zero = {0,0};
6080 /* AIX XL C 1.02.0.0 rejects this.
6081 It does not let you subtract one const X* pointer from another in
6082 an arm of an if-expression whose if-part is not a constant
6084 const char *g = "string";
6085 pcpcc = &g + (g ? g-g : 0);
6086 /* HPUX 7.0 cc rejects these. */
6088 ppc = (char**) pcpcc;
6089 pcpcc = (char const *const *) ppc;
6090 { /* SCO 3.2v4 cc rejects this. */
6092 char const *s = 0 ? (char *) 0 : (char const *) 0;
6097 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6099 const int *foo = &x[0];
6102 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6103 typedef const int *iptr;
6107 { /* AIX XL C 1.02.0.0 rejects this saying
6108 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6109 struct s { int j; const int *ap[3]; };
6110 struct s *b; b->j = 5;
6112 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6116 return !cs[0] && !zero.x;
6123 rm -f conftest.$ac_objext
6124 if { (ac_try="$ac_compile"
6126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6127 *) ac_try_echo
=$ac_try;;
6129 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6130 $as_echo "$ac_try_echo") >&5
6131 (eval "$ac_compile") 2>conftest.er1
6133 grep -v '^ *+' conftest.er1
>conftest.err
6135 cat conftest.err
>&5
6136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } && {
6138 test -z "$ac_c_werror_flag" ||
6139 test ! -s conftest.err
6140 } && test -s conftest.
$ac_objext; then
6143 $as_echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.
$ac_ext >&5
6149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6151 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6152 $as_echo "$ac_cv_c_const" >&6; }
6153 if test $ac_cv_c_const = no
; then
6155 cat >>confdefs.h
<<\_ACEOF
6161 { $as_echo "$as_me:$LINENO: checking for inline" >&5
6162 $as_echo_n "checking for inline... " >&6; }
6163 if test "${ac_cv_c_inline+set}" = set; then
6164 $as_echo_n "(cached) " >&6
6167 for ac_kw
in inline __inline__ __inline
; do
6168 cat >conftest.
$ac_ext <<_ACEOF
6171 cat confdefs.h
>>conftest.
$ac_ext
6172 cat >>conftest.
$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6176 static $ac_kw foo_t static_foo () {return 0; }
6177 $ac_kw foo_t foo () {return 0; }
6181 rm -f conftest.
$ac_objext
6182 if { (ac_try
="$ac_compile"
6184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6185 *) ac_try_echo=$ac_try;;
6187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6188 $as_echo "$ac_try_echo") >&5
6189 (eval "$ac_compile") 2>conftest.er1
6191 grep -v '^ *+' conftest.er1 >conftest.err
6193 cat conftest.err >&5
6194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } && {
6196 test -z "$ac_c_werror_flag" ||
6197 test ! -s conftest.err
6198 } && test -s conftest.$ac_objext; then
6199 ac_cv_c_inline=$ac_kw
6201 $as_echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208 test "$ac_cv_c_inline" != no && break
6212 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6213 $as_echo "$ac_cv_c_inline" >&6; }
6216 case $ac_cv_c_inline in
6219 case $ac_cv_c_inline in
6221 *) ac_val=$ac_cv_c_inline;;
6223 cat >>confdefs.h <<_ACEOF
6225 #define inline $ac_val
6231 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6232 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6233 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6234 $as_echo_n "(cached) " >&6
6236 cat >conftest.$ac_ext <<_ACEOF
6239 cat confdefs.h >>conftest.$ac_ext
6240 cat >>conftest.$ac_ext <<_ACEOF
6241 /* end confdefs.h. */
6242 $ac_includes_default
6246 static struct stat ac_aggr;
6247 if (ac_aggr.st_rdev)
6253 rm -f conftest.$ac_objext
6254 if { (ac_try="$ac_compile"
6256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6257 *) ac_try_echo
=$ac_try;;
6259 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6260 $as_echo "$ac_try_echo") >&5
6261 (eval "$ac_compile") 2>conftest.er1
6263 grep -v '^ *+' conftest.er1
>conftest.err
6265 cat conftest.err
>&5
6266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); } && {
6268 test -z "$ac_c_werror_flag" ||
6269 test ! -s conftest.err
6270 } && test -s conftest.
$ac_objext; then
6271 ac_cv_member_struct_stat_st_rdev
=yes
6273 $as_echo "$as_me: failed program was:" >&5
6274 sed 's/^/| /' conftest.
$ac_ext >&5
6276 cat >conftest.
$ac_ext <<_ACEOF
6279 cat confdefs.h
>>conftest.
$ac_ext
6280 cat >>conftest.
$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6282 $ac_includes_default
6286 static struct stat ac_aggr;
6287 if (sizeof ac_aggr.st_rdev)
6293 rm -f conftest.
$ac_objext
6294 if { (ac_try
="$ac_compile"
6296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6297 *) ac_try_echo=$ac_try;;
6299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6300 $as_echo "$ac_try_echo") >&5
6301 (eval "$ac_compile") 2>conftest.er1
6303 grep -v '^ *+' conftest.er1 >conftest.err
6305 cat conftest.err >&5
6306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); } && {
6308 test -z "$ac_c_werror_flag" ||
6309 test ! -s conftest.err
6310 } && test -s conftest.$ac_objext; then
6311 ac_cv_member_struct_stat_st_rdev=yes
6313 $as_echo "$as_me: failed program was:" >&5
6314 sed 's/^/| /' conftest.$ac_ext >&5
6316 ac_cv_member_struct_stat_st_rdev=no
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6324 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6325 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6326 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
6328 cat >>confdefs.h <<_ACEOF
6329 #define HAVE_STRUCT_STAT_ST_RDEV 1
6335 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
6336 $as_echo_n "checking for off_t... " >&6; }
6337 if test "${ac_cv_type_off_t+set}" = set; then
6338 $as_echo_n "(cached) " >&6
6341 cat >conftest.$ac_ext <<_ACEOF
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6347 $ac_includes_default
6357 rm -f conftest.$ac_objext
6358 if { (ac_try="$ac_compile"
6360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6361 *) ac_try_echo
=$ac_try;;
6363 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6364 $as_echo "$ac_try_echo") >&5
6365 (eval "$ac_compile") 2>conftest.er1
6367 grep -v '^ *+' conftest.er1
>conftest.err
6369 cat conftest.err
>&5
6370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); } && {
6372 test -z "$ac_c_werror_flag" ||
6373 test ! -s conftest.err
6374 } && test -s conftest.
$ac_objext; then
6375 cat >conftest.
$ac_ext <<_ACEOF
6378 cat confdefs.h
>>conftest.
$ac_ext
6379 cat >>conftest.
$ac_ext <<_ACEOF
6380 /* end confdefs.h. */
6381 $ac_includes_default
6385 if (sizeof ((off_t)))
6391 rm -f conftest.
$ac_objext
6392 if { (ac_try
="$ac_compile"
6394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6395 *) ac_try_echo=$ac_try;;
6397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6398 $as_echo "$ac_try_echo") >&5
6399 (eval "$ac_compile") 2>conftest.er1
6401 grep -v '^ *+' conftest.er1 >conftest.err
6403 cat conftest.err >&5
6404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } && {
6406 test -z "$ac_c_werror_flag" ||
6407 test ! -s conftest.err
6408 } && test -s conftest.$ac_objext; then
6411 $as_echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5
6414 ac_cv_type_off_t=yes
6417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6419 $as_echo "$as_me: failed program was:" >&5
6420 sed 's/^/| /' conftest.$ac_ext >&5
6425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6427 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6428 $as_echo "$ac_cv_type_off_t" >&6; }
6429 if test "x$ac_cv_type_off_t" = x""yes; then
6433 cat >>confdefs.h <<_ACEOF
6434 #define off_t long int
6439 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
6440 $as_echo_n "checking for pid_t... " >&6; }
6441 if test "${ac_cv_type_pid_t+set}" = set; then
6442 $as_echo_n "(cached) " >&6
6445 cat >conftest.$ac_ext <<_ACEOF
6448 cat confdefs.h >>conftest.$ac_ext
6449 cat >>conftest.$ac_ext <<_ACEOF
6450 /* end confdefs.h. */
6451 $ac_includes_default
6461 rm -f conftest.$ac_objext
6462 if { (ac_try="$ac_compile"
6464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6465 *) ac_try_echo
=$ac_try;;
6467 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6468 $as_echo "$ac_try_echo") >&5
6469 (eval "$ac_compile") 2>conftest.er1
6471 grep -v '^ *+' conftest.er1
>conftest.err
6473 cat conftest.err
>&5
6474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } && {
6476 test -z "$ac_c_werror_flag" ||
6477 test ! -s conftest.err
6478 } && test -s conftest.
$ac_objext; then
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 $ac_includes_default
6489 if (sizeof ((pid_t)))
6495 rm -f conftest.
$ac_objext
6496 if { (ac_try
="$ac_compile"
6498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6502 $as_echo "$ac_try_echo") >&5
6503 (eval "$ac_compile") 2>conftest.er1
6505 grep -v '^ *+' conftest.er1 >conftest.err
6507 cat conftest.err >&5
6508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); } && {
6510 test -z "$ac_c_werror_flag" ||
6511 test ! -s conftest.err
6512 } && test -s conftest.$ac_objext; then
6515 $as_echo "$as_me: failed program was:" >&5
6516 sed 's/^/| /' conftest.$ac_ext >&5
6518 ac_cv_type_pid_t=yes
6521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 $as_echo "$as_me: failed program was:" >&5
6524 sed 's/^/| /' conftest.$ac_ext >&5
6529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6531 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6532 $as_echo "$ac_cv_type_pid_t" >&6; }
6533 if test "x$ac_cv_type_pid_t" = x""yes; then
6537 cat >>confdefs.h <<_ACEOF
6543 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6544 $as_echo_n "checking return type of signal handlers... " >&6; }
6545 if test "${ac_cv_type_signal+set}" = set; then
6546 $as_echo_n "(cached) " >&6
6548 cat >conftest.$ac_ext <<_ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 #include <sys/types.h>
6560 return *(signal (0, 0)) (0) == 1;
6565 rm -f conftest.$ac_objext
6566 if { (ac_try="$ac_compile"
6568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6569 *) ac_try_echo
=$ac_try;;
6571 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6572 $as_echo "$ac_try_echo") >&5
6573 (eval "$ac_compile") 2>conftest.er1
6575 grep -v '^ *+' conftest.er1
>conftest.err
6577 cat conftest.err
>&5
6578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } && {
6580 test -z "$ac_c_werror_flag" ||
6581 test ! -s conftest.err
6582 } && test -s conftest.
$ac_objext; then
6583 ac_cv_type_signal
=int
6585 $as_echo "$as_me: failed program was:" >&5
6586 sed 's/^/| /' conftest.
$ac_ext >&5
6588 ac_cv_type_signal
=void
6591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6593 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6594 $as_echo "$ac_cv_type_signal" >&6; }
6596 cat >>confdefs.h
<<_ACEOF
6597 #define RETSIGTYPE $ac_cv_type_signal
6601 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6602 $as_echo_n "checking for size_t... " >&6; }
6603 if test "${ac_cv_type_size_t+set}" = set; then
6604 $as_echo_n "(cached) " >&6
6606 ac_cv_type_size_t
=no
6607 cat >conftest.
$ac_ext <<_ACEOF
6610 cat confdefs.h
>>conftest.
$ac_ext
6611 cat >>conftest.
$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6613 $ac_includes_default
6617 if (sizeof (size_t))
6623 rm -f conftest.
$ac_objext
6624 if { (ac_try
="$ac_compile"
6626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6630 $as_echo "$ac_try_echo") >&5
6631 (eval "$ac_compile") 2>conftest.er1
6633 grep -v '^ *+' conftest.er1 >conftest.err
6635 cat conftest.err >&5
6636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && {
6638 test -z "$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6640 } && test -s conftest.$ac_objext; then
6641 cat >conftest.$ac_ext <<_ACEOF
6644 cat confdefs.h >>conftest.$ac_ext
6645 cat >>conftest.$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6647 $ac_includes_default
6651 if (sizeof ((size_t)))
6657 rm -f conftest.$ac_objext
6658 if { (ac_try="$ac_compile"
6660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6661 *) ac_try_echo
=$ac_try;;
6663 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6664 $as_echo "$ac_try_echo") >&5
6665 (eval "$ac_compile") 2>conftest.er1
6667 grep -v '^ *+' conftest.er1
>conftest.err
6669 cat conftest.err
>&5
6670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } && {
6672 test -z "$ac_c_werror_flag" ||
6673 test ! -s conftest.err
6674 } && test -s conftest.
$ac_objext; then
6677 $as_echo "$as_me: failed program was:" >&5
6678 sed 's/^/| /' conftest.
$ac_ext >&5
6680 ac_cv_type_size_t
=yes
6683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6685 $as_echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.
$ac_ext >&5
6691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6693 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6694 $as_echo "$ac_cv_type_size_t" >&6; }
6695 if test "x$ac_cv_type_size_t" = x
""yes; then
6699 cat >>confdefs.h
<<_ACEOF
6700 #define size_t unsigned int
6705 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6706 $as_echo_n "checking for mode_t... " >&6; }
6707 if test "${ac_cv_type_mode_t+set}" = set; then
6708 $as_echo_n "(cached) " >&6
6710 ac_cv_type_mode_t
=no
6711 cat >conftest.
$ac_ext <<_ACEOF
6714 cat confdefs.h
>>conftest.
$ac_ext
6715 cat >>conftest.
$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 $ac_includes_default
6721 if (sizeof (mode_t))
6727 rm -f conftest.
$ac_objext
6728 if { (ac_try
="$ac_compile"
6730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6731 *) ac_try_echo=$ac_try;;
6733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6734 $as_echo "$ac_try_echo") >&5
6735 (eval "$ac_compile") 2>conftest.er1
6737 grep -v '^ *+' conftest.er1 >conftest.err
6739 cat conftest.err >&5
6740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); } && {
6742 test -z "$ac_c_werror_flag" ||
6743 test ! -s conftest.err
6744 } && test -s conftest.$ac_objext; then
6745 cat >conftest.$ac_ext <<_ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 $ac_includes_default
6755 if (sizeof ((mode_t)))
6761 rm -f conftest.$ac_objext
6762 if { (ac_try="$ac_compile"
6764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6765 *) ac_try_echo
=$ac_try;;
6767 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6768 $as_echo "$ac_try_echo") >&5
6769 (eval "$ac_compile") 2>conftest.er1
6771 grep -v '^ *+' conftest.er1
>conftest.err
6773 cat conftest.err
>&5
6774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && {
6776 test -z "$ac_c_werror_flag" ||
6777 test ! -s conftest.err
6778 } && test -s conftest.
$ac_objext; then
6781 $as_echo "$as_me: failed program was:" >&5
6782 sed 's/^/| /' conftest.
$ac_ext >&5
6784 ac_cv_type_mode_t
=yes
6787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6789 $as_echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.
$ac_ext >&5
6795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6797 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6798 $as_echo "$ac_cv_type_mode_t" >&6; }
6799 if test "x$ac_cv_type_mode_t" = x
""yes; then
6803 cat >>confdefs.h
<<_ACEOF
6810 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
6811 $as_echo_n "checking for int8_t... " >&6; }
6812 if test "${ac_cv_c_int8_t+set}" = set; then
6813 $as_echo_n "(cached) " >&6
6816 for ac_type
in 'int8_t' 'int' 'long int' \
6817 'long long int' 'short int' 'signed char'; do
6818 cat >conftest.
$ac_ext <<_ACEOF
6821 cat confdefs.h
>>conftest.
$ac_ext
6822 cat >>conftest.
$ac_ext <<_ACEOF
6823 /* end confdefs.h. */
6824 $ac_includes_default
6828 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];
6835 rm -f conftest.
$ac_objext
6836 if { (ac_try
="$ac_compile"
6838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6839 *) ac_try_echo=$ac_try;;
6841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6842 $as_echo "$ac_try_echo") >&5
6843 (eval "$ac_compile") 2>conftest.er1
6845 grep -v '^ *+' conftest.er1 >conftest.err
6847 cat conftest.err >&5
6848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest.$ac_objext; then
6853 cat >conftest.$ac_ext <<_ACEOF
6856 cat confdefs.h >>conftest.$ac_ext
6857 cat >>conftest.$ac_ext <<_ACEOF
6858 /* end confdefs.h. */
6859 $ac_includes_default
6863 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)
6864 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];
6871 rm -f conftest.$ac_objext
6872 if { (ac_try="$ac_compile"
6874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6875 *) ac_try_echo
=$ac_try;;
6877 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6878 $as_echo "$ac_try_echo") >&5
6879 (eval "$ac_compile") 2>conftest.er1
6881 grep -v '^ *+' conftest.er1
>conftest.err
6883 cat conftest.err
>&5
6884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && {
6886 test -z "$ac_c_werror_flag" ||
6887 test ! -s conftest.err
6888 } && test -s conftest.
$ac_objext; then
6891 $as_echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.
$ac_ext >&5
6895 int8_t
) ac_cv_c_int8_t
=yes ;;
6896 *) ac_cv_c_int8_t
=$ac_type ;;
6901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6903 $as_echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.
$ac_ext >&5
6909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6910 test "$ac_cv_c_int8_t" != no
&& break
6913 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5
6914 $as_echo "$ac_cv_c_int8_t" >&6; }
6915 case $ac_cv_c_int8_t in #(
6919 cat >>confdefs.h
<<_ACEOF
6920 #define int8_t $ac_cv_c_int8_t
6926 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
6927 $as_echo_n "checking for int16_t... " >&6; }
6928 if test "${ac_cv_c_int16_t+set}" = set; then
6929 $as_echo_n "(cached) " >&6
6932 for ac_type
in 'int16_t' 'int' 'long int' \
6933 'long long int' 'short int' 'signed char'; do
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 $ac_includes_default
6944 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];
6951 rm -f conftest.
$ac_objext
6952 if { (ac_try
="$ac_compile"
6954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6958 $as_echo "$ac_try_echo") >&5
6959 (eval "$ac_compile") 2>conftest.er1
6961 grep -v '^ *+' conftest.er1 >conftest.err
6963 cat conftest.err >&5
6964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } && {
6966 test -z "$ac_c_werror_flag" ||
6967 test ! -s conftest.err
6968 } && test -s conftest.$ac_objext; then
6969 cat >conftest.$ac_ext <<_ACEOF
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 $ac_includes_default
6979 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)
6980 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];
6987 rm -f conftest.$ac_objext
6988 if { (ac_try="$ac_compile"
6990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6991 *) ac_try_echo
=$ac_try;;
6993 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6994 $as_echo "$ac_try_echo") >&5
6995 (eval "$ac_compile") 2>conftest.er1
6997 grep -v '^ *+' conftest.er1
>conftest.err
6999 cat conftest.err
>&5
7000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); } && {
7002 test -z "$ac_c_werror_flag" ||
7003 test ! -s conftest.err
7004 } && test -s conftest.
$ac_objext; then
7007 $as_echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.
$ac_ext >&5
7011 int16_t
) ac_cv_c_int16_t
=yes ;;
7012 *) ac_cv_c_int16_t
=$ac_type ;;
7017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7019 $as_echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.
$ac_ext >&5
7025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7026 test "$ac_cv_c_int16_t" != no
&& break
7029 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5
7030 $as_echo "$ac_cv_c_int16_t" >&6; }
7031 case $ac_cv_c_int16_t in #(
7035 cat >>confdefs.h
<<_ACEOF
7036 #define int16_t $ac_cv_c_int16_t
7042 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
7043 $as_echo_n "checking for int32_t... " >&6; }
7044 if test "${ac_cv_c_int32_t+set}" = set; then
7045 $as_echo_n "(cached) " >&6
7048 for ac_type
in 'int32_t' 'int' 'long int' \
7049 'long long int' 'short int' 'signed char'; do
7050 cat >conftest.
$ac_ext <<_ACEOF
7053 cat confdefs.h
>>conftest.
$ac_ext
7054 cat >>conftest.
$ac_ext <<_ACEOF
7055 /* end confdefs.h. */
7056 $ac_includes_default
7060 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];
7067 rm -f conftest.
$ac_objext
7068 if { (ac_try
="$ac_compile"
7070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7071 *) ac_try_echo=$ac_try;;
7073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7074 $as_echo "$ac_try_echo") >&5
7075 (eval "$ac_compile") 2>conftest.er1
7077 grep -v '^ *+' conftest.er1 >conftest.err
7079 cat conftest.err >&5
7080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } && {
7082 test -z "$ac_c_werror_flag" ||
7083 test ! -s conftest.err
7084 } && test -s conftest.$ac_objext; then
7085 cat >conftest.$ac_ext <<_ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 $ac_includes_default
7095 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)
7096 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];
7103 rm -f conftest.$ac_objext
7104 if { (ac_try="$ac_compile"
7106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7107 *) ac_try_echo
=$ac_try;;
7109 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7110 $as_echo "$ac_try_echo") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7113 grep -v '^ *+' conftest.er1
>conftest.err
7115 cat conftest.err
>&5
7116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.
$ac_objext; then
7123 $as_echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.
$ac_ext >&5
7127 int32_t
) ac_cv_c_int32_t
=yes ;;
7128 *) ac_cv_c_int32_t
=$ac_type ;;
7133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7135 $as_echo "$as_me: failed program was:" >&5
7136 sed 's/^/| /' conftest.
$ac_ext >&5
7141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7142 test "$ac_cv_c_int32_t" != no
&& break
7145 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5
7146 $as_echo "$ac_cv_c_int32_t" >&6; }
7147 case $ac_cv_c_int32_t in #(
7151 cat >>confdefs.h
<<_ACEOF
7152 #define int32_t $ac_cv_c_int32_t
7158 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
7159 $as_echo_n "checking for int64_t... " >&6; }
7160 if test "${ac_cv_c_int64_t+set}" = set; then
7161 $as_echo_n "(cached) " >&6
7164 for ac_type
in 'int64_t' 'int' 'long int' \
7165 'long long int' 'short int' 'signed char'; do
7166 cat >conftest.
$ac_ext <<_ACEOF
7169 cat confdefs.h
>>conftest.
$ac_ext
7170 cat >>conftest.
$ac_ext <<_ACEOF
7171 /* end confdefs.h. */
7172 $ac_includes_default
7176 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];
7183 rm -f conftest.
$ac_objext
7184 if { (ac_try
="$ac_compile"
7186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7187 *) ac_try_echo=$ac_try;;
7189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7190 $as_echo "$ac_try_echo") >&5
7191 (eval "$ac_compile") 2>conftest.er1
7193 grep -v '^ *+' conftest.er1 >conftest.err
7195 cat conftest.err >&5
7196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } && {
7198 test -z "$ac_c_werror_flag" ||
7199 test ! -s conftest.err
7200 } && test -s conftest.$ac_objext; then
7201 cat >conftest.$ac_ext <<_ACEOF
7204 cat confdefs.h >>conftest.$ac_ext
7205 cat >>conftest.$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 $ac_includes_default
7211 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)
7212 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];
7219 rm -f conftest.$ac_objext
7220 if { (ac_try="$ac_compile"
7222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7223 *) ac_try_echo
=$ac_try;;
7225 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7226 $as_echo "$ac_try_echo") >&5
7227 (eval "$ac_compile") 2>conftest.er1
7229 grep -v '^ *+' conftest.er1
>conftest.err
7231 cat conftest.err
>&5
7232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); } && {
7234 test -z "$ac_c_werror_flag" ||
7235 test ! -s conftest.err
7236 } && test -s conftest.
$ac_objext; then
7239 $as_echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.
$ac_ext >&5
7243 int64_t
) ac_cv_c_int64_t
=yes ;;
7244 *) ac_cv_c_int64_t
=$ac_type ;;
7249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7251 $as_echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.
$ac_ext >&5
7257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7258 test "$ac_cv_c_int64_t" != no
&& break
7261 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5
7262 $as_echo "$ac_cv_c_int64_t" >&6; }
7263 case $ac_cv_c_int64_t in #(
7267 cat >>confdefs.h
<<_ACEOF
7268 #define int64_t $ac_cv_c_int64_t
7273 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
7274 $as_echo_n "checking for ssize_t... " >&6; }
7275 if test "${ac_cv_type_ssize_t+set}" = set; then
7276 $as_echo_n "(cached) " >&6
7278 ac_cv_type_ssize_t
=no
7279 cat >conftest.
$ac_ext <<_ACEOF
7282 cat confdefs.h
>>conftest.
$ac_ext
7283 cat >>conftest.
$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7285 $ac_includes_default
7289 if (sizeof (ssize_t))
7295 rm -f conftest.
$ac_objext
7296 if { (ac_try
="$ac_compile"
7298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7299 *) ac_try_echo=$ac_try;;
7301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7302 $as_echo "$ac_try_echo") >&5
7303 (eval "$ac_compile") 2>conftest.er1
7305 grep -v '^ *+' conftest.er1 >conftest.err
7307 cat conftest.err >&5
7308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); } && {
7310 test -z "$ac_c_werror_flag" ||
7311 test ! -s conftest.err
7312 } && test -s conftest.$ac_objext; then
7313 cat >conftest.$ac_ext <<_ACEOF
7316 cat confdefs.h >>conftest.$ac_ext
7317 cat >>conftest.$ac_ext <<_ACEOF
7318 /* end confdefs.h. */
7319 $ac_includes_default
7323 if (sizeof ((ssize_t)))
7329 rm -f conftest.$ac_objext
7330 if { (ac_try="$ac_compile"
7332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7333 *) ac_try_echo
=$ac_try;;
7335 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7336 $as_echo "$ac_try_echo") >&5
7337 (eval "$ac_compile") 2>conftest.er1
7339 grep -v '^ *+' conftest.er1
>conftest.err
7341 cat conftest.err
>&5
7342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); } && {
7344 test -z "$ac_c_werror_flag" ||
7345 test ! -s conftest.err
7346 } && test -s conftest.
$ac_objext; then
7349 $as_echo "$as_me: failed program was:" >&5
7350 sed 's/^/| /' conftest.
$ac_ext >&5
7352 ac_cv_type_ssize_t
=yes
7355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7357 $as_echo "$as_me: failed program was:" >&5
7358 sed 's/^/| /' conftest.
$ac_ext >&5
7363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7365 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
7366 $as_echo "$ac_cv_type_ssize_t" >&6; }
7367 if test "x$ac_cv_type_ssize_t" = x
""yes; then
7371 cat >>confdefs.h
<<_ACEOF
7377 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7378 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7379 if test "${ac_cv_type_uid_t+set}" = set; then
7380 $as_echo_n "(cached) " >&6
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 #include <sys/types.h>
7391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7392 $EGREP "uid_t" >/dev
/null
2>&1; then
7393 ac_cv_type_uid_t
=yes
7400 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7401 $as_echo "$ac_cv_type_uid_t" >&6; }
7402 if test $ac_cv_type_uid_t = no
; then
7404 cat >>confdefs.h
<<\_ACEOF
7409 cat >>confdefs.h
<<\_ACEOF
7416 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
7417 $as_echo_n "checking for uint8_t... " >&6; }
7418 if test "${ac_cv_c_uint8_t+set}" = set; then
7419 $as_echo_n "(cached) " >&6
7422 for ac_type
in 'uint8_t' 'unsigned int' 'unsigned long int' \
7423 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7424 cat >conftest.
$ac_ext <<_ACEOF
7427 cat confdefs.h
>>conftest.
$ac_ext
7428 cat >>conftest.
$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7430 $ac_includes_default
7434 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
7441 rm -f conftest.
$ac_objext
7442 if { (ac_try
="$ac_compile"
7444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7445 *) ac_try_echo=$ac_try;;
7447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7448 $as_echo "$ac_try_echo") >&5
7449 (eval "$ac_compile") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1 >conftest.err
7453 cat conftest.err >&5
7454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest.$ac_objext; then
7460 uint8_t) ac_cv_c_uint8_t=yes ;;
7461 *) ac_cv_c_uint8_t=$ac_type ;;
7465 $as_echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.$ac_ext >&5
7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 test "$ac_cv_c_uint8_t" != no && break
7475 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
7476 $as_echo "$ac_cv_c_uint8_t" >&6; }
7477 case $ac_cv_c_uint8_t in #(
7481 cat >>confdefs.h <<\_ACEOF
7486 cat >>confdefs.h <<_ACEOF
7487 #define uint8_t $ac_cv_c_uint8_t
7493 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
7494 $as_echo_n "checking for uint16_t... " >&6; }
7495 if test "${ac_cv_c_uint16_t+set}" = set; then
7496 $as_echo_n "(cached) " >&6
7499 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
7500 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7501 cat >conftest.$ac_ext <<_ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 $ac_includes_default
7511 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
7518 rm -f conftest.$ac_objext
7519 if { (ac_try="$ac_compile"
7521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7522 *) ac_try_echo
=$ac_try;;
7524 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7525 $as_echo "$ac_try_echo") >&5
7526 (eval "$ac_compile") 2>conftest.er1
7528 grep -v '^ *+' conftest.er1
>conftest.err
7530 cat conftest.err
>&5
7531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } && {
7533 test -z "$ac_c_werror_flag" ||
7534 test ! -s conftest.err
7535 } && test -s conftest.
$ac_objext; then
7537 uint16_t
) ac_cv_c_uint16_t
=yes ;;
7538 *) ac_cv_c_uint16_t
=$ac_type ;;
7542 $as_echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.
$ac_ext >&5
7548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7549 test "$ac_cv_c_uint16_t" != no
&& break
7552 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
7553 $as_echo "$ac_cv_c_uint16_t" >&6; }
7554 case $ac_cv_c_uint16_t in #(
7559 cat >>confdefs.h
<<_ACEOF
7560 #define uint16_t $ac_cv_c_uint16_t
7566 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
7567 $as_echo_n "checking for uint32_t... " >&6; }
7568 if test "${ac_cv_c_uint32_t+set}" = set; then
7569 $as_echo_n "(cached) " >&6
7572 for ac_type
in 'uint32_t' 'unsigned int' 'unsigned long int' \
7573 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7574 cat >conftest.
$ac_ext <<_ACEOF
7577 cat confdefs.h
>>conftest.
$ac_ext
7578 cat >>conftest.
$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7580 $ac_includes_default
7584 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
7591 rm -f conftest.
$ac_objext
7592 if { (ac_try
="$ac_compile"
7594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7595 *) ac_try_echo=$ac_try;;
7597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7598 $as_echo "$ac_try_echo") >&5
7599 (eval "$ac_compile") 2>conftest.er1
7601 grep -v '^ *+' conftest.er1 >conftest.err
7603 cat conftest.err >&5
7604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } && {
7606 test -z "$ac_c_werror_flag" ||
7607 test ! -s conftest.err
7608 } && test -s conftest.$ac_objext; then
7610 uint32_t) ac_cv_c_uint32_t=yes ;;
7611 *) ac_cv_c_uint32_t=$ac_type ;;
7615 $as_echo "$as_me: failed program was:" >&5
7616 sed 's/^/| /' conftest.$ac_ext >&5
7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7622 test "$ac_cv_c_uint32_t" != no && break
7625 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
7626 $as_echo "$ac_cv_c_uint32_t" >&6; }
7627 case $ac_cv_c_uint32_t in #(
7631 cat >>confdefs.h <<\_ACEOF
7636 cat >>confdefs.h <<_ACEOF
7637 #define uint32_t $ac_cv_c_uint32_t
7643 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
7644 $as_echo_n "checking for uint64_t... " >&6; }
7645 if test "${ac_cv_c_uint64_t+set}" = set; then
7646 $as_echo_n "(cached) " >&6
7649 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
7650 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
7651 cat >conftest.$ac_ext <<_ACEOF
7654 cat confdefs.h >>conftest.$ac_ext
7655 cat >>conftest.$ac_ext <<_ACEOF
7656 /* end confdefs.h. */
7657 $ac_includes_default
7661 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
7668 rm -f conftest.$ac_objext
7669 if { (ac_try="$ac_compile"
7671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7672 *) ac_try_echo
=$ac_try;;
7674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7675 $as_echo "$ac_try_echo") >&5
7676 (eval "$ac_compile") 2>conftest.er1
7678 grep -v '^ *+' conftest.er1
>conftest.err
7680 cat conftest.err
>&5
7681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } && {
7683 test -z "$ac_c_werror_flag" ||
7684 test ! -s conftest.err
7685 } && test -s conftest.
$ac_objext; then
7687 uint64_t
) ac_cv_c_uint64_t
=yes ;;
7688 *) ac_cv_c_uint64_t
=$ac_type ;;
7692 $as_echo "$as_me: failed program was:" >&5
7693 sed 's/^/| /' conftest.
$ac_ext >&5
7698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7699 test "$ac_cv_c_uint64_t" != no
&& break
7702 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
7703 $as_echo "$ac_cv_c_uint64_t" >&6; }
7704 case $ac_cv_c_uint64_t in #(
7708 cat >>confdefs.h
<<\_ACEOF
7713 cat >>confdefs.h
<<_ACEOF
7714 #define uint64_t $ac_cv_c_uint64_t
7719 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7720 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
7721 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7722 $as_echo_n "(cached) " >&6
7724 cat >conftest.
$ac_ext <<_ACEOF
7727 cat confdefs.h
>>conftest.
$ac_ext
7728 cat >>conftest.
$ac_ext <<_ACEOF
7729 /* end confdefs.h. */
7730 $ac_includes_default
7734 static struct stat ac_aggr;
7735 if (ac_aggr.st_rdev)
7741 rm -f conftest.
$ac_objext
7742 if { (ac_try
="$ac_compile"
7744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7745 *) ac_try_echo=$ac_try;;
7747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7748 $as_echo "$ac_try_echo") >&5
7749 (eval "$ac_compile") 2>conftest.er1
7751 grep -v '^ *+' conftest.er1 >conftest.err
7753 cat conftest.err >&5
7754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } && {
7756 test -z "$ac_c_werror_flag" ||
7757 test ! -s conftest.err
7758 } && test -s conftest.$ac_objext; then
7759 ac_cv_member_struct_stat_st_rdev=yes
7761 $as_echo "$as_me: failed program was:" >&5
7762 sed 's/^/| /' conftest.$ac_ext >&5
7764 cat >conftest.$ac_ext <<_ACEOF
7767 cat confdefs.h >>conftest.$ac_ext
7768 cat >>conftest.$ac_ext <<_ACEOF
7769 /* end confdefs.h. */
7770 $ac_includes_default
7774 static struct stat ac_aggr;
7775 if (sizeof ac_aggr.st_rdev)
7781 rm -f conftest.$ac_objext
7782 if { (ac_try="$ac_compile"
7784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7785 *) ac_try_echo
=$ac_try;;
7787 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7788 $as_echo "$ac_try_echo") >&5
7789 (eval "$ac_compile") 2>conftest.er1
7791 grep -v '^ *+' conftest.er1
>conftest.err
7793 cat conftest.err
>&5
7794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); } && {
7796 test -z "$ac_c_werror_flag" ||
7797 test ! -s conftest.err
7798 } && test -s conftest.
$ac_objext; then
7799 ac_cv_member_struct_stat_st_rdev
=yes
7801 $as_echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.
$ac_ext >&5
7804 ac_cv_member_struct_stat_st_rdev
=no
7807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7812 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7813 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
7814 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
7816 cat >>confdefs.h
<<_ACEOF
7817 #define HAVE_STRUCT_STAT_ST_RDEV 1
7823 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7824 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7825 if test "${ac_cv_struct_tm+set}" = set; then
7826 $as_echo_n "(cached) " >&6
7828 cat >conftest.
$ac_ext <<_ACEOF
7831 cat confdefs.h
>>conftest.
$ac_ext
7832 cat >>conftest.
$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7834 #include <sys/types.h>
7841 int *p = &tm.tm_sec;
7847 rm -f conftest.
$ac_objext
7848 if { (ac_try
="$ac_compile"
7850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7851 *) ac_try_echo=$ac_try;;
7853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7854 $as_echo "$ac_try_echo") >&5
7855 (eval "$ac_compile") 2>conftest.er1
7857 grep -v '^ *+' conftest.er1 >conftest.err
7859 cat conftest.err >&5
7860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); } && {
7862 test -z "$ac_c_werror_flag" ||
7863 test ! -s conftest.err
7864 } && test -s conftest.$ac_objext; then
7865 ac_cv_struct_tm=time.h
7867 $as_echo "$as_me: failed program was:" >&5
7868 sed 's/^/| /' conftest.$ac_ext >&5
7870 ac_cv_struct_tm=sys/time.h
7873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7875 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7876 $as_echo "$ac_cv_struct_tm" >&6; }
7877 if test $ac_cv_struct_tm = sys/time.h; then
7879 cat >>confdefs.h <<\_ACEOF
7880 #define TM_IN_SYS_TIME 1
7886 ################################################################################
7887 { $as_echo "$as_me:$LINENO: checking for library containing floor" >&5
7888 $as_echo_n "checking for library containing floor... " >&6; }
7889 if test "${ac_cv_search_floor+set}" = set; then
7890 $as_echo_n "(cached) " >&6
7892 ac_func_search_save_LIBS=$LIBS
7893 cat >conftest.$ac_ext <<_ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7900 /* Override any GCC internal prototype to avoid an error.
7901 Use char because int might match the return type of a GCC
7902 builtin and then its argument prototype would still apply. */
7915 for ac_lib in '' m; do
7916 if test -z "$ac_lib"; then
7917 ac_res="none required"
7920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7922 rm -f conftest.$ac_objext conftest$ac_exeext
7923 if { (ac_try="$ac_link"
7925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7926 *) ac_try_echo
=$ac_try;;
7928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7929 $as_echo "$ac_try_echo") >&5
7930 (eval "$ac_link") 2>conftest.er1
7932 grep -v '^ *+' conftest.er1
>conftest.err
7934 cat conftest.err
>&5
7935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } && {
7937 test -z "$ac_c_werror_flag" ||
7938 test ! -s conftest.err
7939 } && test -s conftest
$ac_exeext && {
7940 test "$cross_compiling" = yes ||
7941 $as_test_x conftest
$ac_exeext
7943 ac_cv_search_floor
=$ac_res
7945 $as_echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.
$ac_ext >&5
7951 rm -rf conftest.dSYM
7952 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7954 if test "${ac_cv_search_floor+set}" = set; then
7958 if test "${ac_cv_search_floor+set}" = set; then
7961 ac_cv_search_floor
=no
7964 LIBS
=$ac_func_search_save_LIBS
7966 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_floor" >&5
7967 $as_echo "$ac_cv_search_floor" >&6; }
7968 ac_res
=$ac_cv_search_floor
7969 if test "$ac_res" != no
; then
7970 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7973 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
7974 $as_echo "$as_me: error: bailing out" >&2;}
7975 { (exit 1); exit 1; }; }
8003 for ac_func
in floor ftruncate gethostname getpagesize \
8004 gettimeofday memset mkdir
mkfifo rmdir munmap nl_langinfo setenv setlocale \
8005 strcasecmp strchr strcspn strspn strdup strncasecmp strerror strrchr \
8006 strstr strtol strtoul uname
8008 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8009 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8010 $as_echo_n "checking for $ac_func... " >&6; }
8011 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8012 $as_echo_n "(cached) " >&6
8014 cat >conftest.
$ac_ext <<_ACEOF
8017 cat confdefs.h
>>conftest.
$ac_ext
8018 cat >>conftest.
$ac_ext <<_ACEOF
8019 /* end confdefs.h. */
8020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8022 #define $ac_func innocuous_$ac_func
8024 /* System header to define __stub macros and hopefully few prototypes,
8025 which can conflict with char $ac_func (); below.
8026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8027 <limits.h> exists even on freestanding compilers. */
8030 # include <limits.h>
8032 # include <assert.h>
8037 /* Override any GCC internal prototype to avoid an error.
8038 Use char because int might match the return type of a GCC
8039 builtin and then its argument prototype would still apply. */
8044 /* The GNU C library defines this for functions which it implements
8045 to always fail with ENOSYS. Some functions are actually named
8046 something starting with __ and the normal name is an alias. */
8047 #if defined __stub_$ac_func || defined __stub___$ac_func
8059 rm -f conftest.
$ac_objext conftest
$ac_exeext
8060 if { (ac_try
="$ac_link"
8062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8066 $as_echo "$ac_try_echo") >&5
8067 (eval "$ac_link") 2>conftest.er1
8069 grep -v '^ *+' conftest.er1 >conftest.err
8071 cat conftest.err >&5
8072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } && {
8074 test -z "$ac_c_werror_flag" ||
8075 test ! -s conftest.err
8076 } && test -s conftest$ac_exeext && {
8077 test "$cross_compiling" = yes ||
8078 $as_test_x conftest$ac_exeext
8080 eval "$as_ac_var=yes"
8082 $as_echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8085 eval "$as_ac_var=no"
8088 rm -rf conftest.dSYM
8089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8090 conftest$ac_exeext conftest.$ac_ext
8092 ac_res=`eval 'as_val=${'$as_ac_var'}
8093 $as_echo "$as_val"'`
8094 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8095 $as_echo "$ac_res" >&6; }
8096 as_val=`eval 'as_val=${'$as_ac_var'}
8097 $as_echo "$as_val"'`
8098 if test "x$as_val" = x""yes; then
8099 cat >>confdefs.h <<_ACEOF
8100 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8104 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
8105 $as_echo "$as_me: error: bailing out" >&2;}
8106 { (exit 1); exit 1; }; }
8111 for ac_func in siginterrupt
8113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8114 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8115 $as_echo_n "checking for $ac_func... " >&6; }
8116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8117 $as_echo_n "(cached) " >&6
8119 cat >conftest.$ac_ext <<_ACEOF
8122 cat confdefs.h >>conftest.$ac_ext
8123 cat >>conftest.$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8127 #define $ac_func innocuous_$ac_func
8129 /* System header to define __stub macros and hopefully few prototypes,
8130 which can conflict with char $ac_func (); below.
8131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8132 <limits.h> exists even on freestanding compilers. */
8135 # include <limits.h>
8137 # include <assert.h>
8142 /* Override any GCC internal prototype to avoid an error.
8143 Use char because int might match the return type of a GCC
8144 builtin and then its argument prototype would still apply. */
8149 /* The GNU C library defines this for functions which it implements
8150 to always fail with ENOSYS. Some functions are actually named
8151 something starting with __ and the normal name is an alias. */
8152 #if defined __stub_$ac_func || defined __stub___$ac_func
8164 rm -f conftest.$ac_objext conftest$ac_exeext
8165 if { (ac_try="$ac_link"
8167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8168 *) ac_try_echo
=$ac_try;;
8170 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8171 $as_echo "$ac_try_echo") >&5
8172 (eval "$ac_link") 2>conftest.er1
8174 grep -v '^ *+' conftest.er1
>conftest.err
8176 cat conftest.err
>&5
8177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && {
8179 test -z "$ac_c_werror_flag" ||
8180 test ! -s conftest.err
8181 } && test -s conftest
$ac_exeext && {
8182 test "$cross_compiling" = yes ||
8183 $as_test_x conftest
$ac_exeext
8185 eval "$as_ac_var=yes"
8187 $as_echo "$as_me: failed program was:" >&5
8188 sed 's/^/| /' conftest.
$ac_ext >&5
8190 eval "$as_ac_var=no"
8193 rm -rf conftest.dSYM
8194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8195 conftest
$ac_exeext conftest.
$ac_ext
8197 ac_res
=`eval 'as_val=${'$as_ac_var'}
8198 $as_echo "$as_val"'`
8199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8200 $as_echo "$ac_res" >&6; }
8201 as_val
=`eval 'as_val=${'$as_ac_var'}
8202 $as_echo "$as_val"'`
8203 if test "x$as_val" = x
""yes; then
8204 cat >>confdefs.h
<<_ACEOF
8205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8211 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8212 # for constant arguments. Useless!
8213 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
8214 $as_echo_n "checking for working alloca.h... " >&6; }
8215 if test "${ac_cv_working_alloca_h+set}" = set; then
8216 $as_echo_n "(cached) " >&6
8218 cat >conftest.
$ac_ext <<_ACEOF
8221 cat confdefs.h
>>conftest.
$ac_ext
8222 cat >>conftest.
$ac_ext <<_ACEOF
8223 /* end confdefs.h. */
8228 char *p = (char *) alloca (2 * sizeof (int));
8234 rm -f conftest.
$ac_objext conftest
$ac_exeext
8235 if { (ac_try
="$ac_link"
8237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;;
8240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8241 $as_echo "$ac_try_echo") >&5
8242 (eval "$ac_link") 2>conftest.er1
8244 grep -v '^ *+' conftest.er1 >conftest.err
8246 cat conftest.err >&5
8247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); } && {
8249 test -z "$ac_c_werror_flag" ||
8250 test ! -s conftest.err
8251 } && test -s conftest$ac_exeext && {
8252 test "$cross_compiling" = yes ||
8253 $as_test_x conftest$ac_exeext
8255 ac_cv_working_alloca_h=yes
8257 $as_echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8260 ac_cv_working_alloca_h=no
8263 rm -rf conftest.dSYM
8264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8265 conftest$ac_exeext conftest.$ac_ext
8267 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8268 $as_echo "$ac_cv_working_alloca_h" >&6; }
8269 if test $ac_cv_working_alloca_h = yes; then
8271 cat >>confdefs.h <<\_ACEOF
8272 #define HAVE_ALLOCA_H 1
8277 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
8278 $as_echo_n "checking for alloca... " >&6; }
8279 if test "${ac_cv_func_alloca_works+set}" = set; then
8280 $as_echo_n "(cached) " >&6
8282 cat >conftest.$ac_ext <<_ACEOF
8285 cat confdefs.h >>conftest.$ac_ext
8286 cat >>conftest.$ac_ext <<_ACEOF
8287 /* end confdefs.h. */
8289 # define alloca __builtin_alloca
8292 # include <malloc.h>
8293 # define alloca _alloca
8295 # ifdef HAVE_ALLOCA_H
8296 # include <alloca.h>
8301 # ifndef alloca /* predefined by HP cc +Olibcalls */
8312 char *p = (char *) alloca (1);
8318 rm -f conftest.$ac_objext conftest$ac_exeext
8319 if { (ac_try="$ac_link"
8321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8322 *) ac_try_echo
=$ac_try;;
8324 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8325 $as_echo "$ac_try_echo") >&5
8326 (eval "$ac_link") 2>conftest.er1
8328 grep -v '^ *+' conftest.er1
>conftest.err
8330 cat conftest.err
>&5
8331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } && {
8333 test -z "$ac_c_werror_flag" ||
8334 test ! -s conftest.err
8335 } && test -s conftest
$ac_exeext && {
8336 test "$cross_compiling" = yes ||
8337 $as_test_x conftest
$ac_exeext
8339 ac_cv_func_alloca_works
=yes
8341 $as_echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.
$ac_ext >&5
8344 ac_cv_func_alloca_works
=no
8347 rm -rf conftest.dSYM
8348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8349 conftest
$ac_exeext conftest.
$ac_ext
8351 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8352 $as_echo "$ac_cv_func_alloca_works" >&6; }
8354 if test $ac_cv_func_alloca_works = yes; then
8356 cat >>confdefs.h
<<\_ACEOF
8357 #define HAVE_ALLOCA 1
8361 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8362 # that cause trouble. Some versions do not even contain alloca or
8363 # contain a buggy version. If you still want to use their alloca,
8364 # use ar to extract alloca.o from them instead of compiling alloca.c.
8366 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
8368 cat >>confdefs.h
<<\_ACEOF
8373 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8374 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
8375 if test "${ac_cv_os_cray+set}" = set; then
8376 $as_echo_n "(cached) " >&6
8378 cat >conftest.
$ac_ext <<_ACEOF
8381 cat confdefs.h
>>conftest.
$ac_ext
8382 cat >>conftest.
$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8384 #if defined CRAY && ! defined CRAY2
8391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8392 $EGREP "webecray" >/dev
/null
2>&1; then
8400 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8401 $as_echo "$ac_cv_os_cray" >&6; }
8402 if test $ac_cv_os_cray = yes; then
8403 for ac_func
in _getb67 GETB67 getb67
; do
8404 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8405 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8406 $as_echo_n "checking for $ac_func... " >&6; }
8407 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8408 $as_echo_n "(cached) " >&6
8410 cat >conftest.
$ac_ext <<_ACEOF
8413 cat confdefs.h
>>conftest.
$ac_ext
8414 cat >>conftest.
$ac_ext <<_ACEOF
8415 /* end confdefs.h. */
8416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8418 #define $ac_func innocuous_$ac_func
8420 /* System header to define __stub macros and hopefully few prototypes,
8421 which can conflict with char $ac_func (); below.
8422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8423 <limits.h> exists even on freestanding compilers. */
8426 # include <limits.h>
8428 # include <assert.h>
8433 /* Override any GCC internal prototype to avoid an error.
8434 Use char because int might match the return type of a GCC
8435 builtin and then its argument prototype would still apply. */
8440 /* The GNU C library defines this for functions which it implements
8441 to always fail with ENOSYS. Some functions are actually named
8442 something starting with __ and the normal name is an alias. */
8443 #if defined __stub_$ac_func || defined __stub___$ac_func
8455 rm -f conftest.
$ac_objext conftest
$ac_exeext
8456 if { (ac_try
="$ac_link"
8458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8459 *) ac_try_echo=$ac_try;;
8461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8462 $as_echo "$ac_try_echo") >&5
8463 (eval "$ac_link") 2>conftest.er1
8465 grep -v '^ *+' conftest.er1 >conftest.err
8467 cat conftest.err >&5
8468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } && {
8470 test -z "$ac_c_werror_flag" ||
8471 test ! -s conftest.err
8472 } && test -s conftest$ac_exeext && {
8473 test "$cross_compiling" = yes ||
8474 $as_test_x conftest$ac_exeext
8476 eval "$as_ac_var=yes"
8478 $as_echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 eval "$as_ac_var=no"
8484 rm -rf conftest.dSYM
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486 conftest$ac_exeext conftest.$ac_ext
8488 ac_res=`eval 'as_val=${'$as_ac_var'}
8489 $as_echo "$as_val"'`
8490 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8491 $as_echo "$ac_res" >&6; }
8492 as_val=`eval 'as_val=${'$as_ac_var'}
8493 $as_echo "$as_val"'`
8494 if test "x$as_val" = x""yes; then
8496 cat >>confdefs.h <<_ACEOF
8497 #define CRAY_STACKSEG_END $ac_func
8506 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8507 $as_echo_n "checking stack direction for C alloca... " >&6; }
8508 if test "${ac_cv_c_stack_direction+set}" = set; then
8509 $as_echo_n "(cached) " >&6
8511 if test "$cross_compiling" = yes; then
8512 ac_cv_c_stack_direction=0
8514 cat >conftest.$ac_ext <<_ACEOF
8517 cat confdefs.h >>conftest.$ac_ext
8518 cat >>conftest.$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8520 $ac_includes_default
8522 find_stack_direction ()
8524 static char *addr = 0;
8529 return find_stack_direction ();
8532 return (&dummy > addr) ? 1 : -1;
8538 return find_stack_direction () < 0;
8541 rm -f conftest$ac_exeext
8542 if { (ac_try="$ac_link"
8544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8545 *) ac_try_echo
=$ac_try;;
8547 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8548 $as_echo "$ac_try_echo") >&5
8549 (eval "$ac_link") 2>&5
8551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8553 { (case "(($ac_try" in
8554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8558 $as_echo "$ac_try_echo") >&5
8559 (eval "$ac_try") 2>&5
8561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then
8563 ac_cv_c_stack_direction=1
8565 $as_echo "$as_me: program exited with status $ac_status" >&5
8566 $as_echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_cv_c_stack_direction=-1
8572 rm -rf conftest.dSYM
8573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8578 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8579 $as_echo "$ac_cv_c_stack_direction" >&6; }
8581 cat >>confdefs.h <<_ACEOF
8582 #define STACK_DIRECTION $ac_cv_c_stack_direction
8588 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8589 $as_echo_n "checking whether closedir returns void... " >&6; }
8590 if test "${ac_cv_func_closedir_void+set}" = set; then
8591 $as_echo_n "(cached) " >&6
8593 if test "$cross_compiling" = yes; then
8594 ac_cv_func_closedir_void=yes
8596 cat >conftest.$ac_ext <<_ACEOF
8599 cat confdefs.h >>conftest.$ac_ext
8600 cat >>conftest.$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8602 $ac_includes_default
8603 #include <$ac_header_dirent>
8611 return closedir (opendir (".")) != 0;
8616 rm -f conftest$ac_exeext
8617 if { (ac_try="$ac_link"
8619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8620 *) ac_try_echo
=$ac_try;;
8622 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8623 $as_echo "$ac_try_echo") >&5
8624 (eval "$ac_link") 2>&5
8626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8628 { (case "(($ac_try" in
8629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8630 *) ac_try_echo=$ac_try;;
8632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8633 $as_echo "$ac_try_echo") >&5
8634 (eval "$ac_try") 2>&5
8636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); }; }; then
8638 ac_cv_func_closedir_void=no
8640 $as_echo "$as_me: program exited with status $ac_status" >&5
8641 $as_echo "$as_me: failed program was:" >&5
8642 sed 's/^/| /' conftest.$ac_ext >&5
8645 ac_cv_func_closedir_void=yes
8647 rm -rf conftest.dSYM
8648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8653 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8654 $as_echo "$ac_cv_func_closedir_void" >&6; }
8655 if test $ac_cv_func_closedir_void = yes; then
8657 cat >>confdefs.h <<\_ACEOF
8658 #define CLOSEDIR_VOID 1
8664 for ac_header in unistd.h
8666 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8669 $as_echo_n "checking for $ac_header... " >&6; }
8670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8671 $as_echo_n "(cached) " >&6
8673 ac_res=`eval 'as_val=${'$as_ac_Header'}
8674 $as_echo "$as_val"'`
8675 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8676 $as_echo "$ac_res" >&6; }
8678 # Is the header compilable?
8679 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8680 $as_echo_n "checking $ac_header usability... " >&6; }
8681 cat >conftest.$ac_ext <<_ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8687 $ac_includes_default
8688 #include <$ac_header>
8690 rm -f conftest.$ac_objext
8691 if { (ac_try="$ac_compile"
8693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8694 *) ac_try_echo
=$ac_try;;
8696 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8697 $as_echo "$ac_try_echo") >&5
8698 (eval "$ac_compile") 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } && {
8705 test -z "$ac_c_werror_flag" ||
8706 test ! -s conftest.err
8707 } && test -s conftest.
$ac_objext; then
8708 ac_header_compiler
=yes
8710 $as_echo "$as_me: failed program was:" >&5
8711 sed 's/^/| /' conftest.
$ac_ext >&5
8713 ac_header_compiler
=no
8716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8717 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8718 $as_echo "$ac_header_compiler" >&6; }
8720 # Is the header present?
8721 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8722 $as_echo_n "checking $ac_header presence... " >&6; }
8723 cat >conftest.
$ac_ext <<_ACEOF
8726 cat confdefs.h
>>conftest.
$ac_ext
8727 cat >>conftest.
$ac_ext <<_ACEOF
8728 /* end confdefs.h. */
8729 #include <$ac_header>
8731 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8737 $as_echo "$ac_try_echo") >&5
8738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8740 grep -v '^ *+' conftest.er1 >conftest.err
8742 cat conftest.err >&5
8743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } >/dev/null && {
8745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8746 test ! -s conftest.err
8748 ac_header_preproc=yes
8750 $as_echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 ac_header_preproc=no
8756 rm -f conftest.err conftest.$ac_ext
8757 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8758 $as_echo "$ac_header_preproc" >&6; }
8760 # So? What about this header?
8761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8764 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8766 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8767 ac_header_preproc=yes
8770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8771 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8773 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8775 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8777 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8779 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8781 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8785 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8786 $as_echo_n "checking for $ac_header... " >&6; }
8787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8788 $as_echo_n "(cached) " >&6
8790 eval "$as_ac_Header=\$ac_header_preproc"
8792 ac_res=`eval 'as_val=${'$as_ac_Header'}
8793 $as_echo "$as_val"'`
8794 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8795 $as_echo "$ac_res" >&6; }
8798 as_val=`eval 'as_val=${'$as_ac_Header'}
8799 $as_echo "$as_val"'`
8800 if test "x$as_val" = x""yes; then
8801 cat >>confdefs.h <<_ACEOF
8802 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8809 { $as_echo "$as_me:$LINENO: checking for working chown" >&5
8810 $as_echo_n "checking for working chown... " >&6; }
8811 if test "${ac_cv_func_chown_works+set}" = set; then
8812 $as_echo_n "(cached) " >&6
8814 if test "$cross_compiling" = yes; then
8815 ac_cv_func_chown_works=no
8817 cat >conftest.$ac_ext <<_ACEOF
8820 cat confdefs.h >>conftest.$ac_ext
8821 cat >>conftest.$ac_ext <<_ACEOF
8822 /* end confdefs.h. */
8823 $ac_includes_default
8829 char *f = "conftest.chown";
8830 struct stat before, after;
8832 if (creat (f, 0600) < 0)
8834 if (stat (f, &before) < 0)
8836 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
8838 if (stat (f, &after) < 0)
8840 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
8846 rm -f conftest$ac_exeext
8847 if { (ac_try="$ac_link"
8849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8850 *) ac_try_echo
=$ac_try;;
8852 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8853 $as_echo "$ac_try_echo") >&5
8854 (eval "$ac_link") 2>&5
8856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8858 { (case "(($ac_try" in
8859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8860 *) ac_try_echo=$ac_try;;
8862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8863 $as_echo "$ac_try_echo") >&5
8864 (eval "$ac_try") 2>&5
8866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); }; }; then
8868 ac_cv_func_chown_works=yes
8870 $as_echo "$as_me: program exited with status $ac_status" >&5
8871 $as_echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8875 ac_cv_func_chown_works=no
8877 rm -rf conftest.dSYM
8878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8882 rm -f conftest.chown
8885 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_chown_works" >&5
8886 $as_echo "$ac_cv_func_chown_works" >&6; }
8887 if test $ac_cv_func_chown_works = yes; then
8889 cat >>confdefs.h <<\_ACEOF
8890 #define HAVE_CHOWN 1
8896 for ac_header in vfork.h
8898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8901 $as_echo_n "checking for $ac_header... " >&6; }
8902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8903 $as_echo_n "(cached) " >&6
8905 ac_res=`eval 'as_val=${'$as_ac_Header'}
8906 $as_echo "$as_val"'`
8907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8908 $as_echo "$ac_res" >&6; }
8910 # Is the header compilable?
8911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8912 $as_echo_n "checking $ac_header usability... " >&6; }
8913 cat >conftest.$ac_ext <<_ACEOF
8916 cat confdefs.h >>conftest.$ac_ext
8917 cat >>conftest.$ac_ext <<_ACEOF
8918 /* end confdefs.h. */
8919 $ac_includes_default
8920 #include <$ac_header>
8922 rm -f conftest.$ac_objext
8923 if { (ac_try="$ac_compile"
8925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8926 *) ac_try_echo
=$ac_try;;
8928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8929 $as_echo "$ac_try_echo") >&5
8930 (eval "$ac_compile") 2>conftest.er1
8932 grep -v '^ *+' conftest.er1
>conftest.err
8934 cat conftest.err
>&5
8935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); } && {
8937 test -z "$ac_c_werror_flag" ||
8938 test ! -s conftest.err
8939 } && test -s conftest.
$ac_objext; then
8940 ac_header_compiler
=yes
8942 $as_echo "$as_me: failed program was:" >&5
8943 sed 's/^/| /' conftest.
$ac_ext >&5
8945 ac_header_compiler
=no
8948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8950 $as_echo "$ac_header_compiler" >&6; }
8952 # Is the header present?
8953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8954 $as_echo_n "checking $ac_header presence... " >&6; }
8955 cat >conftest.
$ac_ext <<_ACEOF
8958 cat confdefs.h
>>conftest.
$ac_ext
8959 cat >>conftest.
$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 #include <$ac_header>
8963 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8966 *) ac_try_echo=$ac_try;;
8968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8969 $as_echo "$ac_try_echo") >&5
8970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8972 grep -v '^ *+' conftest.er1 >conftest.err
8974 cat conftest.err >&5
8975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } >/dev/null && {
8977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8978 test ! -s conftest.err
8980 ac_header_preproc=yes
8982 $as_echo "$as_me: failed program was:" >&5
8983 sed 's/^/| /' conftest.$ac_ext >&5
8985 ac_header_preproc=no
8988 rm -f conftest.err conftest.$ac_ext
8989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8990 $as_echo "$ac_header_preproc" >&6; }
8992 # So? What about this header?
8993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8999 ac_header_preproc=yes
9002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9005 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9009 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9017 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9018 $as_echo_n "checking for $ac_header... " >&6; }
9019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9020 $as_echo_n "(cached) " >&6
9022 eval "$as_ac_Header=\$ac_header_preproc"
9024 ac_res=`eval 'as_val=${'$as_ac_Header'}
9025 $as_echo "$as_val"'`
9026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9027 $as_echo "$ac_res" >&6; }
9030 as_val=`eval 'as_val=${'$as_ac_Header'}
9031 $as_echo "$as_val"'`
9032 if test "x$as_val" = x""yes; then
9033 cat >>confdefs.h <<_ACEOF
9034 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9043 for ac_func in fork vfork
9045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9046 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9047 $as_echo_n "checking for $ac_func... " >&6; }
9048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9049 $as_echo_n "(cached) " >&6
9051 cat >conftest.$ac_ext <<_ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9059 #define $ac_func innocuous_$ac_func
9061 /* System header to define __stub macros and hopefully few prototypes,
9062 which can conflict with char $ac_func (); below.
9063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9064 <limits.h> exists even on freestanding compilers. */
9067 # include <limits.h>
9069 # include <assert.h>
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9081 /* The GNU C library defines this for functions which it implements
9082 to always fail with ENOSYS. Some functions are actually named
9083 something starting with __ and the normal name is an alias. */
9084 #if defined __stub_$ac_func || defined __stub___$ac_func
9096 rm -f conftest.$ac_objext conftest$ac_exeext
9097 if { (ac_try="$ac_link"
9099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9100 *) ac_try_echo
=$ac_try;;
9102 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9103 $as_echo "$ac_try_echo") >&5
9104 (eval "$ac_link") 2>conftest.er1
9106 grep -v '^ *+' conftest.er1
>conftest.err
9108 cat conftest.err
>&5
9109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); } && {
9111 test -z "$ac_c_werror_flag" ||
9112 test ! -s conftest.err
9113 } && test -s conftest
$ac_exeext && {
9114 test "$cross_compiling" = yes ||
9115 $as_test_x conftest
$ac_exeext
9117 eval "$as_ac_var=yes"
9119 $as_echo "$as_me: failed program was:" >&5
9120 sed 's/^/| /' conftest.
$ac_ext >&5
9122 eval "$as_ac_var=no"
9125 rm -rf conftest.dSYM
9126 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9127 conftest
$ac_exeext conftest.
$ac_ext
9129 ac_res
=`eval 'as_val=${'$as_ac_var'}
9130 $as_echo "$as_val"'`
9131 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9132 $as_echo "$ac_res" >&6; }
9133 as_val
=`eval 'as_val=${'$as_ac_var'}
9134 $as_echo "$as_val"'`
9135 if test "x$as_val" = x
""yes; then
9136 cat >>confdefs.h
<<_ACEOF
9137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9143 if test "x$ac_cv_func_fork" = xyes
; then
9144 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
9145 $as_echo_n "checking for working fork... " >&6; }
9146 if test "${ac_cv_func_fork_works+set}" = set; then
9147 $as_echo_n "(cached) " >&6
9149 if test "$cross_compiling" = yes; then
9150 ac_cv_func_fork_works
=cross
9152 cat >conftest.
$ac_ext <<_ACEOF
9155 cat confdefs.h
>>conftest.
$ac_ext
9156 cat >>conftest.
$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9158 $ac_includes_default
9163 /* By Ruediger Kuhlmann. */
9170 rm -f conftest
$ac_exeext
9171 if { (ac_try
="$ac_link"
9173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9174 *) ac_try_echo=$ac_try;;
9176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9177 $as_echo "$ac_try_echo") >&5
9178 (eval "$ac_link") 2>&5
9180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9182 { (case "(($ac_try" in
9183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9184 *) ac_try_echo
=$ac_try;;
9186 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9187 $as_echo "$ac_try_echo") >&5
9188 (eval "$ac_try") 2>&5
9190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; }; then
9192 ac_cv_func_fork_works
=yes
9194 $as_echo "$as_me: program exited with status $ac_status" >&5
9195 $as_echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.
$ac_ext >&5
9199 ac_cv_func_fork_works
=no
9201 rm -rf conftest.dSYM
9202 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9207 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
9208 $as_echo "$ac_cv_func_fork_works" >&6; }
9211 ac_cv_func_fork_works
=$ac_cv_func_fork
9213 if test "x$ac_cv_func_fork_works" = xcross
; then
9215 *-*-amigaos* |
*-*-msdosdjgpp*)
9216 # Override, as these systems have only a dummy fork() stub
9217 ac_cv_func_fork_works
=no
9220 ac_cv_func_fork_works
=yes
9223 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
9224 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
9226 ac_cv_func_vfork_works
=$ac_cv_func_vfork
9227 if test "x$ac_cv_func_vfork" = xyes
; then
9228 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
9229 $as_echo_n "checking for working vfork... " >&6; }
9230 if test "${ac_cv_func_vfork_works+set}" = set; then
9231 $as_echo_n "(cached) " >&6
9233 if test "$cross_compiling" = yes; then
9234 ac_cv_func_vfork_works
=cross
9236 cat >conftest.
$ac_ext <<_ACEOF
9239 cat confdefs.h
>>conftest.
$ac_ext
9240 cat >>conftest.
$ac_ext <<_ACEOF
9241 /* end confdefs.h. */
9242 /* Thanks to Paul Eggert for this test. */
9243 $ac_includes_default
9244 #include <sys/wait.h>
9248 /* On some sparc systems, changes by the child to local and incoming
9249 argument registers are propagated back to the parent. The compiler
9250 is told about this with #include <vfork.h>, but some compilers
9251 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
9252 static variable whose address is put into a register that is
9253 clobbered by the vfork. */
9256 sparc_address_test (int arg)
9258 sparc_address_test (arg) int arg;
9279 pid_t parent = getpid ();
9282 sparc_address_test (0);
9287 /* Here is another test for sparc vfork register problems. This
9288 test uses lots of local variables, at least as many local
9289 variables as main has allocated so far including compiler
9290 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9291 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
9292 reuse the register of parent for one of the local variables,
9293 since it will think that parent can't possibly be used any more
9294 in this routine. Assigning to the local variable will thus
9295 munge parent in the parent process. */
9297 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
9298 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
9299 /* Convince the compiler that p..p7 are live; otherwise, it might
9300 use the same hardware register for all 8 local variables. */
9301 if (p != p1 || p != p2 || p != p3 || p != p4
9302 || p != p5 || p != p6 || p != p7)
9305 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9306 from child file descriptors. If the child closes a descriptor
9307 before it execs or exits, this munges the parent's descriptor
9308 as well. Test for this by closing stdout in the child. */
9309 _exit(close(fileno(stdout)) != 0);
9314 while (wait(&status) != child)
9317 /* Was there some problem with vforking? */
9320 /* Did the child fail? (This shouldn't happen.) */
9323 /* Did the vfork/compiler bug occur? */
9324 || parent != getpid()
9326 /* Did the file descriptor bug occur? */
9327 || fstat(fileno(stdout), &st) != 0
9332 rm -f conftest
$ac_exeext
9333 if { (ac_try
="$ac_link"
9335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9336 *) ac_try_echo=$ac_try;;
9338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9339 $as_echo "$ac_try_echo") >&5
9340 (eval "$ac_link") 2>&5
9342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9344 { (case "(($ac_try" in
9345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9346 *) ac_try_echo
=$ac_try;;
9348 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9349 $as_echo "$ac_try_echo") >&5
9350 (eval "$ac_try") 2>&5
9352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); }; }; then
9354 ac_cv_func_vfork_works
=yes
9356 $as_echo "$as_me: program exited with status $ac_status" >&5
9357 $as_echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.
$ac_ext >&5
9361 ac_cv_func_vfork_works
=no
9363 rm -rf conftest.dSYM
9364 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9369 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9370 $as_echo "$ac_cv_func_vfork_works" >&6; }
9373 if test "x$ac_cv_func_fork_works" = xcross
; then
9374 ac_cv_func_vfork_works
=$ac_cv_func_vfork
9375 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9376 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9379 if test "x$ac_cv_func_vfork_works" = xyes
; then
9381 cat >>confdefs.h
<<\_ACEOF
9382 #define HAVE_WORKING_VFORK 1
9387 cat >>confdefs.h
<<\_ACEOF
9392 if test "x$ac_cv_func_fork_works" = xyes
; then
9394 cat >>confdefs.h
<<\_ACEOF
9395 #define HAVE_WORKING_FORK 1
9400 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
9401 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
9402 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
9403 $as_echo_n "(cached) " >&6
9405 rm -f conftest.sym conftest.
file
9407 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
9408 if test "$cross_compiling" = yes; then
9409 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9411 cat >conftest.
$ac_ext <<_ACEOF
9414 cat confdefs.h
>>conftest.
$ac_ext
9415 cat >>conftest.
$ac_ext <<_ACEOF
9416 /* end confdefs.h. */
9417 $ac_includes_default
9422 /* Linux will dereference the symlink and fail.
9423 That is better in the sense that it means we will not
9424 have to compile and use the lstat wrapper. */
9425 return lstat ("conftest.sym/", &sbuf) == 0;
9430 rm -f conftest
$ac_exeext
9431 if { (ac_try
="$ac_link"
9433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9434 *) ac_try_echo=$ac_try;;
9436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9437 $as_echo "$ac_try_echo") >&5
9438 (eval "$ac_link") 2>&5
9440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9442 { (case "(($ac_try" in
9443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9444 *) ac_try_echo
=$ac_try;;
9446 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9447 $as_echo "$ac_try_echo") >&5
9448 (eval "$ac_try") 2>&5
9450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); }; }; then
9452 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
9454 $as_echo "$as_me: program exited with status $ac_status" >&5
9455 $as_echo "$as_me: failed program was:" >&5
9456 sed 's/^/| /' conftest.
$ac_ext >&5
9459 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9461 rm -rf conftest.dSYM
9462 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9467 # If the `ln -s' command failed, then we probably don't even
9468 # have an lstat function.
9469 ac_cv_func_lstat_dereferences_slashed_symlink
=no
9471 rm -f conftest.sym conftest.
file
9474 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
9475 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
9477 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
9479 cat >>confdefs.h
<<_ACEOF
9480 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
9484 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
9485 case " $LIBOBJS " in
9486 *" lstat.$ac_objext "* ) ;;
9487 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
9493 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
9494 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
9495 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
9496 $as_echo_n "(cached) " >&6
9498 if test "$cross_compiling" = yes; then
9499 ac_cv_func_lstat_empty_string_bug
=yes
9501 cat >conftest.
$ac_ext <<_ACEOF
9504 cat confdefs.h
>>conftest.
$ac_ext
9505 cat >>conftest.
$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 $ac_includes_default
9512 return lstat ("", &sbuf) == 0;
9517 rm -f conftest
$ac_exeext
9518 if { (ac_try
="$ac_link"
9520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9521 *) ac_try_echo=$ac_try;;
9523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9524 $as_echo "$ac_try_echo") >&5
9525 (eval "$ac_link") 2>&5
9527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9529 { (case "(($ac_try" in
9530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9531 *) ac_try_echo
=$ac_try;;
9533 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9534 $as_echo "$ac_try_echo") >&5
9535 (eval "$ac_try") 2>&5
9537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); }; }; then
9539 ac_cv_func_lstat_empty_string_bug
=no
9541 $as_echo "$as_me: program exited with status $ac_status" >&5
9542 $as_echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.
$ac_ext >&5
9546 ac_cv_func_lstat_empty_string_bug
=yes
9548 rm -rf conftest.dSYM
9549 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9554 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
9555 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
9556 if test $ac_cv_func_lstat_empty_string_bug = yes; then
9557 case " $LIBOBJS " in
9558 *" lstat.$ac_objext "* ) ;;
9559 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
9564 cat >>confdefs.h
<<_ACEOF
9565 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
9571 for ac_header
in stdlib.h
9573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9574 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9575 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9576 $as_echo_n "checking for $ac_header... " >&6; }
9577 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9578 $as_echo_n "(cached) " >&6
9580 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9581 $as_echo "$as_val"'`
9582 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9583 $as_echo "$ac_res" >&6; }
9585 # Is the header compilable?
9586 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9587 $as_echo_n "checking $ac_header usability... " >&6; }
9588 cat >conftest.
$ac_ext <<_ACEOF
9591 cat confdefs.h
>>conftest.
$ac_ext
9592 cat >>conftest.
$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9594 $ac_includes_default
9595 #include <$ac_header>
9597 rm -f conftest.
$ac_objext
9598 if { (ac_try
="$ac_compile"
9600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9601 *) ac_try_echo=$ac_try;;
9603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9604 $as_echo "$ac_try_echo") >&5
9605 (eval "$ac_compile") 2>conftest.er1
9607 grep -v '^ *+' conftest.er1 >conftest.err
9609 cat conftest.err >&5
9610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } && {
9612 test -z "$ac_c_werror_flag" ||
9613 test ! -s conftest.err
9614 } && test -s conftest.$ac_objext; then
9615 ac_header_compiler=yes
9617 $as_echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.$ac_ext >&5
9620 ac_header_compiler=no
9623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9624 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9625 $as_echo "$ac_header_compiler" >&6; }
9627 # Is the header present?
9628 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9629 $as_echo_n "checking $ac_header presence... " >&6; }
9630 cat >conftest.$ac_ext <<_ACEOF
9633 cat confdefs.h >>conftest.$ac_ext
9634 cat >>conftest.$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9636 #include <$ac_header>
9638 if { (ac_try="$ac_cpp conftest.$ac_ext"
9640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9641 *) ac_try_echo
=$ac_try;;
9643 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9644 $as_echo "$ac_try_echo") >&5
9645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9647 grep -v '^ *+' conftest.er1
>conftest.err
9649 cat conftest.err
>&5
9650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); } >/dev
/null
&& {
9652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9653 test ! -s conftest.err
9655 ac_header_preproc
=yes
9657 $as_echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.
$ac_ext >&5
9660 ac_header_preproc
=no
9663 rm -f conftest.err conftest.
$ac_ext
9664 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9665 $as_echo "$ac_header_preproc" >&6; }
9667 # So? What about this header?
9668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9671 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9673 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9674 ac_header_preproc
=yes
9677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9678 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9680 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9682 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9684 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9688 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9692 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9693 $as_echo_n "checking for $ac_header... " >&6; }
9694 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9695 $as_echo_n "(cached) " >&6
9697 eval "$as_ac_Header=\$ac_header_preproc"
9699 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9700 $as_echo "$as_val"'`
9701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9702 $as_echo "$ac_res" >&6; }
9705 as_val
=`eval 'as_val=${'$as_ac_Header'}
9706 $as_echo "$as_val"'`
9707 if test "x$as_val" = x
""yes; then
9708 cat >>confdefs.h
<<_ACEOF
9709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9716 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
9717 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
9718 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
9719 $as_echo_n "(cached) " >&6
9721 if test "$cross_compiling" = yes; then
9722 ac_cv_func_malloc_0_nonnull
=no
9724 cat >conftest.
$ac_ext <<_ACEOF
9727 cat confdefs.h
>>conftest.
$ac_ext
9728 cat >>conftest.
$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9730 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
9731 # include <stdlib.h>
9739 return ! malloc (0);
9744 rm -f conftest
$ac_exeext
9745 if { (ac_try
="$ac_link"
9747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9748 *) ac_try_echo=$ac_try;;
9750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9751 $as_echo "$ac_try_echo") >&5
9752 (eval "$ac_link") 2>&5
9754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9756 { (case "(($ac_try" in
9757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9758 *) ac_try_echo
=$ac_try;;
9760 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9761 $as_echo "$ac_try_echo") >&5
9762 (eval "$ac_try") 2>&5
9764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; }; then
9766 ac_cv_func_malloc_0_nonnull
=yes
9768 $as_echo "$as_me: program exited with status $ac_status" >&5
9769 $as_echo "$as_me: failed program was:" >&5
9770 sed 's/^/| /' conftest.
$ac_ext >&5
9773 ac_cv_func_malloc_0_nonnull
=no
9775 rm -rf conftest.dSYM
9776 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9781 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
9782 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
9783 if test $ac_cv_func_malloc_0_nonnull = yes; then
9785 cat >>confdefs.h
<<\_ACEOF
9786 #define HAVE_MALLOC 1
9790 cat >>confdefs.h
<<\_ACEOF
9791 #define HAVE_MALLOC 0
9794 case " $LIBOBJS " in
9795 *" malloc.$ac_objext "* ) ;;
9796 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
9801 cat >>confdefs.h
<<\_ACEOF
9802 #define malloc rpl_malloc
9809 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
9810 $as_echo_n "checking for working memcmp... " >&6; }
9811 if test "${ac_cv_func_memcmp_working+set}" = set; then
9812 $as_echo_n "(cached) " >&6
9814 if test "$cross_compiling" = yes; then
9815 ac_cv_func_memcmp_working
=no
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 $ac_includes_default
9828 /* Some versions of memcmp are not 8-bit clean. */
9829 char c0 = '\100', c1 = '\200', c2 = '\201';
9830 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
9833 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
9834 or more and with at least one buffer not starting on a 4-byte boundary.
9835 William Lewis provided this test program. */
9840 for (i = 0; i < 4; i++)
9844 strcpy (a, "--------01111111");
9845 strcpy (b, "--------10000000");
9846 if (memcmp (a, b, 16) >= 0)
9856 rm -f conftest
$ac_exeext
9857 if { (ac_try
="$ac_link"
9859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9863 $as_echo "$ac_try_echo") >&5
9864 (eval "$ac_link") 2>&5
9866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9868 { (case "(($ac_try" in
9869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9870 *) ac_try_echo
=$ac_try;;
9872 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9873 $as_echo "$ac_try_echo") >&5
9874 (eval "$ac_try") 2>&5
9876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); }; }; then
9878 ac_cv_func_memcmp_working
=yes
9880 $as_echo "$as_me: program exited with status $ac_status" >&5
9881 $as_echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9885 ac_cv_func_memcmp_working
=no
9887 rm -rf conftest.dSYM
9888 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9893 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
9894 $as_echo "$ac_cv_func_memcmp_working" >&6; }
9895 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
9896 *" memcmp.$ac_objext "* ) ;;
9897 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
9904 for ac_header
in stdlib.h unistd.h
9906 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9907 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9908 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9909 $as_echo_n "checking for $ac_header... " >&6; }
9910 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9911 $as_echo_n "(cached) " >&6
9913 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9914 $as_echo "$as_val"'`
9915 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9916 $as_echo "$ac_res" >&6; }
9918 # Is the header compilable?
9919 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9920 $as_echo_n "checking $ac_header usability... " >&6; }
9921 cat >conftest.
$ac_ext <<_ACEOF
9924 cat confdefs.h
>>conftest.
$ac_ext
9925 cat >>conftest.
$ac_ext <<_ACEOF
9926 /* end confdefs.h. */
9927 $ac_includes_default
9928 #include <$ac_header>
9930 rm -f conftest.
$ac_objext
9931 if { (ac_try
="$ac_compile"
9933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9934 *) ac_try_echo=$ac_try;;
9936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9937 $as_echo "$ac_try_echo") >&5
9938 (eval "$ac_compile") 2>conftest.er1
9940 grep -v '^ *+' conftest.er1 >conftest.err
9942 cat conftest.err >&5
9943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } && {
9945 test -z "$ac_c_werror_flag" ||
9946 test ! -s conftest.err
9947 } && test -s conftest.$ac_objext; then
9948 ac_header_compiler=yes
9950 $as_echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.$ac_ext >&5
9953 ac_header_compiler=no
9956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9957 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9958 $as_echo "$ac_header_compiler" >&6; }
9960 # Is the header present?
9961 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9962 $as_echo_n "checking $ac_header presence... " >&6; }
9963 cat >conftest.$ac_ext <<_ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9969 #include <$ac_header>
9971 if { (ac_try="$ac_cpp conftest.$ac_ext"
9973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9974 *) ac_try_echo
=$ac_try;;
9976 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9977 $as_echo "$ac_try_echo") >&5
9978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9980 grep -v '^ *+' conftest.er1
>conftest.err
9982 cat conftest.err
>&5
9983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } >/dev
/null
&& {
9985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9988 ac_header_preproc
=yes
9990 $as_echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.
$ac_ext >&5
9993 ac_header_preproc
=no
9996 rm -f conftest.err conftest.
$ac_ext
9997 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9998 $as_echo "$ac_header_preproc" >&6; }
10000 # So? What about this header?
10001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10004 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10006 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10007 ac_header_preproc
=yes
10010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10011 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10013 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10015 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10017 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10019 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10021 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10025 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10026 $as_echo_n "checking for $ac_header... " >&6; }
10027 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10028 $as_echo_n "(cached) " >&6
10030 eval "$as_ac_Header=\$ac_header_preproc"
10032 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10033 $as_echo "$as_val"'`
10034 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10035 $as_echo "$ac_res" >&6; }
10038 as_val
=`eval 'as_val=${'$as_ac_Header'}
10039 $as_echo "$as_val"'`
10040 if test "x$as_val" = x
""yes; then
10041 cat >>confdefs.h
<<_ACEOF
10042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10050 for ac_func
in getpagesize
10052 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10053 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10054 $as_echo_n "checking for $ac_func... " >&6; }
10055 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10056 $as_echo_n "(cached) " >&6
10058 cat >conftest.
$ac_ext <<_ACEOF
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10066 #define $ac_func innocuous_$ac_func
10068 /* System header to define __stub macros and hopefully few prototypes,
10069 which can conflict with char $ac_func (); below.
10070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10071 <limits.h> exists even on freestanding compilers. */
10074 # include <limits.h>
10076 # include <assert.h>
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10088 /* The GNU C library defines this for functions which it implements
10089 to always fail with ENOSYS. Some functions are actually named
10090 something starting with __ and the normal name is an alias. */
10091 #if defined __stub_$ac_func || defined __stub___$ac_func
10098 return $ac_func ();
10103 rm -f conftest.
$ac_objext conftest
$ac_exeext
10104 if { (ac_try
="$ac_link"
10105 case "(($ac_try" in
10106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10107 *) ac_try_echo=$ac_try;;
10109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10110 $as_echo "$ac_try_echo") >&5
10111 (eval "$ac_link") 2>conftest.er1
10113 grep -v '^ *+' conftest.er1 >conftest.err
10115 cat conftest.err >&5
10116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } && {
10118 test -z "$ac_c_werror_flag" ||
10119 test ! -s conftest.err
10120 } && test -s conftest$ac_exeext && {
10121 test "$cross_compiling" = yes ||
10122 $as_test_x conftest$ac_exeext
10124 eval "$as_ac_var=yes"
10126 $as_echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10129 eval "$as_ac_var=no"
10132 rm -rf conftest.dSYM
10133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10134 conftest$ac_exeext conftest.$ac_ext
10136 ac_res=`eval 'as_val=${'$as_ac_var'}
10137 $as_echo "$as_val"'`
10138 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10139 $as_echo "$ac_res" >&6; }
10140 as_val=`eval 'as_val=${'$as_ac_var'}
10141 $as_echo "$as_val"'`
10142 if test "x$as_val" = x""yes; then
10143 cat >>confdefs.h <<_ACEOF
10144 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10150 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
10151 $as_echo_n "checking for working mmap... " >&6; }
10152 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10153 $as_echo_n "(cached) " >&6
10155 if test "$cross_compiling" = yes; then
10156 ac_cv_func_mmap_fixed_mapped=no
10158 cat >conftest.$ac_ext <<_ACEOF
10161 cat confdefs.h >>conftest.$ac_ext
10162 cat >>conftest.$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10164 $ac_includes_default
10165 /* malloc might have been renamed as rpl_malloc. */
10168 /* Thanks to Mike Haertel and Jim Avera for this test.
10169 Here is a matrix of mmap possibilities:
10170 mmap private not fixed
10171 mmap private fixed at somewhere currently unmapped
10172 mmap private fixed at somewhere already mapped
10173 mmap shared not fixed
10174 mmap shared fixed at somewhere currently unmapped
10175 mmap shared fixed at somewhere already mapped
10176 For private mappings, we should verify that changes cannot be read()
10177 back from the file, nor mmap's back from the file at a different
10178 address. (There have been systems where private was not correctly
10179 implemented like the infamous i386 svr4.0, and systems where the
10180 VM page cache was not coherent with the file system buffer cache
10181 like early versions of FreeBSD and possibly contemporary NetBSD.)
10182 For shared mappings, we should conversely verify that changes get
10183 propagated back to all the places they're supposed to be.
10185 Grep wants private fixed already mapped.
10186 The main things grep needs to know about mmap are:
10187 * does it exist and is it safe to write into the mmap'd area
10188 * how to use it (BSD variants) */
10191 #include <sys/mman.h>
10193 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
10197 /* This mess was copied from the GNU getpagesize.h. */
10198 #ifndef HAVE_GETPAGESIZE
10199 /* Assume that all systems that can run configure have sys/param.h. */
10200 # ifndef HAVE_SYS_PARAM_H
10201 # define HAVE_SYS_PARAM_H 1
10204 # ifdef _SC_PAGESIZE
10205 # define getpagesize() sysconf(_SC_PAGESIZE)
10206 # else /* no _SC_PAGESIZE */
10207 # ifdef HAVE_SYS_PARAM_H
10208 # include <sys/param.h>
10209 # ifdef EXEC_PAGESIZE
10210 # define getpagesize() EXEC_PAGESIZE
10211 # else /* no EXEC_PAGESIZE */
10213 # define getpagesize() NBPG * CLSIZE
10216 # endif /* no CLSIZE */
10217 # else /* no NBPG */
10219 # define getpagesize() NBPC
10220 # else /* no NBPC */
10222 # define getpagesize() PAGESIZE
10223 # endif /* PAGESIZE */
10224 # endif /* no NBPC */
10225 # endif /* no NBPG */
10226 # endif /* no EXEC_PAGESIZE */
10227 # else /* no HAVE_SYS_PARAM_H */
10228 # define getpagesize() 8192 /* punt totally */
10229 # endif /* no HAVE_SYS_PARAM_H */
10230 # endif /* no _SC_PAGESIZE */
10232 #endif /* no HAVE_GETPAGESIZE */
10237 char *data, *data2, *data3;
10241 pagesize = getpagesize ();
10243 /* First, make a file with some known garbage in it. */
10244 data = (char *) malloc (pagesize);
10247 for (i = 0; i < pagesize; ++i)
10248 *(data + i) = rand ();
10250 fd = creat ("conftest.mmap", 0600);
10253 if (write (fd, data, pagesize) != pagesize)
10257 /* Next, try to mmap the file at a fixed address which already has
10258 something else allocated at it. If we can, also make sure that
10259 we see the same garbage. */
10260 fd = open ("conftest.mmap", O_RDWR);
10263 data2 = (char *) malloc (2 * pagesize);
10266 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
10267 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10268 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10270 for (i = 0; i < pagesize; ++i)
10271 if (*(data + i) != *(data2 + i))
10274 /* Finally, make sure that changes to the mapped area do not
10275 percolate back to the file as seen by read(). (This is a bug on
10276 some variants of i386 svr4.0.) */
10277 for (i = 0; i < pagesize; ++i)
10278 *(data2 + i) = *(data2 + i) + 1;
10279 data3 = (char *) malloc (pagesize);
10282 if (read (fd, data3, pagesize) != pagesize)
10284 for (i = 0; i < pagesize; ++i)
10285 if (*(data + i) != *(data3 + i))
10291 rm -f conftest$ac_exeext
10292 if { (ac_try="$ac_link"
10293 case "(($ac_try" in
10294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10295 *) ac_try_echo
=$ac_try;;
10297 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10298 $as_echo "$ac_try_echo") >&5
10299 (eval "$ac_link") 2>&5
10301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10303 { (case "(($ac_try" in
10304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10305 *) ac_try_echo=$ac_try;;
10307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10308 $as_echo "$ac_try_echo") >&5
10309 (eval "$ac_try") 2>&5
10311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; }; then
10313 ac_cv_func_mmap_fixed_mapped=yes
10315 $as_echo "$as_me: program exited with status $ac_status" >&5
10316 $as_echo "$as_me: failed program was:" >&5
10317 sed 's/^/| /' conftest.$ac_ext >&5
10319 ( exit $ac_status )
10320 ac_cv_func_mmap_fixed_mapped=no
10322 rm -rf conftest.dSYM
10323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10328 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10329 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
10330 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10332 cat >>confdefs.h <<\_ACEOF
10333 #define HAVE_MMAP 1
10337 rm -f conftest.mmap
10340 for ac_header in stdlib.h
10342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10344 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10345 $as_echo_n "checking for $ac_header... " >&6; }
10346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10347 $as_echo_n "(cached) " >&6
10349 ac_res=`eval 'as_val=${'$as_ac_Header'}
10350 $as_echo "$as_val"'`
10351 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10352 $as_echo "$ac_res" >&6; }
10354 # Is the header compilable?
10355 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10356 $as_echo_n "checking $ac_header usability... " >&6; }
10357 cat >conftest.$ac_ext <<_ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10363 $ac_includes_default
10364 #include <$ac_header>
10366 rm -f conftest.$ac_objext
10367 if { (ac_try="$ac_compile"
10368 case "(($ac_try" in
10369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10370 *) ac_try_echo
=$ac_try;;
10372 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10373 $as_echo "$ac_try_echo") >&5
10374 (eval "$ac_compile") 2>conftest.er1
10376 grep -v '^ *+' conftest.er1
>conftest.err
10378 cat conftest.err
>&5
10379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } && {
10381 test -z "$ac_c_werror_flag" ||
10382 test ! -s conftest.err
10383 } && test -s conftest.
$ac_objext; then
10384 ac_header_compiler
=yes
10386 $as_echo "$as_me: failed program was:" >&5
10387 sed 's/^/| /' conftest.
$ac_ext >&5
10389 ac_header_compiler
=no
10392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10393 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10394 $as_echo "$ac_header_compiler" >&6; }
10396 # Is the header present?
10397 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10398 $as_echo_n "checking $ac_header presence... " >&6; }
10399 cat >conftest.
$ac_ext <<_ACEOF
10402 cat confdefs.h
>>conftest.
$ac_ext
10403 cat >>conftest.
$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10405 #include <$ac_header>
10407 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10408 case "(($ac_try" in
10409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10410 *) ac_try_echo=$ac_try;;
10412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10413 $as_echo "$ac_try_echo") >&5
10414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10416 grep -v '^ *+' conftest.er1 >conftest.err
10418 cat conftest.err >&5
10419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); } >/dev/null && {
10421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10422 test ! -s conftest.err
10424 ac_header_preproc=yes
10426 $as_echo "$as_me: failed program was:" >&5
10427 sed 's/^/| /' conftest.$ac_ext >&5
10429 ac_header_preproc=no
10432 rm -f conftest.err conftest.$ac_ext
10433 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10434 $as_echo "$ac_header_preproc" >&6; }
10436 # So? What about this header?
10437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10440 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10442 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10443 ac_header_preproc=yes
10446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10447 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10449 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10451 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10453 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10455 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10457 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10461 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10462 $as_echo_n "checking for $ac_header... " >&6; }
10463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10464 $as_echo_n "(cached) " >&6
10466 eval "$as_ac_Header=\$ac_header_preproc"
10468 ac_res=`eval 'as_val=${'$as_ac_Header'}
10469 $as_echo "$as_val"'`
10470 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10471 $as_echo "$ac_res" >&6; }
10474 as_val=`eval 'as_val=${'$as_ac_Header'}
10475 $as_echo "$as_val"'`
10476 if test "x$as_val" = x""yes; then
10477 cat >>confdefs.h <<_ACEOF
10478 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10485 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
10486 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
10487 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
10488 $as_echo_n "(cached) " >&6
10490 if test "$cross_compiling" = yes; then
10491 ac_cv_func_realloc_0_nonnull=no
10493 cat >conftest.$ac_ext <<_ACEOF
10496 cat confdefs.h >>conftest.$ac_ext
10497 cat >>conftest.$ac_ext <<_ACEOF
10498 /* end confdefs.h. */
10499 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
10500 # include <stdlib.h>
10508 return ! realloc (0, 0);
10513 rm -f conftest$ac_exeext
10514 if { (ac_try="$ac_link"
10515 case "(($ac_try" in
10516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10517 *) ac_try_echo
=$ac_try;;
10519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10520 $as_echo "$ac_try_echo") >&5
10521 (eval "$ac_link") 2>&5
10523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10525 { (case "(($ac_try" in
10526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10527 *) ac_try_echo=$ac_try;;
10529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10530 $as_echo "$ac_try_echo") >&5
10531 (eval "$ac_try") 2>&5
10533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_cv_func_realloc_0_nonnull=yes
10537 $as_echo "$as_me: program exited with status $ac_status" >&5
10538 $as_echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.$ac_ext >&5
10541 ( exit $ac_status )
10542 ac_cv_func_realloc_0_nonnull=no
10544 rm -rf conftest.dSYM
10545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10550 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
10551 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
10552 if test $ac_cv_func_realloc_0_nonnull = yes; then
10554 cat >>confdefs.h <<\_ACEOF
10555 #define HAVE_REALLOC 1
10559 cat >>confdefs.h <<\_ACEOF
10560 #define HAVE_REALLOC 0
10563 case " $LIBOBJS " in
10564 *" realloc.$ac_objext "* ) ;;
10565 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
10570 cat >>confdefs.h <<\_ACEOF
10571 #define realloc rpl_realloc
10578 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
10579 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
10580 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
10581 $as_echo_n "(cached) " >&6
10583 if test "$cross_compiling" = yes; then
10584 ac_cv_func_stat_empty_string_bug=yes
10586 cat >conftest.$ac_ext <<_ACEOF
10589 cat confdefs.h >>conftest.$ac_ext
10590 cat >>conftest.$ac_ext <<_ACEOF
10591 /* end confdefs.h. */
10592 $ac_includes_default
10597 return stat ("", &sbuf) == 0;
10602 rm -f conftest$ac_exeext
10603 if { (ac_try="$ac_link"
10604 case "(($ac_try" in
10605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10606 *) ac_try_echo
=$ac_try;;
10608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10609 $as_echo "$ac_try_echo") >&5
10610 (eval "$ac_link") 2>&5
10612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10614 { (case "(($ac_try" in
10615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10616 *) ac_try_echo=$ac_try;;
10618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10619 $as_echo "$ac_try_echo") >&5
10620 (eval "$ac_try") 2>&5
10622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; }; then
10624 ac_cv_func_stat_empty_string_bug=no
10626 $as_echo "$as_me: program exited with status $ac_status" >&5
10627 $as_echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10630 ( exit $ac_status )
10631 ac_cv_func_stat_empty_string_bug=yes
10633 rm -rf conftest.dSYM
10634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10639 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
10640 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
10641 if test $ac_cv_func_stat_empty_string_bug = yes; then
10642 case " $LIBOBJS " in
10643 *" stat.$ac_objext "* ) ;;
10644 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
10649 cat >>confdefs.h <<_ACEOF
10650 #define HAVE_STAT_EMPTY_STRING_BUG 1
10655 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
10656 $as_echo_n "checking for working strtod... " >&6; }
10657 if test "${ac_cv_func_strtod+set}" = set; then
10658 $as_echo_n "(cached) " >&6
10660 if test "$cross_compiling" = yes; then
10661 ac_cv_func_strtod=no
10663 cat >conftest.$ac_ext <<_ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10670 $ac_includes_default
10678 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
10679 char *string = " +69";
10682 value = strtod (string, &term);
10683 if (value != 69 || term != (string + 4))
10688 /* Under Solaris 2.4, strtod returns the wrong value for the
10689 terminating character under some conditions. */
10690 char *string = "NaN";
10692 strtod (string, &term);
10693 if (term != string && *(term - 1) == 0)
10700 rm -f conftest$ac_exeext
10701 if { (ac_try="$ac_link"
10702 case "(($ac_try" in
10703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10704 *) ac_try_echo
=$ac_try;;
10706 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10707 $as_echo "$ac_try_echo") >&5
10708 (eval "$ac_link") 2>&5
10710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10712 { (case "(($ac_try" in
10713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10714 *) ac_try_echo=$ac_try;;
10716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10717 $as_echo "$ac_try_echo") >&5
10718 (eval "$ac_try") 2>&5
10720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_cv_func_strtod=yes
10724 $as_echo "$as_me: program exited with status $ac_status" >&5
10725 $as_echo "$as_me: failed program was:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 ( exit $ac_status )
10729 ac_cv_func_strtod=no
10731 rm -rf conftest.dSYM
10732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10737 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
10738 $as_echo "$ac_cv_func_strtod" >&6; }
10739 if test $ac_cv_func_strtod = no; then
10740 case " $LIBOBJS " in
10741 *" strtod.$ac_objext "* ) ;;
10742 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
10746 { $as_echo "$as_me:$LINENO: checking for pow" >&5
10747 $as_echo_n "checking for pow... " >&6; }
10748 if test "${ac_cv_func_pow+set}" = set; then
10749 $as_echo_n "(cached) " >&6
10751 cat >conftest.$ac_ext <<_ACEOF
10754 cat confdefs.h >>conftest.$ac_ext
10755 cat >>conftest.$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10757 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
10758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10759 #define pow innocuous_pow
10761 /* System header to define __stub macros and hopefully few prototypes,
10762 which can conflict with char pow (); below.
10763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10764 <limits.h> exists even on freestanding compilers. */
10767 # include <limits.h>
10769 # include <assert.h>
10774 /* Override any GCC internal prototype to avoid an error.
10775 Use char because int might match the return type of a GCC
10776 builtin and then its argument prototype would still apply. */
10781 /* The GNU C library defines this for functions which it implements
10782 to always fail with ENOSYS. Some functions are actually named
10783 something starting with __ and the normal name is an alias. */
10784 #if defined __stub_pow || defined __stub___pow
10796 rm -f conftest.$ac_objext conftest$ac_exeext
10797 if { (ac_try="$ac_link"
10798 case "(($ac_try" in
10799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10800 *) ac_try_echo
=$ac_try;;
10802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10803 $as_echo "$ac_try_echo") >&5
10804 (eval "$ac_link") 2>conftest.er1
10806 grep -v '^ *+' conftest.er1
>conftest.err
10808 cat conftest.err
>&5
10809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } && {
10811 test -z "$ac_c_werror_flag" ||
10812 test ! -s conftest.err
10813 } && test -s conftest
$ac_exeext && {
10814 test "$cross_compiling" = yes ||
10815 $as_test_x conftest
$ac_exeext
10819 $as_echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10825 rm -rf conftest.dSYM
10826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10827 conftest
$ac_exeext conftest.
$ac_ext
10829 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
10830 $as_echo "$ac_cv_func_pow" >&6; }
10832 if test $ac_cv_func_pow = no
; then
10833 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
10834 $as_echo_n "checking for pow in -lm... " >&6; }
10835 if test "${ac_cv_lib_m_pow+set}" = set; then
10836 $as_echo_n "(cached) " >&6
10838 ac_check_lib_save_LIBS
=$LIBS
10840 cat >conftest.
$ac_ext <<_ACEOF
10843 cat confdefs.h
>>conftest.
$ac_ext
10844 cat >>conftest.
$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10862 rm -f conftest.
$ac_objext conftest
$ac_exeext
10863 if { (ac_try
="$ac_link"
10864 case "(($ac_try" in
10865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10866 *) ac_try_echo=$ac_try;;
10868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10869 $as_echo "$ac_try_echo") >&5
10870 (eval "$ac_link") 2>conftest.er1
10872 grep -v '^ *+' conftest.er1 >conftest.err
10874 cat conftest.err >&5
10875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); } && {
10877 test -z "$ac_c_werror_flag" ||
10878 test ! -s conftest.err
10879 } && test -s conftest$ac_exeext && {
10880 test "$cross_compiling" = yes ||
10881 $as_test_x conftest$ac_exeext
10883 ac_cv_lib_m_pow=yes
10885 $as_echo "$as_me: failed program was:" >&5
10886 sed 's/^/| /' conftest.$ac_ext >&5
10891 rm -rf conftest.dSYM
10892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_lib_save_LIBS
10896 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
10897 $as_echo "$ac_cv_lib_m_pow" >&6; }
10898 if test "x$ac_cv_lib_m_pow" = x""yes; then
10901 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
10902 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
10910 for ac_func in vprintf
10912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10913 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10914 $as_echo_n "checking for $ac_func... " >&6; }
10915 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10916 $as_echo_n "(cached) " >&6
10918 cat >conftest.$ac_ext <<_ACEOF
10921 cat confdefs.h >>conftest.$ac_ext
10922 cat >>conftest.$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10926 #define $ac_func innocuous_$ac_func
10928 /* System header to define __stub macros and hopefully few prototypes,
10929 which can conflict with char $ac_func (); below.
10930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10931 <limits.h> exists even on freestanding compilers. */
10934 # include <limits.h>
10936 # include <assert.h>
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10948 /* The GNU C library defines this for functions which it implements
10949 to always fail with ENOSYS. Some functions are actually named
10950 something starting with __ and the normal name is an alias. */
10951 #if defined __stub_$ac_func || defined __stub___$ac_func
10958 return $ac_func ();
10963 rm -f conftest.$ac_objext conftest$ac_exeext
10964 if { (ac_try="$ac_link"
10965 case "(($ac_try" in
10966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10967 *) ac_try_echo
=$ac_try;;
10969 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10970 $as_echo "$ac_try_echo") >&5
10971 (eval "$ac_link") 2>conftest.er1
10973 grep -v '^ *+' conftest.er1
>conftest.err
10975 cat conftest.err
>&5
10976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } && {
10978 test -z "$ac_c_werror_flag" ||
10979 test ! -s conftest.err
10980 } && test -s conftest
$ac_exeext && {
10981 test "$cross_compiling" = yes ||
10982 $as_test_x conftest
$ac_exeext
10984 eval "$as_ac_var=yes"
10986 $as_echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.
$ac_ext >&5
10989 eval "$as_ac_var=no"
10992 rm -rf conftest.dSYM
10993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10994 conftest
$ac_exeext conftest.
$ac_ext
10996 ac_res
=`eval 'as_val=${'$as_ac_var'}
10997 $as_echo "$as_val"'`
10998 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10999 $as_echo "$ac_res" >&6; }
11000 as_val
=`eval 'as_val=${'$as_ac_var'}
11001 $as_echo "$as_val"'`
11002 if test "x$as_val" = x
""yes; then
11003 cat >>confdefs.h
<<_ACEOF
11004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11007 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
11008 $as_echo_n "checking for _doprnt... " >&6; }
11009 if test "${ac_cv_func__doprnt+set}" = set; then
11010 $as_echo_n "(cached) " >&6
11012 cat >conftest.
$ac_ext <<_ACEOF
11015 cat confdefs.h
>>conftest.
$ac_ext
11016 cat >>conftest.
$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11018 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11020 #define _doprnt innocuous__doprnt
11022 /* System header to define __stub macros and hopefully few prototypes,
11023 which can conflict with char _doprnt (); below.
11024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11025 <limits.h> exists even on freestanding compilers. */
11028 # include <limits.h>
11030 # include <assert.h>
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11042 /* The GNU C library defines this for functions which it implements
11043 to always fail with ENOSYS. Some functions are actually named
11044 something starting with __ and the normal name is an alias. */
11045 #if defined __stub__doprnt || defined __stub____doprnt
11057 rm -f conftest.
$ac_objext conftest
$ac_exeext
11058 if { (ac_try
="$ac_link"
11059 case "(($ac_try" in
11060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11061 *) ac_try_echo=$ac_try;;
11063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11064 $as_echo "$ac_try_echo") >&5
11065 (eval "$ac_link") 2>conftest.er1
11067 grep -v '^ *+' conftest.er1 >conftest.err
11069 cat conftest.err >&5
11070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } && {
11072 test -z "$ac_c_werror_flag" ||
11073 test ! -s conftest.err
11074 } && test -s conftest$ac_exeext && {
11075 test "$cross_compiling" = yes ||
11076 $as_test_x conftest$ac_exeext
11078 ac_cv_func__doprnt=yes
11080 $as_echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11083 ac_cv_func__doprnt=no
11086 rm -rf conftest.dSYM
11087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11088 conftest$ac_exeext conftest.$ac_ext
11090 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11091 $as_echo "$ac_cv_func__doprnt" >&6; }
11092 if test "x$ac_cv_func__doprnt" = x""yes; then
11094 cat >>confdefs.h <<\_ACEOF
11095 #define HAVE_DOPRNT 1
11105 ################################################################################
11106 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
11107 $as_echo_n "checking whether to use static linking... " >&6; }
11108 # Check whether --enable-static_link was given.
11109 if test "${enable_static_link+set}" = set; then
11110 enableval=$enable_static_link; STATIC_LINK=$enableval
11115 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
11116 $as_echo "$STATIC_LINK" >&6; }
11118 ################################################################################
11121 ################################################################################
11122 { $as_echo "$as_me:$LINENO: checking file owner" >&5
11123 $as_echo_n "checking file owner... " >&6; }
11125 # Check whether --with-user was given.
11126 if test "${with_user+set}" = set; then
11127 withval=$with_user; OWNER=$withval
11130 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
11131 $as_echo "$OWNER" >&6; }
11133 if test x$OWNER != x; then
11134 INSTALL="$INSTALL -o $OWNER"
11137 ################################################################################
11138 { $as_echo "$as_me:$LINENO: checking group owner" >&5
11139 $as_echo_n "checking group owner... " >&6; }
11141 # Check whether --with-group was given.
11142 if test "${with_group+set}" = set; then
11143 withval=$with_group; GROUP=$withval
11146 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
11147 $as_echo "$GROUP" >&6; }
11149 if test x$GROUP != x; then
11150 INSTALL="$INSTALL -g $GROUP"
11153 ################################################################################
11154 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
11155 $as_echo_n "checking device node uid... " >&6; }
11158 # Check whether --with-device-uid was given.
11159 if test "${with_device_uid+set}" = set; then
11160 withval=$with_device_uid; DM_DEVICE_UID=$withval
11165 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
11166 $as_echo "$DM_DEVICE_UID" >&6; }
11168 ################################################################################
11169 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
11170 $as_echo_n "checking device node gid... " >&6; }
11173 # Check whether --with-device-gid was given.
11174 if test "${with_device_gid+set}" = set; then
11175 withval=$with_device_gid; DM_DEVICE_GID=$withval
11180 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
11181 $as_echo "$DM_DEVICE_GID" >&6; }
11183 ################################################################################
11184 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
11185 $as_echo_n "checking device node mode... " >&6; }
11188 # Check whether --with-device-mode was given.
11189 if test "${with_device_mode+set}" = set; then
11190 withval=$with_device_mode; DM_DEVICE_MODE=$withval
11192 DM_DEVICE_MODE=0600
11195 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
11196 $as_echo "$DM_DEVICE_MODE" >&6; }
11198 ################################################################################
11199 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
11200 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
11201 # Check whether --enable-lvm1_fallback was given.
11202 if test "${enable_lvm1_fallback+set}" = set; then
11203 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
11208 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
11209 $as_echo "$LVM1_FALLBACK" >&6; }
11211 if test x$LVM1_FALLBACK = xyes; then
11213 cat >>confdefs.h <<\_ACEOF
11214 #define LVM1_FALLBACK 1
11219 ################################################################################
11220 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
11221 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
11223 # Check whether --with-lvm1 was given.
11224 if test "${with_lvm1+set}" = set; then
11225 withval=$with_lvm1; LVM1=$withval
11230 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
11231 $as_echo "$LVM1" >&6; }
11233 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
11234 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
11236 $as_echo "$as_me: error: --with-lvm1 parameter invalid
11238 { (exit 1); exit 1; }; }
11241 if test x$LVM1 = xinternal; then
11243 cat >>confdefs.h <<\_ACEOF
11244 #define LVM1_INTERNAL 1
11249 ################################################################################
11250 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
11251 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
11253 # Check whether --with-pool was given.
11254 if test "${with_pool+set}" = set; then
11255 withval=$with_pool; POOL=$withval
11260 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
11261 $as_echo "$POOL" >&6; }
11263 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
11264 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
11266 $as_echo "$as_me: error: --with-pool parameter invalid
11268 { (exit 1); exit 1; }; }
11271 if test x$POOL = xinternal; then
11273 cat >>confdefs.h <<\_ACEOF
11274 #define POOL_INTERNAL 1
11279 ################################################################################
11280 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
11281 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
11283 # Check whether --with-cluster was given.
11284 if test "${with_cluster+set}" = set; then
11285 withval=$with_cluster; CLUSTER=$withval
11288 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
11289 $as_echo "$CLUSTER" >&6; }
11291 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
11292 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
11294 $as_echo "$as_me: error: --with-cluster parameter invalid
11296 { (exit 1); exit 1; }; }
11299 if test x$CLUSTER = xinternal; then
11301 cat >>confdefs.h <<\_ACEOF
11302 #define CLUSTER_LOCKING_INTERNAL 1
11307 ################################################################################
11308 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
11309 $as_echo_n "checking whether to include snapshots... " >&6; }
11311 # Check whether --with-snapshots was given.
11312 if test "${with_snapshots+set}" = set; then
11313 withval=$with_snapshots; SNAPSHOTS=$withval
11318 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
11319 $as_echo "$SNAPSHOTS" >&6; }
11321 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
11322 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
11324 $as_echo "$as_me: error: --with-snapshots parameter invalid
11326 { (exit 1); exit 1; }; }
11329 if test x$SNAPSHOTS = xinternal; then
11331 cat >>confdefs.h <<\_ACEOF
11332 #define SNAPSHOT_INTERNAL 1
11337 ################################################################################
11338 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
11339 $as_echo_n "checking whether to include mirrors... " >&6; }
11341 # Check whether --with-mirrors was given.
11342 if test "${with_mirrors+set}" = set; then
11343 withval=$with_mirrors; MIRRORS=$withval
11348 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
11349 $as_echo "$MIRRORS" >&6; }
11351 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
11352 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
11354 $as_echo "$as_me: error: --with-mirrors parameter invalid
11356 { (exit 1); exit 1; }; }
11359 if test x$MIRRORS = xinternal; then
11361 cat >>confdefs.h <<\_ACEOF
11362 #define MIRRORED_INTERNAL 1
11367 ################################################################################
11368 { $as_echo "$as_me:$LINENO: checking whether to include replicators" >&5
11369 $as_echo_n "checking whether to include replicators... " >&6; }
11371 # Check whether --with-replicators was given.
11372 if test "${with_replicators+set}" = set; then
11373 withval=$with_replicators; REPLICATORS=$withval
11378 { $as_echo "$as_me:$LINENO: result: $REPLICATORS" >&5
11379 $as_echo "$REPLICATORS" >&6; }
11381 case "$REPLICATORS" in
11384 cat >>confdefs.h <<\_ACEOF
11385 #define REPLICATOR_INTERNAL 1
11388 *) { { $as_echo "$as_me:$LINENO: error: --with-replicators parameter invalid ($REPLICATORS)" >&5
11389 $as_echo "$as_me: error: --with-replicators parameter invalid ($REPLICATORS)" >&2;}
11390 { (exit 1); exit 1; }; } ;;
11393 ################################################################################
11394 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
11395 $as_echo_n "checking whether to enable readline... " >&6; }
11396 # Check whether --enable-readline was given.
11397 if test "${enable_readline+set}" = set; then
11398 enableval=$enable_readline; READLINE=$enableval
11403 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
11404 $as_echo "$READLINE" >&6; }
11406 ################################################################################
11407 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
11408 $as_echo_n "checking whether to enable realtime support... " >&6; }
11409 # Check whether --enable-realtime was given.
11410 if test "${enable_realtime+set}" = set; then
11411 enableval=$enable_realtime; REALTIME=$enableval
11414 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
11415 $as_echo "$REALTIME" >&6; }
11417 ################################################################################
11418 pkg_config_init() {
11421 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11422 if test -n "$ac_tool_prefix"; then
11423 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11424 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11426 $as_echo_n "checking for $ac_word... " >&6; }
11427 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11428 $as_echo_n "(cached) " >&6
11430 case $PKG_CONFIG in
11432 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11436 for as_dir in $PATH
11439 test -z "$as_dir" && as_dir=.
11440 for ac_exec_ext in '' $ac_executable_extensions; do
11441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11442 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11454 if test -n "$PKG_CONFIG"; then
11455 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11456 $as_echo "$PKG_CONFIG" >&6; }
11458 { $as_echo "$as_me:$LINENO: result: no" >&5
11459 $as_echo "no" >&6; }
11464 if test -z "$ac_cv_path_PKG_CONFIG"; then
11465 ac_pt_PKG_CONFIG=$PKG_CONFIG
11466 # Extract the first word of "pkg-config", so it can be a program name with args.
11467 set dummy pkg-config; ac_word=$2
11468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11469 $as_echo_n "checking for $ac_word... " >&6; }
11470 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11471 $as_echo_n "(cached) " >&6
11473 case $ac_pt_PKG_CONFIG in
11475 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11479 for as_dir in $PATH
11482 test -z "$as_dir" && as_dir=.
11483 for ac_exec_ext in '' $ac_executable_extensions; do
11484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11485 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11497 if test -n "$ac_pt_PKG_CONFIG"; then
11498 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11499 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11501 { $as_echo "$as_me:$LINENO: result: no" >&5
11502 $as_echo "no" >&6; }
11505 if test "x$ac_pt_PKG_CONFIG" = x; then
11508 case $cross_compiling:$ac_tool_warned in
11510 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11512 ac_tool_warned=yes ;;
11514 PKG_CONFIG=$ac_pt_PKG_CONFIG
11517 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11521 if test -n "$PKG_CONFIG"; then
11522 _pkg_min_version=0.9.0
11523 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11524 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11525 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11526 { $as_echo "$as_me:$LINENO: result: yes" >&5
11527 $as_echo "yes" >&6; }
11529 { $as_echo "$as_me:$LINENO: result: no" >&5
11530 $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
11577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11578 _pkg_short_errors_supported=yes
11580 _pkg_short_errors_supported=no
11582 if test $_pkg_short_errors_supported = yes; then
11583 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit" 2>&1`
11585 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit" 2>&1`
11587 # Put the nasty error message in config.log where it belongs
11588 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
11590 { $as_echo "$as_me:$LINENO: result: no" >&5
11591 $as_echo "no" >&6; }
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: pkg-config initialized" >&5
11596 $as_echo "pkg-config initialized" >&6; }
11598 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
11599 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
11600 { $as_echo "$as_me:$LINENO: result: yes" >&5
11601 $as_echo "yes" >&6; }
11607 ################################################################################
11608 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
11609 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
11611 # Check whether --with-clvmd was given.
11612 if test "${with_clvmd+set}" = set; then
11613 withval=$with_clvmd; CLVMD=$withval
11618 if test x$CLVMD = xyes; then
11621 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
11622 $as_echo "$CLVMD" >&6; }
11624 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
11628 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
11633 if [ `expr x
"$CLVMD" : '.*gulm.*'` != 0 ]; then
11636 if [ `expr x
"$CLVMD" : '.*corosync.*'` != 0 ]; then
11639 if [ `expr x
"$CLVMD" : '.*openais.*'` != 0 ]; then
11642 if [ `expr x
"$CLVMD" : '.*cman.*'` != 0 ]; then
11646 if test x$BUILDGULM = xyes; then
11647 if test x$BUILDCOROSYNC = xyes || \
11648 test x$BUILDOPENAIS = xyes; then
11649 { { $as_echo "$as_me:$LINENO: error: requested clvmd configuration is not valid" >&5
11650 $as_echo "$as_me: error: requested clvmd configuration is not valid" >&2;}
11651 { (exit 1); exit 1; }; }
11660 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11661 $as_echo "$as_me: error: bailing out" >&2;}
11662 { (exit 1); exit 1; }; }
11665 if test x$CLVMD = xall; then
11666 bailout=soft_bailout
11672 bailout=hard_bailout
11675 check_lib_no_libs() {
11676 lib_no_libs_arg1=$1
11678 lib_no_libs_arg2=$1
11680 lib_no_libs_args=$@
11682 as_ac_Lib=`$as_echo "ac_cv_lib_$lib_no_libs_arg1''_$lib_no_libs_arg2" |
$as_tr_sh`
11683 { $as_echo "$as_me:$LINENO: checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
11684 $as_echo_n "checking for $lib_no_libs_arg2 in -l$lib_no_libs_arg1... " >&6; }
11685 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
11686 $as_echo_n "(cached) " >&6
11688 ac_check_lib_save_LIBS=$LIBS
11689 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
11690 cat >conftest.$ac_ext <<_ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11703 char $lib_no_libs_arg2 ();
11707 return $lib_no_libs_arg2 ();
11712 rm -f conftest.$ac_objext conftest$ac_exeext
11713 if { (ac_try="$ac_link"
11714 case "(($ac_try" in
11715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11716 *) ac_try_echo
=$ac_try;;
11718 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11719 $as_echo "$ac_try_echo") >&5
11720 (eval "$ac_link") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest
$ac_exeext && {
11730 test "$cross_compiling" = yes ||
11731 $as_test_x conftest
$ac_exeext
11733 eval "$as_ac_Lib=yes"
11735 $as_echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11738 eval "$as_ac_Lib=no"
11741 rm -rf conftest.dSYM
11742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11743 conftest
$ac_exeext conftest.
$ac_ext
11744 LIBS
=$ac_check_lib_save_LIBS
11746 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
11747 $as_echo "$as_val"'`
11748 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11749 $as_echo "$ac_res" >&6; }
11750 as_val
=`eval 'as_val=${'$as_ac_Lib'}
11751 $as_echo "$as_val"'`
11752 if test "x$as_val" = x
""yes; then
11753 cat >>confdefs.h
<<_ACEOF
11754 #define `$as_echo "HAVE_LIB$lib_no_libs_arg1" | $as_tr_cpp` 1
11757 LIBS
="-l$lib_no_libs_arg1 $LIBS"
11763 LIBS
=$ac_check_lib_save_LIBS
11766 if test x
$BUILDGULM = xyes
; then
11769 { $as_echo "$as_me:$LINENO: checking for CCS" >&5
11770 $as_echo_n "checking for CCS... " >&6; }
11772 if test -n "$CCS_CFLAGS"; then
11773 pkg_cv_CCS_CFLAGS
="$CCS_CFLAGS"
11774 elif test -n "$PKG_CONFIG"; then
11775 if test -n "$PKG_CONFIG" && \
11776 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
11777 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
11779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; then
11781 pkg_cv_CCS_CFLAGS
=`$PKG_CONFIG --cflags "libccs" 2>/dev/null`
11788 if test -n "$CCS_LIBS"; then
11789 pkg_cv_CCS_LIBS
="$CCS_LIBS"
11790 elif test -n "$PKG_CONFIG"; then
11791 if test -n "$PKG_CONFIG" && \
11792 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libccs\"") >&5
11793 ($PKG_CONFIG --exists --print-errors "libccs") 2>&5
11795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; then
11797 pkg_cv_CCS_LIBS
=`$PKG_CONFIG --libs "libccs" 2>/dev/null`
11807 if test $pkg_failed = yes; then
11809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11810 _pkg_short_errors_supported
=yes
11812 _pkg_short_errors_supported
=no
11814 if test $_pkg_short_errors_supported = yes; then
11815 CCS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libccs" 2>&1`
11817 CCS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libccs" 2>&1`
11819 # Put the nasty error message in config.log where it belongs
11820 echo "$CCS_PKG_ERRORS" >&5
11822 { $as_echo "$as_me:$LINENO: result: no" >&5
11823 $as_echo "no" >&6; }
11826 for ac_header
in ccs.h
11828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11829 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11830 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11831 $as_echo_n "checking for $ac_header... " >&6; }
11832 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11833 $as_echo_n "(cached) " >&6
11835 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11836 $as_echo "$as_val"'`
11837 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11838 $as_echo "$ac_res" >&6; }
11840 # Is the header compilable?
11841 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11842 $as_echo_n "checking $ac_header usability... " >&6; }
11843 cat >conftest.
$ac_ext <<_ACEOF
11846 cat confdefs.h
>>conftest.
$ac_ext
11847 cat >>conftest.
$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11849 $ac_includes_default
11850 #include <$ac_header>
11852 rm -f conftest.
$ac_objext
11853 if { (ac_try
="$ac_compile"
11854 case "(($ac_try" in
11855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11856 *) ac_try_echo=$ac_try;;
11858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11859 $as_echo "$ac_try_echo") >&5
11860 (eval "$ac_compile") 2>conftest.er1
11862 grep -v '^ *+' conftest.er1 >conftest.err
11864 cat conftest.err >&5
11865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } && {
11867 test -z "$ac_c_werror_flag" ||
11868 test ! -s conftest.err
11869 } && test -s conftest.$ac_objext; then
11870 ac_header_compiler=yes
11872 $as_echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11875 ac_header_compiler=no
11878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11879 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11880 $as_echo "$ac_header_compiler" >&6; }
11882 # Is the header present?
11883 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11884 $as_echo_n "checking $ac_header presence... " >&6; }
11885 cat >conftest.$ac_ext <<_ACEOF
11888 cat confdefs.h >>conftest.$ac_ext
11889 cat >>conftest.$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11891 #include <$ac_header>
11893 if { (ac_try="$ac_cpp conftest.$ac_ext"
11894 case "(($ac_try" in
11895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11896 *) ac_try_echo
=$ac_try;;
11898 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11899 $as_echo "$ac_try_echo") >&5
11900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11902 grep -v '^ *+' conftest.er1
>conftest.err
11904 cat conftest.err
>&5
11905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); } >/dev
/null
&& {
11907 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11908 test ! -s conftest.err
11910 ac_header_preproc
=yes
11912 $as_echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.
$ac_ext >&5
11915 ac_header_preproc
=no
11918 rm -f conftest.err conftest.
$ac_ext
11919 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11920 $as_echo "$ac_header_preproc" >&6; }
11922 # So? What about this header?
11923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11925 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11926 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11927 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11928 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11929 ac_header_preproc
=yes
11932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11933 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11935 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11937 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11939 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11941 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11943 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11947 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11948 $as_echo_n "checking for $ac_header... " >&6; }
11949 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11950 $as_echo_n "(cached) " >&6
11952 eval "$as_ac_Header=\$ac_header_preproc"
11954 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11955 $as_echo "$as_val"'`
11956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11957 $as_echo "$ac_res" >&6; }
11960 as_val
=`eval 'as_val=${'$as_ac_Header'}
11961 $as_echo "$as_val"'`
11962 if test "x$as_val" = x
""yes; then
11963 cat >>confdefs.h
<<_ACEOF
11964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11973 check_lib_no_libs ccs ccs_connect
11974 if test $NOTFOUND = 0; then
11975 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
11976 $as_echo "no pkg for libccs, using -lccs" >&6; }
11980 elif test $pkg_failed = untried
; then
11983 for ac_header
in ccs.h
11985 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11986 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11987 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11988 $as_echo_n "checking for $ac_header... " >&6; }
11989 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11990 $as_echo_n "(cached) " >&6
11992 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11993 $as_echo "$as_val"'`
11994 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11995 $as_echo "$ac_res" >&6; }
11997 # Is the header compilable?
11998 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11999 $as_echo_n "checking $ac_header usability... " >&6; }
12000 cat >conftest.
$ac_ext <<_ACEOF
12003 cat confdefs.h
>>conftest.
$ac_ext
12004 cat >>conftest.
$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 $ac_includes_default
12007 #include <$ac_header>
12009 rm -f conftest.
$ac_objext
12010 if { (ac_try
="$ac_compile"
12011 case "(($ac_try" in
12012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12013 *) ac_try_echo=$ac_try;;
12015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12016 $as_echo "$ac_try_echo") >&5
12017 (eval "$ac_compile") 2>conftest.er1
12019 grep -v '^ *+' conftest.er1 >conftest.err
12021 cat conftest.err >&5
12022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } && {
12024 test -z "$ac_c_werror_flag" ||
12025 test ! -s conftest.err
12026 } && test -s conftest.$ac_objext; then
12027 ac_header_compiler=yes
12029 $as_echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12032 ac_header_compiler=no
12035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12036 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12037 $as_echo "$ac_header_compiler" >&6; }
12039 # Is the header present?
12040 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12041 $as_echo_n "checking $ac_header presence... " >&6; }
12042 cat >conftest.$ac_ext <<_ACEOF
12045 cat confdefs.h >>conftest.$ac_ext
12046 cat >>conftest.$ac_ext <<_ACEOF
12047 /* end confdefs.h. */
12048 #include <$ac_header>
12050 if { (ac_try="$ac_cpp conftest.$ac_ext"
12051 case "(($ac_try" in
12052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12053 *) ac_try_echo
=$ac_try;;
12055 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12056 $as_echo "$ac_try_echo") >&5
12057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12059 grep -v '^ *+' conftest.er1
>conftest.err
12061 cat conftest.err
>&5
12062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } >/dev
/null
&& {
12064 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12065 test ! -s conftest.err
12067 ac_header_preproc
=yes
12069 $as_echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.
$ac_ext >&5
12072 ac_header_preproc
=no
12075 rm -f conftest.err conftest.
$ac_ext
12076 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12077 $as_echo "$ac_header_preproc" >&6; }
12079 # So? What about this header?
12080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12083 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12084 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12085 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12086 ac_header_preproc
=yes
12089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12090 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12092 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12094 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12096 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12098 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12100 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12104 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12105 $as_echo_n "checking for $ac_header... " >&6; }
12106 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12107 $as_echo_n "(cached) " >&6
12109 eval "$as_ac_Header=\$ac_header_preproc"
12111 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12112 $as_echo "$as_val"'`
12113 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12114 $as_echo "$ac_res" >&6; }
12117 as_val
=`eval 'as_val=${'$as_ac_Header'}
12118 $as_echo "$as_val"'`
12119 if test "x$as_val" = x
""yes; then
12120 cat >>confdefs.h
<<_ACEOF
12121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12130 check_lib_no_libs ccs ccs_connect
12131 if test $NOTFOUND = 0; then
12132 { $as_echo "$as_me:$LINENO: result: no pkg for libccs, using -lccs" >&5
12133 $as_echo "no pkg for libccs, using -lccs" >&6; }
12138 CCS_CFLAGS
=$pkg_cv_CCS_CFLAGS
12139 CCS_LIBS
=$pkg_cv_CCS_LIBS
12140 { $as_echo "$as_me:$LINENO: result: yes" >&5
12141 $as_echo "yes" >&6; }
12146 { $as_echo "$as_me:$LINENO: checking for GULM" >&5
12147 $as_echo_n "checking for GULM... " >&6; }
12149 if test -n "$GULM_CFLAGS"; then
12150 pkg_cv_GULM_CFLAGS
="$GULM_CFLAGS"
12151 elif test -n "$PKG_CONFIG"; then
12152 if test -n "$PKG_CONFIG" && \
12153 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
12154 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
12156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; then
12158 pkg_cv_GULM_CFLAGS
=`$PKG_CONFIG --cflags "libgulm" 2>/dev/null`
12165 if test -n "$GULM_LIBS"; then
12166 pkg_cv_GULM_LIBS
="$GULM_LIBS"
12167 elif test -n "$PKG_CONFIG"; then
12168 if test -n "$PKG_CONFIG" && \
12169 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgulm\"") >&5
12170 ($PKG_CONFIG --exists --print-errors "libgulm") 2>&5
12172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; then
12174 pkg_cv_GULM_LIBS
=`$PKG_CONFIG --libs "libgulm" 2>/dev/null`
12184 if test $pkg_failed = yes; then
12186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12187 _pkg_short_errors_supported
=yes
12189 _pkg_short_errors_supported
=no
12191 if test $_pkg_short_errors_supported = yes; then
12192 GULM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libgulm" 2>&1`
12194 GULM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libgulm" 2>&1`
12196 # Put the nasty error message in config.log where it belongs
12197 echo "$GULM_PKG_ERRORS" >&5
12199 { $as_echo "$as_me:$LINENO: result: no" >&5
12200 $as_echo "no" >&6; }
12203 for ac_header
in libgulm.h
12205 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12206 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12207 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12208 $as_echo_n "checking for $ac_header... " >&6; }
12209 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12210 $as_echo_n "(cached) " >&6
12212 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12213 $as_echo "$as_val"'`
12214 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12215 $as_echo "$ac_res" >&6; }
12217 # Is the header compilable?
12218 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12219 $as_echo_n "checking $ac_header usability... " >&6; }
12220 cat >conftest.
$ac_ext <<_ACEOF
12223 cat confdefs.h
>>conftest.
$ac_ext
12224 cat >>conftest.
$ac_ext <<_ACEOF
12225 /* end confdefs.h. */
12226 $ac_includes_default
12227 #include <$ac_header>
12229 rm -f conftest.
$ac_objext
12230 if { (ac_try
="$ac_compile"
12231 case "(($ac_try" in
12232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12233 *) ac_try_echo=$ac_try;;
12235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12236 $as_echo "$ac_try_echo") >&5
12237 (eval "$ac_compile") 2>conftest.er1
12239 grep -v '^ *+' conftest.er1 >conftest.err
12241 cat conftest.err >&5
12242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } && {
12244 test -z "$ac_c_werror_flag" ||
12245 test ! -s conftest.err
12246 } && test -s conftest.$ac_objext; then
12247 ac_header_compiler=yes
12249 $as_echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12252 ac_header_compiler=no
12255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12256 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12257 $as_echo "$ac_header_compiler" >&6; }
12259 # Is the header present?
12260 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12261 $as_echo_n "checking $ac_header presence... " >&6; }
12262 cat >conftest.$ac_ext <<_ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 #include <$ac_header>
12270 if { (ac_try="$ac_cpp conftest.$ac_ext"
12271 case "(($ac_try" in
12272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12273 *) ac_try_echo
=$ac_try;;
12275 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12276 $as_echo "$ac_try_echo") >&5
12277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12279 grep -v '^ *+' conftest.er1
>conftest.err
12281 cat conftest.err
>&5
12282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); } >/dev
/null
&& {
12284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12285 test ! -s conftest.err
12287 ac_header_preproc
=yes
12289 $as_echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.
$ac_ext >&5
12292 ac_header_preproc
=no
12295 rm -f conftest.err conftest.
$ac_ext
12296 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12297 $as_echo "$ac_header_preproc" >&6; }
12299 # So? What about this header?
12300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12303 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12305 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12306 ac_header_preproc
=yes
12309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12310 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12312 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12314 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12316 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12318 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12320 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12324 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12325 $as_echo_n "checking for $ac_header... " >&6; }
12326 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12327 $as_echo_n "(cached) " >&6
12329 eval "$as_ac_Header=\$ac_header_preproc"
12331 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12332 $as_echo "$as_val"'`
12333 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12334 $as_echo "$ac_res" >&6; }
12337 as_val
=`eval 'as_val=${'$as_ac_Header'}
12338 $as_echo "$as_val"'`
12339 if test "x$as_val" = x
""yes; then
12340 cat >>confdefs.h
<<_ACEOF
12341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12350 check_lib_no_libs gulm lg_core_login
12351 if test $NOTFOUND = 0; then
12352 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
12353 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
12357 elif test $pkg_failed = untried
; then
12360 for ac_header
in libgulm.h
12362 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12363 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12364 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12365 $as_echo_n "checking for $ac_header... " >&6; }
12366 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12367 $as_echo_n "(cached) " >&6
12369 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12370 $as_echo "$as_val"'`
12371 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12372 $as_echo "$ac_res" >&6; }
12374 # Is the header compilable?
12375 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12376 $as_echo_n "checking $ac_header usability... " >&6; }
12377 cat >conftest.
$ac_ext <<_ACEOF
12380 cat confdefs.h
>>conftest.
$ac_ext
12381 cat >>conftest.
$ac_ext <<_ACEOF
12382 /* end confdefs.h. */
12383 $ac_includes_default
12384 #include <$ac_header>
12386 rm -f conftest.
$ac_objext
12387 if { (ac_try
="$ac_compile"
12388 case "(($ac_try" in
12389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12390 *) ac_try_echo=$ac_try;;
12392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12393 $as_echo "$ac_try_echo") >&5
12394 (eval "$ac_compile") 2>conftest.er1
12396 grep -v '^ *+' conftest.er1 >conftest.err
12398 cat conftest.err >&5
12399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } && {
12401 test -z "$ac_c_werror_flag" ||
12402 test ! -s conftest.err
12403 } && test -s conftest.$ac_objext; then
12404 ac_header_compiler=yes
12406 $as_echo "$as_me: failed program was:" >&5
12407 sed 's/^/| /' conftest.$ac_ext >&5
12409 ac_header_compiler=no
12412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12414 $as_echo "$ac_header_compiler" >&6; }
12416 # Is the header present?
12417 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12418 $as_echo_n "checking $ac_header presence... " >&6; }
12419 cat >conftest.$ac_ext <<_ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12425 #include <$ac_header>
12427 if { (ac_try="$ac_cpp conftest.$ac_ext"
12428 case "(($ac_try" in
12429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12430 *) ac_try_echo
=$ac_try;;
12432 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12433 $as_echo "$ac_try_echo") >&5
12434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12436 grep -v '^ *+' conftest.er1
>conftest.err
12438 cat conftest.err
>&5
12439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } >/dev
/null
&& {
12441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12442 test ! -s conftest.err
12444 ac_header_preproc
=yes
12446 $as_echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.
$ac_ext >&5
12449 ac_header_preproc
=no
12452 rm -f conftest.err conftest.
$ac_ext
12453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12454 $as_echo "$ac_header_preproc" >&6; }
12456 # So? What about this header?
12457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12460 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12462 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12463 ac_header_preproc
=yes
12466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12467 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12469 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12471 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12473 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12475 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12476 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12477 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12481 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12482 $as_echo_n "checking for $ac_header... " >&6; }
12483 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12484 $as_echo_n "(cached) " >&6
12486 eval "$as_ac_Header=\$ac_header_preproc"
12488 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12489 $as_echo "$as_val"'`
12490 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12491 $as_echo "$ac_res" >&6; }
12494 as_val
=`eval 'as_val=${'$as_ac_Header'}
12495 $as_echo "$as_val"'`
12496 if test "x$as_val" = x
""yes; then
12497 cat >>confdefs.h
<<_ACEOF
12498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12507 check_lib_no_libs gulm lg_core_login
12508 if test $NOTFOUND = 0; then
12509 { $as_echo "$as_me:$LINENO: result: no pkg for libgulm, using -lgulm" >&5
12510 $as_echo "no pkg for libgulm, using -lgulm" >&6; }
12515 GULM_CFLAGS
=$pkg_cv_GULM_CFLAGS
12516 GULM_LIBS
=$pkg_cv_GULM_LIBS
12517 { $as_echo "$as_me:$LINENO: result: yes" >&5
12518 $as_echo "yes" >&6; }
12523 if test x
$BUILDCMAN = xyes
; then
12526 { $as_echo "$as_me:$LINENO: checking for CMAN" >&5
12527 $as_echo_n "checking for CMAN... " >&6; }
12529 if test -n "$CMAN_CFLAGS"; then
12530 pkg_cv_CMAN_CFLAGS
="$CMAN_CFLAGS"
12531 elif test -n "$PKG_CONFIG"; then
12532 if test -n "$PKG_CONFIG" && \
12533 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
12534 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
12536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; then
12538 pkg_cv_CMAN_CFLAGS
=`$PKG_CONFIG --cflags "libcman" 2>/dev/null`
12545 if test -n "$CMAN_LIBS"; then
12546 pkg_cv_CMAN_LIBS
="$CMAN_LIBS"
12547 elif test -n "$PKG_CONFIG"; then
12548 if test -n "$PKG_CONFIG" && \
12549 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcman\"") >&5
12550 ($PKG_CONFIG --exists --print-errors "libcman") 2>&5
12552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; then
12554 pkg_cv_CMAN_LIBS
=`$PKG_CONFIG --libs "libcman" 2>/dev/null`
12564 if test $pkg_failed = yes; then
12566 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12567 _pkg_short_errors_supported
=yes
12569 _pkg_short_errors_supported
=no
12571 if test $_pkg_short_errors_supported = yes; then
12572 CMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcman" 2>&1`
12574 CMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcman" 2>&1`
12576 # Put the nasty error message in config.log where it belongs
12577 echo "$CMAN_PKG_ERRORS" >&5
12579 { $as_echo "$as_me:$LINENO: result: no" >&5
12580 $as_echo "no" >&6; }
12583 for ac_header
in libcman.h
12585 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12586 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12587 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12588 $as_echo_n "checking for $ac_header... " >&6; }
12589 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12590 $as_echo_n "(cached) " >&6
12592 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12593 $as_echo "$as_val"'`
12594 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12595 $as_echo "$ac_res" >&6; }
12597 # Is the header compilable?
12598 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12599 $as_echo_n "checking $ac_header usability... " >&6; }
12600 cat >conftest.
$ac_ext <<_ACEOF
12603 cat confdefs.h
>>conftest.
$ac_ext
12604 cat >>conftest.
$ac_ext <<_ACEOF
12605 /* end confdefs.h. */
12606 $ac_includes_default
12607 #include <$ac_header>
12609 rm -f conftest.
$ac_objext
12610 if { (ac_try
="$ac_compile"
12611 case "(($ac_try" in
12612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12613 *) ac_try_echo=$ac_try;;
12615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12616 $as_echo "$ac_try_echo") >&5
12617 (eval "$ac_compile") 2>conftest.er1
12619 grep -v '^ *+' conftest.er1 >conftest.err
12621 cat conftest.err >&5
12622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } && {
12624 test -z "$ac_c_werror_flag" ||
12625 test ! -s conftest.err
12626 } && test -s conftest.$ac_objext; then
12627 ac_header_compiler=yes
12629 $as_echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.$ac_ext >&5
12632 ac_header_compiler=no
12635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12636 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12637 $as_echo "$ac_header_compiler" >&6; }
12639 # Is the header present?
12640 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12641 $as_echo_n "checking $ac_header presence... " >&6; }
12642 cat >conftest.$ac_ext <<_ACEOF
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 #include <$ac_header>
12650 if { (ac_try="$ac_cpp conftest.$ac_ext"
12651 case "(($ac_try" in
12652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12653 *) ac_try_echo
=$ac_try;;
12655 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12656 $as_echo "$ac_try_echo") >&5
12657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12659 grep -v '^ *+' conftest.er1
>conftest.err
12661 cat conftest.err
>&5
12662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } >/dev
/null
&& {
12664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12665 test ! -s conftest.err
12667 ac_header_preproc
=yes
12669 $as_echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.
$ac_ext >&5
12672 ac_header_preproc
=no
12675 rm -f conftest.err conftest.
$ac_ext
12676 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12677 $as_echo "$ac_header_preproc" >&6; }
12679 # So? What about this header?
12680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12683 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12685 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12686 ac_header_preproc
=yes
12689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12690 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12692 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12694 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12696 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12698 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12700 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12704 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12705 $as_echo_n "checking for $ac_header... " >&6; }
12706 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12707 $as_echo_n "(cached) " >&6
12709 eval "$as_ac_Header=\$ac_header_preproc"
12711 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12712 $as_echo "$as_val"'`
12713 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12714 $as_echo "$ac_res" >&6; }
12717 as_val
=`eval 'as_val=${'$as_ac_Header'}
12718 $as_echo "$as_val"'`
12719 if test "x$as_val" = x
""yes; then
12720 cat >>confdefs.h
<<_ACEOF
12721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12730 check_lib_no_libs cman cman_init
12731 if test $NOTFOUND = 0; then
12732 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
12733 $as_echo "no pkg for libcman, using -lcman" >&6; }
12737 elif test $pkg_failed = untried
; then
12740 for ac_header
in libcman.h
12742 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12743 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12744 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12745 $as_echo_n "checking for $ac_header... " >&6; }
12746 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12747 $as_echo_n "(cached) " >&6
12749 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12750 $as_echo "$as_val"'`
12751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12752 $as_echo "$ac_res" >&6; }
12754 # Is the header compilable?
12755 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12756 $as_echo_n "checking $ac_header usability... " >&6; }
12757 cat >conftest.
$ac_ext <<_ACEOF
12760 cat confdefs.h
>>conftest.
$ac_ext
12761 cat >>conftest.
$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12763 $ac_includes_default
12764 #include <$ac_header>
12766 rm -f conftest.
$ac_objext
12767 if { (ac_try
="$ac_compile"
12768 case "(($ac_try" in
12769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12773 $as_echo "$ac_try_echo") >&5
12774 (eval "$ac_compile") 2>conftest.er1
12776 grep -v '^ *+' conftest.er1 >conftest.err
12778 cat conftest.err >&5
12779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } && {
12781 test -z "$ac_c_werror_flag" ||
12782 test ! -s conftest.err
12783 } && test -s conftest.$ac_objext; then
12784 ac_header_compiler=yes
12786 $as_echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.$ac_ext >&5
12789 ac_header_compiler=no
12792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12794 $as_echo "$ac_header_compiler" >&6; }
12796 # Is the header present?
12797 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12798 $as_echo_n "checking $ac_header presence... " >&6; }
12799 cat >conftest.$ac_ext <<_ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 #include <$ac_header>
12807 if { (ac_try="$ac_cpp conftest.$ac_ext"
12808 case "(($ac_try" in
12809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12810 *) ac_try_echo
=$ac_try;;
12812 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12813 $as_echo "$ac_try_echo") >&5
12814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12816 grep -v '^ *+' conftest.er1
>conftest.err
12818 cat conftest.err
>&5
12819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); } >/dev
/null
&& {
12821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12822 test ! -s conftest.err
12824 ac_header_preproc
=yes
12826 $as_echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.
$ac_ext >&5
12829 ac_header_preproc
=no
12832 rm -f conftest.err conftest.
$ac_ext
12833 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12834 $as_echo "$ac_header_preproc" >&6; }
12836 # So? What about this header?
12837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12839 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12840 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12841 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12842 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12843 ac_header_preproc
=yes
12846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12847 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12849 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12851 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12852 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12853 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12854 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12855 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12856 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12857 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12861 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12862 $as_echo_n "checking for $ac_header... " >&6; }
12863 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12864 $as_echo_n "(cached) " >&6
12866 eval "$as_ac_Header=\$ac_header_preproc"
12868 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12869 $as_echo "$as_val"'`
12870 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12871 $as_echo "$ac_res" >&6; }
12874 as_val
=`eval 'as_val=${'$as_ac_Header'}
12875 $as_echo "$as_val"'`
12876 if test "x$as_val" = x
""yes; then
12877 cat >>confdefs.h
<<_ACEOF
12878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12887 check_lib_no_libs cman cman_init
12888 if test $NOTFOUND = 0; then
12889 { $as_echo "$as_me:$LINENO: result: no pkg for libcman, using -lcman" >&5
12890 $as_echo "no pkg for libcman, using -lcman" >&6; }
12895 CMAN_CFLAGS
=$pkg_cv_CMAN_CFLAGS
12896 CMAN_LIBS
=$pkg_cv_CMAN_LIBS
12897 { $as_echo "$as_me:$LINENO: result: yes" >&5
12898 $as_echo "yes" >&6; }
12905 if test x
$BUILDCOROSYNC = xyes || \
12906 test x
$BUILDOPENAIS = xyes
; then
12909 { $as_echo "$as_me:$LINENO: checking for COROSYNC" >&5
12910 $as_echo_n "checking for COROSYNC... " >&6; }
12912 if test -n "$COROSYNC_CFLAGS"; then
12913 pkg_cv_COROSYNC_CFLAGS
="$COROSYNC_CFLAGS"
12914 elif test -n "$PKG_CONFIG"; then
12915 if test -n "$PKG_CONFIG" && \
12916 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
12917 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
12919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; then
12921 pkg_cv_COROSYNC_CFLAGS
=`$PKG_CONFIG --cflags "corosync" 2>/dev/null`
12928 if test -n "$COROSYNC_LIBS"; then
12929 pkg_cv_COROSYNC_LIBS
="$COROSYNC_LIBS"
12930 elif test -n "$PKG_CONFIG"; then
12931 if test -n "$PKG_CONFIG" && \
12932 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"corosync\"") >&5
12933 ($PKG_CONFIG --exists --print-errors "corosync") 2>&5
12935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; then
12937 pkg_cv_COROSYNC_LIBS
=`$PKG_CONFIG --libs "corosync" 2>/dev/null`
12947 if test $pkg_failed = yes; then
12949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12950 _pkg_short_errors_supported
=yes
12952 _pkg_short_errors_supported
=no
12954 if test $_pkg_short_errors_supported = yes; then
12955 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "corosync" 2>&1`
12957 COROSYNC_PKG_ERRORS
=`$PKG_CONFIG --print-errors "corosync" 2>&1`
12959 # Put the nasty error message in config.log where it belongs
12960 echo "$COROSYNC_PKG_ERRORS" >&5
12962 { $as_echo "$as_me:$LINENO: result: no" >&5
12963 $as_echo "no" >&6; }
12965 elif test $pkg_failed = untried
; then
12968 COROSYNC_CFLAGS
=$pkg_cv_COROSYNC_CFLAGS
12969 COROSYNC_LIBS
=$pkg_cv_COROSYNC_LIBS
12970 { $as_echo "$as_me:$LINENO: result: yes" >&5
12971 $as_echo "yes" >&6; }
12977 if test x
$BUILDCOROSYNC = xyes
; then
12980 { $as_echo "$as_me:$LINENO: checking for QUORUM" >&5
12981 $as_echo_n "checking for QUORUM... " >&6; }
12983 if test -n "$QUORUM_CFLAGS"; then
12984 pkg_cv_QUORUM_CFLAGS
="$QUORUM_CFLAGS"
12985 elif test -n "$PKG_CONFIG"; then
12986 if test -n "$PKG_CONFIG" && \
12987 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
12988 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
12990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; then
12992 pkg_cv_QUORUM_CFLAGS
=`$PKG_CONFIG --cflags "libquorum" 2>/dev/null`
12999 if test -n "$QUORUM_LIBS"; then
13000 pkg_cv_QUORUM_LIBS
="$QUORUM_LIBS"
13001 elif test -n "$PKG_CONFIG"; then
13002 if test -n "$PKG_CONFIG" && \
13003 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
13004 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
13006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; then
13008 pkg_cv_QUORUM_LIBS
=`$PKG_CONFIG --libs "libquorum" 2>/dev/null`
13018 if test $pkg_failed = yes; then
13020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13021 _pkg_short_errors_supported
=yes
13023 _pkg_short_errors_supported
=no
13025 if test $_pkg_short_errors_supported = yes; then
13026 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
13028 QUORUM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
13030 # Put the nasty error message in config.log where it belongs
13031 echo "$QUORUM_PKG_ERRORS" >&5
13033 { $as_echo "$as_me:$LINENO: result: no" >&5
13034 $as_echo "no" >&6; }
13036 elif test $pkg_failed = untried
; then
13039 QUORUM_CFLAGS
=$pkg_cv_QUORUM_CFLAGS
13040 QUORUM_LIBS
=$pkg_cv_QUORUM_LIBS
13041 { $as_echo "$as_me:$LINENO: result: yes" >&5
13042 $as_echo "yes" >&6; }
13049 if test x
$BUILDOPENAIS = xyes
; then
13052 { $as_echo "$as_me:$LINENO: checking for SALCK" >&5
13053 $as_echo_n "checking for SALCK... " >&6; }
13055 if test -n "$SALCK_CFLAGS"; then
13056 pkg_cv_SALCK_CFLAGS
="$SALCK_CFLAGS"
13057 elif test -n "$PKG_CONFIG"; then
13058 if test -n "$PKG_CONFIG" && \
13059 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
13060 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
13062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; then
13064 pkg_cv_SALCK_CFLAGS
=`$PKG_CONFIG --cflags "libSaLck" 2>/dev/null`
13071 if test -n "$SALCK_LIBS"; then
13072 pkg_cv_SALCK_LIBS
="$SALCK_LIBS"
13073 elif test -n "$PKG_CONFIG"; then
13074 if test -n "$PKG_CONFIG" && \
13075 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaLck\"") >&5
13076 ($PKG_CONFIG --exists --print-errors "libSaLck") 2>&5
13078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; then
13080 pkg_cv_SALCK_LIBS
=`$PKG_CONFIG --libs "libSaLck" 2>/dev/null`
13090 if test $pkg_failed = yes; then
13092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13093 _pkg_short_errors_supported
=yes
13095 _pkg_short_errors_supported
=no
13097 if test $_pkg_short_errors_supported = yes; then
13098 SALCK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaLck" 2>&1`
13100 SALCK_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaLck" 2>&1`
13102 # Put the nasty error message in config.log where it belongs
13103 echo "$SALCK_PKG_ERRORS" >&5
13105 { $as_echo "$as_me:$LINENO: result: no" >&5
13106 $as_echo "no" >&6; }
13108 elif test $pkg_failed = untried
; then
13111 SALCK_CFLAGS
=$pkg_cv_SALCK_CFLAGS
13112 SALCK_LIBS
=$pkg_cv_SALCK_LIBS
13113 { $as_echo "$as_me:$LINENO: result: yes" >&5
13114 $as_echo "yes" >&6; }
13122 if test x
$CHECKCONFDB = xyes
; then
13125 { $as_echo "$as_me:$LINENO: checking for CONFDB" >&5
13126 $as_echo_n "checking for CONFDB... " >&6; }
13128 if test -n "$CONFDB_CFLAGS"; then
13129 pkg_cv_CONFDB_CFLAGS
="$CONFDB_CFLAGS"
13130 elif test -n "$PKG_CONFIG"; then
13131 if test -n "$PKG_CONFIG" && \
13132 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
13133 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
13135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; then
13137 pkg_cv_CONFDB_CFLAGS
=`$PKG_CONFIG --cflags "libconfdb" 2>/dev/null`
13144 if test -n "$CONFDB_LIBS"; then
13145 pkg_cv_CONFDB_LIBS
="$CONFDB_LIBS"
13146 elif test -n "$PKG_CONFIG"; then
13147 if test -n "$PKG_CONFIG" && \
13148 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
13149 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
13151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; then
13153 pkg_cv_CONFDB_LIBS
=`$PKG_CONFIG --libs "libconfdb" 2>/dev/null`
13163 if test $pkg_failed = yes; then
13165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13166 _pkg_short_errors_supported
=yes
13168 _pkg_short_errors_supported
=no
13170 if test $_pkg_short_errors_supported = yes; then
13171 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
13173 CONFDB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
13175 # Put the nasty error message in config.log where it belongs
13176 echo "$CONFDB_PKG_ERRORS" >&5
13178 { $as_echo "$as_me:$LINENO: result: no" >&5
13179 $as_echo "no" >&6; }
13181 elif test $pkg_failed = untried
; then
13184 CONFDB_CFLAGS
=$pkg_cv_CONFDB_CFLAGS
13185 CONFDB_LIBS
=$pkg_cv_CONFDB_LIBS
13186 { $as_echo "$as_me:$LINENO: result: yes" >&5
13187 $as_echo "yes" >&6; }
13192 for ac_header
in corosync
/confdb.h
13194 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13195 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13196 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13197 $as_echo_n "checking for $ac_header... " >&6; }
13198 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13199 $as_echo_n "(cached) " >&6
13201 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13202 $as_echo "$as_val"'`
13203 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13204 $as_echo "$ac_res" >&6; }
13206 # Is the header compilable?
13207 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13208 $as_echo_n "checking $ac_header usability... " >&6; }
13209 cat >conftest.
$ac_ext <<_ACEOF
13212 cat confdefs.h
>>conftest.
$ac_ext
13213 cat >>conftest.
$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13215 $ac_includes_default
13216 #include <$ac_header>
13218 rm -f conftest.
$ac_objext
13219 if { (ac_try
="$ac_compile"
13220 case "(($ac_try" in
13221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13222 *) ac_try_echo=$ac_try;;
13224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13225 $as_echo "$ac_try_echo") >&5
13226 (eval "$ac_compile") 2>conftest.er1
13228 grep -v '^ *+' conftest.er1 >conftest.err
13230 cat conftest.err >&5
13231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } && {
13233 test -z "$ac_c_werror_flag" ||
13234 test ! -s conftest.err
13235 } && test -s conftest.$ac_objext; then
13236 ac_header_compiler=yes
13238 $as_echo "$as_me: failed program was:" >&5
13239 sed 's/^/| /' conftest.$ac_ext >&5
13241 ac_header_compiler=no
13244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13245 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13246 $as_echo "$ac_header_compiler" >&6; }
13248 # Is the header present?
13249 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13250 $as_echo_n "checking $ac_header presence... " >&6; }
13251 cat >conftest.$ac_ext <<_ACEOF
13254 cat confdefs.h >>conftest.$ac_ext
13255 cat >>conftest.$ac_ext <<_ACEOF
13256 /* end confdefs.h. */
13257 #include <$ac_header>
13259 if { (ac_try="$ac_cpp conftest.$ac_ext"
13260 case "(($ac_try" in
13261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13262 *) ac_try_echo
=$ac_try;;
13264 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13265 $as_echo "$ac_try_echo") >&5
13266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13268 grep -v '^ *+' conftest.er1
>conftest.err
13270 cat conftest.err
>&5
13271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } >/dev
/null
&& {
13273 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13274 test ! -s conftest.err
13276 ac_header_preproc
=yes
13278 $as_echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 ac_header_preproc
=no
13284 rm -f conftest.err conftest.
$ac_ext
13285 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13286 $as_echo "$ac_header_preproc" >&6; }
13288 # So? What about this header?
13289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13291 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13292 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13294 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13295 ac_header_preproc
=yes
13298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13299 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13301 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13303 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13305 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13307 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13309 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13313 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13314 $as_echo_n "checking for $ac_header... " >&6; }
13315 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13316 $as_echo_n "(cached) " >&6
13318 eval "$as_ac_Header=\$ac_header_preproc"
13320 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13321 $as_echo "$as_val"'`
13322 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13323 $as_echo "$ac_res" >&6; }
13326 as_val
=`eval 'as_val=${'$as_ac_Header'}
13327 $as_echo "$as_val"'`
13328 if test "x$as_val" = x
""yes; then
13329 cat >>confdefs.h
<<_ACEOF
13330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13340 if test x
$HAVE_CONFDB != xyes
&& \
13341 test x
$HAVE_CONFDB_H = xyes
; then
13342 check_lib_no_libs confdb confdb_initialize
13343 { $as_echo "$as_me:$LINENO: result: no pkg for confdb, using -lconfdb" >&5
13344 $as_echo "no pkg for confdb, using -lconfdb" >&6; }
13345 CONFDB_LIBS
="-lconfdb"
13349 if test x
$BUILDCOROSYNC = xyes
&& \
13350 test x
$HAVE_CONFDB != xyes
&&
13351 test x
$CLVMD != xall
; then
13352 { { $as_echo "$as_me:$LINENO: error: bailing out... confdb library is required" >&5
13353 $as_echo "$as_me: error: bailing out... confdb library is required" >&2;}
13354 { (exit 1); exit 1; }; }
13358 if test x
$CHECKCPG = xyes
; then
13361 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
13362 $as_echo_n "checking for CPG... " >&6; }
13364 if test -n "$CPG_CFLAGS"; then
13365 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
13366 elif test -n "$PKG_CONFIG"; then
13367 if test -n "$PKG_CONFIG" && \
13368 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
13369 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
13371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; then
13373 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
13380 if test -n "$CPG_LIBS"; then
13381 pkg_cv_CPG_LIBS
="$CPG_LIBS"
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_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
13399 if test $pkg_failed = yes; then
13401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13402 _pkg_short_errors_supported
=yes
13404 _pkg_short_errors_supported
=no
13406 if test $_pkg_short_errors_supported = yes; then
13407 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
13409 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
13411 # Put the nasty error message in config.log where it belongs
13412 echo "$CPG_PKG_ERRORS" >&5
13414 { $as_echo "$as_me:$LINENO: result: no" >&5
13415 $as_echo "no" >&6; }
13417 elif test $pkg_failed = untried
; then
13420 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
13421 CPG_LIBS
=$pkg_cv_CPG_LIBS
13422 { $as_echo "$as_me:$LINENO: result: yes" >&5
13423 $as_echo "yes" >&6; }
13428 if test x
$CHECKDLM = xyes
; then
13431 { $as_echo "$as_me:$LINENO: checking for DLM" >&5
13432 $as_echo_n "checking for DLM... " >&6; }
13434 if test -n "$DLM_CFLAGS"; then
13435 pkg_cv_DLM_CFLAGS
="$DLM_CFLAGS"
13436 elif test -n "$PKG_CONFIG"; then
13437 if test -n "$PKG_CONFIG" && \
13438 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
13439 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
13441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; then
13443 pkg_cv_DLM_CFLAGS
=`$PKG_CONFIG --cflags "libdlm" 2>/dev/null`
13450 if test -n "$DLM_LIBS"; then
13451 pkg_cv_DLM_LIBS
="$DLM_LIBS"
13452 elif test -n "$PKG_CONFIG"; then
13453 if test -n "$PKG_CONFIG" && \
13454 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdlm\"") >&5
13455 ($PKG_CONFIG --exists --print-errors "libdlm") 2>&5
13457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; then
13459 pkg_cv_DLM_LIBS
=`$PKG_CONFIG --libs "libdlm" 2>/dev/null`
13469 if test $pkg_failed = yes; then
13471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13472 _pkg_short_errors_supported
=yes
13474 _pkg_short_errors_supported
=no
13476 if test $_pkg_short_errors_supported = yes; then
13477 DLM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libdlm" 2>&1`
13479 DLM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libdlm" 2>&1`
13481 # Put the nasty error message in config.log where it belongs
13482 echo "$DLM_PKG_ERRORS" >&5
13484 { $as_echo "$as_me:$LINENO: result: no" >&5
13485 $as_echo "no" >&6; }
13488 for ac_header
in libdlm.h
13490 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13491 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13492 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13493 $as_echo_n "checking for $ac_header... " >&6; }
13494 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13495 $as_echo_n "(cached) " >&6
13497 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13498 $as_echo "$as_val"'`
13499 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13500 $as_echo "$ac_res" >&6; }
13502 # Is the header compilable?
13503 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13504 $as_echo_n "checking $ac_header usability... " >&6; }
13505 cat >conftest.
$ac_ext <<_ACEOF
13508 cat confdefs.h
>>conftest.
$ac_ext
13509 cat >>conftest.
$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13511 $ac_includes_default
13512 #include <$ac_header>
13514 rm -f conftest.
$ac_objext
13515 if { (ac_try
="$ac_compile"
13516 case "(($ac_try" in
13517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13518 *) ac_try_echo=$ac_try;;
13520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13521 $as_echo "$ac_try_echo") >&5
13522 (eval "$ac_compile") 2>conftest.er1
13524 grep -v '^ *+' conftest.er1 >conftest.err
13526 cat conftest.err >&5
13527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } && {
13529 test -z "$ac_c_werror_flag" ||
13530 test ! -s conftest.err
13531 } && test -s conftest.$ac_objext; then
13532 ac_header_compiler=yes
13534 $as_echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13537 ac_header_compiler=no
13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13541 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13542 $as_echo "$ac_header_compiler" >&6; }
13544 # Is the header present?
13545 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13546 $as_echo_n "checking $ac_header presence... " >&6; }
13547 cat >conftest.$ac_ext <<_ACEOF
13550 cat confdefs.h >>conftest.$ac_ext
13551 cat >>conftest.$ac_ext <<_ACEOF
13552 /* end confdefs.h. */
13553 #include <$ac_header>
13555 if { (ac_try="$ac_cpp conftest.$ac_ext"
13556 case "(($ac_try" in
13557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13558 *) ac_try_echo
=$ac_try;;
13560 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13561 $as_echo "$ac_try_echo") >&5
13562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13564 grep -v '^ *+' conftest.er1
>conftest.err
13566 cat conftest.err
>&5
13567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } >/dev
/null
&& {
13569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13570 test ! -s conftest.err
13572 ac_header_preproc
=yes
13574 $as_echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.
$ac_ext >&5
13577 ac_header_preproc
=no
13580 rm -f conftest.err conftest.
$ac_ext
13581 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13582 $as_echo "$ac_header_preproc" >&6; }
13584 # So? What about this header?
13585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13588 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13589 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13590 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13591 ac_header_preproc
=yes
13594 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13595 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13596 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13597 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13598 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13599 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13600 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13601 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13603 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13605 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13609 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13610 $as_echo_n "checking for $ac_header... " >&6; }
13611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13612 $as_echo_n "(cached) " >&6
13614 eval "$as_ac_Header=\$ac_header_preproc"
13616 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13617 $as_echo "$as_val"'`
13618 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13619 $as_echo "$ac_res" >&6; }
13622 as_val
=`eval 'as_val=${'$as_ac_Header'}
13623 $as_echo "$as_val"'`
13624 if test "x$as_val" = x
""yes; then
13625 cat >>confdefs.h
<<_ACEOF
13626 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13635 check_lib_no_libs dlm dlm_lock
-lpthread
13636 if test $NOTFOUND = 0; then
13637 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
13638 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
13639 DLM_LIBS
="-ldlm -lpthread"
13642 elif test $pkg_failed = untried
; then
13645 for ac_header
in libdlm.h
13647 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13648 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13649 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13650 $as_echo_n "checking for $ac_header... " >&6; }
13651 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13652 $as_echo_n "(cached) " >&6
13654 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13655 $as_echo "$as_val"'`
13656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13657 $as_echo "$ac_res" >&6; }
13659 # Is the header compilable?
13660 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13661 $as_echo_n "checking $ac_header usability... " >&6; }
13662 cat >conftest.
$ac_ext <<_ACEOF
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13669 #include <$ac_header>
13671 rm -f conftest.
$ac_objext
13672 if { (ac_try
="$ac_compile"
13673 case "(($ac_try" in
13674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13678 $as_echo "$ac_try_echo") >&5
13679 (eval "$ac_compile") 2>conftest.er1
13681 grep -v '^ *+' conftest.er1 >conftest.err
13683 cat conftest.err >&5
13684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } && {
13686 test -z "$ac_c_werror_flag" ||
13687 test ! -s conftest.err
13688 } && test -s conftest.$ac_objext; then
13689 ac_header_compiler=yes
13691 $as_echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13694 ac_header_compiler=no
13697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13699 $as_echo "$ac_header_compiler" >&6; }
13701 # Is the header present?
13702 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13703 $as_echo_n "checking $ac_header presence... " >&6; }
13704 cat >conftest.$ac_ext <<_ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 #include <$ac_header>
13712 if { (ac_try="$ac_cpp conftest.$ac_ext"
13713 case "(($ac_try" in
13714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13715 *) ac_try_echo
=$ac_try;;
13717 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13718 $as_echo "$ac_try_echo") >&5
13719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13721 grep -v '^ *+' conftest.er1
>conftest.err
13723 cat conftest.err
>&5
13724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } >/dev
/null
&& {
13726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13727 test ! -s conftest.err
13729 ac_header_preproc
=yes
13731 $as_echo "$as_me: failed program was:" >&5
13732 sed 's/^/| /' conftest.
$ac_ext >&5
13734 ac_header_preproc
=no
13737 rm -f conftest.err conftest.
$ac_ext
13738 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13739 $as_echo "$ac_header_preproc" >&6; }
13741 # So? What about this header?
13742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13744 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13745 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13746 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13747 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13748 ac_header_preproc
=yes
13751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13752 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13754 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13756 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13758 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13760 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13762 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13766 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13767 $as_echo_n "checking for $ac_header... " >&6; }
13768 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13769 $as_echo_n "(cached) " >&6
13771 eval "$as_ac_Header=\$ac_header_preproc"
13773 ac_res
=`eval 'as_val=${'$as_ac_Header'}
13774 $as_echo "$as_val"'`
13775 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13776 $as_echo "$ac_res" >&6; }
13779 as_val
=`eval 'as_val=${'$as_ac_Header'}
13780 $as_echo "$as_val"'`
13781 if test "x$as_val" = x
""yes; then
13782 cat >>confdefs.h
<<_ACEOF
13783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13792 check_lib_no_libs dlm dlm_lock
-lpthread
13793 if test $NOTFOUND = 0; then
13794 { $as_echo "$as_me:$LINENO: result: no pkg for libdlm, using -ldlm" >&5
13795 $as_echo "no pkg for libdlm, using -ldlm" >&6; }
13796 DLM_LIBS
="-ldlm -lpthread"
13800 DLM_CFLAGS
=$pkg_cv_DLM_CFLAGS
13801 DLM_LIBS
=$pkg_cv_DLM_LIBS
13802 { $as_echo "$as_me:$LINENO: result: yes" >&5
13803 $as_echo "yes" >&6; }
13808 if test x
$CLVMD = xall
; then
13810 if test x
$HAVE_CCS = xyes
&& \
13811 test x
$HAVE_GULM = xyes
; then
13812 { $as_echo "$as_me:$LINENO: result: Enabling clvmd gulm cluster manager" >&5
13813 $as_echo "Enabling clvmd gulm cluster manager" >&6; }
13814 CLVMD
="$CLVMD,gulm"
13816 if test x
$HAVE_CMAN = xyes
&& \
13817 test x
$HAVE_DLM = xyes
; then
13818 { $as_echo "$as_me:$LINENO: result: Enabling clvmd cman cluster manager" >&5
13819 $as_echo "Enabling clvmd cman cluster manager" >&6; }
13820 CLVMD
="$CLVMD,cman"
13822 if test x
$HAVE_COROSYNC = xyes
&& \
13823 test x
$HAVE_QUORUM = xyes
&& \
13824 test x
$HAVE_CPG = xyes
&& \
13825 test x
$HAVE_DLM = xyes
&& \
13826 test x
$HAVE_CONFDB = xyes
; then
13827 { $as_echo "$as_me:$LINENO: result: Enabling clvmd corosync cluster manager" >&5
13828 $as_echo "Enabling clvmd corosync cluster manager" >&6; }
13829 CLVMD
="$CLVMD,corosync"
13831 if test x
$HAVE_COROSYNC = xyes
&& \
13832 test x
$HAVE_CPG = xyes
&& \
13833 test x
$HAVE_SALCK = xyes
; then
13834 { $as_echo "$as_me:$LINENO: result: Enabling clvmd openais cluster manager" >&5
13835 $as_echo "Enabling clvmd openais cluster manager" >&6; }
13836 CLVMD
="$CLVMD,openais"
13838 if test x
$CLVMD = xnone
; then
13839 { $as_echo "$as_me:$LINENO: result: Disabling clvmd build. No cluster manager detected." >&5
13840 $as_echo "Disabling clvmd build. No cluster manager detected." >&6; }
13844 ################################################################################
13845 if test "x$CLVMD" != xnone
; then
13847 # Check whether --with-clvmd-pidfile was given.
13848 if test "${with_clvmd_pidfile+set}" = set; then
13849 withval
=$with_clvmd_pidfile; CLVMD_PIDFILE
=$withval
13851 CLVMD_PIDFILE
="/var/run/clvmd.pid"
13855 cat >>confdefs.h
<<_ACEOF
13856 #define CLVMD_PIDFILE "$CLVMD_PIDFILE"
13861 ################################################################################
13862 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon" >&5
13863 $as_echo_n "checking whether to build cluster mirror log daemon... " >&6; }
13864 # Check whether --enable-cmirrord was given.
13865 if test "${enable_cmirrord+set}" = set; then
13866 enableval
=$enable_cmirrord; CMIRRORD
=$enableval
13871 { $as_echo "$as_me:$LINENO: result: $CMIRRORD" >&5
13872 $as_echo "$CMIRRORD" >&6; }
13874 BUILD_CMIRRORD
=$CMIRRORD
13876 ################################################################################
13877 if test "x$BUILD_CMIRRORD" = xyes
; then
13879 # Check whether --with-cmirrord-pidfile was given.
13880 if test "${with_cmirrord_pidfile+set}" = set; then
13881 withval
=$with_cmirrord_pidfile; CMIRRORD_PIDFILE
=$withval
13883 CMIRRORD_PIDFILE
="/var/run/cmirrord.pid"
13887 cat >>confdefs.h
<<_ACEOF
13888 #define CMIRRORD_PIDFILE "$CMIRRORD_PIDFILE"
13893 ################################################################################
13894 if [ "x$BUILD_CMIRRORD" = xyes
]; then
13895 if test x
$PKGCONFIG_INIT != x1
; then
13900 { $as_echo "$as_me:$LINENO: checking for SACKPT" >&5
13901 $as_echo_n "checking for SACKPT... " >&6; }
13903 if test -n "$SACKPT_CFLAGS"; then
13904 pkg_cv_SACKPT_CFLAGS
="$SACKPT_CFLAGS"
13905 elif test -n "$PKG_CONFIG"; then
13906 if test -n "$PKG_CONFIG" && \
13907 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\"") >&5
13908 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
13910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; then
13912 pkg_cv_SACKPT_CFLAGS
=`$PKG_CONFIG --cflags "libSaCkpt" 2>/dev/null`
13919 if test -n "$SACKPT_LIBS"; then
13920 pkg_cv_SACKPT_LIBS
="$SACKPT_LIBS"
13921 elif test -n "$PKG_CONFIG"; then
13922 if test -n "$PKG_CONFIG" && \
13923 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libSaCkpt\"") >&5
13924 ($PKG_CONFIG --exists --print-errors "libSaCkpt") 2>&5
13926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; then
13928 pkg_cv_SACKPT_LIBS
=`$PKG_CONFIG --libs "libSaCkpt" 2>/dev/null`
13938 if test $pkg_failed = yes; then
13940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13941 _pkg_short_errors_supported
=yes
13943 _pkg_short_errors_supported
=no
13945 if test $_pkg_short_errors_supported = yes; then
13946 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt" 2>&1`
13948 SACKPT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libSaCkpt" 2>&1`
13950 # Put the nasty error message in config.log where it belongs
13951 echo "$SACKPT_PKG_ERRORS" >&5
13953 { { $as_echo "$as_me:$LINENO: error: Package requirements (libSaCkpt) were not met:
13957 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13958 installed software in a non-standard prefix.
13960 Alternatively, you may set the environment variables SACKPT_CFLAGS
13961 and SACKPT_LIBS to avoid the need to call pkg-config.
13962 See the pkg-config man page for more details.
13964 $as_echo "$as_me: error: Package requirements (libSaCkpt) were not met:
13968 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13969 installed software in a non-standard prefix.
13971 Alternatively, you may set the environment variables SACKPT_CFLAGS
13972 and SACKPT_LIBS to avoid the need to call pkg-config.
13973 See the pkg-config man page for more details.
13975 { (exit 1); exit 1; }; }
13976 elif test $pkg_failed = untried
; then
13977 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13979 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13980 is in your PATH or set the PKG_CONFIG environment variable to the full
13981 path to pkg-config.
13983 Alternatively, you may set the environment variables SACKPT_CFLAGS
13984 and SACKPT_LIBS to avoid the need to call pkg-config.
13985 See the pkg-config man page for more details.
13987 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13988 See \`config.log' for more details." >&5
13989 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13990 is in your PATH or set the PKG_CONFIG environment variable to the full
13991 path to pkg-config.
13993 Alternatively, you may set the environment variables SACKPT_CFLAGS
13994 and SACKPT_LIBS to avoid the need to call pkg-config.
13995 See the pkg-config man page for more details.
13997 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13998 See \`config.log' for more details." >&2;}
13999 { (exit 1); exit 1; }; }; }
14001 SACKPT_CFLAGS
=$pkg_cv_SACKPT_CFLAGS
14002 SACKPT_LIBS
=$pkg_cv_SACKPT_LIBS
14003 { $as_echo "$as_me:$LINENO: result: yes" >&5
14004 $as_echo "yes" >&6; }
14007 if test x
$HAVE_CPG != xyes
; then
14010 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
14011 $as_echo_n "checking for CPG... " >&6; }
14013 if test -n "$CPG_CFLAGS"; then
14014 pkg_cv_CPG_CFLAGS
="$CPG_CFLAGS"
14015 elif test -n "$PKG_CONFIG"; then
14016 if test -n "$PKG_CONFIG" && \
14017 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
14018 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
14020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; then
14022 pkg_cv_CPG_CFLAGS
=`$PKG_CONFIG --cflags "libcpg" 2>/dev/null`
14029 if test -n "$CPG_LIBS"; then
14030 pkg_cv_CPG_LIBS
="$CPG_LIBS"
14031 elif test -n "$PKG_CONFIG"; then
14032 if test -n "$PKG_CONFIG" && \
14033 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
14034 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
14036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; then
14038 pkg_cv_CPG_LIBS
=`$PKG_CONFIG --libs "libcpg" 2>/dev/null`
14048 if test $pkg_failed = yes; then
14050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14051 _pkg_short_errors_supported
=yes
14053 _pkg_short_errors_supported
=no
14055 if test $_pkg_short_errors_supported = yes; then
14056 CPG_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
14058 CPG_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
14060 # Put the nasty error message in config.log where it belongs
14061 echo "$CPG_PKG_ERRORS" >&5
14063 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
14067 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14068 installed software in a non-standard prefix.
14070 Alternatively, you may set the environment variables CPG_CFLAGS
14071 and CPG_LIBS to avoid the need to call pkg-config.
14072 See the pkg-config man page for more details.
14074 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
14078 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14079 installed software in a non-standard prefix.
14081 Alternatively, you may set the environment variables CPG_CFLAGS
14082 and CPG_LIBS to avoid the need to call pkg-config.
14083 See the pkg-config man page for more details.
14085 { (exit 1); exit 1; }; }
14086 elif test $pkg_failed = untried
; then
14087 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14089 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14090 is in your PATH or set the PKG_CONFIG environment variable to the full
14091 path to pkg-config.
14093 Alternatively, you may set the environment variables CPG_CFLAGS
14094 and CPG_LIBS to avoid the need to call pkg-config.
14095 See the pkg-config man page for more details.
14097 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14098 See \`config.log' for more details." >&5
14099 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14100 is in your PATH or set the PKG_CONFIG environment variable to the full
14101 path to pkg-config.
14103 Alternatively, you may set the environment variables CPG_CFLAGS
14104 and CPG_LIBS to avoid the need to call pkg-config.
14105 See the pkg-config man page for more details.
14107 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14108 See \`config.log' for more details." >&2;}
14109 { (exit 1); exit 1; }; }; }
14111 CPG_CFLAGS
=$pkg_cv_CPG_CFLAGS
14112 CPG_LIBS
=$pkg_cv_CPG_LIBS
14113 { $as_echo "$as_me:$LINENO: result: yes" >&5
14114 $as_echo "yes" >&6; }
14120 ################################################################################
14121 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
14122 $as_echo_n "checking whether to enable debugging... " >&6; }
14123 # Check whether --enable-debug was given.
14124 if test "${enable_debug+set}" = set; then
14125 enableval
=$enable_debug; DEBUG
=$enableval
14130 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
14131 $as_echo "$DEBUG" >&6; }
14133 if test x
$DEBUG = xyes
; then
14139 ################################################################################
14140 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
14141 $as_echo_n "checking for C optimisation flag... " >&6; }
14143 # Check whether --with-optimisation was given.
14144 if test "${with_optimisation+set}" = set; then
14145 withval
=$with_optimisation; COPTIMISE_FLAG
=$withval
14148 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
14149 $as_echo "$COPTIMISE_FLAG" >&6; }
14151 ################################################################################
14152 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
14153 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
14154 # Check whether --enable-profiling was given.
14155 if test "${enable_profiling+set}" = set; then
14156 enableval
=$enable_profiling; PROFILING
=$enableval
14161 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
14162 $as_echo "$PROFILING" >&6; }
14164 if test "x$PROFILING" = xyes
; then
14165 COPTIMISE_FLAG
="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
14166 # Extract the first word of "lcov", so it can be a program name with args.
14167 set dummy lcov
; ac_word
=$2
14168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14169 $as_echo_n "checking for $ac_word... " >&6; }
14170 if test "${ac_cv_path_LCOV+set}" = set; then
14171 $as_echo_n "(cached) " >&6
14175 ac_cv_path_LCOV
="$LCOV" # Let the user override the test with a path.
14178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14179 for as_dir
in $PATH
14182 test -z "$as_dir" && as_dir
=.
14183 for ac_exec_ext
in '' $ac_executable_extensions; do
14184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185 ac_cv_path_LCOV
="$as_dir/$ac_word$ac_exec_ext"
14186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14196 LCOV
=$ac_cv_path_LCOV
14197 if test -n "$LCOV"; then
14198 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
14199 $as_echo "$LCOV" >&6; }
14201 { $as_echo "$as_me:$LINENO: result: no" >&5
14202 $as_echo "no" >&6; }
14206 # Extract the first word of "genhtml", so it can be a program name with args.
14207 set dummy genhtml
; ac_word
=$2
14208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14209 $as_echo_n "checking for $ac_word... " >&6; }
14210 if test "${ac_cv_path_GENHTML+set}" = set; then
14211 $as_echo_n "(cached) " >&6
14215 ac_cv_path_GENHTML
="$GENHTML" # Let the user override the test with a path.
14218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14219 for as_dir
in $PATH
14222 test -z "$as_dir" && as_dir
=.
14223 for ac_exec_ext
in '' $ac_executable_extensions; do
14224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14225 ac_cv_path_GENHTML
="$as_dir/$ac_word$ac_exec_ext"
14226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 GENHTML
=$ac_cv_path_GENHTML
14237 if test -n "$GENHTML"; then
14238 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
14239 $as_echo "$GENHTML" >&6; }
14241 { $as_echo "$as_me:$LINENO: result: no" >&5
14242 $as_echo "no" >&6; }
14246 if test -z "$LCOV" -o -z "$GENHTML"; then
14247 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
14248 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
14249 { (exit 1); exit 1; }; }
14251 # Extract the first word of "genpng", so it can be a program name with args.
14252 set dummy genpng
; ac_word
=$2
14253 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14254 $as_echo_n "checking for $ac_word... " >&6; }
14255 if test "${ac_cv_path_GENPNG+set}" = set; then
14256 $as_echo_n "(cached) " >&6
14260 ac_cv_path_GENPNG
="$GENPNG" # Let the user override the test with a path.
14263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14264 for as_dir
in $PATH
14267 test -z "$as_dir" && as_dir
=.
14268 for ac_exec_ext
in '' $ac_executable_extensions; do
14269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14270 ac_cv_path_GENPNG
="$as_dir/$ac_word$ac_exec_ext"
14271 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14281 GENPNG
=$ac_cv_path_GENPNG
14282 if test -n "$GENPNG"; then
14283 { $as_echo "$as_me:$LINENO: result: $GENPNG" >&5
14284 $as_echo "$GENPNG" >&6; }
14286 { $as_echo "$as_me:$LINENO: result: no" >&5
14287 $as_echo "no" >&6; }
14291 if test -n "$GENPNG"; then
14292 { $as_echo "$as_me:$LINENO: checking whether $GENPNG has all required modules" >&5
14293 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
14294 if $GENPNG --help > /dev
/null
2>&1 ; then
14295 { $as_echo "$as_me:$LINENO: result: ok" >&5
14296 $as_echo "ok" >&6; }
14297 GENHTML
="$GENHTML --frames"
14299 { $as_echo "$as_me:$LINENO: result: not supported" >&5
14300 $as_echo "not supported" >&6; }
14301 { $as_echo "$as_me:$LINENO: WARNING: GD.pm perl module is not installed" >&5
14302 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
14308 ################################################################################
14309 { $as_echo "$as_me:$LINENO: checking whether to enable unit testing" >&5
14310 $as_echo_n "checking whether to enable unit testing... " >&6; }
14311 # Check whether --enable-testing was given.
14312 if test "${enable_testing+set}" = set; then
14313 enableval
=$enable_testing; TESTING
=$enableval
14318 { $as_echo "$as_me:$LINENO: result: $TESTING" >&5
14319 $as_echo "$TESTING" >&6; }
14321 if test "$TESTING" = yes; then
14322 # Extract the first word of "ruby1.9", so it can be a program name with args.
14323 set dummy ruby1.9
; ac_word
=$2
14324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14325 $as_echo_n "checking for $ac_word... " >&6; }
14326 if test "${ac_cv_path_RUBY19+set}" = set; then
14327 $as_echo_n "(cached) " >&6
14331 ac_cv_path_RUBY19
="$RUBY19" # Let the user override the test with a path.
14334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14335 for as_dir
in $PATH
14338 test -z "$as_dir" && as_dir
=.
14339 for ac_exec_ext
in '' $ac_executable_extensions; do
14340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14341 ac_cv_path_RUBY19
="$as_dir/$ac_word$ac_exec_ext"
14342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14352 RUBY19
=$ac_cv_path_RUBY19
14353 if test -n "$RUBY19"; then
14354 { $as_echo "$as_me:$LINENO: result: $RUBY19" >&5
14355 $as_echo "$RUBY19" >&6; }
14357 { $as_echo "$as_me:$LINENO: result: no" >&5
14358 $as_echo "no" >&6; }
14362 # Extract the first word of "valgrind", so it can be a program name with args.
14363 set dummy valgrind
; ac_word
=$2
14364 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14365 $as_echo_n "checking for $ac_word... " >&6; }
14366 if test "${ac_cv_path_VALGRIND+set}" = set; then
14367 $as_echo_n "(cached) " >&6
14371 ac_cv_path_VALGRIND
="$VALGRIND" # Let the user override the test with a path.
14374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14375 for as_dir
in $PATH
14378 test -z "$as_dir" && as_dir
=.
14379 for ac_exec_ext
in '' $ac_executable_extensions; do
14380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14381 ac_cv_path_VALGRIND
="$as_dir/$ac_word$ac_exec_ext"
14382 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14392 VALGRIND
=$ac_cv_path_VALGRIND
14393 if test -n "$VALGRIND"; then
14394 { $as_echo "$as_me:$LINENO: result: $VALGRIND" >&5
14395 $as_echo "$VALGRIND" >&6; }
14397 { $as_echo "$as_me:$LINENO: result: no" >&5
14398 $as_echo "no" >&6; }
14402 if test -z "$RUBY19" -o -z "$VALGRIND"; then
14403 { { $as_echo "$as_me:$LINENO: error: ruby1.9 and valgrind are required for testing" >&5
14404 $as_echo "$as_me: error: ruby1.9 and valgrind are required for testing" >&2;}
14405 { (exit 1); exit 1; }; }
14409 ################################################################################
14410 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
14411 $as_echo_n "checking whether to use device-mapper... " >&6; }
14412 # Check whether --enable-devmapper was given.
14413 if test "${enable_devmapper+set}" = set; then
14414 enableval
=$enable_devmapper; DEVMAPPER
=$enableval
14417 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
14418 $as_echo "$DEVMAPPER" >&6; }
14420 if test x
$DEVMAPPER = xyes
; then
14422 cat >>confdefs.h
<<\_ACEOF
14423 #define DEVMAPPER_SUPPORT 1
14428 ################################################################################
14429 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
14430 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
14431 # Check whether --enable-udev_sync was given.
14432 if test "${enable_udev_sync+set}" = set; then
14433 enableval
=$enable_udev_sync; UDEV_SYNC
=$enableval
14438 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
14439 $as_echo "$UDEV_SYNC" >&6; }
14441 if test x
$UDEV_SYNC = xyes
; then
14442 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
14443 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
14444 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
14445 $as_echo_n "(cached) " >&6
14447 ac_check_lib_save_LIBS
=$LIBS
14448 LIBS
="-ludev $LIBS"
14449 cat >conftest.
$ac_ext <<_ACEOF
14452 cat confdefs.h
>>conftest.
$ac_ext
14453 cat >>conftest.
$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14462 char udev_queue_get_udev_is_active ();
14466 return udev_queue_get_udev_is_active ();
14471 rm -f conftest.
$ac_objext conftest
$ac_exeext
14472 if { (ac_try
="$ac_link"
14473 case "(($ac_try" in
14474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14475 *) ac_try_echo=$ac_try;;
14477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14478 $as_echo "$ac_try_echo") >&5
14479 (eval "$ac_link") 2>conftest.er1
14481 grep -v '^ *+' conftest.er1 >conftest.err
14483 cat conftest.err >&5
14484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && {
14486 test -z "$ac_c_werror_flag" ||
14487 test ! -s conftest.err
14488 } && test -s conftest$ac_exeext && {
14489 test "$cross_compiling" = yes ||
14490 $as_test_x conftest$ac_exeext
14492 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
14494 $as_echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14497 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
14500 rm -rf conftest.dSYM
14501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14502 conftest$ac_exeext conftest.$ac_ext
14503 LIBS=$ac_check_lib_save_LIBS
14505 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
14506 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
14507 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
14508 UDEV_PC="libudev"; UDEV_LIBS="-ludev"
14510 { { $as_echo "$as_me:$LINENO: error: bailing out... libudev library is required" >&5
14511 $as_echo "$as_me: error: bailing out... libudev library is required" >&2;}
14512 { (exit 1); exit 1; }; }
14516 cat >>confdefs.h <<\_ACEOF
14517 #define UDEV_SYNC_SUPPORT 1
14522 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
14523 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
14524 # Check whether --enable-udev_rules was given.
14525 if test "${enable_udev_rules+set}" = set; then
14526 enableval=$enable_udev_rules; UDEV_RULES=$enableval
14528 UDEV_RULES=$UDEV_SYNC
14531 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
14532 $as_echo "$UDEV_RULES" >&6; }
14534 ################################################################################
14535 # Check whether --enable-compat was given.
14536 if test "${enable_compat+set}" = set; then
14537 enableval=$enable_compat; DM_COMPAT=$enableval
14543 ################################################################################
14544 # Check whether --enable-units-compat was given.
14545 if test "${enable_units_compat+set}" = set; then
14546 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
14552 if test x$UNITS_COMPAT = xyes; then
14554 cat >>confdefs.h <<\_ACEOF
14555 #define DEFAULT_SI_UNIT_CONSISTENCY 0
14560 ################################################################################
14561 # Check whether --enable-ioctl was given.
14562 if test "${enable_ioctl+set}" = set; then
14563 enableval=$enable_ioctl; DM_IOCTLS=$enableval
14567 ################################################################################
14568 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
14569 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
14570 # Check whether --enable-o_direct was given.
14571 if test "${enable_o_direct+set}" = set; then
14572 enableval=$enable_o_direct; ODIRECT=$enableval
14575 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
14576 $as_echo "$ODIRECT" >&6; }
14578 if test x$ODIRECT = xyes; then
14580 cat >>confdefs.h <<\_ACEOF
14581 #define O_DIRECT_SUPPORT 1
14586 ################################################################################
14587 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
14588 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
14589 # Check whether --enable-applib was given.
14590 if test "${enable_applib+set}" = set; then
14591 enableval=$enable_applib; APPLIB=$enableval
14596 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
14597 $as_echo "$APPLIB" >&6; }
14599 test x$APPLIB = xyes \
14600 && LVM2APP_LIB=-llvm2app \
14603 ################################################################################
14604 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
14605 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
14606 # Check whether --enable-cmdlib was given.
14607 if test "${enable_cmdlib+set}" = set; then
14608 enableval=$enable_cmdlib; CMDLIB=$enableval
14613 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
14614 $as_echo "$CMDLIB" >&6; }
14616 test x$CMDLIB = xyes \
14617 && LVM2CMD_LIB=-llvm2cmd \
14620 ################################################################################
14621 # Check whether --enable-pkgconfig was given.
14622 if test "${enable_pkgconfig+set}" = set; then
14623 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
14629 ################################################################################
14630 # Check whether --enable-write_install was given.
14631 if test "${enable_write_install+set}" = set; then
14632 enableval=$enable_write_install; WRITE_INSTALL=$enableval
14638 ################################################################################
14639 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
14640 $as_echo_n "checking whether to install fsadm... " >&6; }
14641 # Check whether --enable-fsadm was given.
14642 if test "${enable_fsadm+set}" = set; then
14643 enableval=$enable_fsadm; FSADM=$enableval
14646 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
14647 $as_echo "$FSADM" >&6; }
14649 ################################################################################
14650 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
14651 $as_echo_n "checking whether to use dmeventd... " >&6; }
14652 # Check whether --enable-dmeventd was given.
14653 if test "${enable_dmeventd+set}" = set; then
14654 enableval=$enable_dmeventd; DMEVENTD=$enableval
14657 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
14658 $as_echo "$DMEVENTD" >&6; }
14660 BUILD_DMEVENTD=$DMEVENTD
14662 if test x$DMEVENTD = xyes; then
14663 if test x$MIRRORS != xinternal; then
14664 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
14666 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
14668 { (exit 1); exit 1; }; }
14670 if test x$CMDLIB = xno; then
14671 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
14673 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
14675 { (exit 1); exit 1; }; }
14679 if test x$DMEVENTD = xyes; then
14681 cat >>confdefs.h <<\_ACEOF
14687 ################################################################################
14689 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
14690 $as_echo_n "checking for getline in -lc... " >&6; }
14691 if test "${ac_cv_lib_c_getline+set}" = set; then
14692 $as_echo_n "(cached) " >&6
14694 ac_check_lib_save_LIBS=$LIBS
14696 cat >conftest.$ac_ext <<_ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14718 rm -f conftest.$ac_objext conftest$ac_exeext
14719 if { (ac_try="$ac_link"
14720 case "(($ac_try" in
14721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14722 *) ac_try_echo
=$ac_try;;
14724 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14725 $as_echo "$ac_try_echo") >&5
14726 (eval "$ac_link") 2>conftest.er1
14728 grep -v '^ *+' conftest.er1
>conftest.err
14730 cat conftest.err
>&5
14731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } && {
14733 test -z "$ac_c_werror_flag" ||
14734 test ! -s conftest.err
14735 } && test -s conftest
$ac_exeext && {
14736 test "$cross_compiling" = yes ||
14737 $as_test_x conftest
$ac_exeext
14739 ac_cv_lib_c_getline
=yes
14741 $as_echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.
$ac_ext >&5
14744 ac_cv_lib_c_getline
=no
14747 rm -rf conftest.dSYM
14748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14749 conftest
$ac_exeext conftest.
$ac_ext
14750 LIBS
=$ac_check_lib_save_LIBS
14752 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
14753 $as_echo "$ac_cv_lib_c_getline" >&6; }
14754 if test "x$ac_cv_lib_c_getline" = x
""yes; then
14756 cat >>confdefs.h
<<\_ACEOF
14757 #define HAVE_GETLINE 1
14763 ################################################################################
14765 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
14766 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
14767 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
14768 $as_echo_n "(cached) " >&6
14770 ac_check_lib_save_LIBS
=$LIBS
14772 cat >conftest.
$ac_ext <<_ACEOF
14775 cat confdefs.h
>>conftest.
$ac_ext
14776 cat >>conftest.
$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14779 /* Override any GCC internal prototype to avoid an error.
14780 Use char because int might match the return type of a GCC
14781 builtin and then its argument prototype would still apply. */
14785 char canonicalize_file_name ();
14789 return canonicalize_file_name ();
14794 rm -f conftest.
$ac_objext conftest
$ac_exeext
14795 if { (ac_try
="$ac_link"
14796 case "(($ac_try" in
14797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14801 $as_echo "$ac_try_echo") >&5
14802 (eval "$ac_link") 2>conftest.er1
14804 grep -v '^ *+' conftest.er1 >conftest.err
14806 cat conftest.err >&5
14807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } && {
14809 test -z "$ac_c_werror_flag" ||
14810 test ! -s conftest.err
14811 } && test -s conftest$ac_exeext && {
14812 test "$cross_compiling" = yes ||
14813 $as_test_x conftest$ac_exeext
14815 ac_cv_lib_c_canonicalize_file_name=yes
14817 $as_echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14820 ac_cv_lib_c_canonicalize_file_name=no
14823 rm -rf conftest.dSYM
14824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14825 conftest$ac_exeext conftest.$ac_ext
14826 LIBS=$ac_check_lib_save_LIBS
14828 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
14829 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
14830 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
14832 cat >>confdefs.h <<\_ACEOF
14833 #define HAVE_CANONICALIZE_FILE_NAME 1
14839 ################################################################################
14840 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
14841 then exec_prefix="";
14844 ################################################################################
14845 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14846 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14847 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14848 $as_echo_n "(cached) " >&6
14850 ac_check_lib_save_LIBS=$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. */
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_dl_dlopen
=yes
14897 $as_echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.
$ac_ext >&5
14900 ac_cv_lib_dl_dlopen
=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_dl_dlopen" >&5
14909 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14910 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
14913 cat >>confdefs.h
<<\_ACEOF
14914 #define HAVE_LIBDL 1
14926 ################################################################################
14927 if [ \
( "x$LVM1" = xshared
-o "x$POOL" = xshared
-o "x$CLUSTER" = xshared \
14928 -o "x$SNAPSHOTS" = xshared
-o "x$MIRRORS" = xshared \
14929 \
) -a "x$STATIC_LINK" = xyes
];
14930 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
14932 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
14934 { (exit 1); exit 1; }; }
14937 ################################################################################
14938 if [ "$DMEVENTD" = yes -o "$CLVMD" != none
] ; then
14939 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
14940 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
14941 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
14942 $as_echo_n "(cached) " >&6
14944 ac_check_lib_save_LIBS
=$LIBS
14945 LIBS
="-lpthread $LIBS"
14946 cat >conftest.
$ac_ext <<_ACEOF
14949 cat confdefs.h
>>conftest.
$ac_ext
14950 cat >>conftest.
$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14959 char pthread_mutex_lock ();
14963 return pthread_mutex_lock ();
14968 rm -f conftest.
$ac_objext conftest
$ac_exeext
14969 if { (ac_try
="$ac_link"
14970 case "(($ac_try" in
14971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14972 *) ac_try_echo=$ac_try;;
14974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14975 $as_echo "$ac_try_echo") >&5
14976 (eval "$ac_link") 2>conftest.er1
14978 grep -v '^ *+' conftest.er1 >conftest.err
14980 cat conftest.err >&5
14981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest$ac_exeext && {
14986 test "$cross_compiling" = yes ||
14987 $as_test_x conftest$ac_exeext
14989 ac_cv_lib_pthread_pthread_mutex_lock=yes
14991 $as_echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 ac_cv_lib_pthread_pthread_mutex_lock=no
14997 rm -rf conftest.dSYM
14998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15002 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
15003 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
15004 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
15005 PTHREAD_LIBS="-lpthread"
15012 ################################################################################
15013 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
15014 $as_echo_n "checking whether to enable selinux support... " >&6; }
15015 # Check whether --enable-selinux was given.
15016 if test "${enable_selinux+set}" = set; then
15017 enableval=$enable_selinux; SELINUX=$enableval
15020 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
15021 $as_echo "$SELINUX" >&6; }
15023 ################################################################################
15024 if test x$SELINUX = xyes; then
15025 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
15026 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
15027 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
15028 $as_echo_n "(cached) " >&6
15030 ac_check_lib_save_LIBS=$LIBS
15031 LIBS="-lsepol $LIBS"
15032 cat >conftest.$ac_ext <<_ACEOF
15035 cat confdefs.h >>conftest.$ac_ext
15036 cat >>conftest.$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15039 /* Override any GCC internal prototype to avoid an error.
15040 Use char because int might match the return type of a GCC
15041 builtin and then its argument prototype would still apply. */
15045 char sepol_check_context ();
15049 return sepol_check_context ();
15054 rm -f conftest.$ac_objext conftest$ac_exeext
15055 if { (ac_try="$ac_link"
15056 case "(($ac_try" in
15057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15058 *) ac_try_echo
=$ac_try;;
15060 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15061 $as_echo "$ac_try_echo") >&5
15062 (eval "$ac_link") 2>conftest.er1
15064 grep -v '^ *+' conftest.er1
>conftest.err
15066 cat conftest.err
>&5
15067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } && {
15069 test -z "$ac_c_werror_flag" ||
15070 test ! -s conftest.err
15071 } && test -s conftest
$ac_exeext && {
15072 test "$cross_compiling" = yes ||
15073 $as_test_x conftest
$ac_exeext
15075 ac_cv_lib_sepol_sepol_check_context
=yes
15077 $as_echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.
$ac_ext >&5
15080 ac_cv_lib_sepol_sepol_check_context
=no
15083 rm -rf conftest.dSYM
15084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15085 conftest
$ac_exeext conftest.
$ac_ext
15086 LIBS
=$ac_check_lib_save_LIBS
15088 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
15089 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
15090 if test "x$ac_cv_lib_sepol_sepol_check_context" = x
""yes; then
15093 cat >>confdefs.h
<<\_ACEOF
15094 #define HAVE_SEPOL 1
15097 SELINUX_LIBS
="-lsepol"
15101 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
15102 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
15103 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
15104 $as_echo_n "(cached) " >&6
15106 ac_check_lib_save_LIBS
=$LIBS
15107 LIBS
="-lselinux $LIBS"
15108 cat >conftest.
$ac_ext <<_ACEOF
15111 cat confdefs.h
>>conftest.
$ac_ext
15112 cat >>conftest.
$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15115 /* Override any GCC internal prototype to avoid an error.
15116 Use char because int might match the return type of a GCC
15117 builtin and then its argument prototype would still apply. */
15121 char is_selinux_enabled ();
15125 return is_selinux_enabled ();
15130 rm -f conftest.
$ac_objext conftest
$ac_exeext
15131 if { (ac_try
="$ac_link"
15132 case "(($ac_try" in
15133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15134 *) ac_try_echo=$ac_try;;
15136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15137 $as_echo "$ac_try_echo") >&5
15138 (eval "$ac_link") 2>conftest.er1
15140 grep -v '^ *+' conftest.er1 >conftest.err
15142 cat conftest.err >&5
15143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } && {
15145 test -z "$ac_c_werror_flag" ||
15146 test ! -s conftest.err
15147 } && test -s conftest$ac_exeext && {
15148 test "$cross_compiling" = yes ||
15149 $as_test_x conftest$ac_exeext
15151 ac_cv_lib_selinux_is_selinux_enabled=yes
15153 $as_echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15156 ac_cv_lib_selinux_is_selinux_enabled=no
15159 rm -rf conftest.dSYM
15160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_lib_save_LIBS
15164 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
15165 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
15166 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
15169 for ac_header in selinux/selinux.h
15171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15174 $as_echo_n "checking for $ac_header... " >&6; }
15175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15176 $as_echo_n "(cached) " >&6
15178 ac_res=`eval 'as_val=${'$as_ac_Header'}
15179 $as_echo "$as_val"'`
15180 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15181 $as_echo "$ac_res" >&6; }
15183 # Is the header compilable?
15184 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15185 $as_echo_n "checking $ac_header usability... " >&6; }
15186 cat >conftest.$ac_ext <<_ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15192 $ac_includes_default
15193 #include <$ac_header>
15195 rm -f conftest.$ac_objext
15196 if { (ac_try="$ac_compile"
15197 case "(($ac_try" in
15198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15199 *) ac_try_echo
=$ac_try;;
15201 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15202 $as_echo "$ac_try_echo") >&5
15203 (eval "$ac_compile") 2>conftest.er1
15205 grep -v '^ *+' conftest.er1
>conftest.err
15207 cat conftest.err
>&5
15208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); } && {
15210 test -z "$ac_c_werror_flag" ||
15211 test ! -s conftest.err
15212 } && test -s conftest.
$ac_objext; then
15213 ac_header_compiler
=yes
15215 $as_echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.
$ac_ext >&5
15218 ac_header_compiler
=no
15221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15222 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15223 $as_echo "$ac_header_compiler" >&6; }
15225 # Is the header present?
15226 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15227 $as_echo_n "checking $ac_header presence... " >&6; }
15228 cat >conftest.
$ac_ext <<_ACEOF
15231 cat confdefs.h
>>conftest.
$ac_ext
15232 cat >>conftest.
$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 #include <$ac_header>
15236 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15237 case "(($ac_try" in
15238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15239 *) ac_try_echo=$ac_try;;
15241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15242 $as_echo "$ac_try_echo") >&5
15243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15245 grep -v '^ *+' conftest.er1 >conftest.err
15247 cat conftest.err >&5
15248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } >/dev/null && {
15250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15251 test ! -s conftest.err
15253 ac_header_preproc=yes
15255 $as_echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15258 ac_header_preproc=no
15261 rm -f conftest.err conftest.$ac_ext
15262 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15263 $as_echo "$ac_header_preproc" >&6; }
15265 # So? What about this header?
15266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15269 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15271 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15272 ac_header_preproc=yes
15275 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15276 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15278 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15280 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15282 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15284 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15286 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15290 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15291 $as_echo_n "checking for $ac_header... " >&6; }
15292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15293 $as_echo_n "(cached) " >&6
15295 eval "$as_ac_Header=\$ac_header_preproc"
15297 ac_res=`eval 'as_val=${'$as_ac_Header'}
15298 $as_echo "$as_val"'`
15299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15300 $as_echo "$ac_res" >&6; }
15303 as_val=`eval 'as_val=${'$as_ac_Header'}
15304 $as_echo "$as_val"'`
15305 if test "x$as_val" = x""yes; then
15306 cat >>confdefs.h <<_ACEOF
15307 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15317 cat >>confdefs.h <<\_ACEOF
15318 #define HAVE_SELINUX 1
15321 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
15322 SELINUX_PC="libselinux"
15326 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
15327 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
15335 ################################################################################
15336 if test x$REALTIME = xyes; then
15337 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
15338 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15339 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
15340 $as_echo_n "(cached) " >&6
15342 ac_check_lib_save_LIBS=$LIBS
15344 cat >conftest.$ac_ext <<_ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15351 /* Override any GCC internal prototype to avoid an error.
15352 Use char because int might match the return type of a GCC
15353 builtin and then its argument prototype would still apply. */
15357 char clock_gettime ();
15361 return clock_gettime ();
15366 rm -f conftest.$ac_objext conftest$ac_exeext
15367 if { (ac_try="$ac_link"
15368 case "(($ac_try" in
15369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15370 *) ac_try_echo
=$ac_try;;
15372 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15373 $as_echo "$ac_try_echo") >&5
15374 (eval "$ac_link") 2>conftest.er1
15376 grep -v '^ *+' conftest.er1
>conftest.err
15378 cat conftest.err
>&5
15379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } && {
15381 test -z "$ac_c_werror_flag" ||
15382 test ! -s conftest.err
15383 } && test -s conftest
$ac_exeext && {
15384 test "$cross_compiling" = yes ||
15385 $as_test_x conftest
$ac_exeext
15387 ac_cv_lib_rt_clock_gettime
=yes
15389 $as_echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 ac_cv_lib_rt_clock_gettime
=no
15395 rm -rf conftest.dSYM
15396 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15397 conftest
$ac_exeext conftest.
$ac_ext
15398 LIBS
=$ac_check_lib_save_LIBS
15400 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
15401 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15402 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then
15409 if test x
$HAVE_REALTIME = xyes
; then
15411 cat >>confdefs.h
<<\_ACEOF
15412 #define HAVE_REALTIME 1
15417 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
15418 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
15422 ################################################################################
15424 for ac_header
in getopt.h
15426 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15427 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15428 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15429 $as_echo_n "checking for $ac_header... " >&6; }
15430 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15431 $as_echo_n "(cached) " >&6
15433 ac_res
=`eval 'as_val=${'$as_ac_Header'}
15434 $as_echo "$as_val"'`
15435 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15436 $as_echo "$ac_res" >&6; }
15438 # Is the header compilable?
15439 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15440 $as_echo_n "checking $ac_header usability... " >&6; }
15441 cat >conftest.
$ac_ext <<_ACEOF
15444 cat confdefs.h
>>conftest.
$ac_ext
15445 cat >>conftest.
$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15447 $ac_includes_default
15448 #include <$ac_header>
15450 rm -f conftest.
$ac_objext
15451 if { (ac_try
="$ac_compile"
15452 case "(($ac_try" in
15453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15457 $as_echo "$ac_try_echo") >&5
15458 (eval "$ac_compile") 2>conftest.er1
15460 grep -v '^ *+' conftest.er1 >conftest.err
15462 cat conftest.err >&5
15463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } && {
15465 test -z "$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15467 } && test -s conftest.$ac_objext; then
15468 ac_header_compiler=yes
15470 $as_echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 ac_header_compiler=no
15476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15477 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15478 $as_echo "$ac_header_compiler" >&6; }
15480 # Is the header present?
15481 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15482 $as_echo_n "checking $ac_header presence... " >&6; }
15483 cat >conftest.$ac_ext <<_ACEOF
15486 cat confdefs.h >>conftest.$ac_ext
15487 cat >>conftest.$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15489 #include <$ac_header>
15491 if { (ac_try="$ac_cpp conftest.$ac_ext"
15492 case "(($ac_try" in
15493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15494 *) ac_try_echo
=$ac_try;;
15496 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15497 $as_echo "$ac_try_echo") >&5
15498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15500 grep -v '^ *+' conftest.er1
>conftest.err
15502 cat conftest.err
>&5
15503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } >/dev
/null
&& {
15505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15506 test ! -s conftest.err
15508 ac_header_preproc
=yes
15510 $as_echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.
$ac_ext >&5
15513 ac_header_preproc
=no
15516 rm -f conftest.err conftest.
$ac_ext
15517 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15518 $as_echo "$ac_header_preproc" >&6; }
15520 # So? What about this header?
15521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15523 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15524 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15525 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15526 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15527 ac_header_preproc
=yes
15530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15531 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15533 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15535 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15536 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15537 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15539 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15541 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15545 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15546 $as_echo_n "checking for $ac_header... " >&6; }
15547 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15548 $as_echo_n "(cached) " >&6
15550 eval "$as_ac_Header=\$ac_header_preproc"
15552 ac_res
=`eval 'as_val=${'$as_ac_Header'}
15553 $as_echo "$as_val"'`
15554 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15555 $as_echo "$ac_res" >&6; }
15558 as_val
=`eval 'as_val=${'$as_ac_Header'}
15559 $as_echo "$as_val"'`
15560 if test "x$as_val" = x
""yes; then
15561 cat >>confdefs.h
<<_ACEOF
15562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15565 cat >>confdefs.h
<<\_ACEOF
15566 #define HAVE_GETOPTLONG 1
15574 ################################################################################
15575 if test x
$READLINE != xno
; then
15576 lvm_saved_libs
=$LIBS
15577 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
15578 $as_echo_n "checking for library containing tgetent... " >&6; }
15579 if test "${ac_cv_search_tgetent+set}" = set; then
15580 $as_echo_n "(cached) " >&6
15582 ac_func_search_save_LIBS
=$LIBS
15583 cat >conftest.
$ac_ext <<_ACEOF
15586 cat confdefs.h
>>conftest.
$ac_ext
15587 cat >>conftest.
$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15605 for ac_lib
in '' tinfo ncurses curses termcap termlib
; do
15606 if test -z "$ac_lib"; then
15607 ac_res
="none required"
15610 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15612 rm -f conftest.
$ac_objext conftest
$ac_exeext
15613 if { (ac_try
="$ac_link"
15614 case "(($ac_try" in
15615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15616 *) ac_try_echo=$ac_try;;
15618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15619 $as_echo "$ac_try_echo") >&5
15620 (eval "$ac_link") 2>conftest.er1
15622 grep -v '^ *+' conftest.er1 >conftest.err
15624 cat conftest.err >&5
15625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); } && {
15627 test -z "$ac_c_werror_flag" ||
15628 test ! -s conftest.err
15629 } && test -s conftest$ac_exeext && {
15630 test "$cross_compiling" = yes ||
15631 $as_test_x conftest$ac_exeext
15633 ac_cv_search_tgetent=$ac_res
15635 $as_echo "$as_me: failed program was:" >&5
15636 sed 's/^/| /' conftest.$ac_ext >&5
15641 rm -rf conftest.dSYM
15642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15644 if test "${ac_cv_search_tgetent+set}" = set; then
15648 if test "${ac_cv_search_tgetent+set}" = set; then
15651 ac_cv_search_tgetent=no
15653 rm conftest.$ac_ext
15654 LIBS=$ac_func_search_save_LIBS
15656 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
15657 $as_echo "$ac_cv_search_tgetent" >&6; }
15658 ac_res=$ac_cv_search_tgetent
15659 if test "$ac_res" != no; then
15660 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15661 READLINE_LIBS=$ac_cv_search_tgetent
15664 if test "$READLINE" = yes; then
15665 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
15666 --enable-readline option (which is enabled by default). Either disable readline
15667 support with --disable-readline or download and install termcap from:
15668 ftp.gnu.org/gnu/termcap
15669 Note: if you are using precompiled packages you will also need the development
15670 package as well (which may be called termcap-devel or something similar).
15671 Note: (n)curses also seems to work as a substitute for termcap. This was
15672 not found either - but you could try installing that as well." >&5
15673 $as_echo "$as_me: error: termcap could not be found which is required for the
15674 --enable-readline option (which is enabled by default). Either disable readline
15675 support with --disable-readline or download and install termcap from:
15676 ftp.gnu.org/gnu/termcap
15677 Note: if you are using precompiled packages you will also need the development
15678 package as well (which may be called termcap-devel or something similar).
15679 Note: (n)curses also seems to work as a substitute for termcap. This was
15680 not found either - but you could try installing that as well." >&2;}
15681 { (exit 1); exit 1; }; }
15685 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
15686 $as_echo_n "checking for readline in -lreadline... " >&6; }
15687 if test "${ac_cv_lib_readline_readline+set}" = set; then
15688 $as_echo_n "(cached) " >&6
15690 ac_check_lib_save_LIBS=$LIBS
15691 LIBS="-lreadline $LIBS"
15692 cat >conftest.$ac_ext <<_ACEOF
15695 cat confdefs.h >>conftest.$ac_ext
15696 cat >>conftest.$ac_ext <<_ACEOF
15697 /* end confdefs.h. */
15699 /* Override any GCC internal prototype to avoid an error.
15700 Use char because int might match the return type of a GCC
15701 builtin and then its argument prototype would still apply. */
15709 return readline ();
15714 rm -f conftest.$ac_objext conftest$ac_exeext
15715 if { (ac_try="$ac_link"
15716 case "(($ac_try" in
15717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15718 *) ac_try_echo
=$ac_try;;
15720 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15721 $as_echo "$ac_try_echo") >&5
15722 (eval "$ac_link") 2>conftest.er1
15724 grep -v '^ *+' conftest.er1
>conftest.err
15726 cat conftest.err
>&5
15727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest
$ac_exeext && {
15732 test "$cross_compiling" = yes ||
15733 $as_test_x conftest
$ac_exeext
15735 ac_cv_lib_readline_readline
=yes
15737 $as_echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.
$ac_ext >&5
15740 ac_cv_lib_readline_readline
=no
15743 rm -rf conftest.dSYM
15744 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15745 conftest
$ac_exeext conftest.
$ac_ext
15746 LIBS
=$ac_check_lib_save_LIBS
15748 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
15749 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15750 if test "x$ac_cv_lib_readline_readline" = x
""yes; then
15753 cat >>confdefs.h
<<\_ACEOF
15754 #define READLINE_SUPPORT 1
15757 LIBS
=$lvm_saved_libs
15758 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
15759 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
15760 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
15761 $as_echo_n "(cached) " >&6
15763 ac_check_lib_save_LIBS
=$LIBS
15764 LIBS
="-lreadline $LIBS"
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15772 /* Override any GCC internal prototype to avoid an error.
15773 Use char because int might match the return type of a GCC
15774 builtin and then its argument prototype would still apply. */
15778 char rl_line_buffer ();
15782 return rl_line_buffer ();
15787 rm -f conftest.
$ac_objext conftest
$ac_exeext
15788 if { (ac_try
="$ac_link"
15789 case "(($ac_try" in
15790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15791 *) ac_try_echo=$ac_try;;
15793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15794 $as_echo "$ac_try_echo") >&5
15795 (eval "$ac_link") 2>conftest.er1
15797 grep -v '^ *+' conftest.er1 >conftest.err
15799 cat conftest.err >&5
15800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); } && {
15802 test -z "$ac_c_werror_flag" ||
15803 test ! -s conftest.err
15804 } && test -s conftest$ac_exeext && {
15805 test "$cross_compiling" = yes ||
15806 $as_test_x conftest$ac_exeext
15808 ac_cv_lib_readline_rl_line_buffer=yes
15810 $as_echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.$ac_ext >&5
15813 ac_cv_lib_readline_rl_line_buffer=no
15816 rm -rf conftest.dSYM
15817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_lib_save_LIBS
15821 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
15822 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
15823 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
15824 READLINE_LIBS="-lreadline"
15827 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
15828 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
15829 READLINE_LIBS="-lreadline $READLINE_LIBS"
15836 if test "$READLINE" = yes; then
15837 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
15838 --enable-readline option (which is enabled by default). Either disable readline
15839 support with --disable-readline or download and install readline from:
15840 ftp.gnu.org/gnu/readline
15841 Note: if you are using precompiled packages you will also need the development
15842 package as well (which may be called readline-devel or something similar)." >&5
15843 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
15844 --enable-readline option (which is enabled by default). Either disable readline
15845 support with --disable-readline or download and install readline from:
15846 ftp.gnu.org/gnu/readline
15847 Note: if you are using precompiled packages you will also need the development
15848 package as well (which may be called readline-devel or something similar)." >&2;}
15849 { (exit 1); exit 1; }; }
15853 LIBS="$READLINE_LIBS $lvm_saved_libs"
15855 for ac_func in rl_completion_matches
15857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15858 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15859 $as_echo_n "checking for $ac_func... " >&6; }
15860 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15861 $as_echo_n "(cached) " >&6
15863 cat >conftest.$ac_ext <<_ACEOF
15866 cat confdefs.h >>conftest.$ac_ext
15867 cat >>conftest.$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15871 #define $ac_func innocuous_$ac_func
15873 /* System header to define __stub macros and hopefully few prototypes,
15874 which can conflict with char $ac_func (); below.
15875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15876 <limits.h> exists even on freestanding compilers. */
15879 # include <limits.h>
15881 # include <assert.h>
15886 /* Override any GCC internal prototype to avoid an error.
15887 Use char because int might match the return type of a GCC
15888 builtin and then its argument prototype would still apply. */
15893 /* The GNU C library defines this for functions which it implements
15894 to always fail with ENOSYS. Some functions are actually named
15895 something starting with __ and the normal name is an alias. */
15896 #if defined __stub_$ac_func || defined __stub___$ac_func
15903 return $ac_func ();
15908 rm -f conftest.$ac_objext conftest$ac_exeext
15909 if { (ac_try="$ac_link"
15910 case "(($ac_try" in
15911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15912 *) ac_try_echo
=$ac_try;;
15914 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15915 $as_echo "$ac_try_echo") >&5
15916 (eval "$ac_link") 2>conftest.er1
15918 grep -v '^ *+' conftest.er1
>conftest.err
15920 cat conftest.err
>&5
15921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest
$ac_exeext && {
15926 test "$cross_compiling" = yes ||
15927 $as_test_x conftest
$ac_exeext
15929 eval "$as_ac_var=yes"
15931 $as_echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.
$ac_ext >&5
15934 eval "$as_ac_var=no"
15937 rm -rf conftest.dSYM
15938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15939 conftest
$ac_exeext conftest.
$ac_ext
15941 ac_res
=`eval 'as_val=${'$as_ac_var'}
15942 $as_echo "$as_val"'`
15943 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15944 $as_echo "$ac_res" >&6; }
15945 as_val
=`eval 'as_val=${'$as_ac_var'}
15946 $as_echo "$as_val"'`
15947 if test "x$as_val" = x
""yes; then
15948 cat >>confdefs.h
<<_ACEOF
15949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15955 LIBS
=$lvm_saved_libs
15958 ################################################################################
15959 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
15960 $as_echo_n "checking whether to enable internationalisation... " >&6; }
15961 # Check whether --enable-nls was given.
15962 if test "${enable_nls+set}" = set; then
15963 enableval
=$enable_nls; INTL
=$enableval
15968 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
15969 $as_echo "$INTL" >&6; }
15971 if test x
$INTL = xyes
; then
15972 # FIXME - Move this - can be device-mapper too
15973 INTL_PACKAGE
="lvm2"
15974 # Extract the first word of "msgfmt", so it can be a program name with args.
15975 set dummy msgfmt
; ac_word
=$2
15976 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15977 $as_echo_n "checking for $ac_word... " >&6; }
15978 if test "${ac_cv_path_MSGFMT+set}" = set; then
15979 $as_echo_n "(cached) " >&6
15983 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15987 for as_dir
in $PATH
15990 test -z "$as_dir" && as_dir
=.
15991 for ac_exec_ext
in '' $ac_executable_extensions; do
15992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15993 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15994 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16004 MSGFMT
=$ac_cv_path_MSGFMT
16005 if test -n "$MSGFMT"; then
16006 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16007 $as_echo "$MSGFMT" >&6; }
16009 { $as_echo "$as_me:$LINENO: result: no" >&5
16010 $as_echo "no" >&6; }
16014 if [ "x$MSGFMT" == x
];
16015 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
16017 $as_echo "$as_me: error: msgfmt not found in path $PATH
16019 { (exit 1); exit 1; }; }
16023 # Check whether --with-localedir was given.
16024 if test "${with_localedir+set}" = set; then
16025 withval
=$with_localedir; LOCALEDIR
=$withval
16027 LOCALEDIR
='${prefix}/share/locale'
16032 ################################################################################
16034 # Check whether --with-confdir was given.
16035 if test "${with_confdir+set}" = set; then
16036 withval
=$with_confdir; CONFDIR
=$withval
16043 # Check whether --with-staticdir was given.
16044 if test "${with_staticdir+set}" = set; then
16045 withval
=$with_staticdir; STATICDIR
=$withval
16047 STATICDIR
='${exec_prefix}/sbin'
16052 # Check whether --with-usrlibdir was given.
16053 if test "${with_usrlibdir+set}" = set; then
16054 withval
=$with_usrlibdir; usrlibdir
=$withval
16056 usrlibdir
='${prefix}/lib'
16061 # Check whether --with-usrsbindir was given.
16062 if test "${with_usrsbindir+set}" = set; then
16063 withval
=$with_usrsbindir; usrsbindir
=$withval
16065 usrsbindir
='${prefix}/sbin'
16069 ################################################################################
16071 # Check whether --with-udev_prefix was given.
16072 if test "${with_udev_prefix+set}" = set; then
16073 withval
=$with_udev_prefix; udev_prefix
=$withval
16075 udev_prefix
='${exec_prefix}'
16080 # Check whether --with-udevdir was given.
16081 if test "${with_udevdir+set}" = set; then
16082 withval
=$with_udevdir; udevdir
=$withval
16084 udevdir
='${udev_prefix}/lib/udev/rules.d'
16088 ################################################################################
16089 if test x
$READLINE = xyes
; then
16092 for ac_header
in readline
/readline.h readline
/history.h
16094 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16095 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16096 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16097 $as_echo_n "checking for $ac_header... " >&6; }
16098 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16099 $as_echo_n "(cached) " >&6
16101 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16102 $as_echo "$as_val"'`
16103 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16104 $as_echo "$ac_res" >&6; }
16106 # Is the header compilable?
16107 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16108 $as_echo_n "checking $ac_header usability... " >&6; }
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16116 #include <$ac_header>
16118 rm -f conftest.
$ac_objext
16119 if { (ac_try
="$ac_compile"
16120 case "(($ac_try" in
16121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16125 $as_echo "$ac_try_echo") >&5
16126 (eval "$ac_compile") 2>conftest.er1
16128 grep -v '^ *+' conftest.er1 >conftest.err
16130 cat conftest.err >&5
16131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } && {
16133 test -z "$ac_c_werror_flag" ||
16134 test ! -s conftest.err
16135 } && test -s conftest.$ac_objext; then
16136 ac_header_compiler=yes
16138 $as_echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.$ac_ext >&5
16141 ac_header_compiler=no
16144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16145 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16146 $as_echo "$ac_header_compiler" >&6; }
16148 # Is the header present?
16149 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16150 $as_echo_n "checking $ac_header presence... " >&6; }
16151 cat >conftest.$ac_ext <<_ACEOF
16154 cat confdefs.h >>conftest.$ac_ext
16155 cat >>conftest.$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 #include <$ac_header>
16159 if { (ac_try="$ac_cpp conftest.$ac_ext"
16160 case "(($ac_try" in
16161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16162 *) ac_try_echo
=$ac_try;;
16164 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16165 $as_echo "$ac_try_echo") >&5
16166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16168 grep -v '^ *+' conftest.er1
>conftest.err
16170 cat conftest.err
>&5
16171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } >/dev
/null
&& {
16173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16174 test ! -s conftest.err
16176 ac_header_preproc
=yes
16178 $as_echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.
$ac_ext >&5
16181 ac_header_preproc
=no
16184 rm -f conftest.err conftest.
$ac_ext
16185 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16186 $as_echo "$ac_header_preproc" >&6; }
16188 # So? What about this header?
16189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16192 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16194 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16195 ac_header_preproc
=yes
16198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16199 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16201 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16203 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16205 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16207 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16209 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16213 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16214 $as_echo_n "checking for $ac_header... " >&6; }
16215 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16216 $as_echo_n "(cached) " >&6
16218 eval "$as_ac_Header=\$ac_header_preproc"
16220 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16221 $as_echo "$as_val"'`
16222 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16223 $as_echo "$ac_res" >&6; }
16226 as_val
=`eval 'as_val=${'$as_ac_Header'}
16227 $as_echo "$as_val"'`
16228 if test "x$as_val" = x
""yes; then
16229 cat >>confdefs.h
<<_ACEOF
16230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16234 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16235 $as_echo "$as_me: error: bailing out" >&2;}
16236 { (exit 1); exit 1; }; }
16243 if test x
$CLVMD != xnone
; then
16254 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
16256 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16257 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16258 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16259 $as_echo_n "checking for $ac_header... " >&6; }
16260 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16261 $as_echo_n "(cached) " >&6
16263 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16264 $as_echo "$as_val"'`
16265 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16266 $as_echo "$ac_res" >&6; }
16268 # Is the header compilable?
16269 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16270 $as_echo_n "checking $ac_header usability... " >&6; }
16271 cat >conftest.
$ac_ext <<_ACEOF
16274 cat confdefs.h
>>conftest.
$ac_ext
16275 cat >>conftest.
$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 $ac_includes_default
16278 #include <$ac_header>
16280 rm -f conftest.
$ac_objext
16281 if { (ac_try
="$ac_compile"
16282 case "(($ac_try" in
16283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16287 $as_echo "$ac_try_echo") >&5
16288 (eval "$ac_compile") 2>conftest.er1
16290 grep -v '^ *+' conftest.er1 >conftest.err
16292 cat conftest.err >&5
16293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); } && {
16295 test -z "$ac_c_werror_flag" ||
16296 test ! -s conftest.err
16297 } && test -s conftest.$ac_objext; then
16298 ac_header_compiler=yes
16300 $as_echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 ac_header_compiler=no
16306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16307 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16308 $as_echo "$ac_header_compiler" >&6; }
16310 # Is the header present?
16311 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16312 $as_echo_n "checking $ac_header presence... " >&6; }
16313 cat >conftest.$ac_ext <<_ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 #include <$ac_header>
16321 if { (ac_try="$ac_cpp conftest.$ac_ext"
16322 case "(($ac_try" in
16323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16324 *) ac_try_echo
=$ac_try;;
16326 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16327 $as_echo "$ac_try_echo") >&5
16328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16330 grep -v '^ *+' conftest.er1
>conftest.err
16332 cat conftest.err
>&5
16333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } >/dev
/null
&& {
16335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16336 test ! -s conftest.err
16338 ac_header_preproc
=yes
16340 $as_echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.
$ac_ext >&5
16343 ac_header_preproc
=no
16346 rm -f conftest.err conftest.
$ac_ext
16347 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16348 $as_echo "$ac_header_preproc" >&6; }
16350 # So? What about this header?
16351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16354 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16355 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16356 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16357 ac_header_preproc
=yes
16360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16361 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16363 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16365 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16367 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16369 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16371 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16375 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16376 $as_echo_n "checking for $ac_header... " >&6; }
16377 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16378 $as_echo_n "(cached) " >&6
16380 eval "$as_ac_Header=\$ac_header_preproc"
16382 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16383 $as_echo "$as_val"'`
16384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16385 $as_echo "$ac_res" >&6; }
16388 as_val
=`eval 'as_val=${'$as_ac_Header'}
16389 $as_echo "$as_val"'`
16390 if test "x$as_val" = x
""yes; then
16391 cat >>confdefs.h
<<_ACEOF
16392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16396 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16397 $as_echo "$as_me: error: bailing out" >&2;}
16398 { (exit 1); exit 1; }; }
16408 for ac_func
in dup2 getmntent memmove
select socket
16410 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16411 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16412 $as_echo_n "checking for $ac_func... " >&6; }
16413 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16414 $as_echo_n "(cached) " >&6
16416 cat >conftest.
$ac_ext <<_ACEOF
16419 cat confdefs.h
>>conftest.
$ac_ext
16420 cat >>conftest.
$ac_ext <<_ACEOF
16421 /* end confdefs.h. */
16422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16424 #define $ac_func innocuous_$ac_func
16426 /* System header to define __stub macros and hopefully few prototypes,
16427 which can conflict with char $ac_func (); below.
16428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16429 <limits.h> exists even on freestanding compilers. */
16432 # include <limits.h>
16434 # include <assert.h>
16439 /* Override any GCC internal prototype to avoid an error.
16440 Use char because int might match the return type of a GCC
16441 builtin and then its argument prototype would still apply. */
16446 /* The GNU C library defines this for functions which it implements
16447 to always fail with ENOSYS. Some functions are actually named
16448 something starting with __ and the normal name is an alias. */
16449 #if defined __stub_$ac_func || defined __stub___$ac_func
16456 return $ac_func ();
16461 rm -f conftest.
$ac_objext conftest
$ac_exeext
16462 if { (ac_try
="$ac_link"
16463 case "(($ac_try" in
16464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16465 *) ac_try_echo=$ac_try;;
16467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16468 $as_echo "$ac_try_echo") >&5
16469 (eval "$ac_link") 2>conftest.er1
16471 grep -v '^ *+' conftest.er1 >conftest.err
16473 cat conftest.err >&5
16474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } && {
16476 test -z "$ac_c_werror_flag" ||
16477 test ! -s conftest.err
16478 } && test -s conftest$ac_exeext && {
16479 test "$cross_compiling" = yes ||
16480 $as_test_x conftest$ac_exeext
16482 eval "$as_ac_var=yes"
16484 $as_echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.$ac_ext >&5
16487 eval "$as_ac_var=no"
16490 rm -rf conftest.dSYM
16491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16492 conftest$ac_exeext conftest.$ac_ext
16494 ac_res=`eval 'as_val=${'$as_ac_var'}
16495 $as_echo "$as_val"'`
16496 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16497 $as_echo "$ac_res" >&6; }
16498 as_val=`eval 'as_val=${'$as_ac_var'}
16499 $as_echo "$as_val"'`
16500 if test "x$as_val" = x""yes; then
16501 cat >>confdefs.h <<_ACEOF
16502 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16506 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16507 $as_echo "$as_me: error: bailing out" >&2;}
16508 { (exit 1); exit 1; }; }
16512 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
16513 # -lseq on Dynix/PTX, -lgen on Unixware.
16514 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
16515 $as_echo_n "checking for library containing getmntent... " >&6; }
16516 if test "${ac_cv_search_getmntent+set}" = set; then
16517 $as_echo_n "(cached) " >&6
16519 ac_func_search_save_LIBS=$LIBS
16520 cat >conftest.$ac_ext <<_ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16527 /* Override any GCC internal prototype to avoid an error.
16528 Use char because int might match the return type of a GCC
16529 builtin and then its argument prototype would still apply. */
16537 return getmntent ();
16542 for ac_lib in '' sun seq gen; do
16543 if test -z "$ac_lib"; then
16544 ac_res="none required"
16547 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16549 rm -f conftest.$ac_objext conftest$ac_exeext
16550 if { (ac_try="$ac_link"
16551 case "(($ac_try" in
16552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16553 *) ac_try_echo
=$ac_try;;
16555 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16556 $as_echo "$ac_try_echo") >&5
16557 (eval "$ac_link") 2>conftest.er1
16559 grep -v '^ *+' conftest.er1
>conftest.err
16561 cat conftest.err
>&5
16562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && {
16564 test -z "$ac_c_werror_flag" ||
16565 test ! -s conftest.err
16566 } && test -s conftest
$ac_exeext && {
16567 test "$cross_compiling" = yes ||
16568 $as_test_x conftest
$ac_exeext
16570 ac_cv_search_getmntent
=$ac_res
16572 $as_echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.
$ac_ext >&5
16578 rm -rf conftest.dSYM
16579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16581 if test "${ac_cv_search_getmntent+set}" = set; then
16585 if test "${ac_cv_search_getmntent+set}" = set; then
16588 ac_cv_search_getmntent
=no
16590 rm conftest.
$ac_ext
16591 LIBS
=$ac_func_search_save_LIBS
16593 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
16594 $as_echo "$ac_cv_search_getmntent" >&6; }
16595 ac_res
=$ac_cv_search_getmntent
16596 if test "$ac_res" != no
; then
16597 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16598 ac_cv_func_getmntent
=yes
16600 cat >>confdefs.h
<<\_ACEOF
16601 #define HAVE_GETMNTENT 1
16605 ac_cv_func_getmntent
=no
16611 for ac_header
in sys
/select.h sys
/socket.h
16613 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16614 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16615 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16616 $as_echo_n "checking for $ac_header... " >&6; }
16617 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16618 $as_echo_n "(cached) " >&6
16620 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16621 $as_echo "$as_val"'`
16622 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16623 $as_echo "$ac_res" >&6; }
16625 # Is the header compilable?
16626 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16627 $as_echo_n "checking $ac_header usability... " >&6; }
16628 cat >conftest.
$ac_ext <<_ACEOF
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 $ac_includes_default
16635 #include <$ac_header>
16637 rm -f conftest.
$ac_objext
16638 if { (ac_try
="$ac_compile"
16639 case "(($ac_try" in
16640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16641 *) ac_try_echo=$ac_try;;
16643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16644 $as_echo "$ac_try_echo") >&5
16645 (eval "$ac_compile") 2>conftest.er1
16647 grep -v '^ *+' conftest.er1 >conftest.err
16649 cat conftest.err >&5
16650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } && {
16652 test -z "$ac_c_werror_flag" ||
16653 test ! -s conftest.err
16654 } && test -s conftest.$ac_objext; then
16655 ac_header_compiler=yes
16657 $as_echo "$as_me: failed program was:" >&5
16658 sed 's/^/| /' conftest.$ac_ext >&5
16660 ac_header_compiler=no
16663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16664 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16665 $as_echo "$ac_header_compiler" >&6; }
16667 # Is the header present?
16668 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16669 $as_echo_n "checking $ac_header presence... " >&6; }
16670 cat >conftest.$ac_ext <<_ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 #include <$ac_header>
16678 if { (ac_try="$ac_cpp conftest.$ac_ext"
16679 case "(($ac_try" in
16680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16681 *) ac_try_echo
=$ac_try;;
16683 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16684 $as_echo "$ac_try_echo") >&5
16685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16687 grep -v '^ *+' conftest.er1
>conftest.err
16689 cat conftest.err
>&5
16690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } >/dev
/null
&& {
16692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16693 test ! -s conftest.err
16695 ac_header_preproc
=yes
16697 $as_echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.
$ac_ext >&5
16700 ac_header_preproc
=no
16703 rm -f conftest.err conftest.
$ac_ext
16704 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16705 $as_echo "$ac_header_preproc" >&6; }
16707 # So? What about this header?
16708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16711 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16713 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16714 ac_header_preproc
=yes
16717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16718 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16719 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16720 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16721 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16722 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16723 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16724 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16725 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16726 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16727 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16728 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16732 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16733 $as_echo_n "checking for $ac_header... " >&6; }
16734 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16735 $as_echo_n "(cached) " >&6
16737 eval "$as_ac_Header=\$ac_header_preproc"
16739 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16740 $as_echo "$as_val"'`
16741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16742 $as_echo "$ac_res" >&6; }
16745 as_val
=`eval 'as_val=${'$as_ac_Header'}
16746 $as_echo "$as_val"'`
16747 if test "x$as_val" = x
""yes; then
16748 cat >>confdefs.h
<<_ACEOF
16749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16756 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
16757 $as_echo_n "checking types of arguments for select... " >&6; }
16758 if test "${ac_cv_func_select_args+set}" = set; then
16759 $as_echo_n "(cached) " >&6
16761 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
16762 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
16763 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
16764 cat >conftest.
$ac_ext <<_ACEOF
16767 cat confdefs.h
>>conftest.
$ac_ext
16768 cat >>conftest.
$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770 $ac_includes_default
16771 #ifdef HAVE_SYS_SELECT_H
16772 # include <sys/select.h>
16774 #ifdef HAVE_SYS_SOCKET_H
16775 # include <sys/socket.h>
16781 extern int select ($ac_arg1,
16782 $ac_arg234, $ac_arg234, $ac_arg234,
16788 rm -f conftest.
$ac_objext
16789 if { (ac_try
="$ac_compile"
16790 case "(($ac_try" in
16791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16792 *) ac_try_echo=$ac_try;;
16794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16795 $as_echo "$ac_try_echo") >&5
16796 (eval "$ac_compile") 2>conftest.er1
16798 grep -v '^ *+' conftest.er1 >conftest.err
16800 cat conftest.err >&5
16801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && {
16803 test -z "$ac_c_werror_flag" ||
16804 test ! -s conftest.err
16805 } && test -s conftest.$ac_objext; then
16806 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
16808 $as_echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16818 # Provide a safe default value.
16819 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
16822 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
16823 $as_echo "$ac_cv_func_select_args" >&6; }
16824 ac_save_IFS=$IFS; IFS=','
16825 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
16829 cat >>confdefs.h <<_ACEOF
16830 #define SELECT_TYPE_ARG1 $1
16834 cat >>confdefs.h <<_ACEOF
16835 #define SELECT_TYPE_ARG234 ($2)
16839 cat >>confdefs.h <<_ACEOF
16840 #define SELECT_TYPE_ARG5 ($3)
16847 if test x$CLUSTER != xnone; then
16850 for ac_header in sys/socket.h sys/un.h
16852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16854 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16855 $as_echo_n "checking for $ac_header... " >&6; }
16856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16857 $as_echo_n "(cached) " >&6
16859 ac_res=`eval 'as_val=${'$as_ac_Header'}
16860 $as_echo "$as_val"'`
16861 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16862 $as_echo "$ac_res" >&6; }
16864 # Is the header compilable?
16865 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16866 $as_echo_n "checking $ac_header usability... " >&6; }
16867 cat >conftest.$ac_ext <<_ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 $ac_includes_default
16874 #include <$ac_header>
16876 rm -f conftest.$ac_objext
16877 if { (ac_try="$ac_compile"
16878 case "(($ac_try" in
16879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16880 *) ac_try_echo
=$ac_try;;
16882 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16883 $as_echo "$ac_try_echo") >&5
16884 (eval "$ac_compile") 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } && {
16891 test -z "$ac_c_werror_flag" ||
16892 test ! -s conftest.err
16893 } && test -s conftest.
$ac_objext; then
16894 ac_header_compiler
=yes
16896 $as_echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.
$ac_ext >&5
16899 ac_header_compiler
=no
16902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16903 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16904 $as_echo "$ac_header_compiler" >&6; }
16906 # Is the header present?
16907 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16908 $as_echo_n "checking $ac_header presence... " >&6; }
16909 cat >conftest.
$ac_ext <<_ACEOF
16912 cat confdefs.h
>>conftest.
$ac_ext
16913 cat >>conftest.
$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 #include <$ac_header>
16917 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16918 case "(($ac_try" in
16919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16920 *) ac_try_echo=$ac_try;;
16922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16923 $as_echo "$ac_try_echo") >&5
16924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16926 grep -v '^ *+' conftest.er1 >conftest.err
16928 cat conftest.err >&5
16929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } >/dev/null && {
16931 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16932 test ! -s conftest.err
16934 ac_header_preproc=yes
16936 $as_echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.$ac_ext >&5
16939 ac_header_preproc=no
16942 rm -f conftest.err conftest.$ac_ext
16943 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16944 $as_echo "$ac_header_preproc" >&6; }
16946 # So? What about this header?
16947 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16950 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16952 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16953 ac_header_preproc=yes
16956 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16957 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16958 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16959 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16960 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16961 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16962 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16963 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16965 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16967 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16971 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16972 $as_echo_n "checking for $ac_header... " >&6; }
16973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16974 $as_echo_n "(cached) " >&6
16976 eval "$as_ac_Header=\$ac_header_preproc"
16978 ac_res=`eval 'as_val=${'$as_ac_Header'}
16979 $as_echo "$as_val"'`
16980 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16981 $as_echo "$ac_res" >&6; }
16984 as_val=`eval 'as_val=${'$as_ac_Header'}
16985 $as_echo "$as_val"'`
16986 if test "x$as_val" = x""yes; then
16987 cat >>confdefs.h <<_ACEOF
16988 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16992 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
16993 $as_echo "$as_me: error: bailing out" >&2;}
16994 { (exit 1); exit 1; }; }
17000 for ac_func in socket
17002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
17003 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17004 $as_echo_n "checking for $ac_func... " >&6; }
17005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17006 $as_echo_n "(cached) " >&6
17008 cat >conftest.$ac_ext <<_ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17016 #define $ac_func innocuous_$ac_func
17018 /* System header to define __stub macros and hopefully few prototypes,
17019 which can conflict with char $ac_func (); below.
17020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17021 <limits.h> exists even on freestanding compilers. */
17024 # include <limits.h>
17026 # include <assert.h>
17031 /* Override any GCC internal prototype to avoid an error.
17032 Use char because int might match the return type of a GCC
17033 builtin and then its argument prototype would still apply. */
17038 /* The GNU C library defines this for functions which it implements
17039 to always fail with ENOSYS. Some functions are actually named
17040 something starting with __ and the normal name is an alias. */
17041 #if defined __stub_$ac_func || defined __stub___$ac_func
17048 return $ac_func ();
17053 rm -f conftest.$ac_objext conftest$ac_exeext
17054 if { (ac_try="$ac_link"
17055 case "(($ac_try" in
17056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17057 *) ac_try_echo
=$ac_try;;
17059 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17060 $as_echo "$ac_try_echo") >&5
17061 (eval "$ac_link") 2>conftest.er1
17063 grep -v '^ *+' conftest.er1
>conftest.err
17065 cat conftest.err
>&5
17066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && {
17068 test -z "$ac_c_werror_flag" ||
17069 test ! -s conftest.err
17070 } && test -s conftest
$ac_exeext && {
17071 test "$cross_compiling" = yes ||
17072 $as_test_x conftest
$ac_exeext
17074 eval "$as_ac_var=yes"
17076 $as_echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 eval "$as_ac_var=no"
17082 rm -rf conftest.dSYM
17083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17084 conftest
$ac_exeext conftest.
$ac_ext
17086 ac_res
=`eval 'as_val=${'$as_ac_var'}
17087 $as_echo "$as_val"'`
17088 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17089 $as_echo "$ac_res" >&6; }
17090 as_val
=`eval 'as_val=${'$as_ac_var'}
17091 $as_echo "$as_val"'`
17092 if test "x$as_val" = x
""yes; then
17093 cat >>confdefs.h
<<_ACEOF
17094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17098 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17099 $as_echo "$as_me: error: bailing out" >&2;}
17100 { (exit 1); exit 1; }; }
17106 if test x
$DMEVENTD = xyes
; then
17108 for ac_header
in arpa
/inet.h
17110 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17111 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17112 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17113 $as_echo_n "checking for $ac_header... " >&6; }
17114 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17115 $as_echo_n "(cached) " >&6
17117 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17118 $as_echo "$as_val"'`
17119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17120 $as_echo "$ac_res" >&6; }
17122 # Is the header compilable?
17123 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17124 $as_echo_n "checking $ac_header usability... " >&6; }
17125 cat >conftest.
$ac_ext <<_ACEOF
17128 cat confdefs.h
>>conftest.
$ac_ext
17129 cat >>conftest.
$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131 $ac_includes_default
17132 #include <$ac_header>
17134 rm -f conftest.
$ac_objext
17135 if { (ac_try
="$ac_compile"
17136 case "(($ac_try" in
17137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17138 *) ac_try_echo=$ac_try;;
17140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17141 $as_echo "$ac_try_echo") >&5
17142 (eval "$ac_compile") 2>conftest.er1
17144 grep -v '^ *+' conftest.er1 >conftest.err
17146 cat conftest.err >&5
17147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } && {
17149 test -z "$ac_c_werror_flag" ||
17150 test ! -s conftest.err
17151 } && test -s conftest.$ac_objext; then
17152 ac_header_compiler=yes
17154 $as_echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17157 ac_header_compiler=no
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17161 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17162 $as_echo "$ac_header_compiler" >&6; }
17164 # Is the header present?
17165 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17166 $as_echo_n "checking $ac_header presence... " >&6; }
17167 cat >conftest.$ac_ext <<_ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 #include <$ac_header>
17175 if { (ac_try="$ac_cpp conftest.$ac_ext"
17176 case "(($ac_try" in
17177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17178 *) ac_try_echo
=$ac_try;;
17180 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17181 $as_echo "$ac_try_echo") >&5
17182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17184 grep -v '^ *+' conftest.er1
>conftest.err
17186 cat conftest.err
>&5
17187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } >/dev
/null
&& {
17189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17190 test ! -s conftest.err
17192 ac_header_preproc
=yes
17194 $as_echo "$as_me: failed program was:" >&5
17195 sed 's/^/| /' conftest.
$ac_ext >&5
17197 ac_header_preproc
=no
17200 rm -f conftest.err conftest.
$ac_ext
17201 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17202 $as_echo "$ac_header_preproc" >&6; }
17204 # So? What about this header?
17205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17208 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17210 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17211 ac_header_preproc
=yes
17214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17215 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17217 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17218 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17219 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17220 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17221 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17223 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17225 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17229 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17230 $as_echo_n "checking for $ac_header... " >&6; }
17231 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17232 $as_echo_n "(cached) " >&6
17234 eval "$as_ac_Header=\$ac_header_preproc"
17236 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17237 $as_echo "$as_val"'`
17238 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17239 $as_echo "$ac_res" >&6; }
17242 as_val
=`eval 'as_val=${'$as_ac_Header'}
17243 $as_echo "$as_val"'`
17244 if test "x$as_val" = x
""yes; then
17245 cat >>confdefs.h
<<_ACEOF
17246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17250 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17251 $as_echo "$as_me: error: bailing out" >&2;}
17252 { (exit 1); exit 1; }; }
17259 if test x
$HAVE_LIBDL = xyes
; then
17261 for ac_header
in dlfcn.h
17263 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17264 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17265 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17266 $as_echo_n "checking for $ac_header... " >&6; }
17267 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17268 $as_echo_n "(cached) " >&6
17270 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17271 $as_echo "$as_val"'`
17272 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17273 $as_echo "$ac_res" >&6; }
17275 # Is the header compilable?
17276 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17277 $as_echo_n "checking $ac_header usability... " >&6; }
17278 cat >conftest.
$ac_ext <<_ACEOF
17281 cat confdefs.h
>>conftest.
$ac_ext
17282 cat >>conftest.
$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284 $ac_includes_default
17285 #include <$ac_header>
17287 rm -f conftest.
$ac_objext
17288 if { (ac_try
="$ac_compile"
17289 case "(($ac_try" in
17290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17291 *) ac_try_echo=$ac_try;;
17293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17294 $as_echo "$ac_try_echo") >&5
17295 (eval "$ac_compile") 2>conftest.er1
17297 grep -v '^ *+' conftest.er1 >conftest.err
17299 cat conftest.err >&5
17300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } && {
17302 test -z "$ac_c_werror_flag" ||
17303 test ! -s conftest.err
17304 } && test -s conftest.$ac_objext; then
17305 ac_header_compiler=yes
17307 $as_echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17310 ac_header_compiler=no
17313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17314 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17315 $as_echo "$ac_header_compiler" >&6; }
17317 # Is the header present?
17318 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17319 $as_echo_n "checking $ac_header presence... " >&6; }
17320 cat >conftest.$ac_ext <<_ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 #include <$ac_header>
17328 if { (ac_try="$ac_cpp conftest.$ac_ext"
17329 case "(($ac_try" in
17330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17331 *) ac_try_echo
=$ac_try;;
17333 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17334 $as_echo "$ac_try_echo") >&5
17335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17337 grep -v '^ *+' conftest.er1
>conftest.err
17339 cat conftest.err
>&5
17340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); } >/dev
/null
&& {
17342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17343 test ! -s conftest.err
17345 ac_header_preproc
=yes
17347 $as_echo "$as_me: failed program was:" >&5
17348 sed 's/^/| /' conftest.
$ac_ext >&5
17350 ac_header_preproc
=no
17353 rm -f conftest.err conftest.
$ac_ext
17354 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17355 $as_echo "$ac_header_preproc" >&6; }
17357 # So? What about this header?
17358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17361 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17363 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17364 ac_header_preproc
=yes
17367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17368 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17370 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17372 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17374 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17376 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17378 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17382 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17383 $as_echo_n "checking for $ac_header... " >&6; }
17384 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17385 $as_echo_n "(cached) " >&6
17387 eval "$as_ac_Header=\$ac_header_preproc"
17389 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17390 $as_echo "$as_val"'`
17391 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17392 $as_echo "$ac_res" >&6; }
17395 as_val
=`eval 'as_val=${'$as_ac_Header'}
17396 $as_echo "$as_val"'`
17397 if test "x$as_val" = x
""yes; then
17398 cat >>confdefs.h
<<_ACEOF
17399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17403 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17404 $as_echo "$as_me: error: bailing out" >&2;}
17405 { (exit 1); exit 1; }; }
17412 if test x
$INTL = xyes
; then
17414 for ac_header
in libintl.h
17416 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17417 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17418 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17419 $as_echo_n "checking for $ac_header... " >&6; }
17420 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17421 $as_echo_n "(cached) " >&6
17423 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17424 $as_echo "$as_val"'`
17425 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17426 $as_echo "$ac_res" >&6; }
17428 # Is the header compilable?
17429 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17430 $as_echo_n "checking $ac_header usability... " >&6; }
17431 cat >conftest.
$ac_ext <<_ACEOF
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 $ac_includes_default
17438 #include <$ac_header>
17440 rm -f conftest.
$ac_objext
17441 if { (ac_try
="$ac_compile"
17442 case "(($ac_try" in
17443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17444 *) ac_try_echo=$ac_try;;
17446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17447 $as_echo "$ac_try_echo") >&5
17448 (eval "$ac_compile") 2>conftest.er1
17450 grep -v '^ *+' conftest.er1 >conftest.err
17452 cat conftest.err >&5
17453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } && {
17455 test -z "$ac_c_werror_flag" ||
17456 test ! -s conftest.err
17457 } && test -s conftest.$ac_objext; then
17458 ac_header_compiler=yes
17460 $as_echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 ac_header_compiler=no
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17468 $as_echo "$ac_header_compiler" >&6; }
17470 # Is the header present?
17471 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17472 $as_echo_n "checking $ac_header presence... " >&6; }
17473 cat >conftest.$ac_ext <<_ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 #include <$ac_header>
17481 if { (ac_try="$ac_cpp conftest.$ac_ext"
17482 case "(($ac_try" in
17483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17484 *) ac_try_echo
=$ac_try;;
17486 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17487 $as_echo "$ac_try_echo") >&5
17488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17490 grep -v '^ *+' conftest.er1
>conftest.err
17492 cat conftest.err
>&5
17493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } >/dev
/null
&& {
17495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17496 test ! -s conftest.err
17498 ac_header_preproc
=yes
17500 $as_echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.
$ac_ext >&5
17503 ac_header_preproc
=no
17506 rm -f conftest.err conftest.
$ac_ext
17507 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17508 $as_echo "$ac_header_preproc" >&6; }
17510 # So? What about this header?
17511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17513 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17514 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17516 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17517 ac_header_preproc
=yes
17520 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17521 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17523 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17525 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17527 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17529 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17531 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17535 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17536 $as_echo_n "checking for $ac_header... " >&6; }
17537 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17538 $as_echo_n "(cached) " >&6
17540 eval "$as_ac_Header=\$ac_header_preproc"
17542 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17543 $as_echo "$as_val"'`
17544 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17545 $as_echo "$ac_res" >&6; }
17548 as_val
=`eval 'as_val=${'$as_ac_Header'}
17549 $as_echo "$as_val"'`
17550 if test "x$as_val" = x
""yes; then
17551 cat >>confdefs.h
<<_ACEOF
17552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17556 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17557 $as_echo "$as_me: error: bailing out" >&2;}
17558 { (exit 1); exit 1; }; }
17565 if test x
$UDEV_SYNC = xyes
; then
17568 for ac_header
in sys
/ipc.h sys
/sem.h
17570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17571 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17573 $as_echo_n "checking for $ac_header... " >&6; }
17574 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17575 $as_echo_n "(cached) " >&6
17577 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17578 $as_echo "$as_val"'`
17579 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17580 $as_echo "$ac_res" >&6; }
17582 # Is the header compilable?
17583 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17584 $as_echo_n "checking $ac_header usability... " >&6; }
17585 cat >conftest.
$ac_ext <<_ACEOF
17588 cat confdefs.h
>>conftest.
$ac_ext
17589 cat >>conftest.
$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591 $ac_includes_default
17592 #include <$ac_header>
17594 rm -f conftest.
$ac_objext
17595 if { (ac_try
="$ac_compile"
17596 case "(($ac_try" in
17597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17598 *) ac_try_echo=$ac_try;;
17600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17601 $as_echo "$ac_try_echo") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17604 grep -v '^ *+' conftest.er1 >conftest.err
17606 cat conftest.err >&5
17607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 ac_header_compiler=yes
17614 $as_echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17617 ac_header_compiler=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17622 $as_echo "$ac_header_compiler" >&6; }
17624 # Is the header present?
17625 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17626 $as_echo_n "checking $ac_header presence... " >&6; }
17627 cat >conftest.$ac_ext <<_ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 #include <$ac_header>
17635 if { (ac_try="$ac_cpp conftest.$ac_ext"
17636 case "(($ac_try" in
17637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17638 *) ac_try_echo
=$ac_try;;
17640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17641 $as_echo "$ac_try_echo") >&5
17642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17644 grep -v '^ *+' conftest.er1
>conftest.err
17646 cat conftest.err
>&5
17647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } >/dev
/null
&& {
17649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17650 test ! -s conftest.err
17652 ac_header_preproc
=yes
17654 $as_echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.
$ac_ext >&5
17657 ac_header_preproc
=no
17660 rm -f conftest.err conftest.
$ac_ext
17661 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17662 $as_echo "$ac_header_preproc" >&6; }
17664 # So? What about this header?
17665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17668 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17671 ac_header_preproc
=yes
17674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17675 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17677 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17679 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17681 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17685 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17689 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17690 $as_echo_n "checking for $ac_header... " >&6; }
17691 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17692 $as_echo_n "(cached) " >&6
17694 eval "$as_ac_Header=\$ac_header_preproc"
17696 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17697 $as_echo "$as_val"'`
17698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17699 $as_echo "$ac_res" >&6; }
17702 as_val
=`eval 'as_val=${'$as_ac_Header'}
17703 $as_echo "$as_val"'`
17704 if test "x$as_val" = x
""yes; then
17705 cat >>confdefs.h
<<_ACEOF
17706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17710 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
17711 $as_echo "$as_me: error: bailing out" >&2;}
17712 { (exit 1); exit 1; }; }
17719 ################################################################################
17720 # Extract the first word of "modprobe", so it can be a program name with args.
17721 set dummy modprobe
; ac_word
=$2
17722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17723 $as_echo_n "checking for $ac_word... " >&6; }
17724 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
17725 $as_echo_n "(cached) " >&6
17727 case $MODPROBE_CMD in
17729 ac_cv_path_MODPROBE_CMD
="$MODPROBE_CMD" # Let the user override the test with a path.
17732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17733 for as_dir
in $PATH
17736 test -z "$as_dir" && as_dir
=.
17737 for ac_exec_ext
in '' $ac_executable_extensions; do
17738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17739 ac_cv_path_MODPROBE_CMD
="$as_dir/$ac_word$ac_exec_ext"
17740 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17750 MODPROBE_CMD
=$ac_cv_path_MODPROBE_CMD
17751 if test -n "$MODPROBE_CMD"; then
17752 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
17753 $as_echo "$MODPROBE_CMD" >&6; }
17755 { $as_echo "$as_me:$LINENO: result: no" >&5
17756 $as_echo "no" >&6; }
17761 if test x
$MODPROBE_CMD != x
; then
17763 cat >>confdefs.h
<<_ACEOF
17764 #define MODPROBE_CMD "$MODPROBE_CMD"
17770 lvm_exec_prefix
=$exec_prefix
17771 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$prefix
17772 test "$lvm_exec_prefix" = NONE
&& lvm_exec_prefix
=$ac_default_prefix
17774 cat >>confdefs.h
<<_ACEOF
17775 #define LVM_PATH "$lvm_exec_prefix/sbin/lvm"
17779 if test "$CLVMD" != none
; then
17780 clvmd_prefix
=$ac_default_prefix
17781 test "$prefix" != NONE
&& clvmd_prefix
=$prefix
17783 cat >>confdefs.h
<<_ACEOF
17784 #define CLVMD_PATH "$clvmd_prefix/sbin/clvmd"
17789 ################################################################################
17790 if test "$BUILD_DMEVENTD" = yes; then
17792 # Check whether --with-dmeventd-pidfile was given.
17793 if test "${with_dmeventd_pidfile+set}" = set; then
17794 withval
=$with_dmeventd_pidfile; DMEVENTD_PIDFILE
=$withval
17796 DMEVENTD_PIDFILE
="/var/run/dmeventd.pid"
17800 cat >>confdefs.h
<<_ACEOF
17801 #define DMEVENTD_PIDFILE "$DMEVENTD_PIDFILE"
17806 if test "$BUILD_DMEVENTD" = yes; then
17808 # Check whether --with-dmeventd-path was given.
17809 if test "${with_dmeventd_path+set}" = set; then
17810 withval
=$with_dmeventd_path; DMEVENTD_PATH
=$withval
17812 DMEVENTD_PATH
="$lvm_exec_prefix/sbin/dmeventd"
17816 cat >>confdefs.h
<<_ACEOF
17817 #define DMEVENTD_PATH "$DMEVENTD_PATH"
17825 # Check whether --with-default-run-dir was given.
17826 if test "${with_default_run_dir+set}" = set; then
17827 withval
=$with_default_run_dir; DEFAULT_RUN_DIR
="$withval"
17829 DEFAULT_RUN_DIR
="/var/run/lvm"
17832 cat >>confdefs.h
<<_ACEOF
17833 #define DEFAULT_RUN_DIR "$DEFAULT_RUN_DIR"
17837 ################################################################################
17839 # Check whether --with-default-system-dir was given.
17840 if test "${with_default_system_dir+set}" = set; then
17841 withval
=$with_default_system_dir; DEFAULT_SYS_DIR
=$withval
17843 DEFAULT_SYS_DIR
="/etc/lvm"
17847 cat >>confdefs.h
<<_ACEOF
17848 #define DEFAULT_SYS_DIR "$DEFAULT_SYS_DIR"
17853 # Check whether --with-default-archive-subdir was given.
17854 if test "${with_default_archive_subdir+set}" = set; then
17855 withval
=$with_default_archive_subdir; DEFAULT_ARCHIVE_SUBDIR
=$withval
17857 DEFAULT_ARCHIVE_SUBDIR
=archive
17861 cat >>confdefs.h
<<_ACEOF
17862 #define DEFAULT_ARCHIVE_SUBDIR "$DEFAULT_ARCHIVE_SUBDIR"
17867 # Check whether --with-default-backup-subdir was given.
17868 if test "${with_default_backup_subdir+set}" = set; then
17869 withval
=$with_default_backup_subdir; DEFAULT_BACKUP_SUBDIR
=$withval
17871 DEFAULT_BACKUP_SUBDIR
=backup
17875 cat >>confdefs.h
<<_ACEOF
17876 #define DEFAULT_BACKUP_SUBDIR "$DEFAULT_BACKUP_SUBDIR"
17881 # Check whether --with-default-cache-subdir was given.
17882 if test "${with_default_cache_subdir+set}" = set; then
17883 withval
=$with_default_cache_subdir; DEFAULT_CACHE_SUBDIR
=$withval
17885 DEFAULT_CACHE_SUBDIR
=cache
17889 cat >>confdefs.h
<<_ACEOF
17890 #define DEFAULT_CACHE_SUBDIR "$DEFAULT_CACHE_SUBDIR"
17895 # Check whether --with-default-locking-dir was given.
17896 if test "${with_default_locking_dir+set}" = set; then
17897 withval
=$with_default_locking_dir; DEFAULT_LOCK_DIR
=$withval
17899 DEFAULT_LOCK_DIR
="/var/lock/lvm"
17903 cat >>confdefs.h
<<_ACEOF
17904 #define DEFAULT_LOCK_DIR "$DEFAULT_LOCK_DIR"
17908 ################################################################################
17909 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
17910 $as_echo_n "checking for kernel interface choice... " >&6; }
17912 # Check whether --with-interface was given.
17913 if test "${with_interface+set}" = set; then
17914 withval
=$with_interface; interface
=$withval
17919 if [ "x$interface" != xioctl
];
17921 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
17922 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
17923 { (exit 1); exit 1; }; }
17925 { $as_echo "$as_me:$LINENO: result: $interface" >&5
17926 $as_echo "$interface" >&6; }
17928 ################################################################################
17929 DM_LIB_VERSION
="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
17931 cat >>confdefs.h
<<_ACEOF
17932 #define DM_LIB_VERSION $DM_LIB_VERSION
17936 DM_LIB_PATCHLEVEL
=`cat "$srcdir"/VERSION_DM | $AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
17938 LVM_VERSION
="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
17940 VER
=`cat "$srcdir"/VERSION`
17941 LVM_RELEASE_DATE
="\"`echo $VER | $SED 's/.* (//;s/).*//'`\""
17942 VER
=`echo "$VER" | $AWK '{print $1}'`
17943 LVM_RELEASE
="\"`echo "$VER" | $AWK -F '-' '{print $2}'`\""
17944 VER
=`echo "$VER" | $AWK -F '-' '{print $1}'`
17945 LVM_MAJOR
=`echo "$VER" | $AWK -F '.' '{print $1}'`
17946 LVM_MINOR
=`echo "$VER" | $AWK -F '.' '{print $2}'`
17947 LVM_PATCHLEVEL
=`echo "$VER" | $AWK -F '[(.]' '{print $3}'`
17948 LVM_LIBAPI
=`echo "$VER" | $AWK -F '[()]' '{print $2}'`
17950 ################################################################################
18048 ################################################################################
18049 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 unit-tests/datastruct/Makefile unit-tests/regex/Makefile"
18051 cat >confcache
<<\_ACEOF
18052 # This file is a shell script that caches the results of configure
18053 # tests run on this system so they can be shared between configure
18054 # scripts and configure runs, see configure's option --config-cache.
18055 # It is not useful on other systems. If it contains results you don't
18056 # want to keep, you may remove or edit it.
18058 # config.status only pays attention to the cache file if you give it
18059 # the --recheck option to rerun configure.
18061 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18062 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18063 # following values.
18067 # The following way of writing the cache mishandles newlines in values,
18068 # but we know of no workaround that is simple, portable, and efficient.
18069 # So, we kill variables containing newlines.
18070 # Ultrix sh set writes to stderr and can't be redirected directly,
18071 # and sets the high bit in the cache file unless we assign to the vars.
18073 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18074 eval ac_val
=\$
$ac_var
18078 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
18079 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18082 _ | IFS | as_nl
) ;; #(
18083 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18084 *) $as_unset $ac_var ;;
18090 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18091 *${as_nl}ac_space
=\
*)
18092 # `set' does not quote correctly, so add quotes (double-quote
18093 # substitution turns \\\\ into \\, and sed turns \\ into \).
18096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18099 # `set' quotes correctly as required by POSIX, so do not add quotes.
18100 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18109 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18111 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18113 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18114 if test -w "$cache_file"; then
18115 test "x$cache_file" != "x/dev/null" &&
18116 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18117 $as_echo "$as_me: updating cache $cache_file" >&6;}
18118 cat confcache
>$cache_file
18120 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18121 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18126 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18127 # Let make expand exec_prefix.
18128 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18130 DEFS
=-DHAVE_CONFIG_H
18134 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18135 # 1. Remove the extension, and $U if already installed.
18136 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18137 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18138 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18139 # will be set to the directory where LIBOBJS objects are built.
18140 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18141 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18143 LIBOBJS
=$ac_libobjs
18145 LTLIBOBJS
=$ac_ltlibobjs
18149 : ${CONFIG_STATUS=./config.status}
18151 ac_clean_files_save
=$ac_clean_files
18152 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18153 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18154 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18155 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18157 # Generated by $as_me.
18158 # Run this file to recreate the current configuration.
18159 # Compiler output produced by configure, useful for debugging
18160 # configure, is in config.log if it exists.
18163 ac_cs_recheck=false
18165 SHELL=\${CONFIG_SHELL-$SHELL}
18168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18169 ## --------------------- ##
18170 ## M4sh Initialization. ##
18171 ## --------------------- ##
18173 # Be more Bourne compatible
18174 DUALCASE
=1; export DUALCASE
# for MKS sh
18175 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18178 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18179 # is contrary to our usage. Disable this feature.
18180 alias -g '${1+"$@"}'='"$@"'
18181 setopt NO_GLOB_SUBST
18183 case `(set -o) 2>/dev/null` in
18184 *posix
*) set -o posix
;;
18193 # Avoid depending upon Character Ranges.
18194 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18195 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18196 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18197 as_cr_digits
='0123456789'
18198 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18203 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18204 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18205 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18206 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18207 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18208 as_echo='printf %s
\n'
18209 as_echo_n='printf %s
'
18211 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18212 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18213 as_echo_n='/usr
/ucb
/echo -n'
18215 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18216 as_echo_n_body='eval
18220 expr "X$arg" : "X\\(.*\\)$as_nl";
18221 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18223 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18225 export as_echo_n_body
18226 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18228 export as_echo_body
18229 as_echo='sh
-c $as_echo_body as_echo
'
18232 # The user is always right.
18233 if test "${PATH_SEPARATOR+set}" != set; then
18235 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18236 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18241 # Support unset when possible.
18242 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18250 # We need space, tab and new line, in precisely that order. Quoting is
18251 # there to prevent editors from complaining about space-tab.
18252 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18253 # splitting by setting IFS to empty value.)
18256 # Find who we are. Look in the path if we contain no directory separator.
18258 *[\\/]* ) as_myself=$0 ;;
18259 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18260 for as_dir in $PATH
18263 test -z "$as_dir" && as_dir=.
18264 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18270 # We did not find ourselves, most probably we were run as `sh COMMAND'
18271 # in which case we are not to be found in the path.
18272 if test "x$as_myself" = x
; then
18275 if test ! -f "$as_myself"; then
18276 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18277 { (exit 1); exit 1; }
18280 # Work around bugs in pre-3.0 UWIN ksh.
18281 for as_var
in ENV MAIL MAILPATH
18282 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
18294 # Required to use basename.
18295 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18296 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18302 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18303 as_basename
=basename
18309 # Name of the executable.
18310 as_me
=`$as_basename -- "$0" ||
18311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18312 X"$0" : 'X\(//\)$' \| \
18313 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18315 sed '/^.*\/\([^/][^/]*\)\/*$/{
18334 as_lineno_1
=$LINENO
18335 as_lineno_2
=$LINENO
18336 test "x$as_lineno_1" != "x$as_lineno_2" &&
18337 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
18339 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18340 # uniformly replaced by the line number. The first 'sed' inserts a
18341 # line-number line after each line using $LINENO; the second 'sed'
18342 # does the real work. The second script uses 'N' to pair each
18343 # line-number line with the line containing $LINENO, and appends
18344 # trailing '-' during substitution so that $LINENO is not a special
18345 # case at line end.
18346 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18347 # scripts with optimization help from Paolo Bonzini. Blame Lee
18348 # E. McMahon (1931-1989) for sed's syntax. :-)
18360 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18363 ' >$as_me.lineno
&&
18364 chmod +x
"$as_me.lineno" ||
18365 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18366 { (exit 1); exit 1; }; }
18368 # Don't try to exec as it changes $[0], causing all sort of problems
18369 # (the dirname of $[0] is not the place where we might find the
18370 # original and so on. Autoconf is especially sensitive to this).
18371 .
"./$as_me.lineno"
18372 # Exit status is that of the last command.
18377 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18383 ECHO_C
= ECHO_N
= ECHO_T
=
18384 case `echo -n x` in
18386 case `echo 'x\c'` in
18387 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18393 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18394 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18400 rm -f conf$$ conf$$.exe conf$$.
file
18401 if test -d conf$$.dir
; then
18402 rm -f conf$$.dir
/conf$$.
file
18405 mkdir conf$$.dir
2>/dev
/null
18407 if (echo >conf$$.
file) 2>/dev
/null
; then
18408 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18410 # ... but there are two gotchas:
18411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18413 # In both cases, we have to default to `cp -p'.
18414 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18416 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18424 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18425 rmdir conf$$.dir
2>/dev
/null
18427 if mkdir
-p .
2>/dev
/null
; then
18430 test -d .
/-p && rmdir .
/-p
18434 if test -x / >/dev
/null
2>&1; then
18435 as_test_x
='test -x'
18437 if ls -dL / >/dev
/null
2>&1; then
18444 if test -d "$1"; then
18450 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18451 ???[sx]*):;;*)false;;esac;fi
18455 as_executable_p
=$as_test_x
18457 # Sed expression to map a string onto a valid CPP name.
18458 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18460 # Sed expression to map a string onto a valid variable name.
18461 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18466 # Save the log message, to keep $[0] and so on meaningful, and to
18467 # report actual input values of CONFIG_FILES etc. instead of their
18468 # values after options handling.
18470 This file was extended by $as_me, which was
18471 generated by GNU Autoconf 2.63. Invocation command line was
18473 CONFIG_FILES = $CONFIG_FILES
18474 CONFIG_HEADERS = $CONFIG_HEADERS
18475 CONFIG_LINKS = $CONFIG_LINKS
18476 CONFIG_COMMANDS = $CONFIG_COMMANDS
18479 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18484 case $ac_config_files in *"
18485 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18488 case $ac_config_headers in *"
18489 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 # Files that config.status was made for.
18495 config_files="$ac_config_files"
18496 config_headers="$ac_config_headers"
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18502 \`$as_me' instantiates files from templates according to the
18503 current configuration.
18505 Usage: $0 [OPTION]... [FILE]...
18507 -h, --help print this help, then exit
18508 -V, --version print version number and configuration settings, then exit
18509 -q, --quiet, --silent
18510 do not print progress messages
18511 -d, --debug don't remove temporary files
18512 --recheck update $as_me by reconfiguring in the same conditions
18513 --file=FILE[:TEMPLATE]
18514 instantiate the configuration file FILE
18515 --header=FILE[:TEMPLATE]
18516 instantiate the configuration header FILE
18518 Configuration files:
18521 Configuration headers:
18524 Report bugs to <bug-autoconf@gnu.org>."
18527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18530 configured by $0, generated by GNU Autoconf 2.63,
18531 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18533 Copyright (C) 2008 Free Software Foundation, Inc.
18534 This config.status script is free software; the Free Software Foundation
18535 gives unlimited permission to copy, distribute and modify it."
18542 test -n "\$AWK" || AWK=awk
18545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18546 # The default lists apply if the user does not specify any file.
18552 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18553 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18564 # Handling of the options.
18565 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18567 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18568 $as_echo "$ac_cs_version"; exit ;;
18569 --debug |
--debu |
--deb |
--de |
--d |
-d )
18571 --file |
--fil |
--fi |
--f )
18574 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18576 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
18577 ac_need_defaults
=false
;;
18578 --header |
--heade |
--head |
--hea )
18581 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18583 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
18584 ac_need_defaults
=false
;;
18586 # Conflict between --help and --header
18587 { $as_echo "$as_me: error: ambiguous option: $1
18588 Try \`$0 --help' for more information." >&2
18589 { (exit 1); exit 1; }; };;
18590 --help |
--hel |
-h )
18591 $as_echo "$ac_cs_usage"; exit ;;
18592 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18593 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18596 # This is an error.
18597 -*) { $as_echo "$as_me: error: unrecognized option: $1
18598 Try \`$0 --help' for more information." >&2
18599 { (exit 1); exit 1; }; } ;;
18601 *) ac_config_targets
="$ac_config_targets $1"
18602 ac_need_defaults
=false
;;
18608 ac_configure_extra_args
=
18610 if $ac_cs_silent; then
18612 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18617 if \$ac_cs_recheck; then
18618 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18620 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18621 CONFIG_SHELL='$SHELL'
18622 export CONFIG_SHELL
18627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18631 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18632 ## Running $as_me. ##
18638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18643 # Handling of arguments.
18644 for ac_config_target
in $ac_config_targets
18646 case $ac_config_target in
18647 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
18648 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18649 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
18650 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
18651 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
18652 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
18653 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
18654 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
18655 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
18656 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
18657 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
18658 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
18659 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
18660 "doc/example.conf") CONFIG_FILES
="$CONFIG_FILES doc/example.conf" ;;
18661 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
18662 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18663 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
18664 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
18665 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
18666 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
18667 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
18668 "lib/replicator/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/replicator/Makefile" ;;
18669 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
18670 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
18671 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
18672 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
18673 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
18674 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
18675 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
18676 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
18677 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
18678 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
18679 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
18680 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
18681 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
18682 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
18683 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18684 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
18685 "unit-tests/datastruct/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/datastruct/Makefile" ;;
18686 "unit-tests/regex/Makefile") CONFIG_FILES
="$CONFIG_FILES unit-tests/regex/Makefile" ;;
18688 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18689 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18690 { (exit 1); exit 1; }; };;
18695 # If the user did not use the arguments to specify the items to instantiate,
18696 # then the envvar interface is used. Set only those that are not.
18697 # We use the long form for the default assignment because of an extremely
18698 # bizarre bug on SunOS 4.1.3.
18699 if $ac_need_defaults; then
18700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18701 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18704 # Have a temporary directory for convenience. Make it in the build tree
18705 # simply because there is no reason against having it here, and in addition,
18706 # creating and moving files from /tmp can sometimes cause problems.
18707 # Hook for its removal unless debugging.
18708 # Note that there is a small window in which the directory will not be cleaned:
18709 # after its creation but before its name has been assigned to `$tmp'.
18713 trap 'exit_status=$?
18714 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18716 trap '{ (exit 1); exit 1; }' 1 2 13 15
18718 # Create a (secure) tmp directory for tmp files.
18721 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18722 test -n "$tmp" && test -d "$tmp"
18725 tmp
=.
/conf$$
-$RANDOM
18726 (umask 077 && mkdir
"$tmp")
18729 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18730 { (exit 1); exit 1; }
18733 # Set up the scripts for CONFIG_FILES section.
18734 # No need to generate them if there are no CONFIG_FILES.
18735 # This happens for instance with `./config.status config.h'.
18736 if test -n "$CONFIG_FILES"; then
18740 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18741 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18744 ac_cs_awk_cr
=$ac_cr
18747 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18752 echo "cat >conf$$subs.awk <<_ACEOF" &&
18753 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18755 } >conf$$subs.sh ||
18756 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18757 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18758 { (exit 1); exit 1; }; }
18759 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18761 for ac_last_try in false false false false false :; do
18762 . ./conf$$subs.sh ||
18763 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18764 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18765 { (exit 1); exit 1; }; }
18767 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18768 if test $ac_delim_n = $ac_delim_num; then
18770 elif $ac_last_try; then
18771 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18772 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18773 { (exit 1); exit 1; }; }
18775 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18778 rm -f conf$$subs.sh
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18785 s/^/S["/; s
/!.
*/"]=/
18795 s/\(.\{148\}\).*/\1/
18797 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18802 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18809 s/\(.\{148\}\).*/\1/
18811 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18815 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18820 ' <conf$$subs.awk | sed '
18825 ' >>$CONFIG_STATUS || ac_write_fail=1
18826 rm -f conf$$subs.awk
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18829 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18830 for (key in S) S_is_set[key] = 1
18836 nfields = split(line, field, "@
")
18838 len = length(field[1])
18839 for (i = 2; i < nfields; i++) {
18841 keylen = length(key)
18842 if (S_is_set[key]) {
18844 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18845 len += length(value) + length(field[++i])
18856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18857 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18858 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18861 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18862 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
18863 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
18864 { (exit 1); exit 1; }; }
18867 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18868 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18869 # trailing colons and then remove the whole line if VPATH becomes empty
18870 # (actually we leave an empty line to preserve line numbers).
18871 if test "x
$srcdir" = x.; then
18872 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18873 s/:*\$(srcdir):*/:/
18874 s/:*\${srcdir}:*/:/
18876 s/^\([^=]*=[ ]*\):*/\1/
18882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18883 fi # test -n "$CONFIG_FILES"
18885 # Set up the scripts for CONFIG_HEADERS section.
18886 # No need to generate them if there are no CONFIG_HEADERS.
18887 # This happens for instance with `./config.status Makefile'.
18888 if test -n "$CONFIG_HEADERS"; then
18889 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18893 # Transform confdefs.h into an awk script `defines.awk', embedded as
18894 # here-document in config.status, that substitutes the proper values into
18895 # config.h.in to produce config.h.
18897 # Create a delimiter string that does not exist in confdefs.h, to ease
18898 # handling of long lines.
18900 for ac_last_try in false false :; do
18901 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18902 if test -z "$ac_t"; then
18904 elif $ac_last_try; then
18905 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
18906 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
18907 { (exit 1); exit 1; }; }
18909 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18913 # For the awk script, D is an array of macro values keyed by name,
18914 # likewise P contains macro parameters if any. Preserve backslash
18915 # newline sequences.
18917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18919 s/.\{148\}/&'"$ac_delim"'/g
18922 s/^[ ]*#[ ]*define[ ][ ]*/ /
18929 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18931 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18936 D["\
1"]=" \
3\\\\\\n
"\\/p
18938 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18943 s/.\{148\}/&'"$ac_delim"'/g
18948 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18951 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18953 ' <confdefs.h | sed '
18954 s/'"$ac_delim"'/"\\\
18955 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958 for (key in D) D_is_set[key] = 1
18961 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18963 split(line, arg, " ")
18964 if (arg[1] == "#") {
18968 defundef
= substr
(arg
[1], 2)
18971 split(mac1
, mac2
, "(") #)
18973 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18974 if (D_is_set
[macro
]) {
18975 # Preserve the white space surrounding the "#".
18976 print prefix
"define", macro P
[macro
] D
[macro
]
18979 # Replace #undef with comments. This is necessary, for example,
18980 # in the case of _POSIX_SOURCE, which is predefined and required
18981 # on some systems where configure will not decide to define it.
18982 if (defundef
== "undef") {
18983 print
"/*", prefix defundef
, macro
, "*/"
18991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18992 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18993 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18994 { (exit 1); exit 1; }; }
18995 fi # test -n "$CONFIG_HEADERS"
18998 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
19003 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19005 case $ac_mode$ac_tag in
19007 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19008 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19009 { (exit 1); exit 1; }; };;
19010 :[FH
]-) ac_tag
=-:-;;
19011 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19028 -) ac_f
="$tmp/stdin";;
19029 *) # Look for the file first in the build tree, then in the source tree
19030 # (if the path is not absolute). The absolute path cannot be DOS-style,
19031 # because $ac_f cannot contain `:'.
19035 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19037 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19038 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19039 { (exit 1); exit 1; }; };;
19041 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19042 ac_file_inputs
="$ac_file_inputs '$ac_f'"
19045 # Let's still pretend it is `configure' which instantiates (i.e., don't
19046 # use $as_me), people would be surprised to read:
19047 # /* config.h. Generated by config.status. */
19048 configure_input
='Generated from '`
19049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19051 if test x
"$ac_file" != x-
; then
19052 configure_input
="$ac_file. $configure_input"
19053 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
19054 $as_echo "$as_me: creating $ac_file" >&6;}
19056 # Neutralize special characters interpreted by sed in replacement strings.
19057 case $configure_input in #(
19058 *\
&* |
*\|
* |
*\\* )
19059 ac_sed_conf_input
=`$as_echo "$configure_input" |
19060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19061 *) ac_sed_conf_input
=$configure_input;;
19065 *:-:* |
*:-) cat >"$tmp/stdin" \
19066 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19067 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19068 { (exit 1); exit 1; }; } ;;
19073 ac_dir
=`$as_dirname -- "$ac_file" ||
19074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19075 X"$ac_file" : 'X\(//\)[^/]' \| \
19076 X"$ac_file" : 'X\(//\)$' \| \
19077 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19078 $as_echo X"$ac_file" |
19079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19083 /^X\(\/\/\)[^/].*/{
19098 -*) as_dir
=.
/$as_dir;;
19100 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
19104 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19105 *) as_qdir
=$as_dir;;
19107 as_dirs
="'$as_qdir' $as_dirs"
19108 as_dir
=`$as_dirname -- "$as_dir" ||
19109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19110 X"$as_dir" : 'X\(//\)[^/]' \| \
19111 X"$as_dir" : 'X\(//\)$' \| \
19112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19113 $as_echo X"$as_dir" |
19114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19118 /^X\(\/\/\)[^/].*/{
19131 test -d "$as_dir" && break
19133 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19134 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19135 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19136 { (exit 1); exit 1; }; }; }
19140 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19142 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19143 # A ".." for each directory in $ac_dir_suffix.
19144 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19145 case $ac_top_builddir_sub in
19146 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19147 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19150 ac_abs_top_builddir
=$ac_pwd
19151 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19152 # for backward compatibility:
19153 ac_top_builddir
=$ac_top_build_prefix
19156 .
) # We are building in place.
19158 ac_top_srcdir
=$ac_top_builddir_sub
19159 ac_abs_top_srcdir
=$ac_pwd ;;
19160 [\\/]* | ?
:[\\/]* ) # Absolute name.
19161 ac_srcdir
=$srcdir$ac_dir_suffix;
19162 ac_top_srcdir
=$srcdir
19163 ac_abs_top_srcdir
=$srcdir ;;
19164 *) # Relative name.
19165 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19166 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19167 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19169 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19179 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19180 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
19182 ac_MKDIR_P
=$MKDIR_P
19184 [\\/$
]* | ?
:[\\/]* ) ;;
19185 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
19189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19190 # If the template does not know about datarootdir, expand it.
19191 # FIXME: This hack should be removed a few years after 2.60.
19192 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19205 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19206 *datarootdir
*) ac_datarootdir_seen
=yes;;
19207 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19208 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19209 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19212 ac_datarootdir_hack='
19213 s&@datadir@&$datadir&g
19214 s&@docdir@&$docdir&g
19215 s&@infodir@&$infodir&g
19216 s&@localedir@&$localedir&g
19217 s&@mandir@&$mandir&g
19218 s&\\\${datarootdir}&$datarootdir&g' ;;
19222 # Neutralize VPATH when `$srcdir' = `.'.
19223 # Shell code in configure.ac might set extrasub.
19224 # FIXME: do we really want to maintain this feature?
19225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19226 ac_sed_extra="$ac_vpsub
19229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19231 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19232 s|@configure_input@|
$ac_sed_conf_input|
;t t
19233 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19234 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19235 s
&@srcdir@
&$ac_srcdir&;t t
19236 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19237 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19238 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19239 s
&@builddir@
&$ac_builddir&;t t
19240 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19241 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19242 s
&@INSTALL@
&$ac_INSTALL&;t t
19243 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
19244 $ac_datarootdir_hack
19246 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19247 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
19248 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
19249 { (exit 1); exit 1; }; }
19251 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19252 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19253 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19254 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19255 which seems to be undefined. Please make sure it is defined." >&5
19256 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19257 which seems to be undefined. Please make sure it is defined." >&2;}
19261 -) cat "$tmp/out" && rm -f "$tmp/out";;
19262 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19264 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19265 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19266 { (exit 1); exit 1; }; }
19272 if test x"$ac_file" != x-; then
19274 $as_echo "/* $configure_input */" \
19275 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19276 } >"$tmp/config.h" \
19277 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19278 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19279 { (exit 1); exit 1; }; }
19280 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19281 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19282 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19285 mv "$tmp/config.h" "$ac_file" \
19286 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19287 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19288 { (exit 1); exit 1; }; }
19291 $as_echo "/* $configure_input */" \
19292 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19293 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19294 $as_echo "$as_me: error: could not create -" >&2;}
19295 { (exit 1); exit 1; }; }
19305 { (exit 0); exit 0; }
19307 chmod +x $CONFIG_STATUS
19308 ac_clean_files=$ac_clean_files_save
19310 test $ac_write_fail = 0 ||
19311 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19312 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19313 { (exit 1); exit 1; }; }
19316 # configure is writing to config.log, and then calls config.status.
19317 # config.status does its own redirection, appending to config.log.
19318 # Unfortunately, on DOS this fails, as config.log is still kept open
19319 # by configure, so config.status won't be able to
write to it
; its
19320 # output is simply discarded. So we exec the FD to /dev/null,
19321 # effectively closing config.log, so it can be properly (re)opened and
19322 # appended to by config.status. When coming back to configure, we
19323 # need to make the FD available again.
19324 if test "$no_create" != yes; then
19326 ac_config_status_args
=
19327 test "$silent" = yes &&
19328 ac_config_status_args
="$ac_config_status_args --quiet"
19330 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19332 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19333 # would make configure fail if this is the last instruction.
19334 $ac_cs_success ||
{ (exit 1); exit 1; }
19336 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19337 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19338 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19342 if test x
$ODIRECT != xyes
; then
19343 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
19344 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}