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
797 program_transform_name
809 enable_option_checking
826 with_cmirrord_pidfile
852 with_dmeventd_pidfile
856 ac_precious_vars
='build_alias
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
997 { (exit 1); exit 1; }; }
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=no
;;
1009 -docdir |
--docdir |
--docdi |
--doc |
--do)
1011 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1012 docdir
=$ac_optarg ;;
1014 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1016 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1017 dvidir
=$ac_optarg ;;
1019 -enable-* |
--enable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1024 { (exit 1); exit 1; }; }
1025 ac_useropt_orig
=$ac_useropt
1026 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_
$ac_useropt"
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep
=', ';;
1034 eval enable_
$ac_useropt=\
$ac_optarg ;;
1036 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1037 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1038 |
--exec |
--exe |
--ex)
1039 ac_prev
=exec_prefix
;;
1040 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1041 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1042 |
--exec=* |
--exe=* |
--ex=*)
1043 exec_prefix
=$ac_optarg ;;
1045 -gas |
--gas |
--ga |
--g)
1046 # Obsolete; use --with-gas.
1049 -help |
--help |
--hel |
--he |
-h)
1050 ac_init_help
=long
;;
1051 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1052 ac_init_help
=recursive
;;
1053 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1054 ac_init_help
=short
;;
1056 -host |
--host |
--hos |
--ho)
1057 ac_prev
=host_alias
;;
1058 -host=* |
--host=* |
--hos=* |
--ho=*)
1059 host_alias
=$ac_optarg ;;
1061 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1063 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1065 htmldir
=$ac_optarg ;;
1067 -includedir |
--includedir |
--includedi |
--included |
--include \
1068 |
--includ |
--inclu |
--incl |
--inc)
1069 ac_prev
=includedir
;;
1070 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1071 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1072 includedir
=$ac_optarg ;;
1074 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1076 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1077 infodir
=$ac_optarg ;;
1079 -libdir |
--libdir |
--libdi |
--libd)
1081 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1082 libdir
=$ac_optarg ;;
1084 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1085 |
--libexe |
--libex |
--libe)
1086 ac_prev
=libexecdir
;;
1087 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1088 |
--libexe=* |
--libex=* |
--libe=*)
1089 libexecdir
=$ac_optarg ;;
1091 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1092 ac_prev
=localedir
;;
1093 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1094 localedir
=$ac_optarg ;;
1096 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1097 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1098 ac_prev
=localstatedir
;;
1099 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1100 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1101 localstatedir
=$ac_optarg ;;
1103 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1105 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1106 mandir
=$ac_optarg ;;
1108 -nfp |
--nfp |
--nf)
1109 # Obsolete; use --without-fp.
1112 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1113 |
--no-cr |
--no-c |
-n)
1116 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1117 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1120 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1121 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1122 |
--oldin |
--oldi |
--old |
--ol |
--o)
1123 ac_prev
=oldincludedir
;;
1124 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1125 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1126 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1127 oldincludedir
=$ac_optarg ;;
1129 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1131 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1132 prefix
=$ac_optarg ;;
1134 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1135 |
--program-pre |
--program-pr |
--program-p)
1136 ac_prev
=program_prefix
;;
1137 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1138 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1139 program_prefix
=$ac_optarg ;;
1141 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1142 |
--program-suf |
--program-su |
--program-s)
1143 ac_prev
=program_suffix
;;
1144 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1145 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1146 program_suffix
=$ac_optarg ;;
1148 -program-transform-name |
--program-transform-name \
1149 |
--program-transform-nam |
--program-transform-na \
1150 |
--program-transform-n |
--program-transform- \
1151 |
--program-transform |
--program-transfor \
1152 |
--program-transfo |
--program-transf \
1153 |
--program-trans |
--program-tran \
1154 |
--progr-tra |
--program-tr |
--program-t)
1155 ac_prev
=program_transform_name
;;
1156 -program-transform-name=* |
--program-transform-name=* \
1157 |
--program-transform-nam=* |
--program-transform-na=* \
1158 |
--program-transform-n=* |
--program-transform-=* \
1159 |
--program-transform=* |
--program-transfor=* \
1160 |
--program-transfo=* |
--program-transf=* \
1161 |
--program-trans=* |
--program-tran=* \
1162 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1163 program_transform_name
=$ac_optarg ;;
1165 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1167 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1168 pdfdir
=$ac_optarg ;;
1170 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1172 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1175 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1176 |
-silent |
--silent |
--silen |
--sile |
--sil)
1179 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1181 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1183 sbindir
=$ac_optarg ;;
1185 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1186 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1187 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1189 ac_prev
=sharedstatedir
;;
1190 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1191 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1192 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1194 sharedstatedir
=$ac_optarg ;;
1196 -site |
--site |
--sit)
1198 -site=* |
--site=* |
--sit=*)
1201 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1203 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1204 srcdir
=$ac_optarg ;;
1206 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1207 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1208 ac_prev
=sysconfdir
;;
1209 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1210 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1211 sysconfdir
=$ac_optarg ;;
1213 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1214 ac_prev
=target_alias
;;
1215 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1216 target_alias
=$ac_optarg ;;
1218 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1221 -version |
--version |
--versio |
--versi |
--vers |
-V)
1222 ac_init_version
=: ;;
1225 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1228 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1229 { (exit 1); exit 1; }; }
1230 ac_useropt_orig
=$ac_useropt
1231 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1236 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep
=', ';;
1239 eval with_
$ac_useropt=\
$ac_optarg ;;
1241 -without-* |
--without-*)
1242 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_useropt_orig
=$ac_useropt
1248 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1253 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254 ac_unrecognized_sep
=', ';;
1256 eval with_
$ac_useropt=no
;;
1259 # Obsolete; use --with-x.
1262 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1263 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1264 ac_prev
=x_includes
;;
1265 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1266 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1267 x_includes
=$ac_optarg ;;
1269 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1270 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1271 ac_prev
=x_libraries
;;
1272 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1273 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1274 x_libraries
=$ac_optarg ;;
1276 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1277 Try \`$0 --help' for more information." >&2
1278 { (exit 1); exit 1; }; }
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1285 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1286 { (exit 1); exit 1; }; }
1287 eval $ac_envvar=\
$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1294 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 if test -n "$ac_prev"; then
1302 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1303 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1304 { (exit 1); exit 1; }; }
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1311 { (exit 1); exit 1; }; } ;;
1312 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316 # Check all directory arguments for consistency.
1317 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1322 eval ac_val
=\$
$ac_var
1323 # Remove trailing slashes.
1326 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\
$ac_val;;
1329 # Be sure to have absolute directory names.
1331 [\\/$
]* | ?
:[\\/]* ) continue;;
1332 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1334 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1335 { (exit 1); exit 1; }; }
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1343 target
=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x
; then
1347 if test "x$build_alias" = x
; then
1348 cross_compiling
=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1357 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1359 test "$silent" = yes && exec 6>/dev
/null
1362 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di
=`ls -di .` &&
1364 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1365 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1366 { (exit 1); exit 1; }; }
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1369 { (exit 1); exit 1; }; }
1372 # Find the source files, if location was not specified.
1373 if test -z "$srcdir"; then
1374 ac_srcdir_defaulted
=yes
1375 # Try the directory containing this script, then the parent directory.
1376 ac_confdir
=`$as_dirname -- "$as_myself" ||
1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1378 X"$as_myself" : 'X\(//\)[^/]' \| \
1379 X"$as_myself" : 'X\(//\)$' \| \
1380 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1381 $as_echo X"$as_myself" |
1382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1404 ac_srcdir_defaulted
=no
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1407 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1408 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1409 { (exit 1); exit 1; }; }
1411 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1413 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1414 { (exit 1); exit 1; }; }
1416 # When building in place, set srcdir=.
1417 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 # Remove unnecessary trailing slashes from srcdir.
1421 # Double slashes in file names in object file debugging info
1422 # mess up M-x gdb in Emacs.
1424 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426 for ac_var
in $ac_precious_vars; do
1427 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1428 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1429 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1430 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1434 # Report the --help message.
1436 if test "$ac_init_help" = "long"; then
1437 # Omit some internal or obsolete options to make the list less imposing.
1438 # This message is too long to be a string in the A/UX 3.1 sh.
1440 \`configure' configures this package to adapt to many kinds of systems.
1442 Usage: $0 [OPTION]... [VAR=VALUE]...
1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1445 VAR=VALUE. See below for descriptions of some of the useful variables.
1447 Defaults for the options are specified in brackets.
1450 -h, --help display this help and exit
1451 --help=short display options specific to this package
1452 --help=recursive display the short help of all the included packages
1453 -V, --version display version information and exit
1454 -q, --quiet, --silent do not print \`checking...' messages
1455 --cache-file=FILE cache test results in FILE [disabled]
1456 -C, --config-cache alias for \`--cache-file=config.cache'
1457 -n, --no-create do not create output files
1458 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1460 Installation directories:
1461 --prefix=PREFIX install architecture-independent files in PREFIX
1462 [$ac_default_prefix]
1463 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 By default, \`make install' will install all the files in
1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1469 for instance \`--prefix=\$HOME'.
1471 For better control, use the options below.
1473 Fine tuning of the installation directories:
1474 --bindir=DIR user executables [EPREFIX/bin]
1475 --sbindir=DIR system admin executables [EPREFIX/sbin]
1476 --libexecdir=DIR program executables [EPREFIX/libexec]
1477 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1478 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1479 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1480 --libdir=DIR object code libraries [EPREFIX/lib]
1481 --includedir=DIR C header files [PREFIX/include]
1482 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1483 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1484 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1485 --infodir=DIR info documentation [DATAROOTDIR/info]
1486 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1487 --mandir=DIR man documentation [DATAROOTDIR/man]
1488 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1489 --htmldir=DIR html documentation [DOCDIR]
1490 --dvidir=DIR dvi documentation [DOCDIR]
1491 --pdfdir=DIR pdf documentation [DOCDIR]
1492 --psdir=DIR ps documentation [DOCDIR]
1498 --build=BUILD configure
for building on BUILD
[guessed
]
1499 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1500 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1504 if test -n "$ac_init_help"; then
1509 --disable-option-checking ignore unrecognized
--enable/--with options
1510 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1511 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1512 --enable-static_link Use this to link the tools to their libraries
1513 statically. Default is dynamic linking
1514 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1515 device-mapper is missing from the kernel
1516 --disable-readline Disable readline support
1517 --enable-realtime Enable realtime
clock support
1518 --enable-cmirrord Enable the cluster mirror log daemon
1519 --enable-debug Enable debugging
1520 --enable-profiling Gather gcov profiling data
1521 --disable-devmapper Disable LVM2 device-mapper interaction
1522 --enable-udev_sync Enable synchronisation with udev processing
1523 --enable-udev_rules Install rule files needed
for udev synchronisation
1524 --enable-compat Enable support
for old device-mapper versions
1525 --enable-units-compat Enable output compatibility with old versions that
1526 that don
't use KiB-style unit suffixes
1527 --disable-driver Disable calls to device-mapper in the kernel
1528 --disable-o_direct Disable O_DIRECT
1529 --enable-applib Build application library
1530 --enable-cmdlib Build shared command library
1531 --enable-pkgconfig Install pkgconfig support
1532 --enable-write_install Install user writable files
1533 --disable-fsadm Disable fsadm
1534 --enable-dmeventd Enable the device-mapper event daemon
1535 --disable-selinux Disable selinux support
1536 --enable-nls Enable Native Language Support
1539 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1540 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1541 --with-user=USER Set the owner of installed files [USER=]
1542 --with-group=GROUP Set the group owner of installed files [GROUP=]
1543 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1544 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1545 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1546 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1548 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1550 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1552 --with-snapshots=TYPE Snapshot support: internal/shared/none
1554 --with-mirrors=TYPE Mirror support: internal/shared/none
1556 --with-clvmd=TYPE Build cluster LVM Daemon.
1557 The following cluster manager combinations are valid:
1558 * cman,gulm (RHEL4 or equivalent)
1559 * cman (RHEL5 or equivalent)
1560 * cman,corosync,openais (or selection of them)
1561 * singlenode (localhost only)
1563 * none (disable build)
1565 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1566 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1567 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1568 --with-confdir=DIR Configuration files in DIR [/etc]
1569 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1570 --with-usrlibdir=DIR
1571 --with-usrsbindir=DIR
1572 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1573 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1574 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1575 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1576 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1587 PKG_CONFIG path to pkg-config utility
1588 PKGCONFIGINIT_CFLAGS
1589 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1591 linker flags for PKGCONFIGINIT, overriding pkg-config
1592 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1593 CCS_LIBS linker flags for CCS, overriding pkg-config
1594 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1595 GULM_LIBS linker flags for GULM, overriding pkg-config
1596 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1597 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1599 C compiler flags for COROSYNC, overriding pkg-config
1601 linker flags for COROSYNC, overriding pkg-config
1603 C compiler flags for QUORUM, overriding pkg-config
1604 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1606 C compiler flags for SALCK, overriding pkg-config
1607 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1609 C compiler flags for CONFDB, overriding pkg-config
1610 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1611 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1612 CPG_LIBS linker flags for CPG, overriding pkg-config
1613 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1614 DLM_LIBS linker flags for DLM, overriding pkg-config
1616 C compiler flags for SACKPT, overriding pkg-config
1617 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1619 Use these variables to override the choices made by `configure' or to
help
1620 it to
find libraries and programs with nonstandard names
/locations.
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1635 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1637 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1642 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1645 ac_abs_top_builddir
=$ac_pwd
1646 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir
=$ac_top_build_prefix
1651 .
) # We are building in place.
1653 ac_top_srcdir
=$ac_top_builddir_sub
1654 ac_abs_top_srcdir
=$ac_pwd ;;
1655 [\\/]* | ?
:[\\/]* ) # Absolute name.
1656 ac_srcdir
=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir
=$srcdir
1658 ac_abs_top_srcdir
=$srcdir ;;
1660 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1664 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1677 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1685 generated by GNU Autoconf
2.63
1687 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1688 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1689 This configure
script is free software
; the Free Software Foundation
1690 gives unlimited permission to copy
, distribute and modify it.
1694 cat >config.log
<<_ACEOF
1695 This file contains any messages produced by compilers while
1696 running configure, to aid debugging if configure makes a mistake.
1698 It was created by $as_me, which was
1699 generated by GNU Autoconf 2.63. Invocation command line was
1711 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1712 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1713 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1714 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1715 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1717 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1718 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1720 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1721 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1722 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1723 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1724 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1725 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1726 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1734 test -z "$as_dir" && as_dir
=.
1735 $as_echo "PATH: $as_dir"
1751 # Keep a trace of the command line.
1752 # Strip out --no-create and --no-recursion so they do not pile up.
1753 # Strip out --silent because we don't want to record it for future runs.
1754 # Also quote any args containing shell meta-characters.
1755 # Make two passes to allow for proper duplicate-argument suppression.
1759 ac_must_keep_next
=false
1765 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1766 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1767 |
-silent |
--silent |
--silen |
--sile |
--sil)
1770 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1773 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1775 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1776 if test $ac_must_keep_next = true
; then
1777 ac_must_keep_next
=false
# Got value, back to normal.
1780 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1781 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1782 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1783 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1784 case "$ac_configure_args0 " in
1785 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1788 -* ) ac_must_keep_next
=true
;;
1791 ac_configure_args
="$ac_configure_args '$ac_arg'"
1796 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1797 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1799 # When interrupted or exit'd, cleanup temporary files, and complete
1800 # config.log. We remove comments because anyway the quotes in there
1801 # would cause problems or look ugly.
1802 # WARNING: Use '\'' to represent an apostrophe within the trap.
1803 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1804 trap 'exit_status=$?
1805 # Save into config.log some information that might help in debugging.
1810 ## ---------------- ##
1811 ## Cache variables. ##
1812 ## ---------------- ##
1815 # The following way of writing the cache mishandles newlines in values,
1817 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1818 eval ac_val=\$$ac_var
1822 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1823 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1826 _ | IFS | as_nl) ;; #(
1827 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1828 *) $as_unset $ac_var ;;
1833 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1834 *${as_nl}ac_space=\ *)
1836 "s/'\''/'\''\\\\'\'''\''/g;
1837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1840 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1848 ## ----------------- ##
1849 ## Output variables. ##
1850 ## ----------------- ##
1853 for ac_var in $ac_subst_vars
1855 eval ac_val=\$$ac_var
1857 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1859 $as_echo "$ac_var='\''$ac_val'\''"
1863 if test -n "$ac_subst_files"; then
1865 ## ------------------- ##
1866 ## File substitutions. ##
1867 ## ------------------- ##
1870 for ac_var
in $ac_subst_files
1872 eval ac_val
=\$
$ac_var
1874 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1876 $as_echo "$ac_var='\''$ac_val'\''"
1881 if test -s confdefs.h; then
1891 test "$ac_signal" != 0 &&
1892 $as_echo "$as_me: caught signal $ac_signal"
1893 $as_echo "$as_me: exit $exit_status"
1895 rm -f core *.core core.conftest.* &&
1896 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1899 for ac_signal
in 1 2 13 15; do
1900 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1904 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1905 rm -f -r conftest
* confdefs.h
1907 # Predefined preprocessor variables.
1909 cat >>confdefs.h
<<_ACEOF
1910 #define PACKAGE_NAME "$PACKAGE_NAME"
1914 cat >>confdefs.h
<<_ACEOF
1915 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1919 cat >>confdefs.h
<<_ACEOF
1920 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_STRING "$PACKAGE_STRING"
1929 cat >>confdefs.h
<<_ACEOF
1930 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1934 # Let the site file select an alternate cache file if it wants to.
1935 # Prefer an explicitly selected file to automatically selected ones.
1938 if test -n "$CONFIG_SITE"; then
1939 ac_site_file1
=$CONFIG_SITE
1940 elif test "x$prefix" != xNONE
; then
1941 ac_site_file1
=$prefix/share
/config.site
1942 ac_site_file2
=$prefix/etc
/config.site
1944 ac_site_file1
=$ac_default_prefix/share
/config.site
1945 ac_site_file2
=$ac_default_prefix/etc
/config.site
1947 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1949 test "x$ac_site_file" = xNONE
&& continue
1950 if test -r "$ac_site_file"; then
1951 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1952 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1953 sed 's/^/| /' "$ac_site_file" >&5
1958 if test -r "$cache_file"; then
1959 # Some versions of bash will fail to source /dev/null (special
1960 # files actually), so we avoid doing that.
1961 if test -f "$cache_file"; then
1962 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1963 $as_echo "$as_me: loading cache $cache_file" >&6;}
1965 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1966 *) .
"./$cache_file";;
1970 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1971 $as_echo "$as_me: creating cache $cache_file" >&6;}
1975 # Check that the precious variables saved in the cache have kept the same
1977 ac_cache_corrupted
=false
1978 for ac_var
in $ac_precious_vars; do
1979 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1980 eval ac_new_set
=\
$ac_env_${ac_var}_set
1981 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1982 eval ac_new_val
=\
$ac_env_${ac_var}_value
1983 case $ac_old_set,$ac_new_set in
1985 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1986 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1987 ac_cache_corrupted
=: ;;
1989 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1990 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1991 ac_cache_corrupted
=: ;;
1994 if test "x$ac_old_val" != "x$ac_new_val"; then
1995 # differences in whitespace do not lead to failure.
1996 ac_old_val_w
=`echo x $ac_old_val`
1997 ac_new_val_w
=`echo x $ac_new_val`
1998 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1999 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2000 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2001 ac_cache_corrupted
=:
2003 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2004 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2005 eval $ac_var=\
$ac_old_val
2007 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2008 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2009 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2010 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2013 # Pass precious variables to config.status.
2014 if test "$ac_new_set" = set; then
2016 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2017 *) ac_arg
=$ac_var=$ac_new_val ;;
2019 case " $ac_configure_args " in
2020 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2021 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2025 if $ac_cache_corrupted; then
2026 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2028 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2029 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2030 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2031 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2032 { (exit 1); exit 1; }; }
2052 ac_cpp
='$CPP $CPPFLAGS'
2053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2059 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2062 ################################################################################
2064 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2065 if test -f "$ac_dir/install-sh"; then
2067 ac_install_sh
="$ac_aux_dir/install-sh -c"
2069 elif test -f "$ac_dir/install.sh"; then
2071 ac_install_sh
="$ac_aux_dir/install.sh -c"
2073 elif test -f "$ac_dir/shtool"; then
2075 ac_install_sh
="$ac_aux_dir/shtool install -c"
2079 if test -z "$ac_aux_dir"; then
2080 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2081 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2082 { (exit 1); exit 1; }; }
2085 # These three variables are undocumented and unsupported,
2086 # and are intended to be withdrawn in a future Autoconf release.
2087 # They can cause serious problems if a builder's source tree is in a directory
2088 # whose full name contains unusual characters.
2089 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2090 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2091 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2095 ################################################################################
2096 # Make sure we can run config.sub.
2097 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2098 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2099 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2100 { (exit 1); exit 1; }; }
2102 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2103 $as_echo_n "checking build system type... " >&6; }
2104 if test "${ac_cv_build+set}" = set; then
2105 $as_echo_n "(cached) " >&6
2107 ac_build_alias
=$build_alias
2108 test "x$ac_build_alias" = x
&&
2109 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2110 test "x$ac_build_alias" = x
&&
2111 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2112 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2113 { (exit 1); exit 1; }; }
2114 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2115 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2116 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2117 { (exit 1); exit 1; }; }
2120 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2121 $as_echo "$ac_cv_build" >&6; }
2122 case $ac_cv_build in
2124 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2125 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2126 { (exit 1); exit 1; }; };;
2129 ac_save_IFS
=$IFS; IFS
='-'
2135 # Remember, the first character of IFS is used to create $*,
2136 # except with old shells:
2139 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2142 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2143 $as_echo_n "checking host system type... " >&6; }
2144 if test "${ac_cv_host+set}" = set; then
2145 $as_echo_n "(cached) " >&6
2147 if test "x$host_alias" = x
; then
2148 ac_cv_host
=$ac_cv_build
2150 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2151 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2152 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2153 { (exit 1); exit 1; }; }
2157 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2158 $as_echo "$ac_cv_host" >&6; }
2161 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2162 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2163 { (exit 1); exit 1; }; };;
2166 ac_save_IFS
=$IFS; IFS
='-'
2172 # Remember, the first character of IFS is used to create $*,
2173 # except with old shells:
2176 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2179 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2180 $as_echo_n "checking target system type... " >&6; }
2181 if test "${ac_cv_target+set}" = set; then
2182 $as_echo_n "(cached) " >&6
2184 if test "x$target_alias" = x
; then
2185 ac_cv_target
=$ac_cv_host
2187 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2188 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2189 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2190 { (exit 1); exit 1; }; }
2194 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2195 $as_echo "$ac_cv_target" >&6; }
2196 case $ac_cv_target in
2198 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2199 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2200 { (exit 1); exit 1; }; };;
2202 target
=$ac_cv_target
2203 ac_save_IFS
=$IFS; IFS
='-'
2209 # Remember, the first character of IFS is used to create $*,
2210 # except with old shells:
2213 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2216 # The aliases save the names the user supplied, while $host etc.
2217 # will get canonicalized.
2218 test -n "$target_alias" &&
2219 test "$program_prefix$program_suffix$program_transform_name" = \
2221 program_prefix
=${target_alias}-
2226 COPTIMISE_FLAG
="-O2"
2227 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2228 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2229 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2230 LDDEPS
="$LDDEPS .export.sym"
2231 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2241 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2242 COPTIMISE_FLAG
="-O2"
2243 CLDFLAGS
="$CLDFLAGS"
2244 CLDWHOLEARCHIVE
="-all_load"
2256 ################################################################################
2257 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2258 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2259 if test "${ac_cv_path_SED+set}" = set; then
2260 $as_echo_n "(cached) " >&6
2262 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2263 for ac_i
in 1 2 3 4 5 6 7; do
2264 ac_script
="$ac_script$as_nl$ac_script"
2266 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2267 $as_unset ac_script || ac_script
=
2268 if test -z "$SED"; then
2269 ac_path_SED_found
=false
2270 # Loop through the user's path and test for each of PROGNAME-LIST
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_prog
in sed gsed
; do
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2279 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2280 # Check for GNU ac_path_SED and select it if it is found.
2281 # Check for GNU $ac_path_SED
2282 case `"$ac_path_SED" --version 2>&1` in
2284 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2287 $as_echo_n 0123456789 >"conftest.in"
2290 cat "conftest.in" "conftest.in" >"conftest.tmp"
2291 mv "conftest.tmp" "conftest.in"
2292 cp "conftest.in" "conftest.nl"
2293 $as_echo '' >> "conftest.nl"
2294 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2295 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2296 ac_count
=`expr $ac_count + 1`
2297 if test $ac_count -gt ${ac_path_SED_max-0}; then
2298 # Best one so far, save it but keep looking for a better one
2299 ac_cv_path_SED
="$ac_path_SED"
2300 ac_path_SED_max
=$ac_count
2302 # 10*(2^10) chars as input seems more than enough
2303 test $ac_count -gt 10 && break
2305 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2308 $ac_path_SED_found && break 3
2313 if test -z "$ac_cv_path_SED"; then
2314 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2315 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2316 { (exit 1); exit 1; }; }
2323 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2324 $as_echo "$ac_cv_path_SED" >&6; }
2325 SED
="$ac_cv_path_SED"
2328 for ac_prog
in gawk mawk nawk
awk
2330 # Extract the first word of "$ac_prog", so it can be a program name with args.
2331 set dummy
$ac_prog; ac_word
=$2
2332 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if test "${ac_cv_prog_AWK+set}" = set; then
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$AWK"; then
2338 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_AWK
="$ac_prog"
2348 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$AWK"; then
2359 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2360 $as_echo "$AWK" >&6; }
2362 { $as_echo "$as_me:$LINENO: result: no" >&5
2363 $as_echo "no" >&6; }
2367 test -n "$AWK" && break
2371 ac_cpp
='$CPP $CPPFLAGS'
2372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2377 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC
="$CC" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2394 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test -n "$CC"; then
2405 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2406 $as_echo "$CC" >&6; }
2408 { $as_echo "$as_me:$LINENO: result: no" >&5
2409 $as_echo "no" >&6; }
2414 if test -z "$ac_cv_prog_CC"; then
2416 # Extract the first word of "gcc", so it can be a program name with args.
2417 set dummy gcc
; ac_word
=$2
2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2421 $as_echo_n "(cached) " >&6
2423 if test -n "$ac_ct_CC"; then
2424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_ac_ct_CC
="gcc"
2434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2444 if test -n "$ac_ct_CC"; then
2445 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2446 $as_echo "$ac_ct_CC" >&6; }
2448 { $as_echo "$as_me:$LINENO: result: no" >&5
2449 $as_echo "no" >&6; }
2452 if test "x$ac_ct_CC" = x
; then
2455 case $cross_compiling:$ac_tool_warned in
2457 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2459 ac_tool_warned
=yes ;;
2467 if test -z "$CC"; then
2468 if test -n "$ac_tool_prefix"; then
2469 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2470 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2472 $as_echo_n "checking for $ac_word... " >&6; }
2473 if test "${ac_cv_prog_CC+set}" = set; then
2474 $as_echo_n "(cached) " >&6
2476 if test -n "$CC"; then
2477 ac_cv_prog_CC
="$CC" # Let the user override the test.
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 for ac_exec_ext
in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2487 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 if test -n "$CC"; then
2498 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2499 $as_echo "$CC" >&6; }
2501 { $as_echo "$as_me:$LINENO: result: no" >&5
2502 $as_echo "no" >&6; }
2508 if test -z "$CC"; then
2509 # Extract the first word of "cc", so it can be a program name with args.
2510 set dummy cc
; ac_word
=$2
2511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2512 $as_echo_n "checking for $ac_word... " >&6; }
2513 if test "${ac_cv_prog_CC+set}" = set; then
2514 $as_echo_n "(cached) " >&6
2516 if test -n "$CC"; then
2517 ac_cv_prog_CC
="$CC" # Let the user override the test.
2520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir
=.
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2528 ac_prog_rejected
=yes
2532 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 if test $ac_prog_rejected = yes; then
2540 # We found a bogon in the path, so make sure we never use it.
2541 set dummy
$ac_cv_prog_CC
2543 if test $# != 0; then
2544 # We chose a different compiler from the bogus one.
2545 # However, it has the same basename, so the bogon will be chosen
2546 # first if we set CC to just the basename; use the full file name.
2548 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2554 if test -n "$CC"; then
2555 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2556 $as_echo "$CC" >&6; }
2558 { $as_echo "$as_me:$LINENO: result: no" >&5
2559 $as_echo "no" >&6; }
2564 if test -z "$CC"; then
2565 if test -n "$ac_tool_prefix"; then
2566 for ac_prog
in cl.exe
2568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2569 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC
="$CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 if test -n "$CC"; then
2597 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2598 $as_echo "$CC" >&6; }
2600 { $as_echo "$as_me:$LINENO: result: no" >&5
2601 $as_echo "no" >&6; }
2605 test -n "$CC" && break
2608 if test -z "$CC"; then
2610 for ac_prog
in cl.exe
2612 # Extract the first word of "$ac_prog", so it can be a program name with args.
2613 set dummy
$ac_prog; ac_word
=$2
2614 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2617 $as_echo_n "(cached) " >&6
2619 if test -n "$ac_ct_CC"; then
2620 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir
=.
2627 for ac_exec_ext
in '' $ac_executable_extensions; do
2628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2629 ac_cv_prog_ac_ct_CC
="$ac_prog"
2630 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2640 if test -n "$ac_ct_CC"; then
2641 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2642 $as_echo "$ac_ct_CC" >&6; }
2644 { $as_echo "$as_me:$LINENO: result: no" >&5
2645 $as_echo "no" >&6; }
2649 test -n "$ac_ct_CC" && break
2652 if test "x$ac_ct_CC" = x
; then
2655 case $cross_compiling:$ac_tool_warned in
2657 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2659 ac_tool_warned
=yes ;;
2668 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2670 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2671 See \`config.log' for more details." >&5
2672 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2673 See \`config.log' for more details." >&2;}
2674 { (exit 1); exit 1; }; }; }
2676 # Provide some information about the compiler.
2677 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2680 { (ac_try
="$ac_compiler --version >&5"
2682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2686 $as_echo "$ac_try_echo") >&5
2687 (eval "$ac_compiler --version >&5") 2>&5
2689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }
2691 { (ac_try="$ac_compiler -v >&5"
2693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2694 *) ac_try_echo
=$ac_try;;
2696 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2697 $as_echo "$ac_try_echo") >&5
2698 (eval "$ac_compiler -v >&5") 2>&5
2700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }
2702 { (ac_try
="$ac_compiler -V >&5"
2704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2708 $as_echo "$ac_try_echo") >&5
2709 (eval "$ac_compiler -V >&5") 2>&5
2711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 ac_clean_files_save=$ac_clean_files
2730 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2731 # Try to create an executable without -o first, disregard a.out.
2732 # It will help us diagnose broken compilers, and finding out an intuition
2734 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2735 $as_echo_n "checking for C compiler default output file name... " >&6; }
2736 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2738 # The possible output files:
2739 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2742 for ac_file in $ac_files
2745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2746 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2751 if { (ac_try="$ac_link_default"
2753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2754 *) ac_try_echo
=$ac_try;;
2756 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2757 $as_echo "$ac_try_echo") >&5
2758 (eval "$ac_link_default") 2>&5
2760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; then
2762 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2763 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2764 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2765 # so that the user can short-circuit this test for compilers unknown to
2767 for ac_file
in $ac_files ''
2769 test -f "$ac_file" ||
continue
2771 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2774 # We found the default executable, but exeext='' is most
2778 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2780 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2782 # We set ac_cv_exeext here because the later test for it is not
2783 # safe: cross compilers may not add the suffix if given an `-o'
2784 # argument, so we may need to know it at that point already.
2785 # Even if this section looks crufty: it has the advantage of
2792 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2798 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2799 $as_echo "$ac_file" >&6; }
2800 if test -z "$ac_file"; then
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.
$ac_ext >&5
2804 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2807 See \`config.log' for more details." >&5
2808 $as_echo "$as_me: error: C compiler cannot create executables
2809 See \`config.log' for more details." >&2;}
2810 { (exit 77); exit 77; }; }; }
2813 ac_exeext
=$ac_cv_exeext
2815 # Check that the compiler produces executables we can run. If not, either
2816 # the compiler is broken, or we cross compile.
2817 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2818 $as_echo_n "checking whether the C compiler works... " >&6; }
2819 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2820 # If not cross compiling, check that we can run a simple program.
2821 if test "$cross_compiling" != yes; then
2822 if { ac_try
='./$ac_file'
2823 { (case "(($ac_try" in
2824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2828 $as_echo "$ac_try_echo") >&5
2829 (eval "$ac_try") 2>&5
2831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; }; then
2835 if test "$cross_compiling" = maybe; then
2838 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2841 If you meant to cross compile
, use \
`--host'.
2842 See \`config.log
' for more details." >&5
2843 $as_echo "$as_me: error: cannot run C compiled programs.
2844 If you meant to cross compile, use \`--host'.
2845 See \
`config.log' for more details." >&2;}
2846 { (exit 1); exit 1; }; }; }
2850 { $as_echo "$as_me:$LINENO: result: yes" >&5
2851 $as_echo "yes" >&6; }
2853 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2854 ac_clean_files=$ac_clean_files_save
2855 # Check that the compiler produces executables we can run. If not, either
2856 # the compiler is broken, or we cross compile.
2857 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2858 $as_echo_n "checking whether we are cross compiling... " >&6; }
2859 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2860 $as_echo "$cross_compiling" >&6; }
2862 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2863 $as_echo_n "checking for suffix of executables... " >&6; }
2864 if { (ac_try="$ac_link"
2866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2867 *) ac_try_echo
=$ac_try;;
2869 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2870 $as_echo "$ac_try_echo") >&5
2871 (eval "$ac_link") 2>&5
2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2876 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2877 # work properly (i.e., refer to `conftest.exe'), while it won't with
2879 for ac_file
in conftest.exe conftest conftest.
*; do
2880 test -f "$ac_file" ||
continue
2882 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2883 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2889 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2892 See \`config.log' for more details." >&5
2893 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2894 See \`config.log' for more details." >&2;}
2895 { (exit 1); exit 1; }; }; }
2898 rm -f conftest
$ac_cv_exeext
2899 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2900 $as_echo "$ac_cv_exeext" >&6; }
2902 rm -f conftest.
$ac_ext
2903 EXEEXT
=$ac_cv_exeext
2905 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2906 $as_echo_n "checking for suffix of object files... " >&6; }
2907 if test "${ac_cv_objext+set}" = set; then
2908 $as_echo_n "(cached) " >&6
2910 cat >conftest.
$ac_ext <<_ACEOF
2913 cat confdefs.h
>>conftest.
$ac_ext
2914 cat >>conftest.
$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 rm -f conftest.o conftest.obj
2926 if { (ac_try
="$ac_compile"
2928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2932 $as_echo "$ac_try_echo") >&5
2933 (eval "$ac_compile") 2>&5
2935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; then
2937 for ac_file in conftest.o conftest.obj conftest.*; do
2938 test -f "$ac_file" || continue;
2940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2941 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2946 $as_echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2952 See \
`config.log' for more details." >&5
2953 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2954 See \`config.log
' for more details." >&2;}
2955 { (exit 1); exit 1; }; }; }
2958 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2960 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2961 $as_echo "$ac_cv_objext" >&6; }
2962 OBJEXT=$ac_cv_objext
2964 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2965 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2966 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2967 $as_echo_n "(cached) " >&6
2969 cat >conftest.$ac_ext <<_ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2994 $as_echo "$ac_try_echo") >&5
2995 (eval "$ac_compile") 2>conftest.er1
2997 grep -v '^
*+' conftest.er1 >conftest.err
2999 cat conftest.err >&5
3000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); } && {
3002 test -z "$ac_c_werror_flag" ||
3003 test ! -s conftest.err
3004 } && test -s conftest.$ac_objext; then
3007 $as_echo "$as_me: failed program was:" >&5
3008 sed 's
/^
/|
/' conftest.$ac_ext >&5
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3017 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3018 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3019 if test $ac_compiler_gnu = yes; then
3024 ac_test_CFLAGS=${CFLAGS+set}
3025 ac_save_CFLAGS=$CFLAGS
3026 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3027 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3028 if test "${ac_cv_prog_cc_g+set}" = set; then
3029 $as_echo_n "(cached) " >&6
3031 ac_save_c_werror_flag=$ac_c_werror_flag
3032 ac_c_werror_flag=yes
3035 cat >conftest.$ac_ext <<_ACEOF
3038 cat confdefs.h >>conftest.$ac_ext
3039 cat >>conftest.$ac_ext <<_ACEOF
3040 /* end confdefs.h. */
3050 rm -f conftest.$ac_objext
3051 if { (ac_try="$ac_compile"
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3057 $as_echo "$ac_try_echo") >&5
3058 (eval "$ac_compile") 2>conftest.er1
3060 grep -v '^
*+' conftest.er1 >conftest.err
3062 cat conftest.err >&5
3063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } && {
3065 test -z "$ac_c_werror_flag" ||
3066 test ! -s conftest.err
3067 } && test -s conftest.$ac_objext; then
3070 $as_echo "$as_me: failed program was:" >&5
3071 sed 's
/^
/|
/' conftest.$ac_ext >&5
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
3112 ac_c_werror_flag=$ac_save_c_werror_flag
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3136 $as_echo "$ac_try_echo") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3139 grep -v '^
*+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_c_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3149 $as_echo "$as_me: failed program was:" >&5
3150 sed 's
/^
/|
/' conftest.$ac_ext >&5
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_c_werror_flag=$ac_save_c_werror_flag
3164 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3165 $as_echo "$ac_cv_prog_cc_g" >&6; }
3166 if test "$ac_test_CFLAGS" = set; then
3167 CFLAGS=$ac_save_CFLAGS
3168 elif test $ac_cv_prog_cc_g = yes; then
3169 if test "$GCC" = yes; then
3175 if test "$GCC" = yes; then
3181 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3182 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3183 if test "${ac_cv_prog_cc_c89+set}" = set; then
3184 $as_echo_n "(cached) " >&6
3186 ac_cv_prog_cc_c89=no
3188 cat >conftest.$ac_ext <<_ACEOF
3191 cat confdefs.h >>conftest.$ac_ext
3192 cat >>conftest.$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3196 #include <sys/types.h>
3197 #include <sys/stat.h>
3198 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3199 struct buf
{ int x
; };
3200 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3201 static char
*e
(p
, i
)
3207 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3212 s
= g
(p
, va_arg
(v
,int
));
3217 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3218 function prototypes and stuff
, but not
'\xHH' hex character constants.
3219 These don
't provoke an error unfortunately, instead are silently treated
3220 as 'x
'. The following induces an error, until -std is added to get
3221 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3222 array size at least. It's necessary to
write '\x00'==0 to get something
3223 that
's true only with -std. */
3224 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3226 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3227 inside strings and character constants. */
3229 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3231 int test (int i, double x);
3232 struct s1 {int (*f) (int a);};
3233 struct s2 {int (*f) (double a);};
3234 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3240 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3245 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3246 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3248 CC="$ac_save_CC $ac_arg"
3249 rm -f conftest.$ac_objext
3250 if { (ac_try="$ac_compile"
3252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253 *) ac_try_echo=$ac_try;;
3255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3256 $as_echo "$ac_try_echo") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^
*+' conftest.er1 >conftest.err
3261 cat conftest.err >&5
3262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_c_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.$ac_objext; then
3267 ac_cv_prog_cc_c89=$ac_arg
3269 $as_echo "$as_me: failed program was:" >&5
3270 sed 's
/^
/|
/' conftest.$ac_ext >&5
3275 rm -f core conftest.err conftest.$ac_objext
3276 test "x$ac_cv_prog_cc_c89" != "xno" && break
3278 rm -f conftest.$ac_ext
3283 case "x$ac_cv_prog_cc_c89" in
3285 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3286 $as_echo "none needed" >&6; } ;;
3288 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3289 $as_echo "unsupported" >&6; } ;;
3291 CC="$CC $ac_cv_prog_cc_c89"
3292 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3293 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3298 ac_cpp='$CPP $CPPFLAGS'
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3308 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3311 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3312 # On Suns, sometimes $CPP names a directory.
3313 if test -n "$CPP" && test -d "$CPP"; then
3316 if test -z "$CPP"; then
3317 if test "${ac_cv_prog_CPP+set}" = set; then
3318 $as_echo_n "(cached) " >&6
3320 # Double quotes because CPP needs to be expanded
3321 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3324 for ac_c_preproc_warn_flag in '' yes
3326 # Use a header file that comes with gcc, so configuring glibc
3327 # with a fresh cross-compiler works.
3328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3329 # <limits.h> exists even on freestanding compilers.
3330 # On the NeXT, cc -E runs the code through the compiler's parser
,
3331 # not just through cpp. "Syntax error" is here to catch this case.
3332 cat >conftest.
$ac_ext <<_ACEOF
3335 cat confdefs.h
>>conftest.
$ac_ext
3336 cat >>conftest.
$ac_ext <<_ACEOF
3337 /* end confdefs.h. */
3339 # include <limits.h>
3341 # include <assert.h>
3345 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3351 $as_echo "$ac_try_echo") >&5
3352 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3354 grep -v '^ *+' conftest.er1 >conftest.err
3356 cat conftest.err >&5
3357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } >/dev/null && {
3359 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3360 test ! -s conftest.err
3364 $as_echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 # Broken: fails on valid input.
3371 rm -f conftest.err conftest.$ac_ext
3373 # OK, works on sane cases. Now check whether nonexistent headers
3374 # can be detected and how.
3375 cat >conftest.$ac_ext <<_ACEOF
3378 cat confdefs.h >>conftest.$ac_ext
3379 cat >>conftest.$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3381 #include <ac_nonexistent.h>
3383 if { (ac_try="$ac_cpp conftest.$ac_ext"
3385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3386 *) ac_try_echo
=$ac_try;;
3388 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3389 $as_echo "$ac_try_echo") >&5
3390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3392 grep -v '^ *+' conftest.er1
>conftest.err
3394 cat conftest.err
>&5
3395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); } >/dev
/null
&& {
3397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3398 test ! -s conftest.err
3400 # Broken: success on invalid input.
3403 $as_echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.
$ac_ext >&5
3406 # Passes both tests.
3411 rm -f conftest.err conftest.
$ac_ext
3414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3415 rm -f conftest.err conftest.
$ac_ext
3416 if $ac_preproc_ok; then
3428 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3429 $as_echo "$CPP" >&6; }
3431 for ac_c_preproc_warn_flag
in '' yes
3433 # Use a header file that comes with gcc, so configuring glibc
3434 # with a fresh cross-compiler works.
3435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3436 # <limits.h> exists even on freestanding compilers.
3437 # On the NeXT, cc -E runs the code through the compiler's parser,
3438 # not just through cpp. "Syntax error" is here to catch this case.
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3446 # include <limits.h>
3448 # include <assert.h>
3452 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3458 $as_echo "$ac_try_echo") >&5
3459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3461 grep -v '^ *+' conftest.er1 >conftest.err
3463 cat conftest.err >&5
3464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } >/dev/null && {
3466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3467 test ! -s conftest.err
3471 $as_echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 # Broken: fails on valid input.
3478 rm -f conftest.err conftest.$ac_ext
3480 # OK, works on sane cases. Now check whether nonexistent headers
3481 # can be detected and how.
3482 cat >conftest.$ac_ext <<_ACEOF
3485 cat confdefs.h >>conftest.$ac_ext
3486 cat >>conftest.$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3488 #include <ac_nonexistent.h>
3490 if { (ac_try="$ac_cpp conftest.$ac_ext"
3492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3493 *) ac_try_echo
=$ac_try;;
3495 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3496 $as_echo "$ac_try_echo") >&5
3497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3499 grep -v '^ *+' conftest.er1
>conftest.err
3501 cat conftest.err
>&5
3502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } >/dev
/null
&& {
3504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3507 # Broken: success on invalid input.
3510 $as_echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.
$ac_ext >&5
3513 # Passes both tests.
3518 rm -f conftest.err conftest.
$ac_ext
3521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3522 rm -f conftest.err conftest.
$ac_ext
3523 if $ac_preproc_ok; then
3526 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3529 See \`config.log' for more details." >&5
3530 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3531 See \`config.log' for more details." >&2;}
3532 { (exit 1); exit 1; }; }; }
3536 ac_cpp
='$CPP $CPPFLAGS'
3537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3543 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3544 if test "${ac_cv_path_GREP+set}" = set; then
3545 $as_echo_n "(cached) " >&6
3547 if test -z "$GREP"; then
3548 ac_path_GREP_found
=false
3549 # Loop through the user's path and test for each of PROGNAME-LIST
3550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3551 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3554 test -z "$as_dir" && as_dir
=.
3555 for ac_prog
in grep ggrep
; do
3556 for ac_exec_ext
in '' $ac_executable_extensions; do
3557 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3558 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3559 # Check for GNU ac_path_GREP and select it if it is found.
3560 # Check for GNU $ac_path_GREP
3561 case `"$ac_path_GREP" --version 2>&1` in
3563 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3566 $as_echo_n 0123456789 >"conftest.in"
3569 cat "conftest.in" "conftest.in" >"conftest.tmp"
3570 mv "conftest.tmp" "conftest.in"
3571 cp "conftest.in" "conftest.nl"
3572 $as_echo 'GREP' >> "conftest.nl"
3573 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3575 ac_count
=`expr $ac_count + 1`
3576 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3577 # Best one so far, save it but keep looking for a better one
3578 ac_cv_path_GREP
="$ac_path_GREP"
3579 ac_path_GREP_max
=$ac_count
3581 # 10*(2^10) chars as input seems more than enough
3582 test $ac_count -gt 10 && break
3584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3587 $ac_path_GREP_found && break 3
3592 if test -z "$ac_cv_path_GREP"; then
3593 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3594 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3595 { (exit 1); exit 1; }; }
3598 ac_cv_path_GREP
=$GREP
3602 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3603 $as_echo "$ac_cv_path_GREP" >&6; }
3604 GREP
="$ac_cv_path_GREP"
3607 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3608 $as_echo_n "checking for egrep... " >&6; }
3609 if test "${ac_cv_path_EGREP+set}" = set; then
3610 $as_echo_n "(cached) " >&6
3612 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3613 then ac_cv_path_EGREP
="$GREP -E"
3615 if test -z "$EGREP"; then
3616 ac_path_EGREP_found
=false
3617 # Loop through the user's path and test for each of PROGNAME-LIST
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_prog
in egrep; do
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3626 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3627 # Check for GNU ac_path_EGREP and select it if it is found.
3628 # Check for GNU $ac_path_EGREP
3629 case `"$ac_path_EGREP" --version 2>&1` in
3631 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3634 $as_echo_n 0123456789 >"conftest.in"
3637 cat "conftest.in" "conftest.in" >"conftest.tmp"
3638 mv "conftest.tmp" "conftest.in"
3639 cp "conftest.in" "conftest.nl"
3640 $as_echo 'EGREP' >> "conftest.nl"
3641 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3642 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3643 ac_count
=`expr $ac_count + 1`
3644 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3645 # Best one so far, save it but keep looking for a better one
3646 ac_cv_path_EGREP
="$ac_path_EGREP"
3647 ac_path_EGREP_max
=$ac_count
3649 # 10*(2^10) chars as input seems more than enough
3650 test $ac_count -gt 10 && break
3652 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3655 $ac_path_EGREP_found && break 3
3660 if test -z "$ac_cv_path_EGREP"; then
3661 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3662 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3663 { (exit 1); exit 1; }; }
3666 ac_cv_path_EGREP
=$EGREP
3671 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3672 $as_echo "$ac_cv_path_EGREP" >&6; }
3673 EGREP
="$ac_cv_path_EGREP"
3676 if test $ac_cv_c_compiler_gnu = yes; then
3677 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3678 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3679 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3680 $as_echo_n "(cached) " >&6
3682 ac_pattern
="Autoconf.*'x'"
3683 cat >conftest.
$ac_ext <<_ACEOF
3686 cat confdefs.h
>>conftest.
$ac_ext
3687 cat >>conftest.
$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3693 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3694 ac_cv_prog_gcc_traditional
=yes
3696 ac_cv_prog_gcc_traditional
=no
3701 if test $ac_cv_prog_gcc_traditional = no
; then
3702 cat >conftest.
$ac_ext <<_ACEOF
3705 cat confdefs.h
>>conftest.
$ac_ext
3706 cat >>conftest.
$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3712 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3713 ac_cv_prog_gcc_traditional
=yes
3719 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3720 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3721 if test $ac_cv_prog_gcc_traditional = yes; then
3722 CC
="$CC -traditional"
3726 # Find a good install program. We prefer a C program (faster),
3727 # so one script is as good as another. But avoid the broken or
3728 # incompatible versions:
3729 # SysV /etc/install, /usr/sbin/install
3730 # SunOS /usr/etc/install
3731 # IRIX /sbin/install
3733 # AmigaOS /C/install, which installs bootblocks on floppy discs
3734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3737 # OS/2's system install, which has a completely different semantic
3738 # ./install, which can be erroneously created by make from ./install.sh.
3739 # Reject install programs that cannot install multiple files.
3740 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3741 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3742 if test -z "$INSTALL"; then
3743 if test "${ac_cv_path_install+set}" = set; then
3744 $as_echo_n "(cached) " >&6
3746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir
=.
3751 # Account for people who put trailing slashes in PATH elements.
3753 .
/ | .
// |
/cC
/* | \
3754 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3755 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3758 # OSF1 and SCO ODT 3.0 have their own names for install.
3759 # Don't use installbsd from OSF since it installs stuff as root
3761 for ac_prog
in ginstall scoinst
install; do
3762 for ac_exec_ext
in '' $ac_executable_extensions; do
3763 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3764 if test $ac_prog = install &&
3765 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3766 # AIX install. It has an incompatible calling convention.
3768 elif test $ac_prog = install &&
3769 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3770 # program-specific install script used by HP pwplus--don't use.
3773 rm -rf conftest.one conftest.two conftest.dir
3774 echo one
> conftest.one
3775 echo two
> conftest.two
3777 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3778 test -s conftest.one
&& test -s conftest.two
&&
3779 test -s conftest.dir
/conftest.one
&&
3780 test -s conftest.dir
/conftest.two
3782 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3795 rm -rf conftest.one conftest.two conftest.dir
3798 if test "${ac_cv_path_install+set}" = set; then
3799 INSTALL
=$ac_cv_path_install
3801 # As a last resort, use the slow shell script. Don't cache a
3802 # value for INSTALL within a source directory, because that will
3803 # break other packages using the cache if that directory is
3804 # removed, or if the value is a relative name.
3805 INSTALL
=$ac_install_sh
3808 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3809 $as_echo "$INSTALL" >&6; }
3811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3812 # It thinks the first close brace ends the variable substitution.
3813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3817 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3819 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3820 $as_echo_n "checking whether ln -s works... " >&6; }
3822 if test "$LN_S" = "ln -s"; then
3823 { $as_echo "$as_me:$LINENO: result: yes" >&5
3824 $as_echo "yes" >&6; }
3826 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3827 $as_echo "no, using $LN_S" >&6; }
3830 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3831 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3833 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3834 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3835 $as_echo_n "(cached) " >&6
3837 cat >conftest.
make <<\_ACEOF
3840 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3842 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3843 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3845 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3847 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3851 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3852 { $as_echo "$as_me:$LINENO: result: yes" >&5
3853 $as_echo "yes" >&6; }
3856 { $as_echo "$as_me:$LINENO: result: no" >&5
3857 $as_echo "no" >&6; }
3858 SET_MAKE
="MAKE=${MAKE-make}"
3861 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3862 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3863 if test -z "$MKDIR_P"; then
3864 if test "${ac_cv_path_mkdir+set}" = set; then
3865 $as_echo_n "(cached) " >&6
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_prog
in mkdir gmkdir
; do
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3875 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3876 'mkdir (GNU coreutils) '* | \
3877 'mkdir (coreutils) '* | \
3878 'mkdir (fileutils) '4.1*)
3879 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3889 if test "${ac_cv_path_mkdir+set}" = set; then
3890 MKDIR_P
="$ac_cv_path_mkdir -p"
3892 # As a last resort, use the slow shell script. Don't cache a
3893 # value for MKDIR_P within a source directory, because that will
3894 # break other packages using the cache if that directory is
3895 # removed, or if the value is a relative name.
3896 test -d .
/--version && rmdir .
/--version
3897 MKDIR_P
="$ac_install_sh -d"
3900 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3901 $as_echo "$MKDIR_P" >&6; }
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3905 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3906 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if test "${ac_cv_prog_RANLIB+set}" = set; then
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$RANLIB"; then
3912 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3921 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3922 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 RANLIB
=$ac_cv_prog_RANLIB
3932 if test -n "$RANLIB"; then
3933 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3934 $as_echo "$RANLIB" >&6; }
3936 { $as_echo "$as_me:$LINENO: result: no" >&5
3937 $as_echo "no" >&6; }
3942 if test -z "$ac_cv_prog_RANLIB"; then
3943 ac_ct_RANLIB
=$RANLIB
3944 # Extract the first word of "ranlib", so it can be a program name with args.
3945 set dummy ranlib
; ac_word
=$2
3946 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$ac_ct_RANLIB"; then
3952 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_exec_ext
in '' $ac_executable_extensions; do
3960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3962 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3972 if test -n "$ac_ct_RANLIB"; then
3973 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3974 $as_echo "$ac_ct_RANLIB" >&6; }
3976 { $as_echo "$as_me:$LINENO: result: no" >&5
3977 $as_echo "no" >&6; }
3980 if test "x$ac_ct_RANLIB" = x
; then
3983 case $cross_compiling:$ac_tool_warned in
3985 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3987 ac_tool_warned
=yes ;;
3989 RANLIB
=$ac_ct_RANLIB
3992 RANLIB
="$ac_cv_prog_RANLIB"
3995 # Extract the first word of "cflow", so it can be a program name with args.
3996 set dummy cflow
; ac_word
=$2
3997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3998 $as_echo_n "checking for $ac_word... " >&6; }
3999 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
4000 $as_echo_n "(cached) " >&6
4004 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4014 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4015 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4026 if test -n "$CFLOW_CMD"; then
4027 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4028 $as_echo "$CFLOW_CMD" >&6; }
4030 { $as_echo "$as_me:$LINENO: result: no" >&5
4031 $as_echo "no" >&6; }
4035 # Extract the first word of "cscope", so it can be a program name with args.
4036 set dummy cscope
; ac_word
=$2
4037 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4040 $as_echo_n "(cached) " >&6
4044 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4054 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4055 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4066 if test -n "$CSCOPE_CMD"; then
4067 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4068 $as_echo "$CSCOPE_CMD" >&6; }
4070 { $as_echo "$as_me:$LINENO: result: no" >&5
4071 $as_echo "no" >&6; }
4076 ################################################################################
4083 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4084 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4085 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4086 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4087 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4088 $as_echo_n "(cached) " >&6
4090 cat >conftest.
$ac_ext <<_ACEOF
4093 cat confdefs.h
>>conftest.
$ac_ext
4094 cat >>conftest.
$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 #include <sys/types.h>
4108 rm -f conftest.
$ac_objext
4109 if { (ac_try
="$ac_compile"
4111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4115 $as_echo "$ac_try_echo") >&5
4116 (eval "$ac_compile") 2>conftest.er1
4118 grep -v '^ *+' conftest.er1 >conftest.err
4120 cat conftest.err >&5
4121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && {
4123 test -z "$ac_c_werror_flag" ||
4124 test ! -s conftest.err
4125 } && test -s conftest.$ac_objext; then
4126 eval "$as_ac_Header=yes"
4128 $as_echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.$ac_ext >&5
4131 eval "$as_ac_Header=no"
4134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136 ac_res=`eval 'as_val=${'$as_ac_Header'}
4137 $as_echo "$as_val"'`
4138 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4139 $as_echo "$ac_res" >&6; }
4140 as_val=`eval 'as_val=${'$as_ac_Header'}
4141 $as_echo "$as_val"'`
4142 if test "x$as_val" = x""yes; then
4143 cat >>confdefs.h <<_ACEOF
4144 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4147 ac_header_dirent=$ac_hdr; break
4151 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4152 if test $ac_header_dirent = dirent.h; then
4153 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4154 $as_echo_n "checking for library containing opendir... " >&6; }
4155 if test "${ac_cv_search_opendir+set}" = set; then
4156 $as_echo_n "(cached) " >&6
4158 ac_func_search_save_LIBS=$LIBS
4159 cat >conftest.$ac_ext <<_ACEOF
4162 cat confdefs.h >>conftest.$ac_ext
4163 cat >>conftest.$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4166 /* Override any GCC internal prototype to avoid an error.
4167 Use char because int might match the return type of a GCC
4168 builtin and then its argument prototype would still apply. */
4181 for ac_lib in '' dir; do
4182 if test -z "$ac_lib"; then
4183 ac_res="none required"
4186 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4192 *) ac_try_echo
=$ac_try;;
4194 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4195 $as_echo "$ac_try_echo") >&5
4196 (eval "$ac_link") 2>conftest.er1
4198 grep -v '^ *+' conftest.er1
>conftest.err
4200 cat conftest.err
>&5
4201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_c_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest
$ac_exeext && {
4206 test "$cross_compiling" = yes ||
4207 $as_test_x conftest
$ac_exeext
4209 ac_cv_search_opendir
=$ac_res
4211 $as_echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4217 rm -rf conftest.dSYM
4218 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4220 if test "${ac_cv_search_opendir+set}" = set; then
4224 if test "${ac_cv_search_opendir+set}" = set; then
4227 ac_cv_search_opendir
=no
4230 LIBS
=$ac_func_search_save_LIBS
4232 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4233 $as_echo "$ac_cv_search_opendir" >&6; }
4234 ac_res
=$ac_cv_search_opendir
4235 if test "$ac_res" != no
; then
4236 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4241 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4242 $as_echo_n "checking for library containing opendir... " >&6; }
4243 if test "${ac_cv_search_opendir+set}" = set; then
4244 $as_echo_n "(cached) " >&6
4246 ac_func_search_save_LIBS
=$LIBS
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4254 /* Override any GCC internal prototype to avoid an error.
4255 Use char because int might match the return type of a GCC
4256 builtin and then its argument prototype would still apply. */
4269 for ac_lib
in '' x
; do
4270 if test -z "$ac_lib"; then
4271 ac_res
="none required"
4274 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4276 rm -f conftest.
$ac_objext conftest
$ac_exeext
4277 if { (ac_try
="$ac_link"
4279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;;
4282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4283 $as_echo "$ac_try_echo") >&5
4284 (eval "$ac_link") 2>conftest.er1
4286 grep -v '^ *+' conftest.er1 >conftest.err
4288 cat conftest.err >&5
4289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } && {
4291 test -z "$ac_c_werror_flag" ||
4292 test ! -s conftest.err
4293 } && test -s conftest$ac_exeext && {
4294 test "$cross_compiling" = yes ||
4295 $as_test_x conftest$ac_exeext
4297 ac_cv_search_opendir=$ac_res
4299 $as_echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.$ac_ext >&5
4305 rm -rf conftest.dSYM
4306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4308 if test "${ac_cv_search_opendir+set}" = set; then
4312 if test "${ac_cv_search_opendir+set}" = set; then
4315 ac_cv_search_opendir=no
4318 LIBS=$ac_func_search_save_LIBS
4320 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4321 $as_echo "$ac_cv_search_opendir" >&6; }
4322 ac_res=$ac_cv_search_opendir
4323 if test "$ac_res" != no; then
4324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4330 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4331 $as_echo_n "checking for ANSI C header files... " >&6; }
4332 if test "${ac_cv_header_stdc+set}" = set; then
4333 $as_echo_n "(cached) " >&6
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4354 rm -f conftest.$ac_objext
4355 if { (ac_try="$ac_compile"
4357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4358 *) ac_try_echo
=$ac_try;;
4360 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4361 $as_echo "$ac_try_echo") >&5
4362 (eval "$ac_compile") 2>conftest.er1
4364 grep -v '^ *+' conftest.er1
>conftest.err
4366 cat conftest.err
>&5
4367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_c_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest.
$ac_objext; then
4372 ac_cv_header_stdc
=yes
4374 $as_echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.
$ac_ext >&5
4377 ac_cv_header_stdc
=no
4380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4382 if test $ac_cv_header_stdc = yes; then
4383 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4384 cat >conftest.
$ac_ext <<_ACEOF
4387 cat confdefs.h
>>conftest.
$ac_ext
4388 cat >>conftest.
$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4394 $EGREP "memchr" >/dev
/null
2>&1; then
4397 ac_cv_header_stdc
=no
4403 if test $ac_cv_header_stdc = yes; then
4404 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4405 cat >conftest.
$ac_ext <<_ACEOF
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4415 $EGREP "free" >/dev
/null
2>&1; then
4418 ac_cv_header_stdc
=no
4424 if test $ac_cv_header_stdc = yes; then
4425 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4426 if test "$cross_compiling" = yes; then
4429 cat >conftest.
$ac_ext <<_ACEOF
4432 cat confdefs.h
>>conftest.
$ac_ext
4433 cat >>conftest.
$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4437 #if ((' ' & 0x0FF) == 0x020)
4438 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4439 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4441 # define ISLOWER(c) \
4442 (('a' <= (c) && (c) <= 'i') \
4443 || ('j' <= (c) && (c) <= 'r') \
4444 || ('s' <= (c) && (c) <= 'z'))
4445 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4448 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4453 for (i = 0; i < 256; i++)
4454 if (XOR (islower (i), ISLOWER (i))
4455 || toupper (i) != TOUPPER (i))
4460 rm -f conftest
$ac_exeext
4461 if { (ac_try
="$ac_link"
4463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4467 $as_echo "$ac_try_echo") >&5
4468 (eval "$ac_link") 2>&5
4470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4472 { (case "(($ac_try" in
4473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4474 *) ac_try_echo
=$ac_try;;
4476 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4477 $as_echo "$ac_try_echo") >&5
4478 (eval "$ac_try") 2>&5
4480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4484 $as_echo "$as_me: program exited with status $ac_status" >&5
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4489 ac_cv_header_stdc
=no
4491 rm -rf conftest.dSYM
4492 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4498 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4499 $as_echo "$ac_cv_header_stdc" >&6; }
4500 if test $ac_cv_header_stdc = yes; then
4502 cat >>confdefs.h
<<\_ACEOF
4503 #define STDC_HEADERS 1
4508 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4509 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4510 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4511 $as_echo_n "(cached) " >&6
4513 cat >conftest.
$ac_ext <<_ACEOF
4516 cat confdefs.h
>>conftest.
$ac_ext
4517 cat >>conftest.
$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 #include <sys/types.h>
4520 #include <sys/wait.h>
4522 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4525 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4533 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4538 rm -f conftest.
$ac_objext
4539 if { (ac_try
="$ac_compile"
4541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4545 $as_echo "$ac_try_echo") >&5
4546 (eval "$ac_compile") 2>conftest.er1
4548 grep -v '^ *+' conftest.er1 >conftest.err
4550 cat conftest.err >&5
4551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); } && {
4553 test -z "$ac_c_werror_flag" ||
4554 test ! -s conftest.err
4555 } && test -s conftest.$ac_objext; then
4556 ac_cv_header_sys_wait_h=yes
4558 $as_echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.$ac_ext >&5
4561 ac_cv_header_sys_wait_h=no
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4567 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4568 if test $ac_cv_header_sys_wait_h = yes; then
4570 cat >>confdefs.h <<\_ACEOF
4571 #define HAVE_SYS_WAIT_H 1
4576 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4577 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4578 if test "${ac_cv_header_time+set}" = set; then
4579 $as_echo_n "(cached) " >&6
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 #include <sys/types.h>
4588 #include <sys/time.h>
4594 if ((struct tm *) 0)
4600 rm -f conftest.$ac_objext
4601 if { (ac_try="$ac_compile"
4603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4604 *) ac_try_echo
=$ac_try;;
4606 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4607 $as_echo "$ac_try_echo") >&5
4608 (eval "$ac_compile") 2>conftest.er1
4610 grep -v '^ *+' conftest.er1
>conftest.err
4612 cat conftest.err
>&5
4613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } && {
4615 test -z "$ac_c_werror_flag" ||
4616 test ! -s conftest.err
4617 } && test -s conftest.
$ac_objext; then
4618 ac_cv_header_time
=yes
4620 $as_echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.
$ac_ext >&5
4623 ac_cv_header_time
=no
4626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4628 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4629 $as_echo "$ac_cv_header_time" >&6; }
4630 if test $ac_cv_header_time = yes; then
4632 cat >>confdefs.h
<<\_ACEOF
4633 #define TIME_WITH_SYS_TIME 1
4639 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4649 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4650 inttypes.h stdint.h unistd.h
4652 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4653 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4654 $as_echo_n "checking for $ac_header... " >&6; }
4655 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4656 $as_echo_n "(cached) " >&6
4658 cat >conftest.
$ac_ext <<_ACEOF
4661 cat confdefs.h
>>conftest.
$ac_ext
4662 cat >>conftest.
$ac_ext <<_ACEOF
4663 /* end confdefs.h. */
4664 $ac_includes_default
4666 #include <$ac_header>
4668 rm -f conftest.
$ac_objext
4669 if { (ac_try
="$ac_compile"
4671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4672 *) ac_try_echo=$ac_try;;
4674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4675 $as_echo "$ac_try_echo") >&5
4676 (eval "$ac_compile") 2>conftest.er1
4678 grep -v '^ *+' conftest.er1 >conftest.err
4680 cat conftest.err >&5
4681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); } && {
4683 test -z "$ac_c_werror_flag" ||
4684 test ! -s conftest.err
4685 } && test -s conftest.$ac_objext; then
4686 eval "$as_ac_Header=yes"
4688 $as_echo "$as_me: failed program was:" >&5
4689 sed 's/^/| /' conftest.$ac_ext >&5
4691 eval "$as_ac_Header=no"
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 ac_res=`eval 'as_val=${'$as_ac_Header'}
4697 $as_echo "$as_val"'`
4698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4699 $as_echo "$ac_res" >&6; }
4700 as_val=`eval 'as_val=${'$as_ac_Header'}
4701 $as_echo "$as_val"'`
4702 if test "x$as_val" = x""yes; then
4703 cat >>confdefs.h <<_ACEOF
4704 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4725 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4726 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4730 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4731 $as_echo_n "checking for $ac_header... " >&6; }
4732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4733 $as_echo_n "(cached) " >&6
4735 ac_res=`eval 'as_val=${'$as_ac_Header'}
4736 $as_echo "$as_val"'`
4737 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4738 $as_echo "$ac_res" >&6; }
4740 # Is the header compilable?
4741 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4742 $as_echo_n "checking $ac_header usability... " >&6; }
4743 cat >conftest.$ac_ext <<_ACEOF
4746 cat confdefs.h >>conftest.$ac_ext
4747 cat >>conftest.$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4749 $ac_includes_default
4750 #include <$ac_header>
4752 rm -f conftest.$ac_objext
4753 if { (ac_try="$ac_compile"
4755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4756 *) ac_try_echo
=$ac_try;;
4758 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4759 $as_echo "$ac_try_echo") >&5
4760 (eval "$ac_compile") 2>conftest.er1
4762 grep -v '^ *+' conftest.er1
>conftest.err
4764 cat conftest.err
>&5
4765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest.
$ac_objext; then
4770 ac_header_compiler
=yes
4772 $as_echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.
$ac_ext >&5
4775 ac_header_compiler
=no
4778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4780 $as_echo "$ac_header_compiler" >&6; }
4782 # Is the header present?
4783 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4784 $as_echo_n "checking $ac_header presence... " >&6; }
4785 cat >conftest.
$ac_ext <<_ACEOF
4788 cat confdefs.h
>>conftest.
$ac_ext
4789 cat >>conftest.
$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 #include <$ac_header>
4793 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4796 *) ac_try_echo=$ac_try;;
4798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4799 $as_echo "$ac_try_echo") >&5
4800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4802 grep -v '^ *+' conftest.er1 >conftest.err
4804 cat conftest.err >&5
4805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } >/dev/null && {
4807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4808 test ! -s conftest.err
4810 ac_header_preproc=yes
4812 $as_echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4815 ac_header_preproc=no
4818 rm -f conftest.err conftest.$ac_ext
4819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4820 $as_echo "$ac_header_preproc" >&6; }
4822 # So? What about this header?
4823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4826 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4829 ac_header_preproc=yes
4832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4833 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4835 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4837 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4839 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4843 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4847 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4848 $as_echo_n "checking for $ac_header... " >&6; }
4849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4850 $as_echo_n "(cached) " >&6
4852 eval "$as_ac_Header=\$ac_header_preproc"
4854 ac_res=`eval 'as_val=${'$as_ac_Header'}
4855 $as_echo "$as_val"'`
4856 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4857 $as_echo "$ac_res" >&6; }
4860 as_val=`eval 'as_val=${'$as_ac_Header'}
4861 $as_echo "$as_val"'`
4862 if test "x$as_val" = x""yes; then
4863 cat >>confdefs.h <<_ACEOF
4864 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4868 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4869 $as_echo "$as_me: error: bailing out" >&2;}
4870 { (exit 1); exit 1; }; }
4881 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4885 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4886 $as_echo_n "checking for $ac_header... " >&6; }
4887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4888 $as_echo_n "(cached) " >&6
4890 ac_res=`eval 'as_val=${'$as_ac_Header'}
4891 $as_echo "$as_val"'`
4892 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4893 $as_echo "$ac_res" >&6; }
4895 # Is the header compilable?
4896 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4897 $as_echo_n "checking $ac_header usability... " >&6; }
4898 cat >conftest.$ac_ext <<_ACEOF
4901 cat confdefs.h >>conftest.$ac_ext
4902 cat >>conftest.$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4904 $ac_includes_default
4905 #include <$ac_header>
4907 rm -f conftest.$ac_objext
4908 if { (ac_try="$ac_compile"
4910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4911 *) ac_try_echo
=$ac_try;;
4913 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4914 $as_echo "$ac_try_echo") >&5
4915 (eval "$ac_compile") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1
>conftest.err
4919 cat conftest.err
>&5
4920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } && {
4922 test -z "$ac_c_werror_flag" ||
4923 test ! -s conftest.err
4924 } && test -s conftest.
$ac_objext; then
4925 ac_header_compiler
=yes
4927 $as_echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.
$ac_ext >&5
4930 ac_header_compiler
=no
4933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4934 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4935 $as_echo "$ac_header_compiler" >&6; }
4937 # Is the header present?
4938 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4939 $as_echo_n "checking $ac_header presence... " >&6; }
4940 cat >conftest.
$ac_ext <<_ACEOF
4943 cat confdefs.h
>>conftest.
$ac_ext
4944 cat >>conftest.
$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4946 #include <$ac_header>
4948 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4954 $as_echo "$ac_try_echo") >&5
4955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4957 grep -v '^ *+' conftest.er1 >conftest.err
4959 cat conftest.err >&5
4960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } >/dev/null && {
4962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4963 test ! -s conftest.err
4965 ac_header_preproc=yes
4967 $as_echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5
4970 ac_header_preproc=no
4973 rm -f conftest.err conftest.$ac_ext
4974 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4975 $as_echo "$ac_header_preproc" >&6; }
4977 # So? What about this header?
4978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4981 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4983 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4984 ac_header_preproc=yes
4987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4988 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4990 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4992 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4994 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4996 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4998 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5002 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5003 $as_echo_n "checking for $ac_header... " >&6; }
5004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5005 $as_echo_n "(cached) " >&6
5007 eval "$as_ac_Header=\$ac_header_preproc"
5009 ac_res=`eval 'as_val=${'$as_ac_Header'}
5010 $as_echo "$as_val"'`
5011 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5012 $as_echo "$ac_res" >&6; }
5015 as_val=`eval 'as_val=${'$as_ac_Header'}
5016 $as_echo "$as_val"'`
5017 if test "x$as_val" = x""yes; then
5018 cat >>confdefs.h <<_ACEOF
5019 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5023 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5024 $as_echo "$as_me: error: bailing out" >&2;}
5025 { (exit 1); exit 1; }; }
5033 for ac_header in machine/endian.h sys/disk.h
5035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5037 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5038 $as_echo_n "checking for $ac_header... " >&6; }
5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5040 $as_echo_n "(cached) " >&6
5042 ac_res=`eval 'as_val=${'$as_ac_Header'}
5043 $as_echo "$as_val"'`
5044 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5045 $as_echo "$ac_res" >&6; }
5047 # Is the header compilable?
5048 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5049 $as_echo_n "checking $ac_header usability... " >&6; }
5050 cat >conftest.$ac_ext <<_ACEOF
5053 cat confdefs.h >>conftest.$ac_ext
5054 cat >>conftest.$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5056 $ac_includes_default
5057 #include <$ac_header>
5059 rm -f conftest.$ac_objext
5060 if { (ac_try="$ac_compile"
5062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5063 *) ac_try_echo
=$ac_try;;
5065 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5066 $as_echo "$ac_try_echo") >&5
5067 (eval "$ac_compile") 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest.
$ac_objext; then
5077 ac_header_compiler
=yes
5079 $as_echo "$as_me: failed program was:" >&5
5080 sed 's/^/| /' conftest.
$ac_ext >&5
5082 ac_header_compiler
=no
5085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5086 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5087 $as_echo "$ac_header_compiler" >&6; }
5089 # Is the header present?
5090 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5091 $as_echo_n "checking $ac_header presence... " >&6; }
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5098 #include <$ac_header>
5100 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5106 $as_echo "$ac_try_echo") >&5
5107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5109 grep -v '^ *+' conftest.er1 >conftest.err
5111 cat conftest.err >&5
5112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } >/dev/null && {
5114 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5115 test ! -s conftest.err
5117 ac_header_preproc=yes
5119 $as_echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.$ac_ext >&5
5122 ac_header_preproc=no
5125 rm -f conftest.err conftest.$ac_ext
5126 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5127 $as_echo "$ac_header_preproc" >&6; }
5129 # So? What about this header?
5130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5133 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5136 ac_header_preproc=yes
5139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5140 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5142 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5144 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5146 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5148 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5150 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5154 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5155 $as_echo_n "checking for $ac_header... " >&6; }
5156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5157 $as_echo_n "(cached) " >&6
5159 eval "$as_ac_Header=\$ac_header_preproc"
5161 ac_res=`eval 'as_val=${'$as_ac_Header'}
5162 $as_echo "$as_val"'`
5163 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5164 $as_echo "$ac_res" >&6; }
5167 as_val=`eval 'as_val=${'$as_ac_Header'}
5168 $as_echo "$as_val"'`
5169 if test "x$as_val" = x""yes; then
5170 cat >>confdefs.h <<_ACEOF
5171 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5175 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5176 $as_echo "$as_me: error: bailing out" >&2;}
5177 { (exit 1); exit 1; }; }
5200 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5201 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5202 sys/types.h unistd.h
5204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5206 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5207 $as_echo_n "checking for $ac_header... " >&6; }
5208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5209 $as_echo_n "(cached) " >&6
5211 ac_res=`eval 'as_val=${'$as_ac_Header'}
5212 $as_echo "$as_val"'`
5213 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5214 $as_echo "$ac_res" >&6; }
5216 # Is the header compilable?
5217 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5218 $as_echo_n "checking $ac_header usability... " >&6; }
5219 cat >conftest.$ac_ext <<_ACEOF
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h. */
5225 $ac_includes_default
5226 #include <$ac_header>
5228 rm -f conftest.$ac_objext
5229 if { (ac_try="$ac_compile"
5231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5232 *) ac_try_echo
=$ac_try;;
5234 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5235 $as_echo "$ac_try_echo") >&5
5236 (eval "$ac_compile") 2>conftest.er1
5238 grep -v '^ *+' conftest.er1
>conftest.err
5240 cat conftest.err
>&5
5241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } && {
5243 test -z "$ac_c_werror_flag" ||
5244 test ! -s conftest.err
5245 } && test -s conftest.
$ac_objext; then
5246 ac_header_compiler
=yes
5248 $as_echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.
$ac_ext >&5
5251 ac_header_compiler
=no
5254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5255 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5256 $as_echo "$ac_header_compiler" >&6; }
5258 # Is the header present?
5259 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5260 $as_echo_n "checking $ac_header presence... " >&6; }
5261 cat >conftest.
$ac_ext <<_ACEOF
5264 cat confdefs.h
>>conftest.
$ac_ext
5265 cat >>conftest.
$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5267 #include <$ac_header>
5269 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5275 $as_echo "$ac_try_echo") >&5
5276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5278 grep -v '^ *+' conftest.er1 >conftest.err
5280 cat conftest.err >&5
5281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } >/dev/null && {
5283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5284 test ! -s conftest.err
5286 ac_header_preproc=yes
5288 $as_echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.$ac_ext >&5
5291 ac_header_preproc=no
5294 rm -f conftest.err conftest.$ac_ext
5295 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5296 $as_echo "$ac_header_preproc" >&6; }
5298 # So? What about this header?
5299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5302 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5304 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5305 ac_header_preproc=yes
5308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5309 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5311 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5313 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5315 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5317 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5319 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5323 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5324 $as_echo_n "checking for $ac_header... " >&6; }
5325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5326 $as_echo_n "(cached) " >&6
5328 eval "$as_ac_Header=\$ac_header_preproc"
5330 ac_res=`eval 'as_val=${'$as_ac_Header'}
5331 $as_echo "$as_val"'`
5332 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5333 $as_echo "$ac_res" >&6; }
5336 as_val=`eval 'as_val=${'$as_ac_Header'}
5337 $as_echo "$as_val"'`
5338 if test "x$as_val" = x""yes; then
5339 cat >>confdefs.h <<_ACEOF
5340 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5344 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5345 $as_echo "$as_me: error: bailing out" >&2;}
5346 { (exit 1); exit 1; }; }
5353 for ac_header in termios.h sys/statvfs.h
5355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5357 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5358 $as_echo_n "checking for $ac_header... " >&6; }
5359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5360 $as_echo_n "(cached) " >&6
5362 ac_res=`eval 'as_val=${'$as_ac_Header'}
5363 $as_echo "$as_val"'`
5364 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5365 $as_echo "$ac_res" >&6; }
5367 # Is the header compilable?
5368 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5369 $as_echo_n "checking $ac_header usability... " >&6; }
5370 cat >conftest.$ac_ext <<_ACEOF
5373 cat confdefs.h >>conftest.$ac_ext
5374 cat >>conftest.$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5376 $ac_includes_default
5377 #include <$ac_header>
5379 rm -f conftest.$ac_objext
5380 if { (ac_try="$ac_compile"
5382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5383 *) ac_try_echo
=$ac_try;;
5385 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5386 $as_echo "$ac_try_echo") >&5
5387 (eval "$ac_compile") 2>conftest.er1
5389 grep -v '^ *+' conftest.er1
>conftest.err
5391 cat conftest.err
>&5
5392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); } && {
5394 test -z "$ac_c_werror_flag" ||
5395 test ! -s conftest.err
5396 } && test -s conftest.
$ac_objext; then
5397 ac_header_compiler
=yes
5399 $as_echo "$as_me: failed program was:" >&5
5400 sed 's/^/| /' conftest.
$ac_ext >&5
5402 ac_header_compiler
=no
5405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5406 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5407 $as_echo "$ac_header_compiler" >&6; }
5409 # Is the header present?
5410 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5411 $as_echo_n "checking $ac_header presence... " >&6; }
5412 cat >conftest.
$ac_ext <<_ACEOF
5415 cat confdefs.h
>>conftest.
$ac_ext
5416 cat >>conftest.
$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5418 #include <$ac_header>
5420 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5423 *) ac_try_echo=$ac_try;;
5425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5426 $as_echo "$ac_try_echo") >&5
5427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5429 grep -v '^ *+' conftest.er1 >conftest.err
5431 cat conftest.err >&5
5432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } >/dev/null && {
5434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5435 test ! -s conftest.err
5437 ac_header_preproc=yes
5439 $as_echo "$as_me: failed program was:" >&5
5440 sed 's/^/| /' conftest.$ac_ext >&5
5442 ac_header_preproc=no
5445 rm -f conftest.err conftest.$ac_ext
5446 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5447 $as_echo "$ac_header_preproc" >&6; }
5449 # So? What about this header?
5450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5453 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5455 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5456 ac_header_preproc=yes
5459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5460 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5462 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5464 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5466 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5468 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5470 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5474 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5475 $as_echo_n "checking for $ac_header... " >&6; }
5476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5477 $as_echo_n "(cached) " >&6
5479 eval "$as_ac_Header=\$ac_header_preproc"
5481 ac_res=`eval 'as_val=${'$as_ac_Header'}
5482 $as_echo "$as_val"'`
5483 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5484 $as_echo "$ac_res" >&6; }
5487 as_val=`eval 'as_val=${'$as_ac_Header'}
5488 $as_echo "$as_val"'`
5489 if test "x$as_val" = x""yes; then
5490 cat >>confdefs.h <<_ACEOF
5491 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5499 ################################################################################
5500 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5501 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5502 if test "${ac_cv_c_const+set}" = set; then
5503 $as_echo_n "(cached) " >&6
5505 cat >conftest.$ac_ext <<_ACEOF
5508 cat confdefs.h >>conftest.$ac_ext
5509 cat >>conftest.$ac_ext <<_ACEOF
5510 /* end confdefs.h. */
5515 /* FIXME: Include the comments suggested by Paul. */
5517 /* Ultrix mips cc rejects this. */
5518 typedef int charset[2];
5520 /* SunOS 4.1.1 cc rejects this. */
5521 char const *const *pcpcc;
5523 /* NEC SVR4.0.2 mips cc rejects this. */
5524 struct point {int x, y;};
5525 static struct point const zero = {0,0};
5526 /* AIX XL C 1.02.0.0 rejects this.
5527 It does not let you subtract one const X* pointer from another in
5528 an arm of an if-expression whose if-part is not a constant
5530 const char *g = "string";
5531 pcpcc = &g + (g ? g-g : 0);
5532 /* HPUX 7.0 cc rejects these. */
5534 ppc = (char**) pcpcc;
5535 pcpcc = (char const *const *) ppc;
5536 { /* SCO 3.2v4 cc rejects this. */
5538 char const *s = 0 ? (char *) 0 : (char const *) 0;
5543 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5545 const int *foo = &x[0];
5548 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5549 typedef const int *iptr;
5553 { /* AIX XL C 1.02.0.0 rejects this saying
5554 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5555 struct s { int j; const int *ap[3]; };
5556 struct s *b; b->j = 5;
5558 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5562 return !cs[0] && !zero.x;
5569 rm -f conftest.$ac_objext
5570 if { (ac_try="$ac_compile"
5572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5573 *) ac_try_echo
=$ac_try;;
5575 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5576 $as_echo "$ac_try_echo") >&5
5577 (eval "$ac_compile") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1
>conftest.err
5581 cat conftest.err
>&5
5582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && {
5584 test -z "$ac_c_werror_flag" ||
5585 test ! -s conftest.err
5586 } && test -s conftest.
$ac_objext; then
5589 $as_echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.
$ac_ext >&5
5595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5598 $as_echo "$ac_cv_c_const" >&6; }
5599 if test $ac_cv_c_const = no
; then
5601 cat >>confdefs.h
<<\_ACEOF
5607 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5608 $as_echo_n "checking for inline... " >&6; }
5609 if test "${ac_cv_c_inline+set}" = set; then
5610 $as_echo_n "(cached) " >&6
5613 for ac_kw
in inline __inline__ __inline
; do
5614 cat >conftest.
$ac_ext <<_ACEOF
5617 cat confdefs.h
>>conftest.
$ac_ext
5618 cat >>conftest.
$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5622 static $ac_kw foo_t static_foo () {return 0; }
5623 $ac_kw foo_t foo () {return 0; }
5627 rm -f conftest.
$ac_objext
5628 if { (ac_try
="$ac_compile"
5630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5631 *) ac_try_echo=$ac_try;;
5633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5634 $as_echo "$ac_try_echo") >&5
5635 (eval "$ac_compile") 2>conftest.er1
5637 grep -v '^ *+' conftest.er1 >conftest.err
5639 cat conftest.err >&5
5640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } && {
5642 test -z "$ac_c_werror_flag" ||
5643 test ! -s conftest.err
5644 } && test -s conftest.$ac_objext; then
5645 ac_cv_c_inline=$ac_kw
5647 $as_echo "$as_me: failed program was:" >&5
5648 sed 's/^/| /' conftest.$ac_ext >&5
5653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 test "$ac_cv_c_inline" != no && break
5658 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5659 $as_echo "$ac_cv_c_inline" >&6; }
5662 case $ac_cv_c_inline in
5665 case $ac_cv_c_inline in
5667 *) ac_val=$ac_cv_c_inline;;
5669 cat >>confdefs.h <<_ACEOF
5671 #define inline $ac_val
5677 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5678 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5679 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5680 $as_echo_n "(cached) " >&6
5682 cat >conftest.$ac_ext <<_ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 $ac_includes_default
5692 static struct stat ac_aggr;
5693 if (ac_aggr.st_rdev)
5699 rm -f conftest.$ac_objext
5700 if { (ac_try="$ac_compile"
5702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5703 *) ac_try_echo
=$ac_try;;
5705 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5706 $as_echo "$ac_try_echo") >&5
5707 (eval "$ac_compile") 2>conftest.er1
5709 grep -v '^ *+' conftest.er1
>conftest.err
5711 cat conftest.err
>&5
5712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } && {
5714 test -z "$ac_c_werror_flag" ||
5715 test ! -s conftest.err
5716 } && test -s conftest.
$ac_objext; then
5717 ac_cv_member_struct_stat_st_rdev
=yes
5719 $as_echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.
$ac_ext >&5
5722 cat >conftest.
$ac_ext <<_ACEOF
5725 cat confdefs.h
>>conftest.
$ac_ext
5726 cat >>conftest.
$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5728 $ac_includes_default
5732 static struct stat ac_aggr;
5733 if (sizeof ac_aggr.st_rdev)
5739 rm -f conftest.
$ac_objext
5740 if { (ac_try
="$ac_compile"
5742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5743 *) ac_try_echo=$ac_try;;
5745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5746 $as_echo "$ac_try_echo") >&5
5747 (eval "$ac_compile") 2>conftest.er1
5749 grep -v '^ *+' conftest.er1 >conftest.err
5751 cat conftest.err >&5
5752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); } && {
5754 test -z "$ac_c_werror_flag" ||
5755 test ! -s conftest.err
5756 } && test -s conftest.$ac_objext; then
5757 ac_cv_member_struct_stat_st_rdev=yes
5759 $as_echo "$as_me: failed program was:" >&5
5760 sed 's/^/| /' conftest.$ac_ext >&5
5762 ac_cv_member_struct_stat_st_rdev=no
5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5770 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5771 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5772 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_STRUCT_STAT_ST_RDEV 1
5781 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5782 $as_echo_n "checking for off_t... " >&6; }
5783 if test "${ac_cv_type_off_t+set}" = set; then
5784 $as_echo_n "(cached) " >&6
5787 cat >conftest.$ac_ext <<_ACEOF
5790 cat confdefs.h >>conftest.$ac_ext
5791 cat >>conftest.$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5793 $ac_includes_default
5803 rm -f conftest.$ac_objext
5804 if { (ac_try="$ac_compile"
5806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5807 *) ac_try_echo
=$ac_try;;
5809 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5810 $as_echo "$ac_try_echo") >&5
5811 (eval "$ac_compile") 2>conftest.er1
5813 grep -v '^ *+' conftest.er1
>conftest.err
5815 cat conftest.err
>&5
5816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } && {
5818 test -z "$ac_c_werror_flag" ||
5819 test ! -s conftest.err
5820 } && test -s conftest.
$ac_objext; then
5821 cat >conftest.
$ac_ext <<_ACEOF
5824 cat confdefs.h
>>conftest.
$ac_ext
5825 cat >>conftest.
$ac_ext <<_ACEOF
5826 /* end confdefs.h. */
5827 $ac_includes_default
5831 if (sizeof ((off_t)))
5837 rm -f conftest.
$ac_objext
5838 if { (ac_try
="$ac_compile"
5840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5841 *) ac_try_echo=$ac_try;;
5843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5844 $as_echo "$ac_try_echo") >&5
5845 (eval "$ac_compile") 2>conftest.er1
5847 grep -v '^ *+' conftest.er1 >conftest.err
5849 cat conftest.err >&5
5850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } && {
5852 test -z "$ac_c_werror_flag" ||
5853 test ! -s conftest.err
5854 } && test -s conftest.$ac_objext; then
5857 $as_echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5860 ac_cv_type_off_t=yes
5863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5865 $as_echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5873 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5874 $as_echo "$ac_cv_type_off_t" >&6; }
5875 if test "x$ac_cv_type_off_t" = x""yes; then
5879 cat >>confdefs.h <<_ACEOF
5880 #define off_t long int
5885 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5886 $as_echo_n "checking for pid_t... " >&6; }
5887 if test "${ac_cv_type_pid_t+set}" = set; then
5888 $as_echo_n "(cached) " >&6
5891 cat >conftest.$ac_ext <<_ACEOF
5894 cat confdefs.h >>conftest.$ac_ext
5895 cat >>conftest.$ac_ext <<_ACEOF
5896 /* end confdefs.h. */
5897 $ac_includes_default
5907 rm -f conftest.$ac_objext
5908 if { (ac_try="$ac_compile"
5910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5911 *) ac_try_echo
=$ac_try;;
5913 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5914 $as_echo "$ac_try_echo") >&5
5915 (eval "$ac_compile") 2>conftest.er1
5917 grep -v '^ *+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } && {
5922 test -z "$ac_c_werror_flag" ||
5923 test ! -s conftest.err
5924 } && test -s conftest.
$ac_objext; then
5925 cat >conftest.
$ac_ext <<_ACEOF
5928 cat confdefs.h
>>conftest.
$ac_ext
5929 cat >>conftest.
$ac_ext <<_ACEOF
5930 /* end confdefs.h. */
5931 $ac_includes_default
5935 if (sizeof ((pid_t)))
5941 rm -f conftest.
$ac_objext
5942 if { (ac_try
="$ac_compile"
5944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5945 *) ac_try_echo=$ac_try;;
5947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5948 $as_echo "$ac_try_echo") >&5
5949 (eval "$ac_compile") 2>conftest.er1
5951 grep -v '^ *+' conftest.er1 >conftest.err
5953 cat conftest.err >&5
5954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } && {
5956 test -z "$ac_c_werror_flag" ||
5957 test ! -s conftest.err
5958 } && test -s conftest.$ac_objext; then
5961 $as_echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5964 ac_cv_type_pid_t=yes
5967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5969 $as_echo "$as_me: failed program was:" >&5
5970 sed 's/^/| /' conftest.$ac_ext >&5
5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5977 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5978 $as_echo "$ac_cv_type_pid_t" >&6; }
5979 if test "x$ac_cv_type_pid_t" = x""yes; then
5983 cat >>confdefs.h <<_ACEOF
5989 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5990 $as_echo_n "checking return type of signal handlers... " >&6; }
5991 if test "${ac_cv_type_signal+set}" = set; then
5992 $as_echo_n "(cached) " >&6
5994 cat >conftest.$ac_ext <<_ACEOF
5997 cat confdefs.h >>conftest.$ac_ext
5998 cat >>conftest.$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6000 #include <sys/types.h>
6006 return *(signal (0, 0)) (0) == 1;
6011 rm -f conftest.$ac_objext
6012 if { (ac_try="$ac_compile"
6014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6015 *) ac_try_echo
=$ac_try;;
6017 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6018 $as_echo "$ac_try_echo") >&5
6019 (eval "$ac_compile") 2>conftest.er1
6021 grep -v '^ *+' conftest.er1
>conftest.err
6023 cat conftest.err
>&5
6024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } && {
6026 test -z "$ac_c_werror_flag" ||
6027 test ! -s conftest.err
6028 } && test -s conftest.
$ac_objext; then
6029 ac_cv_type_signal
=int
6031 $as_echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.
$ac_ext >&5
6034 ac_cv_type_signal
=void
6037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6039 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6040 $as_echo "$ac_cv_type_signal" >&6; }
6042 cat >>confdefs.h
<<_ACEOF
6043 #define RETSIGTYPE $ac_cv_type_signal
6047 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6048 $as_echo_n "checking for size_t... " >&6; }
6049 if test "${ac_cv_type_size_t+set}" = set; then
6050 $as_echo_n "(cached) " >&6
6052 ac_cv_type_size_t
=no
6053 cat >conftest.
$ac_ext <<_ACEOF
6056 cat confdefs.h
>>conftest.
$ac_ext
6057 cat >>conftest.
$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6059 $ac_includes_default
6063 if (sizeof (size_t))
6069 rm -f conftest.
$ac_objext
6070 if { (ac_try
="$ac_compile"
6072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6073 *) ac_try_echo=$ac_try;;
6075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6076 $as_echo "$ac_try_echo") >&5
6077 (eval "$ac_compile") 2>conftest.er1
6079 grep -v '^ *+' conftest.er1 >conftest.err
6081 cat conftest.err >&5
6082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } && {
6084 test -z "$ac_c_werror_flag" ||
6085 test ! -s conftest.err
6086 } && test -s conftest.$ac_objext; then
6087 cat >conftest.$ac_ext <<_ACEOF
6090 cat confdefs.h >>conftest.$ac_ext
6091 cat >>conftest.$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6093 $ac_includes_default
6097 if (sizeof ((size_t)))
6103 rm -f conftest.$ac_objext
6104 if { (ac_try="$ac_compile"
6106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6107 *) ac_try_echo
=$ac_try;;
6109 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6110 $as_echo "$ac_try_echo") >&5
6111 (eval "$ac_compile") 2>conftest.er1
6113 grep -v '^ *+' conftest.er1
>conftest.err
6115 cat conftest.err
>&5
6116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } && {
6118 test -z "$ac_c_werror_flag" ||
6119 test ! -s conftest.err
6120 } && test -s conftest.
$ac_objext; then
6123 $as_echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.
$ac_ext >&5
6126 ac_cv_type_size_t
=yes
6129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6131 $as_echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6140 $as_echo "$ac_cv_type_size_t" >&6; }
6141 if test "x$ac_cv_type_size_t" = x
""yes; then
6145 cat >>confdefs.h
<<_ACEOF
6146 #define size_t unsigned int
6151 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6152 $as_echo_n "checking for mode_t... " >&6; }
6153 if test "${ac_cv_type_mode_t+set}" = set; then
6154 $as_echo_n "(cached) " >&6
6156 ac_cv_type_mode_t
=no
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 $ac_includes_default
6167 if (sizeof (mode_t))
6173 rm -f conftest.
$ac_objext
6174 if { (ac_try
="$ac_compile"
6176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6177 *) ac_try_echo=$ac_try;;
6179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6180 $as_echo "$ac_try_echo") >&5
6181 (eval "$ac_compile") 2>conftest.er1
6183 grep -v '^ *+' conftest.er1 >conftest.err
6185 cat conftest.err >&5
6186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); } && {
6188 test -z "$ac_c_werror_flag" ||
6189 test ! -s conftest.err
6190 } && test -s conftest.$ac_objext; then
6191 cat >conftest.$ac_ext <<_ACEOF
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 $ac_includes_default
6201 if (sizeof ((mode_t)))
6207 rm -f conftest.$ac_objext
6208 if { (ac_try="$ac_compile"
6210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6211 *) ac_try_echo
=$ac_try;;
6213 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6214 $as_echo "$ac_try_echo") >&5
6215 (eval "$ac_compile") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1
>conftest.err
6219 cat conftest.err
>&5
6220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } && {
6222 test -z "$ac_c_werror_flag" ||
6223 test ! -s conftest.err
6224 } && test -s conftest.
$ac_objext; then
6227 $as_echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6230 ac_cv_type_mode_t
=yes
6233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6235 $as_echo "$as_me: failed program was:" >&5
6236 sed 's/^/| /' conftest.
$ac_ext >&5
6241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6243 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6244 $as_echo "$ac_cv_type_mode_t" >&6; }
6245 if test "x$ac_cv_type_mode_t" = x
""yes; then
6249 cat >>confdefs.h
<<_ACEOF
6255 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6256 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6257 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6258 $as_echo_n "(cached) " >&6
6260 cat >conftest.
$ac_ext <<_ACEOF
6263 cat confdefs.h
>>conftest.
$ac_ext
6264 cat >>conftest.
$ac_ext <<_ACEOF
6265 /* end confdefs.h. */
6266 $ac_includes_default
6270 static struct stat ac_aggr;
6271 if (ac_aggr.st_rdev)
6277 rm -f conftest.
$ac_objext
6278 if { (ac_try
="$ac_compile"
6280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6284 $as_echo "$ac_try_echo") >&5
6285 (eval "$ac_compile") 2>conftest.er1
6287 grep -v '^ *+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest.$ac_objext; then
6295 ac_cv_member_struct_stat_st_rdev=yes
6297 $as_echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 cat >conftest.$ac_ext <<_ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6306 $ac_includes_default
6310 static struct stat ac_aggr;
6311 if (sizeof ac_aggr.st_rdev)
6317 rm -f conftest.$ac_objext
6318 if { (ac_try="$ac_compile"
6320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6321 *) ac_try_echo
=$ac_try;;
6323 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6324 $as_echo "$ac_try_echo") >&5
6325 (eval "$ac_compile") 2>conftest.er1
6327 grep -v '^ *+' conftest.er1
>conftest.err
6329 cat conftest.err
>&5
6330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } && {
6332 test -z "$ac_c_werror_flag" ||
6333 test ! -s conftest.err
6334 } && test -s conftest.
$ac_objext; then
6335 ac_cv_member_struct_stat_st_rdev
=yes
6337 $as_echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.
$ac_ext >&5
6340 ac_cv_member_struct_stat_st_rdev
=no
6343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6348 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6349 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6350 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6352 cat >>confdefs.h
<<_ACEOF
6353 #define HAVE_STRUCT_STAT_ST_RDEV 1
6359 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6360 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6361 if test "${ac_cv_struct_tm+set}" = set; then
6362 $as_echo_n "(cached) " >&6
6364 cat >conftest.
$ac_ext <<_ACEOF
6367 cat confdefs.h
>>conftest.
$ac_ext
6368 cat >>conftest.
$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6370 #include <sys/types.h>
6377 int *p = &tm.tm_sec;
6383 rm -f conftest.
$ac_objext
6384 if { (ac_try
="$ac_compile"
6386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6387 *) ac_try_echo=$ac_try;;
6389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6390 $as_echo "$ac_try_echo") >&5
6391 (eval "$ac_compile") 2>conftest.er1
6393 grep -v '^ *+' conftest.er1 >conftest.err
6395 cat conftest.err >&5
6396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); } && {
6398 test -z "$ac_c_werror_flag" ||
6399 test ! -s conftest.err
6400 } && test -s conftest.$ac_objext; then
6401 ac_cv_struct_tm=time.h
6403 $as_echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6406 ac_cv_struct_tm=sys/time.h
6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6411 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6412 $as_echo "$ac_cv_struct_tm" >&6; }
6413 if test $ac_cv_struct_tm = sys/time.h; then
6415 cat >>confdefs.h <<\_ACEOF
6416 #define TM_IN_SYS_TIME 1
6422 ################################################################################
6440 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6441 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6445 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6446 $as_echo_n "checking for $ac_func... " >&6; }
6447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6448 $as_echo_n "(cached) " >&6
6450 cat >conftest.$ac_ext <<_ACEOF
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h. */
6456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6458 #define $ac_func innocuous_$ac_func
6460 /* System header to define __stub macros and hopefully few prototypes,
6461 which can conflict with char $ac_func (); below.
6462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6463 <limits.h> exists even on freestanding compilers. */
6466 # include <limits.h>
6468 # include <assert.h>
6473 /* Override any GCC internal prototype to avoid an error.
6474 Use char because int might match the return type of a GCC
6475 builtin and then its argument prototype would still apply. */
6480 /* The GNU C library defines this for functions which it implements
6481 to always fail with ENOSYS. Some functions are actually named
6482 something starting with __ and the normal name is an alias. */
6483 #if defined __stub_$ac_func || defined __stub___$ac_func
6495 rm -f conftest.$ac_objext conftest$ac_exeext
6496 if { (ac_try="$ac_link"
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_link") 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_exeext && {
6513 test "$cross_compiling" = yes ||
6514 $as_test_x conftest
$ac_exeext
6516 eval "$as_ac_var=yes"
6518 $as_echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.
$ac_ext >&5
6521 eval "$as_ac_var=no"
6524 rm -rf conftest.dSYM
6525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6526 conftest
$ac_exeext conftest.
$ac_ext
6528 ac_res
=`eval 'as_val=${'$as_ac_var'}
6529 $as_echo "$as_val"'`
6530 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6531 $as_echo "$ac_res" >&6; }
6532 as_val
=`eval 'as_val=${'$as_ac_var'}
6533 $as_echo "$as_val"'`
6534 if test "x$as_val" = x
""yes; then
6535 cat >>confdefs.h
<<_ACEOF
6536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6540 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6541 $as_echo "$as_me: error: bailing out" >&2;}
6542 { (exit 1); exit 1; }; }
6547 for ac_func
in siginterrupt
6549 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6550 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6551 $as_echo_n "checking for $ac_func... " >&6; }
6552 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6553 $as_echo_n "(cached) " >&6
6555 cat >conftest.
$ac_ext <<_ACEOF
6558 cat confdefs.h
>>conftest.
$ac_ext
6559 cat >>conftest.
$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6563 #define $ac_func innocuous_$ac_func
6565 /* System header to define __stub macros and hopefully few prototypes,
6566 which can conflict with char $ac_func (); below.
6567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6568 <limits.h> exists even on freestanding compilers. */
6571 # include <limits.h>
6573 # include <assert.h>
6578 /* Override any GCC internal prototype to avoid an error.
6579 Use char because int might match the return type of a GCC
6580 builtin and then its argument prototype would still apply. */
6585 /* The GNU C library defines this for functions which it implements
6586 to always fail with ENOSYS. Some functions are actually named
6587 something starting with __ and the normal name is an alias. */
6588 #if defined __stub_$ac_func || defined __stub___$ac_func
6600 rm -f conftest.
$ac_objext conftest
$ac_exeext
6601 if { (ac_try
="$ac_link"
6603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6607 $as_echo "$ac_try_echo") >&5
6608 (eval "$ac_link") 2>conftest.er1
6610 grep -v '^ *+' conftest.er1 >conftest.err
6612 cat conftest.err >&5
6613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); } && {
6615 test -z "$ac_c_werror_flag" ||
6616 test ! -s conftest.err
6617 } && test -s conftest$ac_exeext && {
6618 test "$cross_compiling" = yes ||
6619 $as_test_x conftest$ac_exeext
6621 eval "$as_ac_var=yes"
6623 $as_echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 eval "$as_ac_var=no"
6629 rm -rf conftest.dSYM
6630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6631 conftest$ac_exeext conftest.$ac_ext
6633 ac_res=`eval 'as_val=${'$as_ac_var'}
6634 $as_echo "$as_val"'`
6635 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6636 $as_echo "$ac_res" >&6; }
6637 as_val=`eval 'as_val=${'$as_ac_var'}
6638 $as_echo "$as_val"'`
6639 if test "x$as_val" = x""yes; then
6640 cat >>confdefs.h <<_ACEOF
6641 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6647 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6648 # for constant arguments. Useless!
6649 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6650 $as_echo_n "checking for working alloca.h... " >&6; }
6651 if test "${ac_cv_working_alloca_h+set}" = set; then
6652 $as_echo_n "(cached) " >&6
6654 cat >conftest.$ac_ext <<_ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6664 char *p = (char *) alloca (2 * sizeof (int));
6670 rm -f conftest.$ac_objext conftest$ac_exeext
6671 if { (ac_try="$ac_link"
6673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6674 *) ac_try_echo
=$ac_try;;
6676 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6677 $as_echo "$ac_try_echo") >&5
6678 (eval "$ac_link") 2>conftest.er1
6680 grep -v '^ *+' conftest.er1
>conftest.err
6682 cat conftest.err
>&5
6683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } && {
6685 test -z "$ac_c_werror_flag" ||
6686 test ! -s conftest.err
6687 } && test -s conftest
$ac_exeext && {
6688 test "$cross_compiling" = yes ||
6689 $as_test_x conftest
$ac_exeext
6691 ac_cv_working_alloca_h
=yes
6693 $as_echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.
$ac_ext >&5
6696 ac_cv_working_alloca_h
=no
6699 rm -rf conftest.dSYM
6700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6701 conftest
$ac_exeext conftest.
$ac_ext
6703 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6704 $as_echo "$ac_cv_working_alloca_h" >&6; }
6705 if test $ac_cv_working_alloca_h = yes; then
6707 cat >>confdefs.h
<<\_ACEOF
6708 #define HAVE_ALLOCA_H 1
6713 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6714 $as_echo_n "checking for alloca... " >&6; }
6715 if test "${ac_cv_func_alloca_works+set}" = set; then
6716 $as_echo_n "(cached) " >&6
6718 cat >conftest.
$ac_ext <<_ACEOF
6721 cat confdefs.h
>>conftest.
$ac_ext
6722 cat >>conftest.
$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6725 # define alloca __builtin_alloca
6728 # include <malloc.h>
6729 # define alloca _alloca
6731 # ifdef HAVE_ALLOCA_H
6732 # include <alloca.h>
6737 # ifndef alloca /* predefined by HP cc +Olibcalls */
6748 char *p = (char *) alloca (1);
6754 rm -f conftest.
$ac_objext conftest
$ac_exeext
6755 if { (ac_try
="$ac_link"
6757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6758 *) ac_try_echo=$ac_try;;
6760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6761 $as_echo "$ac_try_echo") >&5
6762 (eval "$ac_link") 2>conftest.er1
6764 grep -v '^ *+' conftest.er1 >conftest.err
6766 cat conftest.err >&5
6767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } && {
6769 test -z "$ac_c_werror_flag" ||
6770 test ! -s conftest.err
6771 } && test -s conftest$ac_exeext && {
6772 test "$cross_compiling" = yes ||
6773 $as_test_x conftest$ac_exeext
6775 ac_cv_func_alloca_works=yes
6777 $as_echo "$as_me: failed program was:" >&5
6778 sed 's/^/| /' conftest.$ac_ext >&5
6780 ac_cv_func_alloca_works=no
6783 rm -rf conftest.dSYM
6784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6785 conftest$ac_exeext conftest.$ac_ext
6787 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6788 $as_echo "$ac_cv_func_alloca_works" >&6; }
6790 if test $ac_cv_func_alloca_works = yes; then
6792 cat >>confdefs.h <<\_ACEOF
6793 #define HAVE_ALLOCA 1
6797 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6798 # that cause trouble. Some versions do not even contain alloca or
6799 # contain a buggy version. If you still want to use their alloca,
6800 # use ar to extract alloca.o from them instead of compiling alloca.c.
6802 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6804 cat >>confdefs.h <<\_ACEOF
6809 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6810 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6811 if test "${ac_cv_os_cray+set}" = set; then
6812 $as_echo_n "(cached
) " >&6
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 #if defined CRAY && ! defined CRAY2
6827 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6828 $EGREP "webecray
" >/dev/null 2>&1; then
6836 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6837 $as_echo "$ac_cv_os_cray" >&6; }
6838 if test $ac_cv_os_cray = yes; then
6839 for ac_func in _getb67 GETB67 getb67; do
6840 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6841 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6842 $as_echo_n "checking
for $ac_func...
" >&6; }
6843 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6844 $as_echo_n "(cached
) " >&6
6846 cat >conftest.$ac_ext <<_ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6854 #define $ac_func innocuous_$ac_func
6856 /* System header to define __stub macros and hopefully few prototypes,
6857 which can conflict with char $ac_func (); below.
6858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6859 <limits.h> exists even on freestanding compilers. */
6862 # include <limits.h>
6864 # include <assert.h>
6869 /* Override any GCC internal prototype to avoid an error.
6870 Use char because int might match the return type of a GCC
6871 builtin and then its argument prototype would still apply. */
6876 /* The GNU C library defines this for functions which it implements
6877 to always fail with ENOSYS. Some functions are actually named
6878 something starting with __ and the normal name is an alias. */
6879 #if defined __stub_$ac_func || defined __stub___$ac_func
6891 rm -f conftest.$ac_objext conftest$ac_exeext
6892 if { (ac_try="$ac_link"
6894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6895 *) ac_try_echo=$ac_try;;
6897 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6898 $as_echo "$ac_try_echo") >&5
6899 (eval "$ac_link") 2>conftest.er1
6901 grep -v '^ *+' conftest.er1 >conftest.err
6903 cat conftest.err >&5
6904 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6905 (exit $ac_status); } && {
6906 test -z "$ac_c_werror_flag" ||
6907 test ! -s conftest.err
6908 } && test -s conftest$ac_exeext && {
6909 test "$cross_compiling" = yes ||
6910 $as_test_x conftest$ac_exeext
6912 eval "$as_ac_var=yes"
6914 $as_echo "$as_me: failed program was
:" >&5
6915 sed 's/^/| /' conftest.$ac_ext >&5
6917 eval "$as_ac_var=no
"
6920 rm -rf conftest.dSYM
6921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6922 conftest$ac_exeext conftest.$ac_ext
6924 ac_res=`eval 'as_val=${'$as_ac_var'}
6925 $as_echo "$as_val"'`
6926 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6927 $as_echo "$ac_res" >&6; }
6928 as_val=`eval 'as_val=${'$as_ac_var'}
6929 $as_echo "$as_val"'`
6930 if test "x
$as_val" = x""yes; then
6932 cat >>confdefs.h <<_ACEOF
6933 #define CRAY_STACKSEG_END $ac_func
6942 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6943 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6944 if test "${ac_cv_c_stack_direction+set}" = set; then
6945 $as_echo_n "(cached
) " >&6
6947 if test "$cross_compiling" = yes; then
6948 ac_cv_c_stack_direction=0
6950 cat >conftest.$ac_ext <<_ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 $ac_includes_default
6958 find_stack_direction ()
6960 static char *addr = 0;
6965 return find_stack_direction ();
6968 return (&dummy > addr) ? 1 : -1;
6974 return find_stack_direction () < 0;
6977 rm -f conftest$ac_exeext
6978 if { (ac_try="$ac_link"
6980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6981 *) ac_try_echo=$ac_try;;
6983 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6984 $as_echo "$ac_try_echo") >&5
6985 (eval "$ac_link") 2>&5
6987 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6989 { (case "(($ac_try" in
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_try") 2>&5
6997 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6998 (exit $ac_status); }; }; then
6999 ac_cv_c_stack_direction=1
7001 $as_echo "$as_me: program exited with status
$ac_status" >&5
7002 $as_echo "$as_me: failed program was
:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7006 ac_cv_c_stack_direction=-1
7008 rm -rf conftest.dSYM
7009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7014 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7015 $as_echo "$ac_cv_c_stack_direction" >&6; }
7017 cat >>confdefs.h <<_ACEOF
7018 #define STACK_DIRECTION $ac_cv_c_stack_direction
7024 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7025 $as_echo_n "checking whether closedir returns void...
" >&6; }
7026 if test "${ac_cv_func_closedir_void+set}" = set; then
7027 $as_echo_n "(cached
) " >&6
7029 if test "$cross_compiling" = yes; then
7030 ac_cv_func_closedir_void=yes
7032 cat >conftest.$ac_ext <<_ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 $ac_includes_default
7039 #include <$ac_header_dirent>
7047 return closedir (opendir (".
")) != 0;
7052 rm -f conftest$ac_exeext
7053 if { (ac_try="$ac_link"
7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7056 *) ac_try_echo=$ac_try;;
7058 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7059 $as_echo "$ac_try_echo") >&5
7060 (eval "$ac_link") 2>&5
7062 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7064 { (case "(($ac_try" in
7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7068 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7069 $as_echo "$ac_try_echo") >&5
7070 (eval "$ac_try") 2>&5
7072 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7073 (exit $ac_status); }; }; then
7074 ac_cv_func_closedir_void=no
7076 $as_echo "$as_me: program exited with status
$ac_status" >&5
7077 $as_echo "$as_me: failed program was
:" >&5
7078 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_cv_func_closedir_void=yes
7083 rm -rf conftest.dSYM
7084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7089 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7090 $as_echo "$ac_cv_func_closedir_void" >&6; }
7091 if test $ac_cv_func_closedir_void = yes; then
7093 cat >>confdefs.h <<\_ACEOF
7094 #define CLOSEDIR_VOID 1
7100 for ac_header in vfork.h
7102 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7103 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7104 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7105 $as_echo_n "checking
for $ac_header...
" >&6; }
7106 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7107 $as_echo_n "(cached
) " >&6
7109 ac_res=`eval 'as_val=${'$as_ac_Header'}
7110 $as_echo "$as_val"'`
7111 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7112 $as_echo "$ac_res" >&6; }
7114 # Is the header compilable?
7115 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7116 $as_echo_n "checking
$ac_header usability...
" >&6; }
7117 cat >conftest.$ac_ext <<_ACEOF
7120 cat confdefs.h >>conftest.$ac_ext
7121 cat >>conftest.$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 $ac_includes_default
7124 #include <$ac_header>
7126 rm -f conftest.$ac_objext
7127 if { (ac_try="$ac_compile"
7129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7130 *) ac_try_echo=$ac_try;;
7132 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7133 $as_echo "$ac_try_echo") >&5
7134 (eval "$ac_compile") 2>conftest.er1
7136 grep -v '^ *+' conftest.er1 >conftest.err
7138 cat conftest.err >&5
7139 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7140 (exit $ac_status); } && {
7141 test -z "$ac_c_werror_flag" ||
7142 test ! -s conftest.err
7143 } && test -s conftest.$ac_objext; then
7144 ac_header_compiler=yes
7146 $as_echo "$as_me: failed program was
:" >&5
7147 sed 's/^/| /' conftest.$ac_ext >&5
7149 ac_header_compiler=no
7152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7154 $as_echo "$ac_header_compiler" >&6; }
7156 # Is the header present?
7157 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7158 $as_echo_n "checking
$ac_header presence...
" >&6; }
7159 cat >conftest.$ac_ext <<_ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <$ac_header>
7167 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7170 *) ac_try_echo=$ac_try;;
7172 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7173 $as_echo "$ac_try_echo") >&5
7174 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7176 grep -v '^ *+' conftest.er1 >conftest.err
7178 cat conftest.err >&5
7179 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7180 (exit $ac_status); } >/dev/null && {
7181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7182 test ! -s conftest.err
7184 ac_header_preproc=yes
7186 $as_echo "$as_me: failed program was
:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7189 ac_header_preproc=no
7192 rm -f conftest.err conftest.$ac_ext
7193 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7194 $as_echo "$ac_header_preproc" >&6; }
7196 # So? What about this header?
7197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7199 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7200 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7201 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7202 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7203 ac_header_preproc=yes
7206 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7207 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7208 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7209 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7210 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7211 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7212 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7213 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7214 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7215 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7216 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7217 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7221 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7222 $as_echo_n "checking
for $ac_header...
" >&6; }
7223 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7224 $as_echo_n "(cached
) " >&6
7226 eval "$as_ac_Header=\
$ac_header_preproc"
7228 ac_res=`eval 'as_val=${'$as_ac_Header'}
7229 $as_echo "$as_val"'`
7230 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7231 $as_echo "$ac_res" >&6; }
7234 as_val=`eval 'as_val=${'$as_ac_Header'}
7235 $as_echo "$as_val"'`
7236 if test "x
$as_val" = x""yes; then
7237 cat >>confdefs.h <<_ACEOF
7238 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7247 for ac_func in fork vfork
7249 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7250 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7251 $as_echo_n "checking
for $ac_func...
" >&6; }
7252 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7253 $as_echo_n "(cached
) " >&6
7255 cat >conftest.$ac_ext <<_ACEOF
7258 cat confdefs.h >>conftest.$ac_ext
7259 cat >>conftest.$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7263 #define $ac_func innocuous_$ac_func
7265 /* System header to define __stub macros and hopefully few prototypes,
7266 which can conflict with char $ac_func (); below.
7267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268 <limits.h> exists even on freestanding compilers. */
7271 # include <limits.h>
7273 # include <assert.h>
7278 /* Override any GCC internal prototype to avoid an error.
7279 Use char because int might match the return type of a GCC
7280 builtin and then its argument prototype would still apply. */
7285 /* The GNU C library defines this for functions which it implements
7286 to always fail with ENOSYS. Some functions are actually named
7287 something starting with __ and the normal name is an alias. */
7288 #if defined __stub_$ac_func || defined __stub___$ac_func
7300 rm -f conftest.$ac_objext conftest$ac_exeext
7301 if { (ac_try="$ac_link"
7303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7304 *) ac_try_echo=$ac_try;;
7306 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7307 $as_echo "$ac_try_echo") >&5
7308 (eval "$ac_link") 2>conftest.er1
7310 grep -v '^ *+' conftest.er1 >conftest.err
7312 cat conftest.err >&5
7313 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7314 (exit $ac_status); } && {
7315 test -z "$ac_c_werror_flag" ||
7316 test ! -s conftest.err
7317 } && test -s conftest$ac_exeext && {
7318 test "$cross_compiling" = yes ||
7319 $as_test_x conftest$ac_exeext
7321 eval "$as_ac_var=yes"
7323 $as_echo "$as_me: failed program was
:" >&5
7324 sed 's/^/| /' conftest.$ac_ext >&5
7326 eval "$as_ac_var=no
"
7329 rm -rf conftest.dSYM
7330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7331 conftest$ac_exeext conftest.$ac_ext
7333 ac_res=`eval 'as_val=${'$as_ac_var'}
7334 $as_echo "$as_val"'`
7335 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7336 $as_echo "$ac_res" >&6; }
7337 as_val=`eval 'as_val=${'$as_ac_var'}
7338 $as_echo "$as_val"'`
7339 if test "x
$as_val" = x""yes; then
7340 cat >>confdefs.h <<_ACEOF
7341 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7347 if test "x
$ac_cv_func_fork" = xyes; then
7348 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7349 $as_echo_n "checking
for working fork...
" >&6; }
7350 if test "${ac_cv_func_fork_works+set}" = set; then
7351 $as_echo_n "(cached
) " >&6
7353 if test "$cross_compiling" = yes; then
7354 ac_cv_func_fork_works=cross
7356 cat >conftest.$ac_ext <<_ACEOF
7359 cat confdefs.h >>conftest.$ac_ext
7360 cat >>conftest.$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 $ac_includes_default
7367 /* By Ruediger Kuhlmann. */
7374 rm -f conftest$ac_exeext
7375 if { (ac_try="$ac_link"
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7380 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7381 $as_echo "$ac_try_echo") >&5
7382 (eval "$ac_link") 2>&5
7384 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7386 { (case "(($ac_try" in
7387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7388 *) ac_try_echo=$ac_try;;
7390 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7391 $as_echo "$ac_try_echo") >&5
7392 (eval "$ac_try") 2>&5
7394 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7395 (exit $ac_status); }; }; then
7396 ac_cv_func_fork_works=yes
7398 $as_echo "$as_me: program exited with status
$ac_status" >&5
7399 $as_echo "$as_me: failed program was
:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5
7403 ac_cv_func_fork_works=no
7405 rm -rf conftest.dSYM
7406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7411 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7412 $as_echo "$ac_cv_func_fork_works" >&6; }
7415 ac_cv_func_fork_works=$ac_cv_func_fork
7417 if test "x
$ac_cv_func_fork_works" = xcross; then
7419 *-*-amigaos* | *-*-msdosdjgpp*)
7420 # Override, as these systems have only a dummy fork() stub
7421 ac_cv_func_fork_works=no
7424 ac_cv_func_fork_works=yes
7427 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7428 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7430 ac_cv_func_vfork_works=$ac_cv_func_vfork
7431 if test "x
$ac_cv_func_vfork" = xyes; then
7432 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7433 $as_echo_n "checking
for working vfork...
" >&6; }
7434 if test "${ac_cv_func_vfork_works+set}" = set; then
7435 $as_echo_n "(cached
) " >&6
7437 if test "$cross_compiling" = yes; then
7438 ac_cv_func_vfork_works=cross
7440 cat >conftest.$ac_ext <<_ACEOF
7443 cat confdefs.h >>conftest.$ac_ext
7444 cat >>conftest.$ac_ext <<_ACEOF
7445 /* end confdefs.h. */
7446 /* Thanks to Paul Eggert for this test. */
7447 $ac_includes_default
7448 #include <sys/wait.h>
7452 /* On some sparc systems, changes by the child to local and incoming
7453 argument registers are propagated back to the parent. The compiler
7454 is told about this with #include <vfork.h>, but some compilers
7455 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7456 static variable whose address is put into a register that is
7457 clobbered by the vfork. */
7460 sparc_address_test (int arg)
7462 sparc_address_test (arg) int arg;
7483 pid_t parent = getpid ();
7486 sparc_address_test (0);
7491 /* Here is another test for sparc vfork register problems. This
7492 test uses lots of local variables, at least as many local
7493 variables as main has allocated so far including compiler
7494 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7495 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7496 reuse the register of parent for one of the local variables,
7497 since it will think that parent can't possibly be used any more
7498 in this routine. Assigning to the local variable will thus
7499 munge parent in the parent process. */
7501 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7502 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7503 /* Convince the compiler that p..p7 are live; otherwise, it might
7504 use the same hardware register for all 8 local variables. */
7505 if (p != p1 || p != p2 || p != p3 || p != p4
7506 || p != p5 || p != p6 || p != p7)
7509 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7510 from child file descriptors. If the child closes a descriptor
7511 before it execs or exits, this munges the parent's descriptor
7512 as well. Test for this by closing stdout in the child. */
7513 _exit(close(fileno(stdout)) != 0);
7518 while (wait(&status) != child)
7521 /* Was there some problem with vforking? */
7524 /* Did the child fail? (This shouldn't happen.) */
7527 /* Did the vfork/compiler bug occur? */
7528 || parent != getpid()
7530 /* Did the file descriptor bug occur? */
7531 || fstat(fileno(stdout), &st) != 0
7536 rm -f conftest$ac_exeext
7537 if { (ac_try="$ac_link"
7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7540 *) ac_try_echo=$ac_try;;
7542 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7543 $as_echo "$ac_try_echo") >&5
7544 (eval "$ac_link") 2>&5
7546 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7548 { (case "(($ac_try" in
7549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7550 *) ac_try_echo=$ac_try;;
7552 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7553 $as_echo "$ac_try_echo") >&5
7554 (eval "$ac_try") 2>&5
7556 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7557 (exit $ac_status); }; }; then
7558 ac_cv_func_vfork_works=yes
7560 $as_echo "$as_me: program exited with status
$ac_status" >&5
7561 $as_echo "$as_me: failed program was
:" >&5
7562 sed 's/^/| /' conftest.$ac_ext >&5
7565 ac_cv_func_vfork_works=no
7567 rm -rf conftest.dSYM
7568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7573 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7574 $as_echo "$ac_cv_func_vfork_works" >&6; }
7577 if test "x
$ac_cv_func_fork_works" = xcross; then
7578 ac_cv_func_vfork_works=$ac_cv_func_vfork
7579 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7580 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7583 if test "x
$ac_cv_func_vfork_works" = xyes; then
7585 cat >>confdefs.h <<\_ACEOF
7586 #define HAVE_WORKING_VFORK 1
7591 cat >>confdefs.h <<\_ACEOF
7596 if test "x
$ac_cv_func_fork_works" = xyes; then
7598 cat >>confdefs.h <<\_ACEOF
7599 #define HAVE_WORKING_FORK 1
7604 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7605 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7606 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7607 $as_echo_n "(cached
) " >&6
7609 rm -f conftest.sym conftest.file
7611 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7612 if test "$cross_compiling" = yes; then
7613 ac_cv_func_lstat_dereferences_slashed_symlink=no
7615 cat >conftest.$ac_ext <<_ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7621 $ac_includes_default
7626 /* Linux will dereference the symlink and fail.
7627 That is better in the sense that it means we will not
7628 have to compile and use the lstat wrapper. */
7629 return lstat ("conftest.sym
/", &sbuf) == 0;
7634 rm -f conftest$ac_exeext
7635 if { (ac_try="$ac_link"
7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7638 *) ac_try_echo=$ac_try;;
7640 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7641 $as_echo "$ac_try_echo") >&5
7642 (eval "$ac_link") 2>&5
7644 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7646 { (case "(($ac_try" in
7647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7648 *) ac_try_echo=$ac_try;;
7650 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7651 $as_echo "$ac_try_echo") >&5
7652 (eval "$ac_try") 2>&5
7654 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7655 (exit $ac_status); }; }; then
7656 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7658 $as_echo "$as_me: program exited with status
$ac_status" >&5
7659 $as_echo "$as_me: failed program was
:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7663 ac_cv_func_lstat_dereferences_slashed_symlink=no
7665 rm -rf conftest.dSYM
7666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7671 # If the `ln -s' command failed, then we probably don't even
7672 # have an lstat function.
7673 ac_cv_func_lstat_dereferences_slashed_symlink=no
7675 rm -f conftest.sym conftest.file
7678 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7679 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7681 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7683 cat >>confdefs.h <<_ACEOF
7684 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7688 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7689 case " $LIBOBJS " in
7690 *" lstat.
$ac_objext "* ) ;;
7691 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7697 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7698 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7699 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7700 $as_echo_n "(cached
) " >&6
7702 if test "$cross_compiling" = yes; then
7703 ac_cv_func_lstat_empty_string_bug=yes
7705 cat >conftest.$ac_ext <<_ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 $ac_includes_default
7716 return lstat ("", &sbuf) == 0;
7721 rm -f conftest$ac_exeext
7722 if { (ac_try="$ac_link"
7724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7725 *) ac_try_echo=$ac_try;;
7727 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7728 $as_echo "$ac_try_echo") >&5
7729 (eval "$ac_link") 2>&5
7731 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7733 { (case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7738 $as_echo "$ac_try_echo") >&5
7739 (eval "$ac_try") 2>&5
7741 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7742 (exit $ac_status); }; }; then
7743 ac_cv_func_lstat_empty_string_bug=no
7745 $as_echo "$as_me: program exited with status
$ac_status" >&5
7746 $as_echo "$as_me: failed program was
:" >&5
7747 sed 's/^/| /' conftest.$ac_ext >&5
7750 ac_cv_func_lstat_empty_string_bug=yes
7752 rm -rf conftest.dSYM
7753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7758 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7759 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7760 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7761 case " $LIBOBJS " in
7762 *" lstat.
$ac_objext "* ) ;;
7763 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7775 for ac_header in stdlib.h
7777 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7778 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7779 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7780 $as_echo_n "checking
for $ac_header...
" >&6; }
7781 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7782 $as_echo_n "(cached
) " >&6
7784 ac_res=`eval 'as_val=${'$as_ac_Header'}
7785 $as_echo "$as_val"'`
7786 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7787 $as_echo "$ac_res" >&6; }
7789 # Is the header compilable?
7790 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7791 $as_echo_n "checking
$ac_header usability...
" >&6; }
7792 cat >conftest.$ac_ext <<_ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7798 $ac_includes_default
7799 #include <$ac_header>
7801 rm -f conftest.$ac_objext
7802 if { (ac_try="$ac_compile"
7804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7805 *) ac_try_echo=$ac_try;;
7807 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7808 $as_echo "$ac_try_echo") >&5
7809 (eval "$ac_compile") 2>conftest.er1
7811 grep -v '^ *+' conftest.er1 >conftest.err
7813 cat conftest.err >&5
7814 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7815 (exit $ac_status); } && {
7816 test -z "$ac_c_werror_flag" ||
7817 test ! -s conftest.err
7818 } && test -s conftest.$ac_objext; then
7819 ac_header_compiler=yes
7821 $as_echo "$as_me: failed program was
:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_header_compiler=no
7827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7828 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7829 $as_echo "$ac_header_compiler" >&6; }
7831 # Is the header present?
7832 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7833 $as_echo_n "checking
$ac_header presence...
" >&6; }
7834 cat >conftest.$ac_ext <<_ACEOF
7837 cat confdefs.h >>conftest.$ac_ext
7838 cat >>conftest.$ac_ext <<_ACEOF
7839 /* end confdefs.h. */
7840 #include <$ac_header>
7842 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7845 *) ac_try_echo=$ac_try;;
7847 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7848 $as_echo "$ac_try_echo") >&5
7849 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7851 grep -v '^ *+' conftest.er1 >conftest.err
7853 cat conftest.err >&5
7854 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7855 (exit $ac_status); } >/dev/null && {
7856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7857 test ! -s conftest.err
7859 ac_header_preproc=yes
7861 $as_echo "$as_me: failed program was
:" >&5
7862 sed 's/^/| /' conftest.$ac_ext >&5
7864 ac_header_preproc=no
7867 rm -f conftest.err conftest.$ac_ext
7868 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7869 $as_echo "$ac_header_preproc" >&6; }
7871 # So? What about this header?
7872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7874 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7875 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7876 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7877 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7878 ac_header_preproc=yes
7881 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7882 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7883 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7884 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7885 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7886 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7887 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7888 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7889 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7890 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7891 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7892 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7896 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7897 $as_echo_n "checking
for $ac_header...
" >&6; }
7898 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7899 $as_echo_n "(cached
) " >&6
7901 eval "$as_ac_Header=\
$ac_header_preproc"
7903 ac_res=`eval 'as_val=${'$as_ac_Header'}
7904 $as_echo "$as_val"'`
7905 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7906 $as_echo "$ac_res" >&6; }
7909 as_val=`eval 'as_val=${'$as_ac_Header'}
7910 $as_echo "$as_val"'`
7911 if test "x
$as_val" = x""yes; then
7912 cat >>confdefs.h <<_ACEOF
7913 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7920 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7921 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7922 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7923 $as_echo_n "(cached
) " >&6
7925 if test "$cross_compiling" = yes; then
7926 ac_cv_func_malloc_0_nonnull=no
7928 cat >conftest.$ac_ext <<_ACEOF
7931 cat confdefs.h >>conftest.$ac_ext
7932 cat >>conftest.$ac_ext <<_ACEOF
7933 /* end confdefs.h. */
7934 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7935 # include <stdlib.h>
7943 return ! malloc (0);
7948 rm -f conftest$ac_exeext
7949 if { (ac_try="$ac_link"
7951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7952 *) ac_try_echo=$ac_try;;
7954 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7955 $as_echo "$ac_try_echo") >&5
7956 (eval "$ac_link") 2>&5
7958 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7960 { (case "(($ac_try" in
7961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962 *) ac_try_echo=$ac_try;;
7964 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7965 $as_echo "$ac_try_echo") >&5
7966 (eval "$ac_try") 2>&5
7968 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 ac_cv_func_malloc_0_nonnull=yes
7972 $as_echo "$as_me: program exited with status
$ac_status" >&5
7973 $as_echo "$as_me: failed program was
:" >&5
7974 sed 's/^/| /' conftest.$ac_ext >&5
7977 ac_cv_func_malloc_0_nonnull=no
7979 rm -rf conftest.dSYM
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7985 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
7986 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7987 if test $ac_cv_func_malloc_0_nonnull = yes; then
7989 cat >>confdefs.h <<\_ACEOF
7990 #define HAVE_MALLOC 1
7994 cat >>confdefs.h <<\_ACEOF
7995 #define HAVE_MALLOC 0
7998 case " $LIBOBJS " in
7999 *" malloc.
$ac_objext "* ) ;;
8000 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
8005 cat >>confdefs.h <<\_ACEOF
8006 #define malloc rpl_malloc
8013 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8014 $as_echo_n "checking
for working memcmp...
" >&6; }
8015 if test "${ac_cv_func_memcmp_working+set}" = set; then
8016 $as_echo_n "(cached
) " >&6
8018 if test "$cross_compiling" = yes; then
8019 ac_cv_func_memcmp_working=no
8021 cat >conftest.$ac_ext <<_ACEOF
8024 cat confdefs.h >>conftest.$ac_ext
8025 cat >>conftest.$ac_ext <<_ACEOF
8026 /* end confdefs.h. */
8027 $ac_includes_default
8032 /* Some versions of memcmp are not 8-bit clean. */
8033 char c0 = '\100', c1 = '\200', c2 = '\201';
8034 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8037 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8038 or more and with at least one buffer not starting on a 4-byte boundary.
8039 William Lewis provided this test program. */
8044 for (i = 0; i < 4; i++)
8048 strcpy (a, "--------01111111");
8049 strcpy (b, "--------10000000");
8050 if (memcmp (a, b, 16) >= 0)
8060 rm -f conftest$ac_exeext
8061 if { (ac_try="$ac_link"
8063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8064 *) ac_try_echo=$ac_try;;
8066 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8067 $as_echo "$ac_try_echo") >&5
8068 (eval "$ac_link") 2>&5
8070 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8072 { (case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8076 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8077 $as_echo "$ac_try_echo") >&5
8078 (eval "$ac_try") 2>&5
8080 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8081 (exit $ac_status); }; }; then
8082 ac_cv_func_memcmp_working=yes
8084 $as_echo "$as_me: program exited with status
$ac_status" >&5
8085 $as_echo "$as_me: failed program was
:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_cv_func_memcmp_working=no
8091 rm -rf conftest.dSYM
8092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8097 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8098 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8099 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8100 *" memcmp.
$ac_objext "* ) ;;
8101 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8108 for ac_header in stdlib.h unistd.h
8110 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8111 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8112 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8113 $as_echo_n "checking
for $ac_header...
" >&6; }
8114 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8115 $as_echo_n "(cached
) " >&6
8117 ac_res=`eval 'as_val=${'$as_ac_Header'}
8118 $as_echo "$as_val"'`
8119 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8120 $as_echo "$ac_res" >&6; }
8122 # Is the header compilable?
8123 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8124 $as_echo_n "checking
$ac_header usability...
" >&6; }
8125 cat >conftest.$ac_ext <<_ACEOF
8128 cat confdefs.h >>conftest.$ac_ext
8129 cat >>conftest.$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8131 $ac_includes_default
8132 #include <$ac_header>
8134 rm -f conftest.$ac_objext
8135 if { (ac_try="$ac_compile"
8137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8138 *) ac_try_echo=$ac_try;;
8140 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8141 $as_echo "$ac_try_echo") >&5
8142 (eval "$ac_compile") 2>conftest.er1
8144 grep -v '^ *+' conftest.er1 >conftest.err
8146 cat conftest.err >&5
8147 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8148 (exit $ac_status); } && {
8149 test -z "$ac_c_werror_flag" ||
8150 test ! -s conftest.err
8151 } && test -s conftest.$ac_objext; then
8152 ac_header_compiler=yes
8154 $as_echo "$as_me: failed program was
:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8157 ac_header_compiler=no
8160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8161 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8162 $as_echo "$ac_header_compiler" >&6; }
8164 # Is the header present?
8165 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8166 $as_echo_n "checking
$ac_header presence...
" >&6; }
8167 cat >conftest.$ac_ext <<_ACEOF
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 #include <$ac_header>
8175 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8178 *) ac_try_echo=$ac_try;;
8180 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8181 $as_echo "$ac_try_echo") >&5
8182 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8184 grep -v '^ *+' conftest.er1 >conftest.err
8186 cat conftest.err >&5
8187 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8188 (exit $ac_status); } >/dev/null && {
8189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8190 test ! -s conftest.err
8192 ac_header_preproc=yes
8194 $as_echo "$as_me: failed program was
:" >&5
8195 sed 's/^/| /' conftest.$ac_ext >&5
8197 ac_header_preproc=no
8200 rm -f conftest.err conftest.$ac_ext
8201 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8202 $as_echo "$ac_header_preproc" >&6; }
8204 # So? What about this header?
8205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8207 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8208 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8209 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8210 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8211 ac_header_preproc=yes
8214 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8215 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8216 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8217 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8218 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8219 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8220 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8221 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8222 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8223 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8224 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8225 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8229 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8230 $as_echo_n "checking
for $ac_header...
" >&6; }
8231 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8232 $as_echo_n "(cached
) " >&6
8234 eval "$as_ac_Header=\
$ac_header_preproc"
8236 ac_res=`eval 'as_val=${'$as_ac_Header'}
8237 $as_echo "$as_val"'`
8238 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8239 $as_echo "$ac_res" >&6; }
8242 as_val=`eval 'as_val=${'$as_ac_Header'}
8243 $as_echo "$as_val"'`
8244 if test "x
$as_val" = x""yes; then
8245 cat >>confdefs.h <<_ACEOF
8246 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8254 for ac_func in getpagesize
8256 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8257 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8258 $as_echo_n "checking
for $ac_func...
" >&6; }
8259 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8260 $as_echo_n "(cached
) " >&6
8262 cat >conftest.$ac_ext <<_ACEOF
8265 cat confdefs.h >>conftest.$ac_ext
8266 cat >>conftest.$ac_ext <<_ACEOF
8267 /* end confdefs.h. */
8268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8270 #define $ac_func innocuous_$ac_func
8272 /* System header to define __stub macros and hopefully few prototypes,
8273 which can conflict with char $ac_func (); below.
8274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8275 <limits.h> exists even on freestanding compilers. */
8278 # include <limits.h>
8280 # include <assert.h>
8285 /* Override any GCC internal prototype to avoid an error.
8286 Use char because int might match the return type of a GCC
8287 builtin and then its argument prototype would still apply. */
8292 /* The GNU C library defines this for functions which it implements
8293 to always fail with ENOSYS. Some functions are actually named
8294 something starting with __ and the normal name is an alias. */
8295 #if defined __stub_$ac_func || defined __stub___$ac_func
8307 rm -f conftest.$ac_objext conftest$ac_exeext
8308 if { (ac_try="$ac_link"
8310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8311 *) ac_try_echo=$ac_try;;
8313 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8314 $as_echo "$ac_try_echo") >&5
8315 (eval "$ac_link") 2>conftest.er1
8317 grep -v '^ *+' conftest.er1 >conftest.err
8319 cat conftest.err >&5
8320 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8321 (exit $ac_status); } && {
8322 test -z "$ac_c_werror_flag" ||
8323 test ! -s conftest.err
8324 } && test -s conftest$ac_exeext && {
8325 test "$cross_compiling" = yes ||
8326 $as_test_x conftest$ac_exeext
8328 eval "$as_ac_var=yes"
8330 $as_echo "$as_me: failed program was
:" >&5
8331 sed 's/^/| /' conftest.$ac_ext >&5
8333 eval "$as_ac_var=no
"
8336 rm -rf conftest.dSYM
8337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8338 conftest$ac_exeext conftest.$ac_ext
8340 ac_res=`eval 'as_val=${'$as_ac_var'}
8341 $as_echo "$as_val"'`
8342 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8343 $as_echo "$ac_res" >&6; }
8344 as_val=`eval 'as_val=${'$as_ac_var'}
8345 $as_echo "$as_val"'`
8346 if test "x
$as_val" = x""yes; then
8347 cat >>confdefs.h <<_ACEOF
8348 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8354 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8355 $as_echo_n "checking
for working mmap...
" >&6; }
8356 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8357 $as_echo_n "(cached
) " >&6
8359 if test "$cross_compiling" = yes; then
8360 ac_cv_func_mmap_fixed_mapped=no
8362 cat >conftest.$ac_ext <<_ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8368 $ac_includes_default
8369 /* malloc might have been renamed as rpl_malloc. */
8372 /* Thanks to Mike Haertel and Jim Avera for this test.
8373 Here is a matrix of mmap possibilities:
8374 mmap private not fixed
8375 mmap private fixed at somewhere currently unmapped
8376 mmap private fixed at somewhere already mapped
8377 mmap shared not fixed
8378 mmap shared fixed at somewhere currently unmapped
8379 mmap shared fixed at somewhere already mapped
8380 For private mappings, we should verify that changes cannot be read()
8381 back from the file, nor mmap's back from the file at a different
8382 address. (There have been systems where private was not correctly
8383 implemented like the infamous i386 svr4.0, and systems where the
8384 VM page cache was not coherent with the file system buffer cache
8385 like early versions of FreeBSD and possibly contemporary NetBSD.)
8386 For shared mappings, we should conversely verify that changes get
8387 propagated back to all the places they're supposed to be.
8389 Grep wants private fixed already mapped.
8390 The main things grep needs to know about mmap are:
8391 * does it exist and is it safe to write into the mmap'd area
8392 * how to use it (BSD variants) */
8395 #include <sys/mman.h>
8397 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8401 /* This mess was copied from the GNU getpagesize.h. */
8402 #ifndef HAVE_GETPAGESIZE
8403 /* Assume that all systems that can run configure have sys/param.h. */
8404 # ifndef HAVE_SYS_PARAM_H
8405 # define HAVE_SYS_PARAM_H 1
8408 # ifdef _SC_PAGESIZE
8409 # define getpagesize() sysconf(_SC_PAGESIZE)
8410 # else /* no _SC_PAGESIZE */
8411 # ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 # ifdef EXEC_PAGESIZE
8414 # define getpagesize() EXEC_PAGESIZE
8415 # else /* no EXEC_PAGESIZE */
8417 # define getpagesize() NBPG * CLSIZE
8420 # endif /* no CLSIZE */
8421 # else /* no NBPG */
8423 # define getpagesize() NBPC
8424 # else /* no NBPC */
8426 # define getpagesize() PAGESIZE
8427 # endif /* PAGESIZE */
8428 # endif /* no NBPC */
8429 # endif /* no NBPG */
8430 # endif /* no EXEC_PAGESIZE */
8431 # else /* no HAVE_SYS_PARAM_H */
8432 # define getpagesize() 8192 /* punt totally */
8433 # endif /* no HAVE_SYS_PARAM_H */
8434 # endif /* no _SC_PAGESIZE */
8436 #endif /* no HAVE_GETPAGESIZE */
8441 char *data, *data2, *data3;
8445 pagesize = getpagesize ();
8447 /* First, make a file with some known garbage in it. */
8448 data = (char *) malloc (pagesize);
8451 for (i = 0; i < pagesize; ++i)
8452 *(data + i) = rand ();
8454 fd = creat ("conftest.mmap
", 0600);
8457 if (write (fd, data, pagesize) != pagesize)
8461 /* Next, try to mmap the file at a fixed address which already has
8462 something else allocated at it. If we can, also make sure that
8463 we see the same garbage. */
8464 fd = open ("conftest.mmap
", O_RDWR);
8467 data2 = (char *) malloc (2 * pagesize);
8470 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8471 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8472 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8474 for (i = 0; i < pagesize; ++i)
8475 if (*(data + i) != *(data2 + i))
8478 /* Finally, make sure that changes to the mapped area do not
8479 percolate back to the file as seen by read(). (This is a bug on
8480 some variants of i386 svr4.0.) */
8481 for (i = 0; i < pagesize; ++i)
8482 *(data2 + i) = *(data2 + i) + 1;
8483 data3 = (char *) malloc (pagesize);
8486 if (read (fd, data3, pagesize) != pagesize)
8488 for (i = 0; i < pagesize; ++i)
8489 if (*(data + i) != *(data3 + i))
8495 rm -f conftest$ac_exeext
8496 if { (ac_try="$ac_link"
8498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499 *) ac_try_echo=$ac_try;;
8501 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8502 $as_echo "$ac_try_echo") >&5
8503 (eval "$ac_link") 2>&5
8505 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8507 { (case "(($ac_try" in
8508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8509 *) ac_try_echo=$ac_try;;
8511 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8512 $as_echo "$ac_try_echo") >&5
8513 (eval "$ac_try") 2>&5
8515 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 ac_cv_func_mmap_fixed_mapped=yes
8519 $as_echo "$as_me: program exited with status
$ac_status" >&5
8520 $as_echo "$as_me: failed program was
:" >&5
8521 sed 's/^/| /' conftest.$ac_ext >&5
8524 ac_cv_func_mmap_fixed_mapped=no
8526 rm -rf conftest.dSYM
8527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8532 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8533 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8534 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8536 cat >>confdefs.h <<\_ACEOF
8543 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8544 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8545 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8546 $as_echo_n "(cached
) " >&6
8548 if test "$cross_compiling" = yes; then
8549 ac_cv_func_stat_empty_string_bug=yes
8551 cat >conftest.$ac_ext <<_ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8557 $ac_includes_default
8562 return stat ("", &sbuf) == 0;
8567 rm -f conftest$ac_exeext
8568 if { (ac_try="$ac_link"
8570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8571 *) ac_try_echo=$ac_try;;
8573 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8574 $as_echo "$ac_try_echo") >&5
8575 (eval "$ac_link") 2>&5
8577 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8579 { (case "(($ac_try" in
8580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8581 *) ac_try_echo=$ac_try;;
8583 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8584 $as_echo "$ac_try_echo") >&5
8585 (eval "$ac_try") 2>&5
8587 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8588 (exit $ac_status); }; }; then
8589 ac_cv_func_stat_empty_string_bug=no
8591 $as_echo "$as_me: program exited with status
$ac_status" >&5
8592 $as_echo "$as_me: failed program was
:" >&5
8593 sed 's/^/| /' conftest.$ac_ext >&5
8596 ac_cv_func_stat_empty_string_bug=yes
8598 rm -rf conftest.dSYM
8599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8604 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8605 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8606 if test $ac_cv_func_stat_empty_string_bug = yes; then
8607 case " $LIBOBJS " in
8608 *" stat.
$ac_objext "* ) ;;
8609 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8614 cat >>confdefs.h <<_ACEOF
8615 #define HAVE_STAT_EMPTY_STRING_BUG 1
8620 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8621 $as_echo_n "checking
for working strtod...
" >&6; }
8622 if test "${ac_cv_func_strtod+set}" = set; then
8623 $as_echo_n "(cached
) " >&6
8625 if test "$cross_compiling" = yes; then
8626 ac_cv_func_strtod=no
8628 cat >conftest.$ac_ext <<_ACEOF
8631 cat confdefs.h >>conftest.$ac_ext
8632 cat >>conftest.$ac_ext <<_ACEOF
8633 /* end confdefs.h. */
8635 $ac_includes_default
8643 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8644 char *string = " +69";
8647 value = strtod (string, &term);
8648 if (value != 69 || term != (string + 4))
8653 /* Under Solaris 2.4, strtod returns the wrong value for the
8654 terminating character under some conditions. */
8655 char *string = "NaN
";
8657 strtod (string, &term);
8658 if (term != string && *(term - 1) == 0)
8665 rm -f conftest$ac_exeext
8666 if { (ac_try="$ac_link"
8668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669 *) ac_try_echo=$ac_try;;
8671 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8672 $as_echo "$ac_try_echo") >&5
8673 (eval "$ac_link") 2>&5
8675 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8677 { (case "(($ac_try" in
8678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8679 *) ac_try_echo=$ac_try;;
8681 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8682 $as_echo "$ac_try_echo") >&5
8683 (eval "$ac_try") 2>&5
8685 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8686 (exit $ac_status); }; }; then
8687 ac_cv_func_strtod=yes
8689 $as_echo "$as_me: program exited with status
$ac_status" >&5
8690 $as_echo "$as_me: failed program was
:" >&5
8691 sed 's/^/| /' conftest.$ac_ext >&5
8694 ac_cv_func_strtod=no
8696 rm -rf conftest.dSYM
8697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8702 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8703 $as_echo "$ac_cv_func_strtod" >&6; }
8704 if test $ac_cv_func_strtod = no; then
8705 case " $LIBOBJS " in
8706 *" strtod.
$ac_objext "* ) ;;
8707 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8711 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8712 $as_echo_n "checking
for pow...
" >&6; }
8713 if test "${ac_cv_func_pow+set}" = set; then
8714 $as_echo_n "(cached
) " >&6
8716 cat >conftest.$ac_ext <<_ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8722 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8724 #define pow innocuous_pow
8726 /* System header to define __stub macros and hopefully few prototypes,
8727 which can conflict with char pow (); below.
8728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8729 <limits.h> exists even on freestanding compilers. */
8732 # include <limits.h>
8734 # include <assert.h>
8739 /* Override any GCC internal prototype to avoid an error.
8740 Use char because int might match the return type of a GCC
8741 builtin and then its argument prototype would still apply. */
8746 /* The GNU C library defines this for functions which it implements
8747 to always fail with ENOSYS. Some functions are actually named
8748 something starting with __ and the normal name is an alias. */
8749 #if defined __stub_pow || defined __stub___pow
8761 rm -f conftest.$ac_objext conftest$ac_exeext
8762 if { (ac_try="$ac_link"
8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765 *) ac_try_echo=$ac_try;;
8767 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8768 $as_echo "$ac_try_echo") >&5
8769 (eval "$ac_link") 2>conftest.er1
8771 grep -v '^ *+' conftest.er1 >conftest.err
8773 cat conftest.err >&5
8774 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8775 (exit $ac_status); } && {
8776 test -z "$ac_c_werror_flag" ||
8777 test ! -s conftest.err
8778 } && test -s conftest$ac_exeext && {
8779 test "$cross_compiling" = yes ||
8780 $as_test_x conftest$ac_exeext
8784 $as_echo "$as_me: failed program was
:" >&5
8785 sed 's/^/| /' conftest.$ac_ext >&5
8790 rm -rf conftest.dSYM
8791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8792 conftest$ac_exeext conftest.$ac_ext
8794 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8795 $as_echo "$ac_cv_func_pow" >&6; }
8797 if test $ac_cv_func_pow = no; then
8798 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8799 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8800 if test "${ac_cv_lib_m_pow+set}" = set; then
8801 $as_echo_n "(cached
) " >&6
8803 ac_check_lib_save_LIBS=$LIBS
8805 cat >conftest.$ac_ext <<_ACEOF
8808 cat confdefs.h >>conftest.$ac_ext
8809 cat >>conftest.$ac_ext <<_ACEOF
8810 /* end confdefs.h. */
8812 /* Override any GCC internal prototype to avoid an error.
8813 Use char because int might match the return type of a GCC
8814 builtin and then its argument prototype would still apply. */
8827 rm -f conftest.$ac_objext conftest$ac_exeext
8828 if { (ac_try="$ac_link"
8830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8831 *) ac_try_echo=$ac_try;;
8833 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8834 $as_echo "$ac_try_echo") >&5
8835 (eval "$ac_link") 2>conftest.er1
8837 grep -v '^ *+' conftest.er1 >conftest.err
8839 cat conftest.err >&5
8840 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8841 (exit $ac_status); } && {
8842 test -z "$ac_c_werror_flag" ||
8843 test ! -s conftest.err
8844 } && test -s conftest$ac_exeext && {
8845 test "$cross_compiling" = yes ||
8846 $as_test_x conftest$ac_exeext
8850 $as_echo "$as_me: failed program was
:" >&5
8851 sed 's/^/| /' conftest.$ac_ext >&5
8856 rm -rf conftest.dSYM
8857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8858 conftest$ac_exeext conftest.$ac_ext
8859 LIBS=$ac_check_lib_save_LIBS
8861 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8862 $as_echo "$ac_cv_lib_m_pow" >&6; }
8863 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8866 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8867 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8875 for ac_func in vprintf
8877 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8878 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8879 $as_echo_n "checking
for $ac_func...
" >&6; }
8880 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8881 $as_echo_n "(cached
) " >&6
8883 cat >conftest.$ac_ext <<_ACEOF
8886 cat confdefs.h >>conftest.$ac_ext
8887 cat >>conftest.$ac_ext <<_ACEOF
8888 /* end confdefs.h. */
8889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8891 #define $ac_func innocuous_$ac_func
8893 /* System header to define __stub macros and hopefully few prototypes,
8894 which can conflict with char $ac_func (); below.
8895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8896 <limits.h> exists even on freestanding compilers. */
8899 # include <limits.h>
8901 # include <assert.h>
8906 /* Override any GCC internal prototype to avoid an error.
8907 Use char because int might match the return type of a GCC
8908 builtin and then its argument prototype would still apply. */
8913 /* The GNU C library defines this for functions which it implements
8914 to always fail with ENOSYS. Some functions are actually named
8915 something starting with __ and the normal name is an alias. */
8916 #if defined __stub_$ac_func || defined __stub___$ac_func
8928 rm -f conftest.$ac_objext conftest$ac_exeext
8929 if { (ac_try="$ac_link"
8931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8932 *) ac_try_echo=$ac_try;;
8934 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8935 $as_echo "$ac_try_echo") >&5
8936 (eval "$ac_link") 2>conftest.er1
8938 grep -v '^ *+' conftest.er1 >conftest.err
8940 cat conftest.err >&5
8941 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8942 (exit $ac_status); } && {
8943 test -z "$ac_c_werror_flag" ||
8944 test ! -s conftest.err
8945 } && test -s conftest$ac_exeext && {
8946 test "$cross_compiling" = yes ||
8947 $as_test_x conftest$ac_exeext
8949 eval "$as_ac_var=yes"
8951 $as_echo "$as_me: failed program was
:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8954 eval "$as_ac_var=no
"
8957 rm -rf conftest.dSYM
8958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8959 conftest$ac_exeext conftest.$ac_ext
8961 ac_res=`eval 'as_val=${'$as_ac_var'}
8962 $as_echo "$as_val"'`
8963 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8964 $as_echo "$ac_res" >&6; }
8965 as_val=`eval 'as_val=${'$as_ac_var'}
8966 $as_echo "$as_val"'`
8967 if test "x
$as_val" = x""yes; then
8968 cat >>confdefs.h <<_ACEOF
8969 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8972 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8973 $as_echo_n "checking
for _doprnt...
" >&6; }
8974 if test "${ac_cv_func__doprnt+set}" = set; then
8975 $as_echo_n "(cached
) " >&6
8977 cat >conftest.$ac_ext <<_ACEOF
8980 cat confdefs.h >>conftest.$ac_ext
8981 cat >>conftest.$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8983 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8985 #define _doprnt innocuous__doprnt
8987 /* System header to define __stub macros and hopefully few prototypes,
8988 which can conflict with char _doprnt (); below.
8989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8990 <limits.h> exists even on freestanding compilers. */
8993 # include <limits.h>
8995 # include <assert.h>
9000 /* Override any GCC internal prototype to avoid an error.
9001 Use char because int might match the return type of a GCC
9002 builtin and then its argument prototype would still apply. */
9007 /* The GNU C library defines this for functions which it implements
9008 to always fail with ENOSYS. Some functions are actually named
9009 something starting with __ and the normal name is an alias. */
9010 #if defined __stub__doprnt || defined __stub____doprnt
9022 rm -f conftest.$ac_objext conftest$ac_exeext
9023 if { (ac_try="$ac_link"
9025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9026 *) ac_try_echo=$ac_try;;
9028 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9029 $as_echo "$ac_try_echo") >&5
9030 (eval "$ac_link") 2>conftest.er1
9032 grep -v '^ *+' conftest.er1 >conftest.err
9034 cat conftest.err >&5
9035 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9036 (exit $ac_status); } && {
9037 test -z "$ac_c_werror_flag" ||
9038 test ! -s conftest.err
9039 } && test -s conftest$ac_exeext && {
9040 test "$cross_compiling" = yes ||
9041 $as_test_x conftest$ac_exeext
9043 ac_cv_func__doprnt=yes
9045 $as_echo "$as_me: failed program was
:" >&5
9046 sed 's/^/| /' conftest.$ac_ext >&5
9048 ac_cv_func__doprnt=no
9051 rm -rf conftest.dSYM
9052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9053 conftest$ac_exeext conftest.$ac_ext
9055 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9056 $as_echo "$ac_cv_func__doprnt" >&6; }
9057 if test "x
$ac_cv_func__doprnt" = x""yes; then
9059 cat >>confdefs.h <<\_ACEOF
9060 #define HAVE_DOPRNT 1
9070 ################################################################################
9071 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9072 $as_echo_n "checking whether to use static linking...
" >&6; }
9073 # Check whether --enable-static_link was given.
9074 if test "${enable_static_link+set}" = set; then
9075 enableval=$enable_static_link; STATIC_LINK=$enableval
9080 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9081 $as_echo "$STATIC_LINK" >&6; }
9083 ################################################################################
9086 ################################################################################
9087 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9088 $as_echo_n "checking
file owner...
" >&6; }
9090 # Check whether --with-user was given.
9091 if test "${with_user+set}" = set; then
9092 withval=$with_user; OWNER="$withval"
9095 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9096 $as_echo "$OWNER" >&6; }
9098 if test x$OWNER != x; then
9099 INSTALL="$INSTALL -o $OWNER"
9102 ################################################################################
9103 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9104 $as_echo_n "checking group owner...
" >&6; }
9106 # Check whether --with-group was given.
9107 if test "${with_group+set}" = set; then
9108 withval=$with_group; GROUP="$withval"
9111 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9112 $as_echo "$GROUP" >&6; }
9114 if test x$GROUP != x; then
9115 INSTALL="$INSTALL -g $GROUP"
9118 ################################################################################
9119 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9120 $as_echo_n "checking device node uid...
" >&6; }
9123 # Check whether --with-device-uid was given.
9124 if test "${with_device_uid+set}" = set; then
9125 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9130 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9131 $as_echo "$DM_DEVICE_UID" >&6; }
9133 ################################################################################
9134 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9135 $as_echo_n "checking device node gid...
" >&6; }
9138 # Check whether --with-device-gid was given.
9139 if test "${with_device_gid+set}" = set; then
9140 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9145 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9146 $as_echo "$DM_DEVICE_GID" >&6; }
9148 ################################################################################
9149 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9150 $as_echo_n "checking device node mode...
" >&6; }
9153 # Check whether --with-device-mode was given.
9154 if test "${with_device_mode+set}" = set; then
9155 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9157 DM_DEVICE_MODE="0600"
9160 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9161 $as_echo "$DM_DEVICE_MODE" >&6; }
9163 ################################################################################
9164 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9165 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9166 # Check whether --enable-lvm1_fallback was given.
9167 if test "${enable_lvm1_fallback+set}" = set; then
9168 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9173 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9174 $as_echo "$LVM1_FALLBACK" >&6; }
9176 if test x$LVM1_FALLBACK = xyes; then
9178 cat >>confdefs.h <<\_ACEOF
9179 #define LVM1_FALLBACK 1
9184 ################################################################################
9185 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9186 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9188 # Check whether --with-lvm1 was given.
9189 if test "${with_lvm1+set}" = set; then
9190 withval=$with_lvm1; LVM1="$withval"
9195 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9196 $as_echo "$LVM1" >&6; }
9198 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9199 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9201 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9203 { (exit 1); exit 1; }; }
9206 if test x$LVM1 = xinternal; then
9208 cat >>confdefs.h <<\_ACEOF
9209 #define LVM1_INTERNAL 1
9214 ################################################################################
9215 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9216 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9218 # Check whether --with-pool was given.
9219 if test "${with_pool+set}" = set; then
9220 withval=$with_pool; POOL="$withval"
9225 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9226 $as_echo "$POOL" >&6; }
9228 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9229 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9231 $as_echo "$as_me: error
: --with-pool parameter invalid
9233 { (exit 1); exit 1; }; }
9236 if test x$POOL = xinternal; then
9238 cat >>confdefs.h <<\_ACEOF
9239 #define POOL_INTERNAL 1
9244 ################################################################################
9245 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9246 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9248 # Check whether --with-cluster was given.
9249 if test "${with_cluster+set}" = set; then
9250 withval=$with_cluster; CLUSTER="$withval"
9253 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9254 $as_echo "$CLUSTER" >&6; }
9256 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9257 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9259 $as_echo "$as_me: error
: --with-cluster parameter invalid
9261 { (exit 1); exit 1; }; }
9264 if test x$CLUSTER = xinternal; then
9266 cat >>confdefs.h <<\_ACEOF
9267 #define CLUSTER_LOCKING_INTERNAL 1
9272 ################################################################################
9273 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9274 $as_echo_n "checking whether to include snapshots...
" >&6; }
9276 # Check whether --with-snapshots was given.
9277 if test "${with_snapshots+set}" = set; then
9278 withval=$with_snapshots; SNAPSHOTS="$withval"
9280 SNAPSHOTS="internal
"
9283 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9284 $as_echo "$SNAPSHOTS" >&6; }
9286 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9287 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9289 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9291 { (exit 1); exit 1; }; }
9294 if test x$SNAPSHOTS = xinternal; then
9296 cat >>confdefs.h <<\_ACEOF
9297 #define SNAPSHOT_INTERNAL 1
9302 ################################################################################
9303 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9304 $as_echo_n "checking whether to include mirrors...
" >&6; }
9306 # Check whether --with-mirrors was given.
9307 if test "${with_mirrors+set}" = set; then
9308 withval=$with_mirrors; MIRRORS="$withval"
9313 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9314 $as_echo "$MIRRORS" >&6; }
9316 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9317 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9319 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9321 { (exit 1); exit 1; }; }
9324 if test x$MIRRORS = xinternal; then
9326 cat >>confdefs.h <<\_ACEOF
9327 #define MIRRORED_INTERNAL 1
9332 ################################################################################
9333 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9334 $as_echo_n "checking whether to
enable readline...
" >&6; }
9335 # Check whether --enable-readline was given.
9336 if test "${enable_readline+set}" = set; then
9337 enableval=$enable_readline; READLINE=$enableval
9342 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9343 $as_echo "$READLINE" >&6; }
9345 ################################################################################
9346 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9347 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9348 # Check whether --enable-realtime was given.
9349 if test "${enable_realtime+set}" = set; then
9350 enableval=$enable_realtime; REALTIME=$enableval
9353 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9354 $as_echo "$REALTIME" >&6; }
9356 ################################################################################
9360 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9361 if test -n "$ac_tool_prefix"; then
9362 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9363 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9364 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9365 $as_echo_n "checking
for $ac_word...
" >&6; }
9366 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9367 $as_echo_n "(cached
) " >&6
9371 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9378 test -z "$as_dir" && as_dir=.
9379 for ac_exec_ext in '' $ac_executable_extensions; do
9380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9381 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9382 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9392 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9393 if test -n "$PKG_CONFIG"; then
9394 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9395 $as_echo "$PKG_CONFIG" >&6; }
9397 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9398 $as_echo "no
" >&6; }
9403 if test -z "$ac_cv_path_PKG_CONFIG"; then
9404 ac_pt_PKG_CONFIG=$PKG_CONFIG
9405 # Extract the first word of "pkg-config
", so it can be a program name with args.
9406 set dummy pkg-config; ac_word=$2
9407 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9408 $as_echo_n "checking
for $ac_word...
" >&6; }
9409 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9410 $as_echo_n "(cached
) " >&6
9412 case $ac_pt_PKG_CONFIG in
9414 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 test -z "$as_dir" && as_dir=.
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9424 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9425 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9435 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9436 if test -n "$ac_pt_PKG_CONFIG"; then
9437 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9438 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9440 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9441 $as_echo "no
" >&6; }
9444 if test "x
$ac_pt_PKG_CONFIG" = x; then
9447 case $cross_compiling:$ac_tool_warned in
9449 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9450 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9451 ac_tool_warned=yes ;;
9453 PKG_CONFIG=$ac_pt_PKG_CONFIG
9456 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9460 if test -n "$PKG_CONFIG"; then
9461 _pkg_min_version=0.9.0
9462 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9463 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9464 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9465 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9466 $as_echo "yes" >&6; }
9468 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9469 $as_echo "no
" >&6; }
9476 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9477 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9479 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9480 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9481 elif test -n "$PKG_CONFIG"; then
9482 if test -n "$PKG_CONFIG" && \
9483 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9484 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9486 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9487 (exit $ac_status); }; then
9488 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9495 if test -n "$PKGCONFIGINIT_LIBS"; then
9496 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9497 elif test -n "$PKG_CONFIG"; then
9498 if test -n "$PKG_CONFIG" && \
9499 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9500 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9502 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9503 (exit $ac_status); }; then
9504 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9514 if test $pkg_failed = yes; then
9516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9517 _pkg_short_errors_supported=yes
9519 _pkg_short_errors_supported=no
9521 if test $_pkg_short_errors_supported = yes; then
9522 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9524 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9526 # Put the nasty error message in config.log where it belongs
9527 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9529 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9530 $as_echo "no
" >&6; }
9531 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9532 $as_echo "pkg-config initialized
" >&6; }
9533 elif test $pkg_failed = untried; then
9534 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9535 $as_echo "pkg-config initialized
" >&6; }
9537 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9538 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9539 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9540 $as_echo "yes" >&6; }
9546 ################################################################################
9547 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9548 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9550 # Check whether --with-clvmd was given.
9551 if test "${with_clvmd+set}" = set; then
9552 withval=$with_clvmd; CLVMD="$withval"
9557 if test x$CLVMD = xyes; then
9560 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9561 $as_echo "$CLVMD" >&6; }
9563 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9567 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9572 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9575 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9578 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9581 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9585 if test x$BUILDGULM = xyes; then
9586 if test x$BUILDCOROSYNC = xyes || \
9587 test x$BUILDOPENAIS = xyes; then
9588 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9589 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9590 { (exit 1); exit 1; }; }
9599 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9600 $as_echo "$as_me: error
: bailing out
" >&2;}
9601 { (exit 1); exit 1; }; }
9604 if test x$CLVMD = xall; then
9605 bailout=soft_bailout
9611 bailout=hard_bailout
9614 check_lib_no_libs() {
9621 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9622 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9623 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9624 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9625 $as_echo_n "(cached
) " >&6
9627 ac_check_lib_save_LIBS=$LIBS
9628 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9629 cat >conftest.$ac_ext <<_ACEOF
9632 cat confdefs.h >>conftest.$ac_ext
9633 cat >>conftest.$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9636 /* Override any GCC internal prototype to avoid an error.
9637 Use char because int might match the return type of a GCC
9638 builtin and then its argument prototype would still apply. */
9642 char $lib_no_libs_arg2 ();
9646 return $lib_no_libs_arg2 ();
9651 rm -f conftest.$ac_objext conftest$ac_exeext
9652 if { (ac_try="$ac_link"
9654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9655 *) ac_try_echo=$ac_try;;
9657 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9658 $as_echo "$ac_try_echo") >&5
9659 (eval "$ac_link") 2>conftest.er1
9661 grep -v '^ *+' conftest.er1 >conftest.err
9663 cat conftest.err >&5
9664 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9665 (exit $ac_status); } && {
9666 test -z "$ac_c_werror_flag" ||
9667 test ! -s conftest.err
9668 } && test -s conftest$ac_exeext && {
9669 test "$cross_compiling" = yes ||
9670 $as_test_x conftest$ac_exeext
9672 eval "$as_ac_Lib=yes"
9674 $as_echo "$as_me: failed program was
:" >&5
9675 sed 's/^/| /' conftest.$ac_ext >&5
9677 eval "$as_ac_Lib=no
"
9680 rm -rf conftest.dSYM
9681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9682 conftest$ac_exeext conftest.$ac_ext
9683 LIBS=$ac_check_lib_save_LIBS
9685 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9686 $as_echo "$as_val"'`
9687 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9688 $as_echo "$ac_res" >&6; }
9689 as_val=`eval 'as_val=${'$as_ac_Lib'}
9690 $as_echo "$as_val"'`
9691 if test "x
$as_val" = x""yes; then
9692 cat >>confdefs.h <<_ACEOF
9693 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9696 LIBS="-l$lib_no_libs_arg1 $LIBS"
9702 LIBS=$ac_check_lib_save_LIBS
9705 if test x$BUILDGULM = xyes; then
9708 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9709 $as_echo_n "checking
for CCS...
" >&6; }
9711 if test -n "$CCS_CFLAGS"; then
9712 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9713 elif test -n "$PKG_CONFIG"; then
9714 if test -n "$PKG_CONFIG" && \
9715 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9716 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9718 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9719 (exit $ac_status); }; then
9720 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9727 if test -n "$CCS_LIBS"; then
9728 pkg_cv_CCS_LIBS="$CCS_LIBS"
9729 elif test -n "$PKG_CONFIG"; then
9730 if test -n "$PKG_CONFIG" && \
9731 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9732 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9734 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9735 (exit $ac_status); }; then
9736 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9746 if test $pkg_failed = yes; then
9748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9749 _pkg_short_errors_supported=yes
9751 _pkg_short_errors_supported=no
9753 if test $_pkg_short_errors_supported = yes; then
9754 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9756 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9758 # Put the nasty error message in config.log where it belongs
9759 echo "$CCS_PKG_ERRORS" >&5
9761 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9762 $as_echo "no
" >&6; }
9765 for ac_header in ccs.h
9767 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9768 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9769 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9770 $as_echo_n "checking
for $ac_header...
" >&6; }
9771 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9772 $as_echo_n "(cached
) " >&6
9774 ac_res=`eval 'as_val=${'$as_ac_Header'}
9775 $as_echo "$as_val"'`
9776 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9777 $as_echo "$ac_res" >&6; }
9779 # Is the header compilable?
9780 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9781 $as_echo_n "checking
$ac_header usability...
" >&6; }
9782 cat >conftest.$ac_ext <<_ACEOF
9785 cat confdefs.h >>conftest.$ac_ext
9786 cat >>conftest.$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9788 $ac_includes_default
9789 #include <$ac_header>
9791 rm -f conftest.$ac_objext
9792 if { (ac_try="$ac_compile"
9794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9795 *) ac_try_echo=$ac_try;;
9797 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9798 $as_echo "$ac_try_echo") >&5
9799 (eval "$ac_compile") 2>conftest.er1
9801 grep -v '^ *+' conftest.er1 >conftest.err
9803 cat conftest.err >&5
9804 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest.$ac_objext; then
9809 ac_header_compiler=yes
9811 $as_echo "$as_me: failed program was
:" >&5
9812 sed 's/^/| /' conftest.$ac_ext >&5
9814 ac_header_compiler=no
9817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9818 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9819 $as_echo "$ac_header_compiler" >&6; }
9821 # Is the header present?
9822 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9823 $as_echo_n "checking
$ac_header presence...
" >&6; }
9824 cat >conftest.$ac_ext <<_ACEOF
9827 cat confdefs.h >>conftest.$ac_ext
9828 cat >>conftest.$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9830 #include <$ac_header>
9832 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9837 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9838 $as_echo "$ac_try_echo") >&5
9839 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9841 grep -v '^ *+' conftest.er1 >conftest.err
9843 cat conftest.err >&5
9844 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9845 (exit $ac_status); } >/dev/null && {
9846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9847 test ! -s conftest.err
9849 ac_header_preproc=yes
9851 $as_echo "$as_me: failed program was
:" >&5
9852 sed 's/^/| /' conftest.$ac_ext >&5
9854 ac_header_preproc=no
9857 rm -f conftest.err conftest.$ac_ext
9858 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9859 $as_echo "$ac_header_preproc" >&6; }
9861 # So? What about this header?
9862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9864 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9865 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9866 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9867 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9868 ac_header_preproc=yes
9871 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9872 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9873 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9874 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9875 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9876 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9877 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9878 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9879 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9880 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9881 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9882 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9886 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9887 $as_echo_n "checking
for $ac_header...
" >&6; }
9888 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9889 $as_echo_n "(cached
) " >&6
9891 eval "$as_ac_Header=\
$ac_header_preproc"
9893 ac_res=`eval 'as_val=${'$as_ac_Header'}
9894 $as_echo "$as_val"'`
9895 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9896 $as_echo "$ac_res" >&6; }
9899 as_val=`eval 'as_val=${'$as_ac_Header'}
9900 $as_echo "$as_val"'`
9901 if test "x
$as_val" = x""yes; then
9902 cat >>confdefs.h <<_ACEOF
9903 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9912 check_lib_no_libs ccs ccs_connect
9913 if test $NOTFOUND = 0; then
9914 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9915 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9919 elif test $pkg_failed = untried; then
9922 for ac_header in ccs.h
9924 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9925 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9926 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9927 $as_echo_n "checking
for $ac_header...
" >&6; }
9928 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9929 $as_echo_n "(cached
) " >&6
9931 ac_res=`eval 'as_val=${'$as_ac_Header'}
9932 $as_echo "$as_val"'`
9933 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9934 $as_echo "$ac_res" >&6; }
9936 # Is the header compilable?
9937 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9938 $as_echo_n "checking
$ac_header usability...
" >&6; }
9939 cat >conftest.$ac_ext <<_ACEOF
9942 cat confdefs.h >>conftest.$ac_ext
9943 cat >>conftest.$ac_ext <<_ACEOF
9944 /* end confdefs.h. */
9945 $ac_includes_default
9946 #include <$ac_header>
9948 rm -f conftest.$ac_objext
9949 if { (ac_try="$ac_compile"
9951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9952 *) ac_try_echo=$ac_try;;
9954 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9955 $as_echo "$ac_try_echo") >&5
9956 (eval "$ac_compile") 2>conftest.er1
9958 grep -v '^ *+' conftest.er1 >conftest.err
9960 cat conftest.err >&5
9961 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9962 (exit $ac_status); } && {
9963 test -z "$ac_c_werror_flag" ||
9964 test ! -s conftest.err
9965 } && test -s conftest.$ac_objext; then
9966 ac_header_compiler=yes
9968 $as_echo "$as_me: failed program was
:" >&5
9969 sed 's/^/| /' conftest.$ac_ext >&5
9971 ac_header_compiler=no
9974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9975 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9976 $as_echo "$ac_header_compiler" >&6; }
9978 # Is the header present?
9979 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9980 $as_echo_n "checking
$ac_header presence...
" >&6; }
9981 cat >conftest.$ac_ext <<_ACEOF
9984 cat confdefs.h >>conftest.$ac_ext
9985 cat >>conftest.$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9987 #include <$ac_header>
9989 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9992 *) ac_try_echo=$ac_try;;
9994 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9995 $as_echo "$ac_try_echo") >&5
9996 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9998 grep -v '^ *+' conftest.er1 >conftest.err
10000 cat conftest.err >&5
10001 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10002 (exit $ac_status); } >/dev/null && {
10003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10004 test ! -s conftest.err
10006 ac_header_preproc=yes
10008 $as_echo "$as_me: failed program was
:" >&5
10009 sed 's/^/| /' conftest.$ac_ext >&5
10011 ac_header_preproc=no
10014 rm -f conftest.err conftest.$ac_ext
10015 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10016 $as_echo "$ac_header_preproc" >&6; }
10018 # So? What about this header?
10019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10021 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10022 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10023 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10024 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10025 ac_header_preproc=yes
10028 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10029 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10030 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10031 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10032 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10033 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10034 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10035 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10036 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10037 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10038 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10039 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10043 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10044 $as_echo_n "checking
for $ac_header...
" >&6; }
10045 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10046 $as_echo_n "(cached
) " >&6
10048 eval "$as_ac_Header=\
$ac_header_preproc"
10050 ac_res=`eval 'as_val=${'$as_ac_Header'}
10051 $as_echo "$as_val"'`
10052 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10053 $as_echo "$ac_res" >&6; }
10056 as_val=`eval 'as_val=${'$as_ac_Header'}
10057 $as_echo "$as_val"'`
10058 if test "x
$as_val" = x""yes; then
10059 cat >>confdefs.h <<_ACEOF
10060 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10069 check_lib_no_libs ccs ccs_connect
10070 if test $NOTFOUND = 0; then
10071 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10072 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10077 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10078 CCS_LIBS=$pkg_cv_CCS_LIBS
10079 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10080 $as_echo "yes" >&6; }
10085 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10086 $as_echo_n "checking
for GULM...
" >&6; }
10088 if test -n "$GULM_CFLAGS"; then
10089 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10090 elif test -n "$PKG_CONFIG"; then
10091 if test -n "$PKG_CONFIG" && \
10092 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10093 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10095 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10096 (exit $ac_status); }; then
10097 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10104 if test -n "$GULM_LIBS"; then
10105 pkg_cv_GULM_LIBS="$GULM_LIBS"
10106 elif test -n "$PKG_CONFIG"; then
10107 if test -n "$PKG_CONFIG" && \
10108 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10109 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10111 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10112 (exit $ac_status); }; then
10113 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10123 if test $pkg_failed = yes; then
10125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10126 _pkg_short_errors_supported=yes
10128 _pkg_short_errors_supported=no
10130 if test $_pkg_short_errors_supported = yes; then
10131 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10133 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10135 # Put the nasty error message in config.log where it belongs
10136 echo "$GULM_PKG_ERRORS" >&5
10138 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10139 $as_echo "no
" >&6; }
10142 for ac_header in libgulm.h
10144 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10145 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10146 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10147 $as_echo_n "checking
for $ac_header...
" >&6; }
10148 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10149 $as_echo_n "(cached
) " >&6
10151 ac_res=`eval 'as_val=${'$as_ac_Header'}
10152 $as_echo "$as_val"'`
10153 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10154 $as_echo "$ac_res" >&6; }
10156 # Is the header compilable?
10157 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10158 $as_echo_n "checking
$ac_header usability...
" >&6; }
10159 cat >conftest.$ac_ext <<_ACEOF
10162 cat confdefs.h >>conftest.$ac_ext
10163 cat >>conftest.$ac_ext <<_ACEOF
10164 /* end confdefs.h. */
10165 $ac_includes_default
10166 #include <$ac_header>
10168 rm -f conftest.$ac_objext
10169 if { (ac_try="$ac_compile"
10170 case "(($ac_try" in
10171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10174 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10175 $as_echo "$ac_try_echo") >&5
10176 (eval "$ac_compile") 2>conftest.er1
10178 grep -v '^ *+' conftest.er1 >conftest.err
10180 cat conftest.err >&5
10181 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10182 (exit $ac_status); } && {
10183 test -z "$ac_c_werror_flag" ||
10184 test ! -s conftest.err
10185 } && test -s conftest.$ac_objext; then
10186 ac_header_compiler=yes
10188 $as_echo "$as_me: failed program was
:" >&5
10189 sed 's/^/| /' conftest.$ac_ext >&5
10191 ac_header_compiler=no
10194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10195 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10196 $as_echo "$ac_header_compiler" >&6; }
10198 # Is the header present?
10199 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10200 $as_echo_n "checking
$ac_header presence...
" >&6; }
10201 cat >conftest.$ac_ext <<_ACEOF
10204 cat confdefs.h >>conftest.$ac_ext
10205 cat >>conftest.$ac_ext <<_ACEOF
10206 /* end confdefs.h. */
10207 #include <$ac_header>
10209 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10210 case "(($ac_try" in
10211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10212 *) ac_try_echo=$ac_try;;
10214 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10215 $as_echo "$ac_try_echo") >&5
10216 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10218 grep -v '^ *+' conftest.er1 >conftest.err
10220 cat conftest.err >&5
10221 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10222 (exit $ac_status); } >/dev/null && {
10223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10224 test ! -s conftest.err
10226 ac_header_preproc=yes
10228 $as_echo "$as_me: failed program was
:" >&5
10229 sed 's/^/| /' conftest.$ac_ext >&5
10231 ac_header_preproc=no
10234 rm -f conftest.err conftest.$ac_ext
10235 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10236 $as_echo "$ac_header_preproc" >&6; }
10238 # So? What about this header?
10239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10241 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10242 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10243 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10244 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10245 ac_header_preproc=yes
10248 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10249 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10250 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10251 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10252 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10253 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10254 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10255 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10256 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10257 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10258 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10259 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10263 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10264 $as_echo_n "checking
for $ac_header...
" >&6; }
10265 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10266 $as_echo_n "(cached
) " >&6
10268 eval "$as_ac_Header=\
$ac_header_preproc"
10270 ac_res=`eval 'as_val=${'$as_ac_Header'}
10271 $as_echo "$as_val"'`
10272 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10273 $as_echo "$ac_res" >&6; }
10276 as_val=`eval 'as_val=${'$as_ac_Header'}
10277 $as_echo "$as_val"'`
10278 if test "x
$as_val" = x""yes; then
10279 cat >>confdefs.h <<_ACEOF
10280 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10289 check_lib_no_libs gulm lg_core_login
10290 if test $NOTFOUND = 0; then
10291 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10292 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10296 elif test $pkg_failed = untried; then
10299 for ac_header in libgulm.h
10301 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10302 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10303 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10304 $as_echo_n "checking
for $ac_header...
" >&6; }
10305 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10306 $as_echo_n "(cached
) " >&6
10308 ac_res=`eval 'as_val=${'$as_ac_Header'}
10309 $as_echo "$as_val"'`
10310 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10311 $as_echo "$ac_res" >&6; }
10313 # Is the header compilable?
10314 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10315 $as_echo_n "checking
$ac_header usability...
" >&6; }
10316 cat >conftest.$ac_ext <<_ACEOF
10319 cat confdefs.h >>conftest.$ac_ext
10320 cat >>conftest.$ac_ext <<_ACEOF
10321 /* end confdefs.h. */
10322 $ac_includes_default
10323 #include <$ac_header>
10325 rm -f conftest.$ac_objext
10326 if { (ac_try="$ac_compile"
10327 case "(($ac_try" in
10328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10329 *) ac_try_echo=$ac_try;;
10331 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10332 $as_echo "$ac_try_echo") >&5
10333 (eval "$ac_compile") 2>conftest.er1
10335 grep -v '^ *+' conftest.er1 >conftest.err
10337 cat conftest.err >&5
10338 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10339 (exit $ac_status); } && {
10340 test -z "$ac_c_werror_flag" ||
10341 test ! -s conftest.err
10342 } && test -s conftest.$ac_objext; then
10343 ac_header_compiler=yes
10345 $as_echo "$as_me: failed program was
:" >&5
10346 sed 's/^/| /' conftest.$ac_ext >&5
10348 ac_header_compiler=no
10351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10352 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10353 $as_echo "$ac_header_compiler" >&6; }
10355 # Is the header present?
10356 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10357 $as_echo_n "checking
$ac_header presence...
" >&6; }
10358 cat >conftest.$ac_ext <<_ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10364 #include <$ac_header>
10366 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10367 case "(($ac_try" in
10368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10369 *) ac_try_echo=$ac_try;;
10371 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10372 $as_echo "$ac_try_echo") >&5
10373 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10375 grep -v '^ *+' conftest.er1 >conftest.err
10377 cat conftest.err >&5
10378 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10379 (exit $ac_status); } >/dev/null && {
10380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10381 test ! -s conftest.err
10383 ac_header_preproc=yes
10385 $as_echo "$as_me: failed program was
:" >&5
10386 sed 's/^/| /' conftest.$ac_ext >&5
10388 ac_header_preproc=no
10391 rm -f conftest.err conftest.$ac_ext
10392 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10393 $as_echo "$ac_header_preproc" >&6; }
10395 # So? What about this header?
10396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10398 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10399 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10400 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10401 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10402 ac_header_preproc=yes
10405 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10406 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10407 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10408 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10409 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10410 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10411 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10412 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10413 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10414 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10415 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10416 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10420 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10421 $as_echo_n "checking
for $ac_header...
" >&6; }
10422 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10423 $as_echo_n "(cached
) " >&6
10425 eval "$as_ac_Header=\
$ac_header_preproc"
10427 ac_res=`eval 'as_val=${'$as_ac_Header'}
10428 $as_echo "$as_val"'`
10429 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10430 $as_echo "$ac_res" >&6; }
10433 as_val=`eval 'as_val=${'$as_ac_Header'}
10434 $as_echo "$as_val"'`
10435 if test "x
$as_val" = x""yes; then
10436 cat >>confdefs.h <<_ACEOF
10437 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10446 check_lib_no_libs gulm lg_core_login
10447 if test $NOTFOUND = 0; then
10448 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10449 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10454 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10455 GULM_LIBS=$pkg_cv_GULM_LIBS
10456 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10457 $as_echo "yes" >&6; }
10462 if test x$BUILDCMAN = xyes; then
10465 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10466 $as_echo_n "checking
for CMAN...
" >&6; }
10468 if test -n "$CMAN_CFLAGS"; then
10469 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10470 elif test -n "$PKG_CONFIG"; then
10471 if test -n "$PKG_CONFIG" && \
10472 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10473 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10475 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10476 (exit $ac_status); }; then
10477 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10484 if test -n "$CMAN_LIBS"; then
10485 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10486 elif test -n "$PKG_CONFIG"; then
10487 if test -n "$PKG_CONFIG" && \
10488 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10489 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10491 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10492 (exit $ac_status); }; then
10493 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10503 if test $pkg_failed = yes; then
10505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10506 _pkg_short_errors_supported=yes
10508 _pkg_short_errors_supported=no
10510 if test $_pkg_short_errors_supported = yes; then
10511 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10513 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10515 # Put the nasty error message in config.log where it belongs
10516 echo "$CMAN_PKG_ERRORS" >&5
10518 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10519 $as_echo "no
" >&6; }
10522 for ac_header in libcman.h
10524 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10525 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10526 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10527 $as_echo_n "checking
for $ac_header...
" >&6; }
10528 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10529 $as_echo_n "(cached
) " >&6
10531 ac_res=`eval 'as_val=${'$as_ac_Header'}
10532 $as_echo "$as_val"'`
10533 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10534 $as_echo "$ac_res" >&6; }
10536 # Is the header compilable?
10537 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10538 $as_echo_n "checking
$ac_header usability...
" >&6; }
10539 cat >conftest.$ac_ext <<_ACEOF
10542 cat confdefs.h >>conftest.$ac_ext
10543 cat >>conftest.$ac_ext <<_ACEOF
10544 /* end confdefs.h. */
10545 $ac_includes_default
10546 #include <$ac_header>
10548 rm -f conftest.$ac_objext
10549 if { (ac_try="$ac_compile"
10550 case "(($ac_try" in
10551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10552 *) ac_try_echo=$ac_try;;
10554 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10555 $as_echo "$ac_try_echo") >&5
10556 (eval "$ac_compile") 2>conftest.er1
10558 grep -v '^ *+' conftest.er1 >conftest.err
10560 cat conftest.err >&5
10561 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10562 (exit $ac_status); } && {
10563 test -z "$ac_c_werror_flag" ||
10564 test ! -s conftest.err
10565 } && test -s conftest.$ac_objext; then
10566 ac_header_compiler=yes
10568 $as_echo "$as_me: failed program was
:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 ac_header_compiler=no
10574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10575 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10576 $as_echo "$ac_header_compiler" >&6; }
10578 # Is the header present?
10579 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10580 $as_echo_n "checking
$ac_header presence...
" >&6; }
10581 cat >conftest.$ac_ext <<_ACEOF
10584 cat confdefs.h >>conftest.$ac_ext
10585 cat >>conftest.$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10587 #include <$ac_header>
10589 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10590 case "(($ac_try" in
10591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10592 *) ac_try_echo=$ac_try;;
10594 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10595 $as_echo "$ac_try_echo") >&5
10596 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10598 grep -v '^ *+' conftest.er1 >conftest.err
10600 cat conftest.err >&5
10601 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10602 (exit $ac_status); } >/dev/null && {
10603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10604 test ! -s conftest.err
10606 ac_header_preproc=yes
10608 $as_echo "$as_me: failed program was
:" >&5
10609 sed 's/^/| /' conftest.$ac_ext >&5
10611 ac_header_preproc=no
10614 rm -f conftest.err conftest.$ac_ext
10615 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10616 $as_echo "$ac_header_preproc" >&6; }
10618 # So? What about this header?
10619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10621 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10622 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10623 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10624 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10625 ac_header_preproc=yes
10628 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10629 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10630 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10631 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10632 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10633 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10634 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10635 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10636 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10637 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10638 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10639 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10643 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10644 $as_echo_n "checking
for $ac_header...
" >&6; }
10645 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10646 $as_echo_n "(cached
) " >&6
10648 eval "$as_ac_Header=\
$ac_header_preproc"
10650 ac_res=`eval 'as_val=${'$as_ac_Header'}
10651 $as_echo "$as_val"'`
10652 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10653 $as_echo "$ac_res" >&6; }
10656 as_val=`eval 'as_val=${'$as_ac_Header'}
10657 $as_echo "$as_val"'`
10658 if test "x
$as_val" = x""yes; then
10659 cat >>confdefs.h <<_ACEOF
10660 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10669 check_lib_no_libs cman cman_init
10670 if test $NOTFOUND = 0; then
10671 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10672 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10676 elif test $pkg_failed = untried; then
10679 for ac_header in libcman.h
10681 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10682 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10683 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10684 $as_echo_n "checking
for $ac_header...
" >&6; }
10685 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10686 $as_echo_n "(cached
) " >&6
10688 ac_res=`eval 'as_val=${'$as_ac_Header'}
10689 $as_echo "$as_val"'`
10690 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10691 $as_echo "$ac_res" >&6; }
10693 # Is the header compilable?
10694 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10695 $as_echo_n "checking
$ac_header usability...
" >&6; }
10696 cat >conftest.$ac_ext <<_ACEOF
10699 cat confdefs.h >>conftest.$ac_ext
10700 cat >>conftest.$ac_ext <<_ACEOF
10701 /* end confdefs.h. */
10702 $ac_includes_default
10703 #include <$ac_header>
10705 rm -f conftest.$ac_objext
10706 if { (ac_try="$ac_compile"
10707 case "(($ac_try" in
10708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10709 *) ac_try_echo=$ac_try;;
10711 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10712 $as_echo "$ac_try_echo") >&5
10713 (eval "$ac_compile") 2>conftest.er1
10715 grep -v '^ *+' conftest.er1 >conftest.err
10717 cat conftest.err >&5
10718 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10719 (exit $ac_status); } && {
10720 test -z "$ac_c_werror_flag" ||
10721 test ! -s conftest.err
10722 } && test -s conftest.$ac_objext; then
10723 ac_header_compiler=yes
10725 $as_echo "$as_me: failed program was
:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 ac_header_compiler=no
10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10732 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10733 $as_echo "$ac_header_compiler" >&6; }
10735 # Is the header present?
10736 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10737 $as_echo_n "checking
$ac_header presence...
" >&6; }
10738 cat >conftest.$ac_ext <<_ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 #include <$ac_header>
10746 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10747 case "(($ac_try" in
10748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10749 *) ac_try_echo=$ac_try;;
10751 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10752 $as_echo "$ac_try_echo") >&5
10753 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10755 grep -v '^ *+' conftest.er1 >conftest.err
10757 cat conftest.err >&5
10758 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10759 (exit $ac_status); } >/dev/null && {
10760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10761 test ! -s conftest.err
10763 ac_header_preproc=yes
10765 $as_echo "$as_me: failed program was
:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10768 ac_header_preproc=no
10771 rm -f conftest.err conftest.$ac_ext
10772 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10773 $as_echo "$ac_header_preproc" >&6; }
10775 # So? What about this header?
10776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10778 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10779 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10780 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10782 ac_header_preproc=yes
10785 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10786 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10787 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10788 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10789 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10790 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10791 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10792 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10793 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10794 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10795 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10796 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10800 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10801 $as_echo_n "checking
for $ac_header...
" >&6; }
10802 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10803 $as_echo_n "(cached
) " >&6
10805 eval "$as_ac_Header=\
$ac_header_preproc"
10807 ac_res=`eval 'as_val=${'$as_ac_Header'}
10808 $as_echo "$as_val"'`
10809 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10810 $as_echo "$ac_res" >&6; }
10813 as_val=`eval 'as_val=${'$as_ac_Header'}
10814 $as_echo "$as_val"'`
10815 if test "x
$as_val" = x""yes; then
10816 cat >>confdefs.h <<_ACEOF
10817 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10826 check_lib_no_libs cman cman_init
10827 if test $NOTFOUND = 0; then
10828 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10829 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10834 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10835 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10836 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10837 $as_echo "yes" >&6; }
10844 if test x$BUILDCOROSYNC = xyes || \
10845 test x$BUILDOPENAIS = xyes; then
10848 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10849 $as_echo_n "checking
for COROSYNC...
" >&6; }
10851 if test -n "$COROSYNC_CFLAGS"; then
10852 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10853 elif test -n "$PKG_CONFIG"; then
10854 if test -n "$PKG_CONFIG" && \
10855 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10856 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10858 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10859 (exit $ac_status); }; then
10860 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10867 if test -n "$COROSYNC_LIBS"; then
10868 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10869 elif test -n "$PKG_CONFIG"; then
10870 if test -n "$PKG_CONFIG" && \
10871 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10872 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10874 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10875 (exit $ac_status); }; then
10876 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10886 if test $pkg_failed = yes; then
10888 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10889 _pkg_short_errors_supported=yes
10891 _pkg_short_errors_supported=no
10893 if test $_pkg_short_errors_supported = yes; then
10894 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10896 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10898 # Put the nasty error message in config.log where it belongs
10899 echo "$COROSYNC_PKG_ERRORS" >&5
10901 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10902 $as_echo "no
" >&6; }
10904 elif test $pkg_failed = untried; then
10907 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10908 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10909 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10910 $as_echo "yes" >&6; }
10916 if test x$BUILDCOROSYNC = xyes; then
10919 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10920 $as_echo_n "checking
for QUORUM...
" >&6; }
10922 if test -n "$QUORUM_CFLAGS"; then
10923 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10924 elif test -n "$PKG_CONFIG"; then
10925 if test -n "$PKG_CONFIG" && \
10926 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10927 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10929 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10930 (exit $ac_status); }; then
10931 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10938 if test -n "$QUORUM_LIBS"; then
10939 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10940 elif test -n "$PKG_CONFIG"; then
10941 if test -n "$PKG_CONFIG" && \
10942 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10943 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10945 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10946 (exit $ac_status); }; then
10947 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
10957 if test $pkg_failed = yes; then
10959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10960 _pkg_short_errors_supported=yes
10962 _pkg_short_errors_supported=no
10964 if test $_pkg_short_errors_supported = yes; then
10965 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
10967 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
10969 # Put the nasty error message in config.log where it belongs
10970 echo "$QUORUM_PKG_ERRORS" >&5
10972 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10973 $as_echo "no
" >&6; }
10975 elif test $pkg_failed = untried; then
10978 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
10979 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
10980 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10981 $as_echo "yes" >&6; }
10988 if test x$BUILDOPENAIS = xyes; then
10991 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
10992 $as_echo_n "checking
for SALCK...
" >&6; }
10994 if test -n "$SALCK_CFLAGS"; then
10995 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
10996 elif test -n "$PKG_CONFIG"; then
10997 if test -n "$PKG_CONFIG" && \
10998 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
10999 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11001 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11002 (exit $ac_status); }; then
11003 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11010 if test -n "$SALCK_LIBS"; then
11011 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11012 elif test -n "$PKG_CONFIG"; then
11013 if test -n "$PKG_CONFIG" && \
11014 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11015 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11017 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11018 (exit $ac_status); }; then
11019 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11029 if test $pkg_failed = yes; then
11031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11032 _pkg_short_errors_supported=yes
11034 _pkg_short_errors_supported=no
11036 if test $_pkg_short_errors_supported = yes; then
11037 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11039 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11041 # Put the nasty error message in config.log where it belongs
11042 echo "$SALCK_PKG_ERRORS" >&5
11044 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11045 $as_echo "no
" >&6; }
11047 elif test $pkg_failed = untried; then
11050 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11051 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11052 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11053 $as_echo "yes" >&6; }
11061 if test x$CHECKCONFDB = xyes; then
11064 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11065 $as_echo_n "checking
for CONFDB...
" >&6; }
11067 if test -n "$CONFDB_CFLAGS"; then
11068 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11069 elif test -n "$PKG_CONFIG"; then
11070 if test -n "$PKG_CONFIG" && \
11071 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11072 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11074 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11075 (exit $ac_status); }; then
11076 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11083 if test -n "$CONFDB_LIBS"; then
11084 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11085 elif test -n "$PKG_CONFIG"; then
11086 if test -n "$PKG_CONFIG" && \
11087 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11088 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11090 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11091 (exit $ac_status); }; then
11092 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11102 if test $pkg_failed = yes; then
11104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11105 _pkg_short_errors_supported=yes
11107 _pkg_short_errors_supported=no
11109 if test $_pkg_short_errors_supported = yes; then
11110 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11112 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11114 # Put the nasty error message in config.log where it belongs
11115 echo "$CONFDB_PKG_ERRORS" >&5
11117 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11118 $as_echo "no
" >&6; }
11120 elif test $pkg_failed = untried; then
11123 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11124 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11125 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11126 $as_echo "yes" >&6; }
11131 for ac_header in corosync/confdb.h
11133 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11134 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11135 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11136 $as_echo_n "checking
for $ac_header...
" >&6; }
11137 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11138 $as_echo_n "(cached
) " >&6
11140 ac_res=`eval 'as_val=${'$as_ac_Header'}
11141 $as_echo "$as_val"'`
11142 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11143 $as_echo "$ac_res" >&6; }
11145 # Is the header compilable?
11146 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11147 $as_echo_n "checking
$ac_header usability...
" >&6; }
11148 cat >conftest.$ac_ext <<_ACEOF
11151 cat confdefs.h >>conftest.$ac_ext
11152 cat >>conftest.$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11154 $ac_includes_default
11155 #include <$ac_header>
11157 rm -f conftest.$ac_objext
11158 if { (ac_try="$ac_compile"
11159 case "(($ac_try" in
11160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11161 *) ac_try_echo=$ac_try;;
11163 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11164 $as_echo "$ac_try_echo") >&5
11165 (eval "$ac_compile") 2>conftest.er1
11167 grep -v '^ *+' conftest.er1 >conftest.err
11169 cat conftest.err >&5
11170 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11171 (exit $ac_status); } && {
11172 test -z "$ac_c_werror_flag" ||
11173 test ! -s conftest.err
11174 } && test -s conftest.$ac_objext; then
11175 ac_header_compiler=yes
11177 $as_echo "$as_me: failed program was
:" >&5
11178 sed 's/^/| /' conftest.$ac_ext >&5
11180 ac_header_compiler=no
11183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11184 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11185 $as_echo "$ac_header_compiler" >&6; }
11187 # Is the header present?
11188 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11189 $as_echo_n "checking
$ac_header presence...
" >&6; }
11190 cat >conftest.$ac_ext <<_ACEOF
11193 cat confdefs.h >>conftest.$ac_ext
11194 cat >>conftest.$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11196 #include <$ac_header>
11198 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11199 case "(($ac_try" in
11200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11201 *) ac_try_echo=$ac_try;;
11203 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11204 $as_echo "$ac_try_echo") >&5
11205 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11207 grep -v '^ *+' conftest.er1 >conftest.err
11209 cat conftest.err >&5
11210 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11211 (exit $ac_status); } >/dev/null && {
11212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11213 test ! -s conftest.err
11215 ac_header_preproc=yes
11217 $as_echo "$as_me: failed program was
:" >&5
11218 sed 's/^/| /' conftest.$ac_ext >&5
11220 ac_header_preproc=no
11223 rm -f conftest.err conftest.$ac_ext
11224 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11225 $as_echo "$ac_header_preproc" >&6; }
11227 # So? What about this header?
11228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11230 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11231 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11232 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11233 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11234 ac_header_preproc=yes
11237 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11238 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11239 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11240 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11241 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11242 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11243 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11244 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11245 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11246 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11247 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11248 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11252 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11253 $as_echo_n "checking
for $ac_header...
" >&6; }
11254 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11255 $as_echo_n "(cached
) " >&6
11257 eval "$as_ac_Header=\
$ac_header_preproc"
11259 ac_res=`eval 'as_val=${'$as_ac_Header'}
11260 $as_echo "$as_val"'`
11261 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11262 $as_echo "$ac_res" >&6; }
11265 as_val=`eval 'as_val=${'$as_ac_Header'}
11266 $as_echo "$as_val"'`
11267 if test "x
$as_val" = x""yes; then
11268 cat >>confdefs.h <<_ACEOF
11269 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11279 if test x$HAVE_CONFDB != xyes && \
11280 test x$HAVE_CONFDB_H = xyes; then
11281 check_lib_no_libs confdb confdb_initialize
11282 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11283 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11284 CONFDB_LIBS="-lconfdb"
11288 if test x$BUILDCOROSYNC = xyes && \
11289 test x$HAVE_CONFDB != xyes &&
11290 test x$CLVMD != xall; then
11291 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11292 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11293 { (exit 1); exit 1; }; }
11297 if test x$CHECKCPG = xyes; then
11300 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11301 $as_echo_n "checking
for CPG...
" >&6; }
11303 if test -n "$CPG_CFLAGS"; then
11304 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11305 elif test -n "$PKG_CONFIG"; then
11306 if test -n "$PKG_CONFIG" && \
11307 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11308 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11310 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11311 (exit $ac_status); }; then
11312 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11319 if test -n "$CPG_LIBS"; then
11320 pkg_cv_CPG_LIBS="$CPG_LIBS"
11321 elif test -n "$PKG_CONFIG"; then
11322 if test -n "$PKG_CONFIG" && \
11323 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11324 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11326 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11327 (exit $ac_status); }; then
11328 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11338 if test $pkg_failed = yes; then
11340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11341 _pkg_short_errors_supported=yes
11343 _pkg_short_errors_supported=no
11345 if test $_pkg_short_errors_supported = yes; then
11346 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11348 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11350 # Put the nasty error message in config.log where it belongs
11351 echo "$CPG_PKG_ERRORS" >&5
11353 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11354 $as_echo "no
" >&6; }
11356 elif test $pkg_failed = untried; then
11359 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11360 CPG_LIBS=$pkg_cv_CPG_LIBS
11361 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11362 $as_echo "yes" >&6; }
11367 if test x$CHECKDLM = xyes; then
11370 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11371 $as_echo_n "checking
for DLM...
" >&6; }
11373 if test -n "$DLM_CFLAGS"; then
11374 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11375 elif test -n "$PKG_CONFIG"; then
11376 if test -n "$PKG_CONFIG" && \
11377 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11378 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11380 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11381 (exit $ac_status); }; then
11382 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11389 if test -n "$DLM_LIBS"; then
11390 pkg_cv_DLM_LIBS="$DLM_LIBS"
11391 elif test -n "$PKG_CONFIG"; then
11392 if test -n "$PKG_CONFIG" && \
11393 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11394 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11396 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11397 (exit $ac_status); }; then
11398 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11408 if test $pkg_failed = yes; then
11410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11411 _pkg_short_errors_supported=yes
11413 _pkg_short_errors_supported=no
11415 if test $_pkg_short_errors_supported = yes; then
11416 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11418 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11420 # Put the nasty error message in config.log where it belongs
11421 echo "$DLM_PKG_ERRORS" >&5
11423 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11424 $as_echo "no
" >&6; }
11427 for ac_header in libdlm.h
11429 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11430 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11431 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11432 $as_echo_n "checking
for $ac_header...
" >&6; }
11433 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11434 $as_echo_n "(cached
) " >&6
11436 ac_res=`eval 'as_val=${'$as_ac_Header'}
11437 $as_echo "$as_val"'`
11438 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11439 $as_echo "$ac_res" >&6; }
11441 # Is the header compilable?
11442 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11443 $as_echo_n "checking
$ac_header usability...
" >&6; }
11444 cat >conftest.$ac_ext <<_ACEOF
11447 cat confdefs.h >>conftest.$ac_ext
11448 cat >>conftest.$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11450 $ac_includes_default
11451 #include <$ac_header>
11453 rm -f conftest.$ac_objext
11454 if { (ac_try="$ac_compile"
11455 case "(($ac_try" in
11456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11457 *) ac_try_echo=$ac_try;;
11459 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11460 $as_echo "$ac_try_echo") >&5
11461 (eval "$ac_compile") 2>conftest.er1
11463 grep -v '^ *+' conftest.er1 >conftest.err
11465 cat conftest.err >&5
11466 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11467 (exit $ac_status); } && {
11468 test -z "$ac_c_werror_flag" ||
11469 test ! -s conftest.err
11470 } && test -s conftest.$ac_objext; then
11471 ac_header_compiler=yes
11473 $as_echo "$as_me: failed program was
:" >&5
11474 sed 's/^/| /' conftest.$ac_ext >&5
11476 ac_header_compiler=no
11479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11480 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11481 $as_echo "$ac_header_compiler" >&6; }
11483 # Is the header present?
11484 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11485 $as_echo_n "checking
$ac_header presence...
" >&6; }
11486 cat >conftest.$ac_ext <<_ACEOF
11489 cat confdefs.h >>conftest.$ac_ext
11490 cat >>conftest.$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 #include <$ac_header>
11494 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11495 case "(($ac_try" in
11496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11497 *) ac_try_echo=$ac_try;;
11499 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11500 $as_echo "$ac_try_echo") >&5
11501 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11503 grep -v '^ *+' conftest.er1 >conftest.err
11505 cat conftest.err >&5
11506 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11507 (exit $ac_status); } >/dev/null && {
11508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11509 test ! -s conftest.err
11511 ac_header_preproc=yes
11513 $as_echo "$as_me: failed program was
:" >&5
11514 sed 's/^/| /' conftest.$ac_ext >&5
11516 ac_header_preproc=no
11519 rm -f conftest.err conftest.$ac_ext
11520 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11521 $as_echo "$ac_header_preproc" >&6; }
11523 # So? What about this header?
11524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11526 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11527 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11528 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11529 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11530 ac_header_preproc=yes
11533 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11534 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11535 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11536 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11537 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11538 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11539 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11540 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11541 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11542 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11543 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11544 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11548 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11549 $as_echo_n "checking
for $ac_header...
" >&6; }
11550 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11551 $as_echo_n "(cached
) " >&6
11553 eval "$as_ac_Header=\
$ac_header_preproc"
11555 ac_res=`eval 'as_val=${'$as_ac_Header'}
11556 $as_echo "$as_val"'`
11557 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11558 $as_echo "$ac_res" >&6; }
11561 as_val=`eval 'as_val=${'$as_ac_Header'}
11562 $as_echo "$as_val"'`
11563 if test "x
$as_val" = x""yes; then
11564 cat >>confdefs.h <<_ACEOF
11565 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11574 check_lib_no_libs dlm dlm_lock -lpthread
11575 if test $NOTFOUND = 0; then
11576 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11577 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11578 DLM_LIBS="-ldlm -lpthread"
11581 elif test $pkg_failed = untried; then
11584 for ac_header in libdlm.h
11586 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11587 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11588 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11589 $as_echo_n "checking
for $ac_header...
" >&6; }
11590 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11591 $as_echo_n "(cached
) " >&6
11593 ac_res=`eval 'as_val=${'$as_ac_Header'}
11594 $as_echo "$as_val"'`
11595 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11596 $as_echo "$ac_res" >&6; }
11598 # Is the header compilable?
11599 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11600 $as_echo_n "checking
$ac_header usability...
" >&6; }
11601 cat >conftest.$ac_ext <<_ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 $ac_includes_default
11608 #include <$ac_header>
11610 rm -f conftest.$ac_objext
11611 if { (ac_try="$ac_compile"
11612 case "(($ac_try" in
11613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11614 *) ac_try_echo=$ac_try;;
11616 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11617 $as_echo "$ac_try_echo") >&5
11618 (eval "$ac_compile") 2>conftest.er1
11620 grep -v '^ *+' conftest.er1 >conftest.err
11622 cat conftest.err >&5
11623 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11624 (exit $ac_status); } && {
11625 test -z "$ac_c_werror_flag" ||
11626 test ! -s conftest.err
11627 } && test -s conftest.$ac_objext; then
11628 ac_header_compiler=yes
11630 $as_echo "$as_me: failed program was
:" >&5
11631 sed 's/^/| /' conftest.$ac_ext >&5
11633 ac_header_compiler=no
11636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11637 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11638 $as_echo "$ac_header_compiler" >&6; }
11640 # Is the header present?
11641 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11642 $as_echo_n "checking
$ac_header presence...
" >&6; }
11643 cat >conftest.$ac_ext <<_ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11649 #include <$ac_header>
11651 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11652 case "(($ac_try" in
11653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11654 *) ac_try_echo=$ac_try;;
11656 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11657 $as_echo "$ac_try_echo") >&5
11658 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11660 grep -v '^ *+' conftest.er1 >conftest.err
11662 cat conftest.err >&5
11663 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11664 (exit $ac_status); } >/dev/null && {
11665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11668 ac_header_preproc=yes
11670 $as_echo "$as_me: failed program was
:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 ac_header_preproc=no
11676 rm -f conftest.err conftest.$ac_ext
11677 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11678 $as_echo "$ac_header_preproc" >&6; }
11680 # So? What about this header?
11681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11683 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11684 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11685 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11687 ac_header_preproc=yes
11690 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11691 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11692 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11693 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11694 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11695 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11696 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11697 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11698 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11699 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11700 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11701 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11705 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11706 $as_echo_n "checking
for $ac_header...
" >&6; }
11707 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11708 $as_echo_n "(cached
) " >&6
11710 eval "$as_ac_Header=\
$ac_header_preproc"
11712 ac_res=`eval 'as_val=${'$as_ac_Header'}
11713 $as_echo "$as_val"'`
11714 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11715 $as_echo "$ac_res" >&6; }
11718 as_val=`eval 'as_val=${'$as_ac_Header'}
11719 $as_echo "$as_val"'`
11720 if test "x
$as_val" = x""yes; then
11721 cat >>confdefs.h <<_ACEOF
11722 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11731 check_lib_no_libs dlm dlm_lock -lpthread
11732 if test $NOTFOUND = 0; then
11733 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11734 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11735 DLM_LIBS="-ldlm -lpthread"
11739 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11740 DLM_LIBS=$pkg_cv_DLM_LIBS
11741 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11742 $as_echo "yes" >&6; }
11747 if test x$CLVMD = xall; then
11749 if test x$HAVE_CCS = xyes && \
11750 test x$HAVE_GULM = xyes; then
11751 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11752 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11753 CLVMD="$CLVMD,gulm
"
11755 if test x$HAVE_CMAN = xyes && \
11756 test x$HAVE_DLM = xyes; then
11757 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11758 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11759 CLVMD="$CLVMD,cman
"
11761 if test x$HAVE_COROSYNC = xyes && \
11762 test x$HAVE_QUORUM = xyes && \
11763 test x$HAVE_CPG = xyes && \
11764 test x$HAVE_DLM = xyes && \
11765 test x$HAVE_CONFDB = xyes; then
11766 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11767 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11768 CLVMD="$CLVMD,corosync
"
11770 if test x$HAVE_COROSYNC = xyes && \
11771 test x$HAVE_CPG = xyes && \
11772 test x$HAVE_SALCK = xyes; then
11773 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11774 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11775 CLVMD="$CLVMD,openais
"
11777 if test x$CLVMD = xnone; then
11778 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11779 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11783 ################################################################################
11784 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11785 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11786 # Check whether --enable-cmirrord was given.
11787 if test "${enable_cmirrord+set}" = set; then
11788 enableval=$enable_cmirrord; CMIRRORD=$enableval
11793 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11794 $as_echo "$CMIRRORD" >&6; }
11796 BUILD_CMIRRORD=$CMIRRORD
11798 ################################################################################
11801 if test "x
$BUILD_CMIRRORD" = xyes; then
11803 # Check whether --with-cmirrord-pidfile was given.
11804 if test "${with_cmirrord_pidfile+set}" = set; then
11805 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11806 #define CMIRRORD_PIDFILE "$withval"
11810 cat >>confdefs.h <<_ACEOF
11811 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11818 ################################################################################
11819 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11820 if test x$PKGCONFIG_INIT != x1; then
11825 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11826 $as_echo_n "checking
for SACKPT...
" >&6; }
11828 if test -n "$SACKPT_CFLAGS"; then
11829 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11830 elif test -n "$PKG_CONFIG"; then
11831 if test -n "$PKG_CONFIG" && \
11832 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11833 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11835 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11836 (exit $ac_status); }; then
11837 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11844 if test -n "$SACKPT_LIBS"; then
11845 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11846 elif test -n "$PKG_CONFIG"; then
11847 if test -n "$PKG_CONFIG" && \
11848 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11849 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11851 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11852 (exit $ac_status); }; then
11853 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11863 if test $pkg_failed = yes; then
11865 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11866 _pkg_short_errors_supported=yes
11868 _pkg_short_errors_supported=no
11870 if test $_pkg_short_errors_supported = yes; then
11871 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11873 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11875 # Put the nasty error message in config.log where it belongs
11876 echo "$SACKPT_PKG_ERRORS" >&5
11878 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11882 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11883 installed software
in a non-standard prefix.
11885 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11886 and SACKPT_LIBS to avoid the need to call pkg-config.
11887 See the pkg-config man page
for more details.
11889 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11893 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11894 installed software
in a non-standard prefix.
11896 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11897 and SACKPT_LIBS to avoid the need to call pkg-config.
11898 See the pkg-config man page
for more details.
11900 { (exit 1); exit 1; }; }
11901 elif test $pkg_failed = untried; then
11902 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11904 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11905 is in your PATH or set the PKG_CONFIG environment variable to the full
11906 path to pkg-config.
11908 Alternatively, you may set the environment variables SACKPT_CFLAGS
11909 and SACKPT_LIBS to avoid the need to call pkg-config.
11910 See the pkg-config man page for more details.
11912 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11913 See \`config.log' for more details.
" >&5
11914 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11915 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11916 path to pkg-config.
11918 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11919 and SACKPT_LIBS to avoid the need to call pkg-config.
11920 See the pkg-config man page
for more details.
11922 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11923 See \
`config.log' for more details." >&2;}
11924 { (exit 1); exit 1; }; }; }
11926 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11927 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11928 { $as_echo "$as_me:$LINENO: result: yes" >&5
11929 $as_echo "yes" >&6; }
11932 if test x$HAVE_CPG != xyes; then
11935 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11936 $as_echo_n "checking for CPG... " >&6; }
11938 if test -n "$CPG_CFLAGS"; then
11939 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11940 elif test -n "$PKG_CONFIG"; then
11941 if test -n "$PKG_CONFIG" && \
11942 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11943 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; then
11947 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11954 if test -n "$CPG_LIBS"; then
11955 pkg_cv_CPG_LIBS="$CPG_LIBS"
11956 elif test -n "$PKG_CONFIG"; then
11957 if test -n "$PKG_CONFIG" && \
11958 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11959 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; then
11963 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
11973 if test $pkg_failed = yes; then
11975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11976 _pkg_short_errors_supported=yes
11978 _pkg_short_errors_supported=no
11980 if test $_pkg_short_errors_supported = yes; then
11981 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11983 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11985 # Put the nasty error message in config.log where it belongs
11986 echo "$CPG_PKG_ERRORS" >&5
11988 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
11992 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11993 installed software in a non-standard prefix.
11995 Alternatively, you may set the environment variables CPG_CFLAGS
11996 and CPG_LIBS to avoid the need to call pkg-config.
11997 See the pkg-config man page for more details.
11999 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
12003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12004 installed software in a non-standard prefix.
12006 Alternatively, you may set the environment variables CPG_CFLAGS
12007 and CPG_LIBS to avoid the need to call pkg-config.
12008 See the pkg-config man page for more details.
12010 { (exit 1); exit 1; }; }
12011 elif test $pkg_failed = untried; then
12012 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12014 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12015 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12016 path to pkg-config.
12018 Alternatively
, you may
set the environment variables CPG_CFLAGS
12019 and CPG_LIBS to avoid the need to call pkg-config.
12020 See the pkg-config man page
for more details.
12022 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12023 See \
`config.log' for more details." >&5
12024 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12025 is in your PATH or set the PKG_CONFIG environment variable to the full
12026 path to pkg-config.
12028 Alternatively, you may set the environment variables CPG_CFLAGS
12029 and CPG_LIBS to avoid the need to call pkg-config.
12030 See the pkg-config man page for more details.
12032 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12033 See \`config.log
' for more details." >&2;}
12034 { (exit 1); exit 1; }; }; }
12036 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12037 CPG_LIBS=$pkg_cv_CPG_LIBS
12038 { $as_echo "$as_me:$LINENO: result: yes" >&5
12039 $as_echo "yes" >&6; }
12045 ################################################################################
12046 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12047 $as_echo_n "checking whether to enable debugging... " >&6; }
12048 # Check whether --enable-debug was given.
12049 if test "${enable_debug+set}" = set; then
12050 enableval=$enable_debug; DEBUG=$enableval
12055 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12056 $as_echo "$DEBUG" >&6; }
12058 if test x$DEBUG = xyes; then
12064 ################################################################################
12065 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12066 $as_echo_n "checking for C optimisation flag... " >&6; }
12068 # Check whether --with-optimisation was given.
12069 if test "${with_optimisation+set}" = set; then
12070 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12073 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12074 $as_echo "$COPTIMISE_FLAG" >&6; }
12076 ################################################################################
12077 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12078 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12079 # Check whether --enable-profiling was given.
12080 if test "${enable_profiling+set}" = set; then
12081 enableval=$enable_profiling; PROFILING=$enableval
12086 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12087 $as_echo "$PROFILING" >&6; }
12089 if test "x$PROFILING" = xyes; then
12090 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12091 # Extract the first word of "lcov", so it can be a program name with args.
12092 set dummy lcov; ac_word=$2
12093 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 $as_echo_n "checking for $ac_word... " >&6; }
12095 if test "${ac_cv_path_LCOV+set}" = set; then
12096 $as_echo_n "(cached) " >&6
12100 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12104 for as_dir in $PATH
12107 test -z "$as_dir" && as_dir=.
12108 for ac_exec_ext in '' $ac_executable_extensions; do
12109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12110 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12121 LCOV=$ac_cv_path_LCOV
12122 if test -n "$LCOV"; then
12123 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12124 $as_echo "$LCOV" >&6; }
12126 { $as_echo "$as_me:$LINENO: result: no" >&5
12127 $as_echo "no" >&6; }
12131 # Extract the first word of "genhtml", so it can be a program name with args.
12132 set dummy genhtml; ac_word=$2
12133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12134 $as_echo_n "checking for $ac_word... " >&6; }
12135 if test "${ac_cv_path_GENHTML+set}" = set; then
12136 $as_echo_n "(cached) " >&6
12140 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12151 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 GENHTML=$ac_cv_path_GENHTML
12162 if test -n "$GENHTML"; then
12163 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12164 $as_echo "$GENHTML" >&6; }
12166 { $as_echo "$as_me:$LINENO: result: no" >&5
12167 $as_echo "no" >&6; }
12171 if test -z "$LCOV" -o -z "$GENHTML"; then
12172 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12173 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12174 { (exit 1); exit 1; }; }
12176 # Extract the first word of "genpng", so it can be a program name with args.
12177 set dummy genpng; ac_word=$2
12178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12179 $as_echo_n "checking for $ac_word... " >&6; }
12180 if test "${ac_cv_path_GENPNG+set}" = set; then
12181 $as_echo_n "(cached) " >&6
12185 ac_cv_path_GENPNG="$GENPNG" # Let the user override the test with a path.
12188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12189 for as_dir in $PATH
12192 test -z "$as_dir" && as_dir=.
12193 for ac_exec_ext in '' $ac_executable_extensions; do
12194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12195 ac_cv_path_GENPNG="$as_dir/$ac_word$ac_exec_ext"
12196 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12206 GENPNG=$ac_cv_path_GENPNG
12207 if test -n "$GENPNG"; then
12208 { $as_echo "$as_me:$LINENO: result: $GENPNG" >&5
12209 $as_echo "$GENPNG" >&6; }
12211 { $as_echo "$as_me:$LINENO: result: no" >&5
12212 $as_echo "no" >&6; }
12216 if test -n "$GENPNG"; then
12217 { $as_echo "$as_me:$LINENO: checking whether $GENPNG has all required modules" >&5
12218 $as_echo_n "checking whether $GENPNG has all required modules... " >&6; }
12219 if $GENPNG --help > /dev/null 2>&1 ; then
12220 { $as_echo "$as_me:$LINENO: result: ok" >&5
12221 $as_echo "ok" >&6; }
12222 GENHTML="$GENHTML --frames"
12224 { $as_echo "$as_me:$LINENO: result: not supported" >&5
12225 $as_echo "not supported" >&6; }
12226 { $as_echo "$as_me:$LINENO: WARNING: GD.pm perl module is not installed" >&5
12227 $as_echo "$as_me: WARNING: GD.pm perl module is not installed" >&2;}
12233 ################################################################################
12234 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12235 $as_echo_n "checking whether to use device-mapper... " >&6; }
12236 # Check whether --enable-devmapper was given.
12237 if test "${enable_devmapper+set}" = set; then
12238 enableval=$enable_devmapper; DEVMAPPER=$enableval
12241 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12242 $as_echo "$DEVMAPPER" >&6; }
12244 if test x$DEVMAPPER = xyes; then
12246 cat >>confdefs.h <<\_ACEOF
12247 #define DEVMAPPER_SUPPORT 1
12252 ################################################################################
12253 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12254 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12255 # Check whether --enable-udev_sync was given.
12256 if test "${enable_udev_sync+set}" = set; then
12257 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12262 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12263 $as_echo "$UDEV_SYNC" >&6; }
12265 if test x$UDEV_SYNC = xyes; then
12266 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12267 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12268 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12269 $as_echo_n "(cached) " >&6
12271 ac_check_lib_save_LIBS=$LIBS
12272 LIBS="-ludev $LIBS"
12273 cat >conftest.$ac_ext <<_ACEOF
12276 cat confdefs.h >>conftest.$ac_ext
12277 cat >>conftest.$ac_ext <<_ACEOF
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12286 char udev_queue_get_udev_is_active ();
12290 return udev_queue_get_udev_is_active ();
12295 rm -f conftest.$ac_objext conftest$ac_exeext
12296 if { (ac_try="$ac_link"
12297 case "(($ac_try" in
12298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12299 *) ac_try_echo=$ac_try;;
12301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12302 $as_echo "$ac_try_echo") >&5
12303 (eval "$ac_link") 2>conftest.er1
12305 grep -v '^
*+' conftest.er1 >conftest.err
12307 cat conftest.err >&5
12308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } && {
12310 test -z "$ac_c_werror_flag" ||
12311 test ! -s conftest.err
12312 } && test -s conftest$ac_exeext && {
12313 test "$cross_compiling" = yes ||
12314 $as_test_x conftest$ac_exeext
12316 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12318 $as_echo "$as_me: failed program was:" >&5
12319 sed 's
/^
/|
/' conftest.$ac_ext >&5
12321 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12324 rm -rf conftest.dSYM
12325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_lib_save_LIBS
12329 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12330 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12331 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12332 UDEV_PC="libudev"; UDEV_LIBS="-ludev"
12334 { { $as_echo "$as_me:$LINENO: error: bailing out... libudev library is required" >&5
12335 $as_echo "$as_me: error: bailing out... libudev library is required" >&2;}
12336 { (exit 1); exit 1; }; }
12340 cat >>confdefs.h <<\_ACEOF
12341 #define UDEV_SYNC_SUPPORT 1
12346 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12347 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12348 # Check whether --enable-udev_rules was given.
12349 if test "${enable_udev_rules+set}" = set; then
12350 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12352 UDEV_RULES=$UDEV_SYNC
12355 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12356 $as_echo "$UDEV_RULES" >&6; }
12358 ################################################################################
12359 # Check whether --enable-compat was given.
12360 if test "${enable_compat+set}" = set; then
12361 enableval=$enable_compat; DM_COMPAT=$enableval
12367 ################################################################################
12368 # Check whether --enable-units-compat was given.
12369 if test "${enable_units_compat+set}" = set; then
12370 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12376 if test x$UNITS_COMPAT = xyes; then
12378 cat >>confdefs.h <<\_ACEOF
12379 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12384 ################################################################################
12385 # Check whether --enable-ioctl was given.
12386 if test "${enable_ioctl+set}" = set; then
12387 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12391 ################################################################################
12392 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12393 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12394 # Check whether --enable-o_direct was given.
12395 if test "${enable_o_direct+set}" = set; then
12396 enableval=$enable_o_direct; ODIRECT=$enableval
12399 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12400 $as_echo "$ODIRECT" >&6; }
12402 if test x$ODIRECT = xyes; then
12404 cat >>confdefs.h <<\_ACEOF
12405 #define O_DIRECT_SUPPORT 1
12410 ################################################################################
12411 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12412 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12413 # Check whether --enable-applib was given.
12414 if test "${enable_applib+set}" = set; then
12415 enableval=$enable_applib; APPLIB=$enableval
12420 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12421 $as_echo "$APPLIB" >&6; }
12423 test x$APPLIB = xyes \
12424 && LVM2APP_LIB=-llvm2app \
12427 ################################################################################
12428 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12429 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12430 # Check whether --enable-cmdlib was given.
12431 if test "${enable_cmdlib+set}" = set; then
12432 enableval=$enable_cmdlib; CMDLIB=$enableval
12437 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12438 $as_echo "$CMDLIB" >&6; }
12440 test x$CMDLIB = xyes \
12441 && LVM2CMD_LIB=-llvm2cmd \
12444 ################################################################################
12445 # Check whether --enable-pkgconfig was given.
12446 if test "${enable_pkgconfig+set}" = set; then
12447 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12453 ################################################################################
12454 # Check whether --enable-write_install was given.
12455 if test "${enable_write_install+set}" = set; then
12456 enableval=$enable_write_install; WRITE_INSTALL=$enableval
12462 ################################################################################
12463 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12464 $as_echo_n "checking whether to install fsadm... " >&6; }
12465 # Check whether --enable-fsadm was given.
12466 if test "${enable_fsadm+set}" = set; then
12467 enableval=$enable_fsadm; FSADM=$enableval
12470 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12471 $as_echo "$FSADM" >&6; }
12473 ################################################################################
12474 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12475 $as_echo_n "checking whether to use dmeventd... " >&6; }
12476 # Check whether --enable-dmeventd was given.
12477 if test "${enable_dmeventd+set}" = set; then
12478 enableval=$enable_dmeventd; DMEVENTD=$enableval
12481 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12482 $as_echo "$DMEVENTD" >&6; }
12484 BUILD_DMEVENTD=$DMEVENTD
12486 if test x$DMEVENTD = xyes; then
12487 if test x$MIRRORS != xinternal; then
12488 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12490 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12492 { (exit 1); exit 1; }; }
12494 if test x$CMDLIB = xno; then
12495 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12497 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12499 { (exit 1); exit 1; }; }
12503 if test x$DMEVENTD = xyes; then
12505 cat >>confdefs.h <<\_ACEOF
12511 ################################################################################
12513 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12514 $as_echo_n "checking for getline in -lc... " >&6; }
12515 if test "${ac_cv_lib_c_getline+set}" = set; then
12516 $as_echo_n "(cached) " >&6
12518 ac_check_lib_save_LIBS=$LIBS
12520 cat >conftest.$ac_ext <<_ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12542 rm -f conftest.$ac_objext conftest$ac_exeext
12543 if { (ac_try="$ac_link"
12544 case "(($ac_try" in
12545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12546 *) ac_try_echo=$ac_try;;
12548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12549 $as_echo "$ac_try_echo") >&5
12550 (eval "$ac_link") 2>conftest.er1
12552 grep -v '^
*+' conftest.er1 >conftest.err
12554 cat conftest.err >&5
12555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); } && {
12557 test -z "$ac_c_werror_flag" ||
12558 test ! -s conftest.err
12559 } && test -s conftest$ac_exeext && {
12560 test "$cross_compiling" = yes ||
12561 $as_test_x conftest$ac_exeext
12563 ac_cv_lib_c_getline=yes
12565 $as_echo "$as_me: failed program was:" >&5
12566 sed 's
/^
/|
/' conftest.$ac_ext >&5
12568 ac_cv_lib_c_getline=no
12571 rm -rf conftest.dSYM
12572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12573 conftest$ac_exeext conftest.$ac_ext
12574 LIBS=$ac_check_lib_save_LIBS
12576 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12577 $as_echo "$ac_cv_lib_c_getline" >&6; }
12578 if test "x$ac_cv_lib_c_getline" = x""yes; then
12580 cat >>confdefs.h <<\_ACEOF
12581 #define HAVE_GETLINE 1
12587 ################################################################################
12589 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12590 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12591 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12592 $as_echo_n "(cached) " >&6
12594 ac_check_lib_save_LIBS=$LIBS
12596 cat >conftest.$ac_ext <<_ACEOF
12599 cat confdefs.h >>conftest.$ac_ext
12600 cat >>conftest.$ac_ext <<_ACEOF
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12609 char canonicalize_file_name ();
12613 return canonicalize_file_name ();
12618 rm -f conftest.$ac_objext conftest$ac_exeext
12619 if { (ac_try="$ac_link"
12620 case "(($ac_try" in
12621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12622 *) ac_try_echo=$ac_try;;
12624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12625 $as_echo "$ac_try_echo") >&5
12626 (eval "$ac_link") 2>conftest.er1
12628 grep -v '^
*+' conftest.er1 >conftest.err
12630 cat conftest.err >&5
12631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); } && {
12633 test -z "$ac_c_werror_flag" ||
12634 test ! -s conftest.err
12635 } && test -s conftest$ac_exeext && {
12636 test "$cross_compiling" = yes ||
12637 $as_test_x conftest$ac_exeext
12639 ac_cv_lib_c_canonicalize_file_name=yes
12641 $as_echo "$as_me: failed program was:" >&5
12642 sed 's
/^
/|
/' conftest.$ac_ext >&5
12644 ac_cv_lib_c_canonicalize_file_name=no
12647 rm -rf conftest.dSYM
12648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12653 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12654 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12656 cat >>confdefs.h <<\_ACEOF
12657 #define HAVE_CANONICALIZE_FILE_NAME 1
12663 ################################################################################
12664 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12665 then exec_prefix="";
12668 ################################################################################
12669 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12670 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12671 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12672 $as_echo_n "(cached) " >&6
12674 ac_check_lib_save_LIBS=$LIBS
12676 cat >conftest.$ac_ext <<_ACEOF
12679 cat confdefs.h >>conftest.$ac_ext
12680 cat >>conftest.$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12698 rm -f conftest.$ac_objext conftest$ac_exeext
12699 if { (ac_try="$ac_link"
12700 case "(($ac_try" in
12701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12702 *) ac_try_echo=$ac_try;;
12704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12705 $as_echo "$ac_try_echo") >&5
12706 (eval "$ac_link") 2>conftest.er1
12708 grep -v '^
*+' conftest.er1 >conftest.err
12710 cat conftest.err >&5
12711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } && {
12713 test -z "$ac_c_werror_flag" ||
12714 test ! -s conftest.err
12715 } && test -s conftest$ac_exeext && {
12716 test "$cross_compiling" = yes ||
12717 $as_test_x conftest$ac_exeext
12719 ac_cv_lib_dl_dlopen=yes
12721 $as_echo "$as_me: failed program was:" >&5
12722 sed 's
/^
/|
/' conftest.$ac_ext >&5
12724 ac_cv_lib_dl_dlopen=no
12727 rm -rf conftest.dSYM
12728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_lib_save_LIBS
12732 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12733 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12734 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12737 cat >>confdefs.h <<\_ACEOF
12738 #define HAVE_LIBDL 1
12750 ################################################################################
12751 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12752 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12753 \) -a "x$STATIC_LINK" = xyes ];
12754 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12756 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12758 { (exit 1); exit 1; }; }
12761 ################################################################################
12762 if [ "$DMEVENTD" = yes -o "$CLVMD" != none ] ; then
12763 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
12764 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
12765 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
12766 $as_echo_n "(cached) " >&6
12768 ac_check_lib_save_LIBS=$LIBS
12769 LIBS="-lpthread $LIBS"
12770 cat >conftest.$ac_ext <<_ACEOF
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12783 char pthread_mutex_lock ();
12787 return pthread_mutex_lock ();
12792 rm -f conftest.$ac_objext conftest$ac_exeext
12793 if { (ac_try="$ac_link"
12794 case "(($ac_try" in
12795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12796 *) ac_try_echo=$ac_try;;
12798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12799 $as_echo "$ac_try_echo") >&5
12800 (eval "$ac_link") 2>conftest.er1
12802 grep -v '^
*+' conftest.er1 >conftest.err
12804 cat conftest.err >&5
12805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } && {
12807 test -z "$ac_c_werror_flag" ||
12808 test ! -s conftest.err
12809 } && test -s conftest$ac_exeext && {
12810 test "$cross_compiling" = yes ||
12811 $as_test_x conftest$ac_exeext
12813 ac_cv_lib_pthread_pthread_mutex_lock=yes
12815 $as_echo "$as_me: failed program was:" >&5
12816 sed 's
/^
/|
/' conftest.$ac_ext >&5
12818 ac_cv_lib_pthread_pthread_mutex_lock=no
12821 rm -rf conftest.dSYM
12822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
12827 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
12828 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
12829 PTHREAD_LIBS="-lpthread"
12836 ################################################################################
12837 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12838 $as_echo_n "checking whether to enable selinux support... " >&6; }
12839 # Check whether --enable-selinux was given.
12840 if test "${enable_selinux+set}" = set; then
12841 enableval=$enable_selinux; SELINUX=$enableval
12844 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12845 $as_echo "$SELINUX" >&6; }
12847 ################################################################################
12848 if test x$SELINUX = xyes; then
12849 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12850 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12851 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12852 $as_echo_n "(cached) " >&6
12854 ac_check_lib_save_LIBS=$LIBS
12855 LIBS="-lsepol $LIBS"
12856 cat >conftest.$ac_ext <<_ACEOF
12859 cat confdefs.h >>conftest.$ac_ext
12860 cat >>conftest.$ac_ext <<_ACEOF
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12869 char sepol_check_context ();
12873 return sepol_check_context ();
12878 rm -f conftest.$ac_objext conftest$ac_exeext
12879 if { (ac_try="$ac_link"
12880 case "(($ac_try" in
12881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12882 *) ac_try_echo=$ac_try;;
12884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12885 $as_echo "$ac_try_echo") >&5
12886 (eval "$ac_link") 2>conftest.er1
12888 grep -v '^
*+' conftest.er1 >conftest.err
12890 cat conftest.err >&5
12891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); } && {
12893 test -z "$ac_c_werror_flag" ||
12894 test ! -s conftest.err
12895 } && test -s conftest$ac_exeext && {
12896 test "$cross_compiling" = yes ||
12897 $as_test_x conftest$ac_exeext
12899 ac_cv_lib_sepol_sepol_check_context=yes
12901 $as_echo "$as_me: failed program was:" >&5
12902 sed 's
/^
/|
/' conftest.$ac_ext >&5
12904 ac_cv_lib_sepol_sepol_check_context=no
12907 rm -rf conftest.dSYM
12908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12909 conftest$ac_exeext conftest.$ac_ext
12910 LIBS=$ac_check_lib_save_LIBS
12912 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12913 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12914 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12917 cat >>confdefs.h <<\_ACEOF
12918 #define HAVE_SEPOL 1
12921 SELINUX_LIBS="-lsepol"
12925 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12926 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12927 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12928 $as_echo_n "(cached) " >&6
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lselinux $LIBS"
12932 cat >conftest.$ac_ext <<_ACEOF
12935 cat confdefs.h >>conftest.$ac_ext
12936 cat >>conftest.$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12945 char is_selinux_enabled ();
12949 return is_selinux_enabled ();
12954 rm -f conftest.$ac_objext conftest$ac_exeext
12955 if { (ac_try="$ac_link"
12956 case "(($ac_try" in
12957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12958 *) ac_try_echo=$ac_try;;
12960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12961 $as_echo "$ac_try_echo") >&5
12962 (eval "$ac_link") 2>conftest.er1
12964 grep -v '^
*+' conftest.er1 >conftest.err
12966 cat conftest.err >&5
12967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } && {
12969 test -z "$ac_c_werror_flag" ||
12970 test ! -s conftest.err
12971 } && test -s conftest$ac_exeext && {
12972 test "$cross_compiling" = yes ||
12973 $as_test_x conftest$ac_exeext
12975 ac_cv_lib_selinux_is_selinux_enabled=yes
12977 $as_echo "$as_me: failed program was:" >&5
12978 sed 's
/^
/|
/' conftest.$ac_ext >&5
12980 ac_cv_lib_selinux_is_selinux_enabled=no
12983 rm -rf conftest.dSYM
12984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12985 conftest$ac_exeext conftest.$ac_ext
12986 LIBS=$ac_check_lib_save_LIBS
12988 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12989 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12990 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
12993 for ac_header in selinux/selinux.h
12995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12997 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12998 $as_echo_n "checking for $ac_header... " >&6; }
12999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13000 $as_echo_n "(cached) " >&6
13002 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13003 $as_echo "$as_val"'`
13004 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13005 $as_echo "$ac_res" >&6; }
13007 # Is the header compilable?
13008 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13009 $as_echo_n "checking $ac_header usability... " >&6; }
13010 cat >conftest.$ac_ext <<_ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 $ac_includes_default
13017 #include <$ac_header>
13019 rm -f conftest.$ac_objext
13020 if { (ac_try="$ac_compile"
13021 case "(($ac_try" in
13022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13023 *) ac_try_echo=$ac_try;;
13025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13026 $as_echo "$ac_try_echo") >&5
13027 (eval "$ac_compile") 2>conftest.er1
13029 grep -v '^
*+' conftest.er1 >conftest.err
13031 cat conftest.err >&5
13032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } && {
13034 test -z "$ac_c_werror_flag" ||
13035 test ! -s conftest.err
13036 } && test -s conftest.$ac_objext; then
13037 ac_header_compiler=yes
13039 $as_echo "$as_me: failed program was:" >&5
13040 sed 's
/^
/|
/' conftest.$ac_ext >&5
13042 ac_header_compiler=no
13045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13046 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13047 $as_echo "$ac_header_compiler" >&6; }
13049 # Is the header present?
13050 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13051 $as_echo_n "checking $ac_header presence... " >&6; }
13052 cat >conftest.$ac_ext <<_ACEOF
13055 cat confdefs.h >>conftest.$ac_ext
13056 cat >>conftest.$ac_ext <<_ACEOF
13057 /* end confdefs.h. */
13058 #include <$ac_header>
13060 if { (ac_try="$ac_cpp conftest.$ac_ext"
13061 case "(($ac_try" in
13062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13066 $as_echo "$ac_try_echo") >&5
13067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13069 grep -v '^
*+' conftest.er1 >conftest.err
13071 cat conftest.err >&5
13072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); } >/dev/null && {
13074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13075 test ! -s conftest.err
13077 ac_header_preproc=yes
13079 $as_echo "$as_me: failed program was:" >&5
13080 sed 's
/^
/|
/' conftest.$ac_ext >&5
13082 ac_header_preproc=no
13085 rm -f conftest.err conftest.$ac_ext
13086 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13087 $as_echo "$ac_header_preproc" >&6; }
13089 # So? What about this header?
13090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13093 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13095 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13096 ac_header_preproc=yes
13099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13100 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13102 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13104 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13106 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13108 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13110 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13114 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13115 $as_echo_n "checking for $ac_header... " >&6; }
13116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13117 $as_echo_n "(cached) " >&6
13119 eval "$as_ac_Header=\$ac_header_preproc"
13121 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13122 $as_echo "$as_val"'`
13123 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13124 $as_echo "$ac_res" >&6; }
13127 as_val=`eval 'as_val
=${'$as_ac_Header'}
13128 $as_echo "$as_val"'`
13129 if test "x$as_val" = x""yes; then
13130 cat >>confdefs.h <<_ACEOF
13131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13141 cat >>confdefs.h <<\_ACEOF
13142 #define HAVE_SELINUX 1
13145 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
13146 SELINUX_PC="libselinux"
13150 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
13151 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
13159 ################################################################################
13160 if test x$REALTIME = xyes; then
13161 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13162 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13163 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13164 $as_echo_n "(cached) " >&6
13166 ac_check_lib_save_LIBS=$LIBS
13168 cat >conftest.$ac_ext <<_ACEOF
13171 cat confdefs.h >>conftest.$ac_ext
13172 cat >>conftest.$ac_ext <<_ACEOF
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13181 char clock_gettime ();
13185 return clock_gettime ();
13190 rm -f conftest.$ac_objext conftest$ac_exeext
13191 if { (ac_try="$ac_link"
13192 case "(($ac_try" in
13193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13194 *) ac_try_echo=$ac_try;;
13196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13197 $as_echo "$ac_try_echo") >&5
13198 (eval "$ac_link") 2>conftest.er1
13200 grep -v '^
*+' conftest.er1 >conftest.err
13202 cat conftest.err >&5
13203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && {
13205 test -z "$ac_c_werror_flag" ||
13206 test ! -s conftest.err
13207 } && test -s conftest$ac_exeext && {
13208 test "$cross_compiling" = yes ||
13209 $as_test_x conftest$ac_exeext
13211 ac_cv_lib_rt_clock_gettime=yes
13213 $as_echo "$as_me: failed program was:" >&5
13214 sed 's
/^
/|
/' conftest.$ac_ext >&5
13216 ac_cv_lib_rt_clock_gettime=no
13219 rm -rf conftest.dSYM
13220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13221 conftest$ac_exeext conftest.$ac_ext
13222 LIBS=$ac_check_lib_save_LIBS
13224 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13225 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13226 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13233 if test x$HAVE_REALTIME = xyes; then
13235 cat >>confdefs.h <<\_ACEOF
13236 #define HAVE_REALTIME 1
13241 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13242 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13246 ################################################################################
13248 for ac_header in getopt.h
13250 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13252 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13253 $as_echo_n "checking for $ac_header... " >&6; }
13254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13255 $as_echo_n "(cached) " >&6
13257 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13258 $as_echo "$as_val"'`
13259 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13260 $as_echo "$ac_res" >&6; }
13262 # Is the header compilable?
13263 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13264 $as_echo_n "checking $ac_header usability... " >&6; }
13265 cat >conftest.$ac_ext <<_ACEOF
13268 cat confdefs.h >>conftest.$ac_ext
13269 cat >>conftest.$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 $ac_includes_default
13272 #include <$ac_header>
13274 rm -f conftest.$ac_objext
13275 if { (ac_try="$ac_compile"
13276 case "(($ac_try" in
13277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13278 *) ac_try_echo=$ac_try;;
13280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13281 $as_echo "$ac_try_echo") >&5
13282 (eval "$ac_compile") 2>conftest.er1
13284 grep -v '^
*+' conftest.er1 >conftest.err
13286 cat conftest.err >&5
13287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } && {
13289 test -z "$ac_c_werror_flag" ||
13290 test ! -s conftest.err
13291 } && test -s conftest.$ac_objext; then
13292 ac_header_compiler=yes
13294 $as_echo "$as_me: failed program was:" >&5
13295 sed 's
/^
/|
/' conftest.$ac_ext >&5
13297 ac_header_compiler=no
13300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13301 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13302 $as_echo "$ac_header_compiler" >&6; }
13304 # Is the header present?
13305 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13306 $as_echo_n "checking $ac_header presence... " >&6; }
13307 cat >conftest.$ac_ext <<_ACEOF
13310 cat confdefs.h >>conftest.$ac_ext
13311 cat >>conftest.$ac_ext <<_ACEOF
13312 /* end confdefs.h. */
13313 #include <$ac_header>
13315 if { (ac_try="$ac_cpp conftest.$ac_ext"
13316 case "(($ac_try" in
13317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13318 *) ac_try_echo=$ac_try;;
13320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13321 $as_echo "$ac_try_echo") >&5
13322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13324 grep -v '^
*+' conftest.er1 >conftest.err
13326 cat conftest.err >&5
13327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } >/dev/null && {
13329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13330 test ! -s conftest.err
13332 ac_header_preproc=yes
13334 $as_echo "$as_me: failed program was:" >&5
13335 sed 's
/^
/|
/' conftest.$ac_ext >&5
13337 ac_header_preproc=no
13340 rm -f conftest.err conftest.$ac_ext
13341 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13342 $as_echo "$ac_header_preproc" >&6; }
13344 # So? What about this header?
13345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13348 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13350 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13351 ac_header_preproc=yes
13354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13355 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13357 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13359 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13361 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13363 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13365 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13369 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13370 $as_echo_n "checking for $ac_header... " >&6; }
13371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13372 $as_echo_n "(cached) " >&6
13374 eval "$as_ac_Header=\$ac_header_preproc"
13376 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13377 $as_echo "$as_val"'`
13378 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13379 $as_echo "$ac_res" >&6; }
13382 as_val=`eval 'as_val
=${'$as_ac_Header'}
13383 $as_echo "$as_val"'`
13384 if test "x$as_val" = x""yes; then
13385 cat >>confdefs.h <<_ACEOF
13386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13389 cat >>confdefs.h <<\_ACEOF
13390 #define HAVE_GETOPTLONG 1
13398 ################################################################################
13399 if test x$READLINE != xno; then
13400 lvm_saved_libs=$LIBS
13401 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
13402 $as_echo_n "checking for library containing tgetent... " >&6; }
13403 if test "${ac_cv_search_tgetent+set}" = set; then
13404 $as_echo_n "(cached) " >&6
13406 ac_func_search_save_LIBS=$LIBS
13407 cat >conftest.$ac_ext <<_ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13429 for ac_lib in '' tinfo ncurses curses termcap termlib; do
13430 if test -z "$ac_lib"; then
13431 ac_res="none required"
13434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13436 rm -f conftest.$ac_objext conftest$ac_exeext
13437 if { (ac_try="$ac_link"
13438 case "(($ac_try" in
13439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13440 *) ac_try_echo=$ac_try;;
13442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13443 $as_echo "$ac_try_echo") >&5
13444 (eval "$ac_link") 2>conftest.er1
13446 grep -v '^
*+' conftest.er1 >conftest.err
13448 cat conftest.err >&5
13449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } && {
13451 test -z "$ac_c_werror_flag" ||
13452 test ! -s conftest.err
13453 } && test -s conftest$ac_exeext && {
13454 test "$cross_compiling" = yes ||
13455 $as_test_x conftest$ac_exeext
13457 ac_cv_search_tgetent=$ac_res
13459 $as_echo "$as_me: failed program was:" >&5
13460 sed 's
/^
/|
/' conftest.$ac_ext >&5
13465 rm -rf conftest.dSYM
13466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13468 if test "${ac_cv_search_tgetent+set}" = set; then
13472 if test "${ac_cv_search_tgetent+set}" = set; then
13475 ac_cv_search_tgetent=no
13477 rm conftest.$ac_ext
13478 LIBS=$ac_func_search_save_LIBS
13480 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13481 $as_echo "$ac_cv_search_tgetent" >&6; }
13482 ac_res=$ac_cv_search_tgetent
13483 if test "$ac_res" != no; then
13484 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13485 READLINE_LIBS=$ac_cv_search_tgetent
13488 if test "$READLINE" = yes; then
13489 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
13490 --enable-readline option (which is enabled by default). Either disable readline
13491 support with --disable-readline or download and install termcap from:
13492 ftp.gnu.org/gnu/termcap
13493 Note: if you are using precompiled packages you will also need the development
13494 package as well (which may be called termcap-devel or something similar).
13495 Note: (n)curses also seems to work as a substitute for termcap. This was
13496 not found either - but you could try installing that as well." >&5
13497 $as_echo "$as_me: error: termcap could not be found which is required for the
13498 --enable-readline option (which is enabled by default). Either disable readline
13499 support with --disable-readline or download and install termcap from:
13500 ftp.gnu.org/gnu/termcap
13501 Note: if you are using precompiled packages you will also need the development
13502 package as well (which may be called termcap-devel or something similar).
13503 Note: (n)curses also seems to work as a substitute for termcap. This was
13504 not found either - but you could try installing that as well." >&2;}
13505 { (exit 1); exit 1; }; }
13509 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13510 $as_echo_n "checking for readline in -lreadline... " >&6; }
13511 if test "${ac_cv_lib_readline_readline+set}" = set; then
13512 $as_echo_n "(cached) " >&6
13514 ac_check_lib_save_LIBS=$LIBS
13515 LIBS="-lreadline $LIBS"
13516 cat >conftest.$ac_ext <<_ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13523 /* Override any GCC internal prototype to avoid an error.
13524 Use char because int might match the return type of a GCC
13525 builtin and then its argument prototype would still apply. */
13533 return readline ();
13538 rm -f conftest.$ac_objext conftest$ac_exeext
13539 if { (ac_try="$ac_link"
13540 case "(($ac_try" in
13541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13542 *) ac_try_echo=$ac_try;;
13544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13545 $as_echo "$ac_try_echo") >&5
13546 (eval "$ac_link") 2>conftest.er1
13548 grep -v '^
*+' conftest.er1 >conftest.err
13550 cat conftest.err >&5
13551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } && {
13553 test -z "$ac_c_werror_flag" ||
13554 test ! -s conftest.err
13555 } && test -s conftest$ac_exeext && {
13556 test "$cross_compiling" = yes ||
13557 $as_test_x conftest$ac_exeext
13559 ac_cv_lib_readline_readline=yes
13561 $as_echo "$as_me: failed program was:" >&5
13562 sed 's
/^
/|
/' conftest.$ac_ext >&5
13564 ac_cv_lib_readline_readline=no
13567 rm -rf conftest.dSYM
13568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_lib_save_LIBS
13572 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13573 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13574 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13577 cat >>confdefs.h <<\_ACEOF
13578 #define READLINE_SUPPORT 1
13581 LIBS=$lvm_saved_libs
13582 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
13583 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
13584 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
13585 $as_echo_n "(cached) " >&6
13587 ac_check_lib_save_LIBS=$LIBS
13588 LIBS="-lreadline $LIBS"
13589 cat >conftest.$ac_ext <<_ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13602 char rl_line_buffer ();
13606 return rl_line_buffer ();
13611 rm -f conftest.$ac_objext conftest$ac_exeext
13612 if { (ac_try="$ac_link"
13613 case "(($ac_try" in
13614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13615 *) ac_try_echo=$ac_try;;
13617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13618 $as_echo "$ac_try_echo") >&5
13619 (eval "$ac_link") 2>conftest.er1
13621 grep -v '^
*+' conftest.er1 >conftest.err
13623 cat conftest.err >&5
13624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } && {
13626 test -z "$ac_c_werror_flag" ||
13627 test ! -s conftest.err
13628 } && test -s conftest$ac_exeext && {
13629 test "$cross_compiling" = yes ||
13630 $as_test_x conftest$ac_exeext
13632 ac_cv_lib_readline_rl_line_buffer=yes
13634 $as_echo "$as_me: failed program was:" >&5
13635 sed 's
/^
/|
/' conftest.$ac_ext >&5
13637 ac_cv_lib_readline_rl_line_buffer=no
13640 rm -rf conftest.dSYM
13641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13642 conftest$ac_exeext conftest.$ac_ext
13643 LIBS=$ac_check_lib_save_LIBS
13645 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
13646 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
13647 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
13648 READLINE_LIBS="-lreadline"
13651 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
13652 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
13653 READLINE_LIBS="-lreadline $READLINE_LIBS"
13660 if test "$READLINE" = yes; then
13661 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13662 --enable-readline option (which is enabled by default). Either disable readline
13663 support with --disable-readline or download and install readline from:
13664 ftp.gnu.org/gnu/readline
13665 Note: if you are using precompiled packages you will also need the development
13666 package as well (which may be called readline-devel or something similar)." >&5
13667 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13668 --enable-readline option (which is enabled by default). Either disable readline
13669 support with --disable-readline or download and install readline from:
13670 ftp.gnu.org/gnu/readline
13671 Note: if you are using precompiled packages you will also need the development
13672 package as well (which may be called readline-devel or something similar)." >&2;}
13673 { (exit 1); exit 1; }; }
13677 LIBS="$READLINE_LIBS $lvm_saved_libs"
13679 for ac_func in rl_completion_matches
13681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13682 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13683 $as_echo_n "checking for $ac_func... " >&6; }
13684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13685 $as_echo_n "(cached) " >&6
13687 cat >conftest.$ac_ext <<_ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13695 #define $ac_func innocuous_$ac_func
13697 /* System header to define __stub macros and hopefully few prototypes,
13698 which can conflict with char $ac_func (); below.
13699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13700 <limits.h> exists even on freestanding compilers. */
13703 # include <limits.h>
13705 # include <assert.h>
13710 /* Override any GCC internal prototype to avoid an error.
13711 Use char because int might match the return type of a GCC
13712 builtin and then its argument prototype would still apply. */
13717 /* The GNU C library defines this for functions which it implements
13718 to always fail with ENOSYS. Some functions are actually named
13719 something starting with __ and the normal name is an alias. */
13720 #if defined __stub_$ac_func || defined __stub___$ac_func
13727 return $ac_func ();
13732 rm -f conftest.$ac_objext conftest$ac_exeext
13733 if { (ac_try="$ac_link"
13734 case "(($ac_try" in
13735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13736 *) ac_try_echo=$ac_try;;
13738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13739 $as_echo "$ac_try_echo") >&5
13740 (eval "$ac_link") 2>conftest.er1
13742 grep -v '^
*+' conftest.er1 >conftest.err
13744 cat conftest.err >&5
13745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } && {
13747 test -z "$ac_c_werror_flag" ||
13748 test ! -s conftest.err
13749 } && test -s conftest$ac_exeext && {
13750 test "$cross_compiling" = yes ||
13751 $as_test_x conftest$ac_exeext
13753 eval "$as_ac_var=yes"
13755 $as_echo "$as_me: failed program was:" >&5
13756 sed 's
/^
/|
/' conftest.$ac_ext >&5
13758 eval "$as_ac_var=no"
13761 rm -rf conftest.dSYM
13762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13763 conftest$ac_exeext conftest.$ac_ext
13765 ac_res=`eval 'as_val
=${'$as_ac_var'}
13766 $as_echo "$as_val"'`
13767 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13768 $as_echo "$ac_res" >&6; }
13769 as_val=`eval 'as_val
=${'$as_ac_var'}
13770 $as_echo "$as_val"'`
13771 if test "x$as_val" = x""yes; then
13772 cat >>confdefs.h <<_ACEOF
13773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13779 LIBS=$lvm_saved_libs
13782 ################################################################################
13783 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13784 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13785 # Check whether --enable-nls was given.
13786 if test "${enable_nls+set}" = set; then
13787 enableval=$enable_nls; INTL=$enableval
13792 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13793 $as_echo "$INTL" >&6; }
13795 if test x$INTL = xyes; then
13796 # FIXME - Move this - can be device-mapper too
13797 INTL_PACKAGE="lvm2"
13798 # Extract the first word of "msgfmt", so it can be a program name with args.
13799 set dummy msgfmt; ac_word=$2
13800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13801 $as_echo_n "checking for $ac_word... " >&6; }
13802 if test "${ac_cv_path_MSGFMT+set}" = set; then
13803 $as_echo_n "(cached) " >&6
13807 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13811 for as_dir in $PATH
13814 test -z "$as_dir" && as_dir=.
13815 for ac_exec_ext in '' $ac_executable_extensions; do
13816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13817 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13818 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13828 MSGFMT=$ac_cv_path_MSGFMT
13829 if test -n "$MSGFMT"; then
13830 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13831 $as_echo "$MSGFMT" >&6; }
13833 { $as_echo "$as_me:$LINENO: result: no" >&5
13834 $as_echo "no" >&6; }
13838 if [ "x$MSGFMT" == x ];
13839 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13841 $as_echo "$as_me: error: msgfmt not found in path $PATH
13843 { (exit 1); exit 1; }; }
13847 # Check whether --with-localedir was given.
13848 if test "${with_localedir+set}" = set; then
13849 withval=$with_localedir; LOCALEDIR="$withval"
13851 LOCALEDIR='${prefix}/share
/locale
'
13856 ################################################################################
13858 # Check whether --with-confdir was given.
13859 if test "${with_confdir+set}" = set; then
13860 withval=$with_confdir; CONFDIR="$withval"
13867 # Check whether --with-staticdir was given.
13868 if test "${with_staticdir+set}" = set; then
13869 withval=$with_staticdir; STATICDIR="$withval"
13871 STATICDIR='${exec_prefix}/sbin
'
13876 # Check whether --with-usrlibdir was given.
13877 if test "${with_usrlibdir+set}" = set; then
13878 withval=$with_usrlibdir; usrlibdir="$withval"
13880 usrlibdir='${prefix}/lib
'
13885 # Check whether --with-usrsbindir was given.
13886 if test "${with_usrsbindir+set}" = set; then
13887 withval=$with_usrsbindir; usrsbindir="$withval"
13889 usrsbindir='${prefix}/sbin
'
13893 ################################################################################
13895 # Check whether --with-udev_prefix was given.
13896 if test "${with_udev_prefix+set}" = set; then
13897 withval=$with_udev_prefix; udev_prefix="$withval"
13899 udev_prefix='${exec_prefix}'
13904 # Check whether --with-udevdir was given.
13905 if test "${with_udevdir+set}" = set; then
13906 withval=$with_udevdir; udevdir="$withval"
13908 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13912 ################################################################################
13913 if test x$READLINE = xyes; then
13916 for ac_header in readline/readline.h readline/history.h
13918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13920 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13921 $as_echo_n "checking for $ac_header... " >&6; }
13922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13923 $as_echo_n "(cached) " >&6
13925 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13926 $as_echo "$as_val"'`
13927 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13928 $as_echo "$ac_res" >&6; }
13930 # Is the header compilable?
13931 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13932 $as_echo_n "checking $ac_header usability... " >&6; }
13933 cat >conftest.$ac_ext <<_ACEOF
13936 cat confdefs.h >>conftest.$ac_ext
13937 cat >>conftest.$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13939 $ac_includes_default
13940 #include <$ac_header>
13942 rm -f conftest.$ac_objext
13943 if { (ac_try="$ac_compile"
13944 case "(($ac_try" in
13945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13946 *) ac_try_echo=$ac_try;;
13948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13949 $as_echo "$ac_try_echo") >&5
13950 (eval "$ac_compile") 2>conftest.er1
13952 grep -v '^
*+' conftest.er1 >conftest.err
13954 cat conftest.err >&5
13955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } && {
13957 test -z "$ac_c_werror_flag" ||
13958 test ! -s conftest.err
13959 } && test -s conftest.$ac_objext; then
13960 ac_header_compiler=yes
13962 $as_echo "$as_me: failed program was:" >&5
13963 sed 's
/^
/|
/' conftest.$ac_ext >&5
13965 ac_header_compiler=no
13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13969 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13970 $as_echo "$ac_header_compiler" >&6; }
13972 # Is the header present?
13973 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13974 $as_echo_n "checking $ac_header presence... " >&6; }
13975 cat >conftest.$ac_ext <<_ACEOF
13978 cat confdefs.h >>conftest.$ac_ext
13979 cat >>conftest.$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 #include <$ac_header>
13983 if { (ac_try="$ac_cpp conftest.$ac_ext"
13984 case "(($ac_try" in
13985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13986 *) ac_try_echo=$ac_try;;
13988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13989 $as_echo "$ac_try_echo") >&5
13990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13992 grep -v '^
*+' conftest.er1 >conftest.err
13994 cat conftest.err >&5
13995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); } >/dev/null && {
13997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13998 test ! -s conftest.err
14000 ac_header_preproc=yes
14002 $as_echo "$as_me: failed program was:" >&5
14003 sed 's
/^
/|
/' conftest.$ac_ext >&5
14005 ac_header_preproc=no
14008 rm -f conftest.err conftest.$ac_ext
14009 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14010 $as_echo "$ac_header_preproc" >&6; }
14012 # So? What about this header?
14013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14016 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14018 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14019 ac_header_preproc=yes
14022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14023 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14025 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14027 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14029 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14031 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14033 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14037 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14038 $as_echo_n "checking for $ac_header... " >&6; }
14039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14040 $as_echo_n "(cached) " >&6
14042 eval "$as_ac_Header=\$ac_header_preproc"
14044 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14045 $as_echo "$as_val"'`
14046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14047 $as_echo "$ac_res" >&6; }
14050 as_val=`eval 'as_val
=${'$as_ac_Header'}
14051 $as_echo "$as_val"'`
14052 if test "x$as_val" = x""yes; then
14053 cat >>confdefs.h <<_ACEOF
14054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14058 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14059 $as_echo "$as_me: error: bailing out" >&2;}
14060 { (exit 1); exit 1; }; }
14067 if test x$CLVMD != xnone; then
14078 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
14080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14082 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14083 $as_echo_n "checking for $ac_header... " >&6; }
14084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14085 $as_echo_n "(cached) " >&6
14087 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14088 $as_echo "$as_val"'`
14089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14090 $as_echo "$ac_res" >&6; }
14092 # Is the header compilable?
14093 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14094 $as_echo_n "checking $ac_header usability... " >&6; }
14095 cat >conftest.$ac_ext <<_ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101 $ac_includes_default
14102 #include <$ac_header>
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14111 $as_echo "$ac_try_echo") >&5
14112 (eval "$ac_compile") 2>conftest.er1
14114 grep -v '^
*+' conftest.er1 >conftest.err
14116 cat conftest.err >&5
14117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); } && {
14119 test -z "$ac_c_werror_flag" ||
14120 test ! -s conftest.err
14121 } && test -s conftest.$ac_objext; then
14122 ac_header_compiler=yes
14124 $as_echo "$as_me: failed program was:" >&5
14125 sed 's
/^
/|
/' conftest.$ac_ext >&5
14127 ac_header_compiler=no
14130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14131 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14132 $as_echo "$ac_header_compiler" >&6; }
14134 # Is the header present?
14135 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14136 $as_echo_n "checking $ac_header presence... " >&6; }
14137 cat >conftest.$ac_ext <<_ACEOF
14140 cat confdefs.h >>conftest.$ac_ext
14141 cat >>conftest.$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14143 #include <$ac_header>
14145 if { (ac_try="$ac_cpp conftest.$ac_ext"
14146 case "(($ac_try" in
14147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14148 *) ac_try_echo=$ac_try;;
14150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14151 $as_echo "$ac_try_echo") >&5
14152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14154 grep -v '^
*+' conftest.er1 >conftest.err
14156 cat conftest.err >&5
14157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } >/dev/null && {
14159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14160 test ! -s conftest.err
14162 ac_header_preproc=yes
14164 $as_echo "$as_me: failed program was:" >&5
14165 sed 's
/^
/|
/' conftest.$ac_ext >&5
14167 ac_header_preproc=no
14170 rm -f conftest.err conftest.$ac_ext
14171 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14172 $as_echo "$ac_header_preproc" >&6; }
14174 # So? What about this header?
14175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14178 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14180 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14181 ac_header_preproc=yes
14184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14185 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14187 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14189 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14191 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14193 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14195 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14199 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14200 $as_echo_n "checking for $ac_header... " >&6; }
14201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14202 $as_echo_n "(cached) " >&6
14204 eval "$as_ac_Header=\$ac_header_preproc"
14206 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14207 $as_echo "$as_val"'`
14208 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14209 $as_echo "$ac_res" >&6; }
14212 as_val=`eval 'as_val
=${'$as_ac_Header'}
14213 $as_echo "$as_val"'`
14214 if test "x$as_val" = x""yes; then
14215 cat >>confdefs.h <<_ACEOF
14216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14220 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14221 $as_echo "$as_me: error: bailing out" >&2;}
14222 { (exit 1); exit 1; }; }
14232 for ac_func in dup2 getmntent memmove select socket
14234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14235 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14236 $as_echo_n "checking for $ac_func... " >&6; }
14237 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14238 $as_echo_n "(cached) " >&6
14240 cat >conftest.$ac_ext <<_ACEOF
14243 cat confdefs.h >>conftest.$ac_ext
14244 cat >>conftest.$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14248 #define $ac_func innocuous_$ac_func
14250 /* System header to define __stub macros and hopefully few prototypes,
14251 which can conflict with char $ac_func (); below.
14252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14253 <limits.h> exists even on freestanding compilers. */
14256 # include <limits.h>
14258 # include <assert.h>
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14270 /* The GNU C library defines this for functions which it implements
14271 to always fail with ENOSYS. Some functions are actually named
14272 something starting with __ and the normal name is an alias. */
14273 #if defined __stub_$ac_func || defined __stub___$ac_func
14280 return $ac_func ();
14285 rm -f conftest.$ac_objext conftest$ac_exeext
14286 if { (ac_try="$ac_link"
14287 case "(($ac_try" in
14288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14289 *) ac_try_echo=$ac_try;;
14291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14292 $as_echo "$ac_try_echo") >&5
14293 (eval "$ac_link") 2>conftest.er1
14295 grep -v '^
*+' conftest.er1 >conftest.err
14297 cat conftest.err >&5
14298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } && {
14300 test -z "$ac_c_werror_flag" ||
14301 test ! -s conftest.err
14302 } && test -s conftest$ac_exeext && {
14303 test "$cross_compiling" = yes ||
14304 $as_test_x conftest$ac_exeext
14306 eval "$as_ac_var=yes"
14308 $as_echo "$as_me: failed program was:" >&5
14309 sed 's
/^
/|
/' conftest.$ac_ext >&5
14311 eval "$as_ac_var=no"
14314 rm -rf conftest.dSYM
14315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14316 conftest$ac_exeext conftest.$ac_ext
14318 ac_res=`eval 'as_val
=${'$as_ac_var'}
14319 $as_echo "$as_val"'`
14320 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14321 $as_echo "$ac_res" >&6; }
14322 as_val=`eval 'as_val
=${'$as_ac_var'}
14323 $as_echo "$as_val"'`
14324 if test "x$as_val" = x""yes; then
14325 cat >>confdefs.h <<_ACEOF
14326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14330 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14331 $as_echo "$as_me: error: bailing out" >&2;}
14332 { (exit 1); exit 1; }; }
14336 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14337 # -lseq on Dynix/PTX, -lgen on Unixware.
14338 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14339 $as_echo_n "checking for library containing getmntent... " >&6; }
14340 if test "${ac_cv_search_getmntent+set}" = set; then
14341 $as_echo_n "(cached) " >&6
14343 ac_func_search_save_LIBS=$LIBS
14344 cat >conftest.$ac_ext <<_ACEOF
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14361 return getmntent ();
14366 for ac_lib in '' sun seq gen; do
14367 if test -z "$ac_lib"; then
14368 ac_res="none required"
14371 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14373 rm -f conftest.$ac_objext conftest$ac_exeext
14374 if { (ac_try="$ac_link"
14375 case "(($ac_try" in
14376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14380 $as_echo "$ac_try_echo") >&5
14381 (eval "$ac_link") 2>conftest.er1
14383 grep -v '^
*+' conftest.er1 >conftest.err
14385 cat conftest.err >&5
14386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest$ac_exeext && {
14391 test "$cross_compiling" = yes ||
14392 $as_test_x conftest$ac_exeext
14394 ac_cv_search_getmntent=$ac_res
14396 $as_echo "$as_me: failed program was:" >&5
14397 sed 's
/^
/|
/' conftest.$ac_ext >&5
14402 rm -rf conftest.dSYM
14403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14405 if test "${ac_cv_search_getmntent+set}" = set; then
14409 if test "${ac_cv_search_getmntent+set}" = set; then
14412 ac_cv_search_getmntent=no
14414 rm conftest.$ac_ext
14415 LIBS=$ac_func_search_save_LIBS
14417 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14418 $as_echo "$ac_cv_search_getmntent" >&6; }
14419 ac_res=$ac_cv_search_getmntent
14420 if test "$ac_res" != no; then
14421 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14422 ac_cv_func_getmntent=yes
14424 cat >>confdefs.h <<\_ACEOF
14425 #define HAVE_GETMNTENT 1
14429 ac_cv_func_getmntent=no
14436 for ac_header in sys/select.h sys/socket.h
14438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14440 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14441 $as_echo_n "checking for $ac_header... " >&6; }
14442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14443 $as_echo_n "(cached) " >&6
14445 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14446 $as_echo "$as_val"'`
14447 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14448 $as_echo "$ac_res" >&6; }
14450 # Is the header compilable?
14451 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14452 $as_echo_n "checking $ac_header usability... " >&6; }
14453 cat >conftest.$ac_ext <<_ACEOF
14456 cat confdefs.h >>conftest.$ac_ext
14457 cat >>conftest.$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 $ac_includes_default
14460 #include <$ac_header>
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14469 $as_echo "$ac_try_echo") >&5
14470 (eval "$ac_compile") 2>conftest.er1
14472 grep -v '^
*+' conftest.er1 >conftest.err
14474 cat conftest.err >&5
14475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_c_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest.$ac_objext; then
14480 ac_header_compiler=yes
14482 $as_echo "$as_me: failed program was:" >&5
14483 sed 's
/^
/|
/' conftest.$ac_ext >&5
14485 ac_header_compiler=no
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14490 $as_echo "$ac_header_compiler" >&6; }
14492 # Is the header present?
14493 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14494 $as_echo_n "checking $ac_header presence... " >&6; }
14495 cat >conftest.$ac_ext <<_ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 #include <$ac_header>
14503 if { (ac_try="$ac_cpp conftest.$ac_ext"
14504 case "(($ac_try" in
14505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14506 *) ac_try_echo=$ac_try;;
14508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14509 $as_echo "$ac_try_echo") >&5
14510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14512 grep -v '^
*+' conftest.er1 >conftest.err
14514 cat conftest.err >&5
14515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } >/dev/null && {
14517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14518 test ! -s conftest.err
14520 ac_header_preproc=yes
14522 $as_echo "$as_me: failed program was:" >&5
14523 sed 's
/^
/|
/' conftest.$ac_ext >&5
14525 ac_header_preproc=no
14528 rm -f conftest.err conftest.$ac_ext
14529 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14530 $as_echo "$ac_header_preproc" >&6; }
14532 # So? What about this header?
14533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14536 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14538 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14539 ac_header_preproc=yes
14542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14543 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14545 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14547 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14549 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14551 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14553 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14557 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14558 $as_echo_n "checking for $ac_header... " >&6; }
14559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14560 $as_echo_n "(cached) " >&6
14562 eval "$as_ac_Header=\$ac_header_preproc"
14564 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14565 $as_echo "$as_val"'`
14566 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14567 $as_echo "$ac_res" >&6; }
14570 as_val=`eval 'as_val
=${'$as_ac_Header'}
14571 $as_echo "$as_val"'`
14572 if test "x$as_val" = x""yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14581 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14582 $as_echo_n "checking types of arguments for select... " >&6; }
14583 if test "${ac_cv_func_select_args+set}" = set; then
14584 $as_echo_n "(cached) " >&6
14586 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14587 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14588 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14589 cat >conftest.$ac_ext <<_ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 $ac_includes_default
14596 #ifdef HAVE_SYS_SELECT_H
14597 # include <sys/select.h>
14599 #ifdef HAVE_SYS_SOCKET_H
14600 # include <sys/socket.h>
14606 extern int select ($ac_arg1,
14607 $ac_arg234, $ac_arg234, $ac_arg234,
14613 rm -f conftest.$ac_objext
14614 if { (ac_try="$ac_compile"
14615 case "(($ac_try" in
14616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14617 *) ac_try_echo=$ac_try;;
14619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14620 $as_echo "$ac_try_echo") >&5
14621 (eval "$ac_compile") 2>conftest.er1
14623 grep -v '^
*+' conftest.er1 >conftest.err
14625 cat conftest.err >&5
14626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } && {
14628 test -z "$ac_c_werror_flag" ||
14629 test ! -s conftest.err
14630 } && test -s conftest.$ac_objext; then
14631 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14633 $as_echo "$as_me: failed program was:" >&5
14634 sed 's
/^
/|
/' conftest.$ac_ext >&5
14639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643 # Provide a safe default value.
14644 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14647 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14648 $as_echo "$ac_cv_func_select_args" >&6; }
14649 ac_save_IFS=$IFS; IFS=','
14650 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14654 cat >>confdefs.h <<_ACEOF
14655 #define SELECT_TYPE_ARG1 $1
14659 cat >>confdefs.h <<_ACEOF
14660 #define SELECT_TYPE_ARG234 ($2)
14664 cat >>confdefs.h <<_ACEOF
14665 #define SELECT_TYPE_ARG5 ($3)
14672 if test x$CLUSTER != xnone; then
14675 for ac_header in sys/socket.h sys/un.h
14677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14679 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14680 $as_echo_n "checking for $ac_header... " >&6; }
14681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14682 $as_echo_n "(cached) " >&6
14684 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14685 $as_echo "$as_val"'`
14686 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14687 $as_echo "$ac_res" >&6; }
14689 # Is the header compilable?
14690 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14691 $as_echo_n "checking $ac_header usability... " >&6; }
14692 cat >conftest.$ac_ext <<_ACEOF
14695 cat confdefs.h >>conftest.$ac_ext
14696 cat >>conftest.$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14698 $ac_includes_default
14699 #include <$ac_header>
14701 rm -f conftest.$ac_objext
14702 if { (ac_try="$ac_compile"
14703 case "(($ac_try" in
14704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14705 *) ac_try_echo=$ac_try;;
14707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14708 $as_echo "$ac_try_echo") >&5
14709 (eval "$ac_compile") 2>conftest.er1
14711 grep -v '^
*+' conftest.er1 >conftest.err
14713 cat conftest.err >&5
14714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } && {
14716 test -z "$ac_c_werror_flag" ||
14717 test ! -s conftest.err
14718 } && test -s conftest.$ac_objext; then
14719 ac_header_compiler=yes
14721 $as_echo "$as_me: failed program was:" >&5
14722 sed 's
/^
/|
/' conftest.$ac_ext >&5
14724 ac_header_compiler=no
14727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14728 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14729 $as_echo "$ac_header_compiler" >&6; }
14731 # Is the header present?
14732 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14733 $as_echo_n "checking $ac_header presence... " >&6; }
14734 cat >conftest.$ac_ext <<_ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740 #include <$ac_header>
14742 if { (ac_try="$ac_cpp conftest.$ac_ext"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14748 $as_echo "$ac_try_echo") >&5
14749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14751 grep -v '^
*+' conftest.er1 >conftest.err
14753 cat conftest.err >&5
14754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } >/dev/null && {
14756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14757 test ! -s conftest.err
14759 ac_header_preproc=yes
14761 $as_echo "$as_me: failed program was:" >&5
14762 sed 's
/^
/|
/' conftest.$ac_ext >&5
14764 ac_header_preproc=no
14767 rm -f conftest.err conftest.$ac_ext
14768 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14769 $as_echo "$ac_header_preproc" >&6; }
14771 # So? What about this header?
14772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14775 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14777 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14778 ac_header_preproc=yes
14781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14782 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14784 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14786 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14788 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14790 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14792 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14796 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14797 $as_echo_n "checking for $ac_header... " >&6; }
14798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14799 $as_echo_n "(cached) " >&6
14801 eval "$as_ac_Header=\$ac_header_preproc"
14803 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14804 $as_echo "$as_val"'`
14805 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14806 $as_echo "$ac_res" >&6; }
14809 as_val=`eval 'as_val
=${'$as_ac_Header'}
14810 $as_echo "$as_val"'`
14811 if test "x$as_val" = x""yes; then
14812 cat >>confdefs.h <<_ACEOF
14813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14817 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14818 $as_echo "$as_me: error: bailing out" >&2;}
14819 { (exit 1); exit 1; }; }
14825 for ac_func in socket
14827 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14828 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14829 $as_echo_n "checking for $ac_func... " >&6; }
14830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14831 $as_echo_n "(cached) " >&6
14833 cat >conftest.$ac_ext <<_ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h. */
14839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14841 #define $ac_func innocuous_$ac_func
14843 /* System header to define __stub macros and hopefully few prototypes,
14844 which can conflict with char $ac_func (); below.
14845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14846 <limits.h> exists even on freestanding compilers. */
14849 # include <limits.h>
14851 # include <assert.h>
14856 /* Override any GCC internal prototype to avoid an error.
14857 Use char because int might match the return type of a GCC
14858 builtin and then its argument prototype would still apply. */
14863 /* The GNU C library defines this for functions which it implements
14864 to always fail with ENOSYS. Some functions are actually named
14865 something starting with __ and the normal name is an alias. */
14866 #if defined __stub_$ac_func || defined __stub___$ac_func
14873 return $ac_func ();
14878 rm -f conftest.$ac_objext conftest$ac_exeext
14879 if { (ac_try="$ac_link"
14880 case "(($ac_try" in
14881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14882 *) ac_try_echo=$ac_try;;
14884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14885 $as_echo "$ac_try_echo") >&5
14886 (eval "$ac_link") 2>conftest.er1
14888 grep -v '^
*+' conftest.er1 >conftest.err
14890 cat conftest.err >&5
14891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } && {
14893 test -z "$ac_c_werror_flag" ||
14894 test ! -s conftest.err
14895 } && test -s conftest$ac_exeext && {
14896 test "$cross_compiling" = yes ||
14897 $as_test_x conftest$ac_exeext
14899 eval "$as_ac_var=yes"
14901 $as_echo "$as_me: failed program was:" >&5
14902 sed 's
/^
/|
/' conftest.$ac_ext >&5
14904 eval "$as_ac_var=no"
14907 rm -rf conftest.dSYM
14908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14909 conftest$ac_exeext conftest.$ac_ext
14911 ac_res=`eval 'as_val
=${'$as_ac_var'}
14912 $as_echo "$as_val"'`
14913 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14914 $as_echo "$ac_res" >&6; }
14915 as_val=`eval 'as_val
=${'$as_ac_var'}
14916 $as_echo "$as_val"'`
14917 if test "x$as_val" = x""yes; then
14918 cat >>confdefs.h <<_ACEOF
14919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14923 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14924 $as_echo "$as_me: error: bailing out" >&2;}
14925 { (exit 1); exit 1; }; }
14931 if test x$HAVE_LIBDL = xyes; then
14933 for ac_header in dlfcn.h
14935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14937 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14938 $as_echo_n "checking for $ac_header... " >&6; }
14939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14940 $as_echo_n "(cached) " >&6
14942 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14943 $as_echo "$as_val"'`
14944 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14945 $as_echo "$ac_res" >&6; }
14947 # Is the header compilable?
14948 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14949 $as_echo_n "checking $ac_header usability... " >&6; }
14950 cat >conftest.$ac_ext <<_ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956 $ac_includes_default
14957 #include <$ac_header>
14959 rm -f conftest.$ac_objext
14960 if { (ac_try="$ac_compile"
14961 case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14966 $as_echo "$ac_try_echo") >&5
14967 (eval "$ac_compile") 2>conftest.er1
14969 grep -v '^
*+' conftest.er1 >conftest.err
14971 cat conftest.err >&5
14972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest.$ac_objext; then
14977 ac_header_compiler=yes
14979 $as_echo "$as_me: failed program was:" >&5
14980 sed 's
/^
/|
/' conftest.$ac_ext >&5
14982 ac_header_compiler=no
14985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14986 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14987 $as_echo "$ac_header_compiler" >&6; }
14989 # Is the header present?
14990 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14991 $as_echo_n "checking $ac_header presence... " >&6; }
14992 cat >conftest.$ac_ext <<_ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
14998 #include <$ac_header>
15000 if { (ac_try="$ac_cpp conftest.$ac_ext"
15001 case "(($ac_try" in
15002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15003 *) ac_try_echo=$ac_try;;
15005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15006 $as_echo "$ac_try_echo") >&5
15007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15009 grep -v '^
*+' conftest.er1 >conftest.err
15011 cat conftest.err >&5
15012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } >/dev/null && {
15014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15015 test ! -s conftest.err
15017 ac_header_preproc=yes
15019 $as_echo "$as_me: failed program was:" >&5
15020 sed 's
/^
/|
/' conftest.$ac_ext >&5
15022 ac_header_preproc=no
15025 rm -f conftest.err conftest.$ac_ext
15026 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15027 $as_echo "$ac_header_preproc" >&6; }
15029 # So? What about this header?
15030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15033 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15035 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15036 ac_header_preproc=yes
15039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15040 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15042 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15044 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15046 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15048 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15050 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15054 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15055 $as_echo_n "checking for $ac_header... " >&6; }
15056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15057 $as_echo_n "(cached) " >&6
15059 eval "$as_ac_Header=\$ac_header_preproc"
15061 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15062 $as_echo "$as_val"'`
15063 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15064 $as_echo "$ac_res" >&6; }
15067 as_val=`eval 'as_val
=${'$as_ac_Header'}
15068 $as_echo "$as_val"'`
15069 if test "x$as_val" = x""yes; then
15070 cat >>confdefs.h <<_ACEOF
15071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15075 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15076 $as_echo "$as_me: error: bailing out" >&2;}
15077 { (exit 1); exit 1; }; }
15084 if test x$INTL = xyes; then
15086 for ac_header in libintl.h
15088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15090 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15091 $as_echo_n "checking for $ac_header... " >&6; }
15092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15093 $as_echo_n "(cached) " >&6
15095 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15096 $as_echo "$as_val"'`
15097 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15098 $as_echo "$ac_res" >&6; }
15100 # Is the header compilable?
15101 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15102 $as_echo_n "checking $ac_header usability... " >&6; }
15103 cat >conftest.$ac_ext <<_ACEOF
15106 cat confdefs.h >>conftest.$ac_ext
15107 cat >>conftest.$ac_ext <<_ACEOF
15108 /* end confdefs.h. */
15109 $ac_includes_default
15110 #include <$ac_header>
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15119 $as_echo "$ac_try_echo") >&5
15120 (eval "$ac_compile") 2>conftest.er1
15122 grep -v '^
*+' conftest.er1 >conftest.err
15124 cat conftest.err >&5
15125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } && {
15127 test -z "$ac_c_werror_flag" ||
15128 test ! -s conftest.err
15129 } && test -s conftest.$ac_objext; then
15130 ac_header_compiler=yes
15132 $as_echo "$as_me: failed program was:" >&5
15133 sed 's
/^
/|
/' conftest.$ac_ext >&5
15135 ac_header_compiler=no
15138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15140 $as_echo "$ac_header_compiler" >&6; }
15142 # Is the header present?
15143 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15144 $as_echo_n "checking $ac_header presence... " >&6; }
15145 cat >conftest.$ac_ext <<_ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 #include <$ac_header>
15153 if { (ac_try="$ac_cpp conftest.$ac_ext"
15154 case "(($ac_try" in
15155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15156 *) ac_try_echo=$ac_try;;
15158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15159 $as_echo "$ac_try_echo") >&5
15160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15162 grep -v '^
*+' conftest.er1 >conftest.err
15164 cat conftest.err >&5
15165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } >/dev/null && {
15167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15168 test ! -s conftest.err
15170 ac_header_preproc=yes
15172 $as_echo "$as_me: failed program was:" >&5
15173 sed 's
/^
/|
/' conftest.$ac_ext >&5
15175 ac_header_preproc=no
15178 rm -f conftest.err conftest.$ac_ext
15179 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15180 $as_echo "$ac_header_preproc" >&6; }
15182 # So? What about this header?
15183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15186 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15188 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15189 ac_header_preproc=yes
15192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15193 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15195 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15197 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15199 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15201 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15203 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15207 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15208 $as_echo_n "checking for $ac_header... " >&6; }
15209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15210 $as_echo_n "(cached) " >&6
15212 eval "$as_ac_Header=\$ac_header_preproc"
15214 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15215 $as_echo "$as_val"'`
15216 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15217 $as_echo "$ac_res" >&6; }
15220 as_val=`eval 'as_val
=${'$as_ac_Header'}
15221 $as_echo "$as_val"'`
15222 if test "x$as_val" = x""yes; then
15223 cat >>confdefs.h <<_ACEOF
15224 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15228 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15229 $as_echo "$as_me: error: bailing out" >&2;}
15230 { (exit 1); exit 1; }; }
15237 if test x$UDEV_SYNC = xyes; then
15240 for ac_header in sys/ipc.h sys/sem.h
15242 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15244 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15245 $as_echo_n "checking for $ac_header... " >&6; }
15246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15247 $as_echo_n "(cached) " >&6
15249 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15250 $as_echo "$as_val"'`
15251 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15252 $as_echo "$ac_res" >&6; }
15254 # Is the header compilable?
15255 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15256 $as_echo_n "checking $ac_header usability... " >&6; }
15257 cat >conftest.$ac_ext <<_ACEOF
15260 cat confdefs.h >>conftest.$ac_ext
15261 cat >>conftest.$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15263 $ac_includes_default
15264 #include <$ac_header>
15266 rm -f conftest.$ac_objext
15267 if { (ac_try="$ac_compile"
15268 case "(($ac_try" in
15269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15270 *) ac_try_echo=$ac_try;;
15272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15273 $as_echo "$ac_try_echo") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15276 grep -v '^
*+' conftest.er1 >conftest.err
15278 cat conftest.err >&5
15279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_header_compiler=yes
15286 $as_echo "$as_me: failed program was:" >&5
15287 sed 's
/^
/|
/' conftest.$ac_ext >&5
15289 ac_header_compiler=no
15292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15293 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15294 $as_echo "$ac_header_compiler" >&6; }
15296 # Is the header present?
15297 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15298 $as_echo_n "checking $ac_header presence... " >&6; }
15299 cat >conftest.$ac_ext <<_ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 #include <$ac_header>
15307 if { (ac_try="$ac_cpp conftest.$ac_ext"
15308 case "(($ac_try" in
15309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15310 *) ac_try_echo=$ac_try;;
15312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15313 $as_echo "$ac_try_echo") >&5
15314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15316 grep -v '^
*+' conftest.er1 >conftest.err
15318 cat conftest.err >&5
15319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } >/dev/null && {
15321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15322 test ! -s conftest.err
15324 ac_header_preproc=yes
15326 $as_echo "$as_me: failed program was:" >&5
15327 sed 's
/^
/|
/' conftest.$ac_ext >&5
15329 ac_header_preproc=no
15332 rm -f conftest.err conftest.$ac_ext
15333 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15334 $as_echo "$ac_header_preproc" >&6; }
15336 # So? What about this header?
15337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15340 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15342 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15343 ac_header_preproc=yes
15346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15347 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15349 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15351 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15353 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15355 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15357 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15362 $as_echo_n "checking for $ac_header... " >&6; }
15363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15364 $as_echo_n "(cached) " >&6
15366 eval "$as_ac_Header=\$ac_header_preproc"
15368 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15369 $as_echo "$as_val"'`
15370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15371 $as_echo "$ac_res" >&6; }
15374 as_val=`eval 'as_val
=${'$as_ac_Header'}
15375 $as_echo "$as_val"'`
15376 if test "x$as_val" = x""yes; then
15377 cat >>confdefs.h <<_ACEOF
15378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15382 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15383 $as_echo "$as_me: error: bailing out" >&2;}
15384 { (exit 1); exit 1; }; }
15391 ################################################################################
15392 # Extract the first word of "modprobe", so it can be a program name with args.
15393 set dummy modprobe; ac_word=$2
15394 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15395 $as_echo_n "checking for $ac_word... " >&6; }
15396 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15397 $as_echo_n "(cached) " >&6
15399 case $MODPROBE_CMD in
15401 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15405 for as_dir in $PATH
15408 test -z "$as_dir" && as_dir=.
15409 for ac_exec_ext in '' $ac_executable_extensions; do
15410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15411 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15422 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15423 if test -n "$MODPROBE_CMD"; then
15424 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15425 $as_echo "$MODPROBE_CMD" >&6; }
15427 { $as_echo "$as_me:$LINENO: result: no" >&5
15428 $as_echo "no" >&6; }
15433 if test x$MODPROBE_CMD != x; then
15435 cat >>confdefs.h <<_ACEOF
15436 #define MODPROBE_CMD "$MODPROBE_CMD"
15441 ################################################################################
15444 if test "$BUILD_DMEVENTD" = yes; then
15446 # Check whether --with-dmeventd-pidfile was given.
15447 if test "${with_dmeventd_pidfile+set}" = set; then
15448 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15449 #define DMEVENTD_PIDFILE "$withval"
15453 cat >>confdefs.h <<_ACEOF
15454 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15463 if test "$BUILD_DMEVENTD" = yes; then
15464 dmeventd_prefix="$exec_prefix"
15465 if test "x$dmeventd_prefix" = "xNONE"; then
15466 dmeventd_prefix="$prefix"
15468 if test "x$dmeventd_prefix" = "xNONE"; then
15472 # Check whether --with-dmeventd-path was given.
15473 if test "${with_dmeventd_path+set}" = set; then
15474 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15475 #define DMEVENTD_PATH "$withval"
15479 cat >>confdefs.h <<_ACEOF
15480 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15487 ################################################################################
15488 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15489 $as_echo_n "checking for kernel interface choice... " >&6; }
15491 # Check whether --with-interface was given.
15492 if test "${with_interface+set}" = set; then
15493 withval=$with_interface; interface="$withval"
15498 if [ "x$interface" != xioctl ];
15500 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15501 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15502 { (exit 1); exit 1; }; }
15504 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15505 $as_echo "$interface" >&6; }
15507 ################################################################################
15508 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15510 cat >>confdefs.h <<_ACEOF
15511 #define DM_LIB_VERSION $DM_LIB_VERSION
15515 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15517 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15519 VER=`cat "$srcdir"/VERSION`
15520 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15521 VER=`echo "$VER" | $AWK '{print
$1}'`
15522 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15523 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15524 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15525 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15526 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15527 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15529 ################################################################################
15619 ################################################################################
15620 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/cmirrord/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/lvm2/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile include/.symlinks include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/misc/lvm-version.h lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc liblvm/Makefile liblvm/liblvm2app.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/cmirrord_init_red_hat scripts/lvm2_monitoring_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile"
15622 cat >confcache <<\_ACEOF
15623 # This file is a shell script that caches the results of configure
15624 # tests run on this system so they can be shared between configure
15625 # scripts and configure runs, see configure's option
--config-cache.
15626 # It is not useful on other systems. If it contains results you don't
15627 # want to keep, you may remove or edit it.
15629 # config.status only pays attention to the cache file if you give it
15630 # the --recheck option to rerun configure.
15632 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15633 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15634 # following values.
15638 # The following way of writing the cache mishandles newlines in values,
15639 # but we know of no workaround that is simple, portable, and efficient.
15640 # So, we kill variables containing newlines.
15641 # Ultrix sh set writes to stderr and can't be redirected directly,
15642 # and sets the high bit in the cache file unless we assign to the vars.
15644 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15645 eval ac_val
=\$
$ac_var
15649 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15650 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15653 _ | IFS | as_nl
) ;; #(
15654 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15655 *) $as_unset $ac_var ;;
15661 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15662 *${as_nl}ac_space
=\
*)
15663 # `set' does not quote correctly, so add quotes (double-quote
15664 # substitution turns \\\\ into \\, and sed turns \\ into \).
15667 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15670 # `set' quotes correctly as required by POSIX, so do not add quotes.
15671 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15680 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15682 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15684 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15685 if test -w "$cache_file"; then
15686 test "x$cache_file" != "x/dev/null" &&
15687 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15688 $as_echo "$as_me: updating cache $cache_file" >&6;}
15689 cat confcache
>$cache_file
15691 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15692 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15697 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15698 # Let make expand exec_prefix.
15699 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15701 DEFS
=-DHAVE_CONFIG_H
15705 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15706 # 1. Remove the extension, and $U if already installed.
15707 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15708 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15709 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15710 # will be set to the directory where LIBOBJS objects are built.
15711 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15712 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15714 LIBOBJS
=$ac_libobjs
15716 LTLIBOBJS
=$ac_ltlibobjs
15720 : ${CONFIG_STATUS=./config.status}
15722 ac_clean_files_save
=$ac_clean_files
15723 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15724 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15725 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15726 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15728 # Generated by $as_me.
15729 # Run this file to recreate the current configuration.
15730 # Compiler output produced by configure, useful for debugging
15731 # configure, is in config.log if it exists.
15734 ac_cs_recheck=false
15736 SHELL=\${CONFIG_SHELL-$SHELL}
15739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15740 ## --------------------- ##
15741 ## M4sh Initialization. ##
15742 ## --------------------- ##
15744 # Be more Bourne compatible
15745 DUALCASE
=1; export DUALCASE
# for MKS sh
15746 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15749 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15750 # is contrary to our usage. Disable this feature.
15751 alias -g '${1+"$@"}'='"$@"'
15752 setopt NO_GLOB_SUBST
15754 case `(set -o) 2>/dev/null` in
15755 *posix
*) set -o posix
;;
15764 # Avoid depending upon Character Ranges.
15765 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15766 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15767 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15768 as_cr_digits
='0123456789'
15769 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15775 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15778 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15779 as_echo='printf %s
\n'
15780 as_echo_n='printf %s
'
15782 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15783 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15784 as_echo_n='/usr
/ucb
/echo -n'
15786 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15787 as_echo_n_body='eval
15791 expr "X$arg" : "X\\(.*\\)$as_nl";
15792 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15794 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15796 export as_echo_n_body
15797 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15799 export as_echo_body
15800 as_echo='sh
-c $as_echo_body as_echo
'
15803 # The user is always right.
15804 if test "${PATH_SEPARATOR+set}" != set; then
15806 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15807 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15812 # Support unset when possible.
15813 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15821 # We need space, tab and new line, in precisely that order. Quoting is
15822 # there to prevent editors from complaining about space-tab.
15823 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15824 # splitting by setting IFS to empty value.)
15827 # Find who we are. Look in the path if we contain no directory separator.
15829 *[\\/]* ) as_myself=$0 ;;
15830 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15831 for as_dir in $PATH
15834 test -z "$as_dir" && as_dir=.
15835 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15841 # We did not find ourselves, most probably we were run as `sh COMMAND'
15842 # in which case we are not to be found in the path.
15843 if test "x$as_myself" = x
; then
15846 if test ! -f "$as_myself"; then
15847 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15848 { (exit 1); exit 1; }
15851 # Work around bugs in pre-3.0 UWIN ksh.
15852 for as_var
in ENV MAIL MAILPATH
15853 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15865 # Required to use basename.
15866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15873 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15874 as_basename
=basename
15880 # Name of the executable.
15881 as_me
=`$as_basename -- "$0" ||
15882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15883 X"$0" : 'X\(//\)$' \| \
15884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15886 sed '/^.*\/\([^/][^/]*\)\/*$/{
15905 as_lineno_1
=$LINENO
15906 as_lineno_2
=$LINENO
15907 test "x$as_lineno_1" != "x$as_lineno_2" &&
15908 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15910 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15911 # uniformly replaced by the line number. The first 'sed' inserts a
15912 # line-number line after each line using $LINENO; the second 'sed'
15913 # does the real work. The second script uses 'N' to pair each
15914 # line-number line with the line containing $LINENO, and appends
15915 # trailing '-' during substitution so that $LINENO is not a special
15916 # case at line end.
15917 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15918 # scripts with optimization help from Paolo Bonzini. Blame Lee
15919 # E. McMahon (1931-1989) for sed's syntax. :-)
15931 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15934 ' >$as_me.lineno
&&
15935 chmod +x
"$as_me.lineno" ||
15936 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15937 { (exit 1); exit 1; }; }
15939 # Don't try to exec as it changes $[0], causing all sort of problems
15940 # (the dirname of $[0] is not the place where we might find the
15941 # original and so on. Autoconf is especially sensitive to this).
15942 .
"./$as_me.lineno"
15943 # Exit status is that of the last command.
15948 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15954 ECHO_C
= ECHO_N
= ECHO_T
=
15955 case `echo -n x` in
15957 case `echo 'x\c'` in
15958 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15964 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15965 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15971 rm -f conf$$ conf$$.exe conf$$.
file
15972 if test -d conf$$.dir
; then
15973 rm -f conf$$.dir
/conf$$.
file
15976 mkdir conf$$.dir
2>/dev
/null
15978 if (echo >conf$$.
file) 2>/dev
/null
; then
15979 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15981 # ... but there are two gotchas:
15982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15984 # In both cases, we have to default to `cp -p'.
15985 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15987 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15995 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15996 rmdir conf$$.dir
2>/dev
/null
15998 if mkdir
-p .
2>/dev
/null
; then
16001 test -d .
/-p && rmdir .
/-p
16005 if test -x / >/dev
/null
2>&1; then
16006 as_test_x
='test -x'
16008 if ls -dL / >/dev
/null
2>&1; then
16015 if test -d "$1"; then
16021 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16022 ???[sx]*):;;*)false;;esac;fi
16026 as_executable_p
=$as_test_x
16028 # Sed expression to map a string onto a valid CPP name.
16029 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16031 # Sed expression to map a string onto a valid variable name.
16032 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16037 # Save the log message, to keep $[0] and so on meaningful, and to
16038 # report actual input values of CONFIG_FILES etc. instead of their
16039 # values after options handling.
16041 This file was extended by $as_me, which was
16042 generated by GNU Autoconf 2.63. Invocation command line was
16044 CONFIG_FILES = $CONFIG_FILES
16045 CONFIG_HEADERS = $CONFIG_HEADERS
16046 CONFIG_LINKS = $CONFIG_LINKS
16047 CONFIG_COMMANDS = $CONFIG_COMMANDS
16050 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16055 case $ac_config_files in *"
16056 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16059 case $ac_config_headers in *"
16060 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16065 # Files that config.status was made for.
16066 config_files="$ac_config_files"
16067 config_headers="$ac_config_headers"
16071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16073 \`$as_me' instantiates files from templates according to the
16074 current configuration.
16076 Usage: $0 [OPTION]... [FILE]...
16078 -h, --help print this help, then exit
16079 -V, --version print version number and configuration settings, then exit
16080 -q, --quiet, --silent
16081 do not print progress messages
16082 -d, --debug don't remove temporary files
16083 --recheck update $as_me by reconfiguring in the same conditions
16084 --file=FILE[:TEMPLATE]
16085 instantiate the configuration file FILE
16086 --header=FILE[:TEMPLATE]
16087 instantiate the configuration header FILE
16089 Configuration files:
16092 Configuration headers:
16095 Report bugs to <bug-autoconf@gnu.org>."
16098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16101 configured by $0, generated by GNU Autoconf 2.63,
16102 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16104 Copyright (C) 2008 Free Software Foundation, Inc.
16105 This config.status script is free software; the Free Software Foundation
16106 gives unlimited permission to copy, distribute and modify it."
16113 test -n "\$AWK" || AWK=awk
16116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16117 # The default lists apply if the user does not specify any file.
16123 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16124 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16135 # Handling of the options.
16136 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16138 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16139 $as_echo "$ac_cs_version"; exit ;;
16140 --debug |
--debu |
--deb |
--de |
--d |
-d )
16142 --file |
--fil |
--fi |
--f )
16145 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16147 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16148 ac_need_defaults
=false
;;
16149 --header |
--heade |
--head |
--hea )
16152 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16155 ac_need_defaults
=false
;;
16157 # Conflict between --help and --header
16158 { $as_echo "$as_me: error: ambiguous option: $1
16159 Try \`$0 --help' for more information." >&2
16160 { (exit 1); exit 1; }; };;
16161 --help |
--hel |
-h )
16162 $as_echo "$ac_cs_usage"; exit ;;
16163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16164 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16167 # This is an error.
16168 -*) { $as_echo "$as_me: error: unrecognized option: $1
16169 Try \`$0 --help' for more information." >&2
16170 { (exit 1); exit 1; }; } ;;
16172 *) ac_config_targets
="$ac_config_targets $1"
16173 ac_need_defaults
=false
;;
16179 ac_configure_extra_args
=
16181 if $ac_cs_silent; then
16183 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16188 if \$ac_cs_recheck; then
16189 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16191 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16192 CONFIG_SHELL='$SHELL'
16193 export CONFIG_SHELL
16198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16202 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16203 ## Running $as_me. ##
16209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16214 # Handling of arguments.
16215 for ac_config_target
in $ac_config_targets
16217 case $ac_config_target in
16218 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16219 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16220 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16221 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16222 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16223 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16224 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16225 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16226 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16227 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
16228 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16229 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16230 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16231 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16232 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16233 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16234 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16235 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16236 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16237 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16238 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16239 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16240 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16241 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16242 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16243 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16244 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16245 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16246 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16247 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16248 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16249 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16250 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16251 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16252 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16253 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16255 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16256 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16257 { (exit 1); exit 1; }; };;
16262 # If the user did not use the arguments to specify the items to instantiate,
16263 # then the envvar interface is used. Set only those that are not.
16264 # We use the long form for the default assignment because of an extremely
16265 # bizarre bug on SunOS 4.1.3.
16266 if $ac_need_defaults; then
16267 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16268 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16271 # Have a temporary directory for convenience. Make it in the build tree
16272 # simply because there is no reason against having it here, and in addition,
16273 # creating and moving files from /tmp can sometimes cause problems.
16274 # Hook for its removal unless debugging.
16275 # Note that there is a small window in which the directory will not be cleaned:
16276 # after its creation but before its name has been assigned to `$tmp'.
16280 trap 'exit_status=$?
16281 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16283 trap '{ (exit 1); exit 1; }' 1 2 13 15
16285 # Create a (secure) tmp directory for tmp files.
16288 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16289 test -n "$tmp" && test -d "$tmp"
16292 tmp
=.
/conf$$
-$RANDOM
16293 (umask 077 && mkdir
"$tmp")
16296 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16297 { (exit 1); exit 1; }
16300 # Set up the scripts for CONFIG_FILES section.
16301 # No need to generate them if there are no CONFIG_FILES.
16302 # This happens for instance with `./config.status config.h'.
16303 if test -n "$CONFIG_FILES"; then
16307 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16308 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16311 ac_cs_awk_cr
=$ac_cr
16314 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16319 echo "cat >conf$$subs.awk <<_ACEOF" &&
16320 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16322 } >conf$$subs.sh ||
16323 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16324 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16325 { (exit 1); exit 1; }; }
16326 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16328 for ac_last_try in false false false false false :; do
16329 . ./conf$$subs.sh ||
16330 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16331 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16332 { (exit 1); exit 1; }; }
16334 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16335 if test $ac_delim_n = $ac_delim_num; then
16337 elif $ac_last_try; then
16338 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16339 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16340 { (exit 1); exit 1; }; }
16342 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16345 rm -f conf$$subs.sh
16347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16348 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16352 s/^/S["/; s
/!.
*/"]=/
16362 s/\(.\{148\}\).*/\1/
16364 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16369 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16376 s/\(.\{148\}\).*/\1/
16378 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16382 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16387 ' <conf$$subs.awk | sed '
16392 ' >>$CONFIG_STATUS || ac_write_fail=1
16393 rm -f conf$$subs.awk
16394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16396 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16397 for (key in S) S_is_set[key] = 1
16403 nfields = split(line, field, "@
")
16405 len = length(field[1])
16406 for (i = 2; i < nfields; i++) {
16408 keylen = length(key)
16409 if (S_is_set[key]) {
16411 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16412 len += length(value) + length(field[++i])
16423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16424 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16425 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16428 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16429 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16430 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16431 { (exit 1); exit 1; }; }
16434 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16435 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16436 # trailing colons and then remove the whole line if VPATH becomes empty
16437 # (actually we leave an empty line to preserve line numbers).
16438 if test "x
$srcdir" = x.; then
16439 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16440 s/:*\$(srcdir):*/:/
16441 s/:*\${srcdir}:*/:/
16443 s/^\([^=]*=[ ]*\):*/\1/
16449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16450 fi # test -n "$CONFIG_FILES"
16452 # Set up the scripts for CONFIG_HEADERS section.
16453 # No need to generate them if there are no CONFIG_HEADERS.
16454 # This happens for instance with `./config.status Makefile'.
16455 if test -n "$CONFIG_HEADERS"; then
16456 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16460 # Transform confdefs.h into an awk script `defines.awk', embedded as
16461 # here-document in config.status, that substitutes the proper values into
16462 # config.h.in to produce config.h.
16464 # Create a delimiter string that does not exist in confdefs.h, to ease
16465 # handling of long lines.
16467 for ac_last_try in false false :; do
16468 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16469 if test -z "$ac_t"; then
16471 elif $ac_last_try; then
16472 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16473 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16474 { (exit 1); exit 1; }; }
16476 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16480 # For the awk script, D is an array of macro values keyed by name,
16481 # likewise P contains macro parameters if any. Preserve backslash
16482 # newline sequences.
16484 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16486 s/.\{148\}/&'"$ac_delim"'/g
16489 s/^[ ]*#[ ]*define[ ][ ]*/ /
16496 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16498 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16502 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16503 D["\
1"]=" \
3\\\\\\n
"\\/p
16505 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16510 s/.\{148\}/&'"$ac_delim"'/g
16515 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16518 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16520 ' <confdefs.h | sed '
16521 s/'"$ac_delim"'/"\\\
16522 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16525 for (key in D) D_is_set[key] = 1
16528 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16530 split(line, arg, " ")
16531 if (arg[1] == "#") {
16535 defundef
= substr
(arg
[1], 2)
16538 split(mac1
, mac2
, "(") #)
16540 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16541 if (D_is_set
[macro
]) {
16542 # Preserve the white space surrounding the "#".
16543 print prefix
"define", macro P
[macro
] D
[macro
]
16546 # Replace #undef with comments. This is necessary, for example,
16547 # in the case of _POSIX_SOURCE, which is predefined and required
16548 # on some systems where configure will not decide to define it.
16549 if (defundef
== "undef") {
16550 print
"/*", prefix defundef
, macro
, "*/"
16558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16559 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16560 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16561 { (exit 1); exit 1; }; }
16562 fi # test -n "$CONFIG_HEADERS"
16565 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16570 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16572 case $ac_mode$ac_tag in
16574 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16575 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16576 { (exit 1); exit 1; }; };;
16577 :[FH
]-) ac_tag
=-:-;;
16578 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16595 -) ac_f
="$tmp/stdin";;
16596 *) # Look for the file first in the build tree, then in the source tree
16597 # (if the path is not absolute). The absolute path cannot be DOS-style,
16598 # because $ac_f cannot contain `:'.
16602 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16604 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16605 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16606 { (exit 1); exit 1; }; };;
16608 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16609 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16612 # Let's still pretend it is `configure' which instantiates (i.e., don't
16613 # use $as_me), people would be surprised to read:
16614 # /* config.h. Generated by config.status. */
16615 configure_input
='Generated from '`
16616 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16618 if test x
"$ac_file" != x-
; then
16619 configure_input
="$ac_file. $configure_input"
16620 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16621 $as_echo "$as_me: creating $ac_file" >&6;}
16623 # Neutralize special characters interpreted by sed in replacement strings.
16624 case $configure_input in #(
16625 *\
&* |
*\|
* |
*\\* )
16626 ac_sed_conf_input
=`$as_echo "$configure_input" |
16627 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16628 *) ac_sed_conf_input
=$configure_input;;
16632 *:-:* |
*:-) cat >"$tmp/stdin" \
16633 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16634 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16635 { (exit 1); exit 1; }; } ;;
16640 ac_dir
=`$as_dirname -- "$ac_file" ||
16641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16642 X"$ac_file" : 'X\(//\)[^/]' \| \
16643 X"$ac_file" : 'X\(//\)$' \| \
16644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16645 $as_echo X"$ac_file" |
16646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16650 /^X\(\/\/\)[^/].*/{
16665 -*) as_dir
=.
/$as_dir;;
16667 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16671 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16672 *) as_qdir
=$as_dir;;
16674 as_dirs
="'$as_qdir' $as_dirs"
16675 as_dir
=`$as_dirname -- "$as_dir" ||
16676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16677 X"$as_dir" : 'X\(//\)[^/]' \| \
16678 X"$as_dir" : 'X\(//\)$' \| \
16679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16680 $as_echo X"$as_dir" |
16681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16685 /^X\(\/\/\)[^/].*/{
16698 test -d "$as_dir" && break
16700 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16701 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16702 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16703 { (exit 1); exit 1; }; }; }
16707 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16709 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16710 # A ".." for each directory in $ac_dir_suffix.
16711 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16712 case $ac_top_builddir_sub in
16713 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16714 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16717 ac_abs_top_builddir
=$ac_pwd
16718 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16719 # for backward compatibility:
16720 ac_top_builddir
=$ac_top_build_prefix
16723 .
) # We are building in place.
16725 ac_top_srcdir
=$ac_top_builddir_sub
16726 ac_abs_top_srcdir
=$ac_pwd ;;
16727 [\\/]* | ?
:[\\/]* ) # Absolute name.
16728 ac_srcdir
=$srcdir$ac_dir_suffix;
16729 ac_top_srcdir
=$srcdir
16730 ac_abs_top_srcdir
=$srcdir ;;
16731 *) # Relative name.
16732 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16733 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16734 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16736 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16746 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16747 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16749 ac_MKDIR_P
=$MKDIR_P
16751 [\\/$
]* | ?
:[\\/]* ) ;;
16752 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16757 # If the template does not know about datarootdir, expand it.
16758 # FIXME: This hack should be removed a few years after 2.60.
16759 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16772 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16773 *datarootdir
*) ac_datarootdir_seen
=yes;;
16774 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16775 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16776 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16779 ac_datarootdir_hack='
16780 s&@datadir@&$datadir&g
16781 s&@docdir@&$docdir&g
16782 s&@infodir@&$infodir&g
16783 s&@localedir@&$localedir&g
16784 s&@mandir@&$mandir&g
16785 s&\\\${datarootdir}&$datarootdir&g' ;;
16789 # Neutralize VPATH when `$srcdir' = `.'.
16790 # Shell code in configure.ac might set extrasub.
16791 # FIXME: do we really want to maintain this feature?
16792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16793 ac_sed_extra="$ac_vpsub
16796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16798 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16799 s|@configure_input@|
$ac_sed_conf_input|
;t t
16800 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16801 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16802 s
&@srcdir@
&$ac_srcdir&;t t
16803 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16804 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16805 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16806 s
&@builddir@
&$ac_builddir&;t t
16807 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16808 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16809 s
&@INSTALL@
&$ac_INSTALL&;t t
16810 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16811 $ac_datarootdir_hack
16813 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16814 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16815 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16816 { (exit 1); exit 1; }; }
16818 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16819 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16820 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16821 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16822 which seems to be undefined. Please make sure it is defined." >&5
16823 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16824 which seems to be undefined. Please make sure it is defined." >&2;}
16828 -) cat "$tmp/out" && rm -f "$tmp/out";;
16829 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16831 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16832 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16833 { (exit 1); exit 1; }; }
16839 if test x"$ac_file" != x-; then
16841 $as_echo "/* $configure_input */" \
16842 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16843 } >"$tmp/config.h" \
16844 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16845 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16846 { (exit 1); exit 1; }; }
16847 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16848 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16849 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16852 mv "$tmp/config.h" "$ac_file" \
16853 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16854 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16855 { (exit 1); exit 1; }; }
16858 $as_echo "/* $configure_input */" \
16859 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16860 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16861 $as_echo "$as_me: error: could not create -" >&2;}
16862 { (exit 1); exit 1; }; }
16872 { (exit 0); exit 0; }
16874 chmod +x $CONFIG_STATUS
16875 ac_clean_files=$ac_clean_files_save
16877 test $ac_write_fail = 0 ||
16878 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16879 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16880 { (exit 1); exit 1; }; }
16883 # configure is writing to config.log, and then calls config.status.
16884 # config.status does its own redirection, appending to config.log.
16885 # Unfortunately, on DOS this fails, as config.log is still kept open
16886 # by configure, so config.status won't be able to
write to it
; its
16887 # output is simply discarded. So we exec the FD to /dev/null,
16888 # effectively closing config.log, so it can be properly (re)opened and
16889 # appended to by config.status. When coming back to configure, we
16890 # need to make the FD available again.
16891 if test "$no_create" != yes; then
16893 ac_config_status_args
=
16894 test "$silent" = yes &&
16895 ac_config_status_args
="$ac_config_status_args --quiet"
16897 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16900 # would make configure fail if this is the last instruction.
16901 $ac_cs_success ||
{ (exit 1); exit 1; }
16903 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16904 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16905 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16909 if test x
$ODIRECT != xyes
; then
16910 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16911 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}