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
796 program_transform_name
808 enable_option_checking
825 with_cmirrord_pidfile
850 with_dmeventd_pidfile
854 ac_precious_vars
='build_alias
888 # Initialize some variables set by options.
890 ac_init_version
=false
891 ac_unrecognized_opts
=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
902 program_transform_name
=s
,x
,x
,
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir
='${exec_prefix}/bin'
917 sbindir
='${exec_prefix}/sbin'
918 libexecdir
='${exec_prefix}/libexec'
919 datarootdir
='${prefix}/share'
920 datadir
='${datarootdir}'
921 sysconfdir
='${prefix}/etc'
922 sharedstatedir
='${prefix}/com'
923 localstatedir
='${prefix}/var'
924 includedir
='${prefix}/include'
925 oldincludedir
='/usr/include'
926 docdir
='${datarootdir}/doc/${PACKAGE}'
927 infodir
='${datarootdir}/info'
932 libdir
='${exec_prefix}/lib'
933 localedir
='${datarootdir}/locale'
934 mandir
='${datarootdir}/man'
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\
$ac_option
948 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
960 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
963 -build |
--build |
--buil |
--bui |
--bu)
964 ac_prev
=build_alias
;;
965 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
969 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
970 ac_prev
=cache_file
;;
971 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
972 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir |
--datadir |
--datadi |
--datad)
980 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
984 |
--dataroo |
--dataro |
--datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
987 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* |
--disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
995 { (exit 1); exit 1; }; }
996 ac_useropt_orig
=$ac_useropt
997 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
1000 "enable_
$ac_useropt"
1002 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1003 ac_unrecognized_sep
=', ';;
1005 eval enable_
$ac_useropt=no
;;
1007 -docdir |
--docdir |
--docdi |
--doc |
--do)
1009 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1010 docdir
=$ac_optarg ;;
1012 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1014 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1015 dvidir
=$ac_optarg ;;
1017 -enable-* |
--enable-*)
1018 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1021 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1022 { (exit 1); exit 1; }; }
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_useropt_orig
=$ac_useropt
1229 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep
=', ';;
1237 eval with_
$ac_useropt=\
$ac_optarg ;;
1239 -without-* |
--without-*)
1240 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1243 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1244 { (exit 1); exit 1; }; }
1245 ac_useropt_orig
=$ac_useropt
1246 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1251 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep
=', ';;
1254 eval with_
$ac_useropt=no
;;
1257 # Obsolete; use --with-x.
1260 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1261 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1262 ac_prev
=x_includes
;;
1263 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1264 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1265 x_includes
=$ac_optarg ;;
1267 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1268 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1269 ac_prev
=x_libraries
;;
1270 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1271 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1272 x_libraries
=$ac_optarg ;;
1274 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1275 Try \`$0 --help' for more information." >&2
1276 { (exit 1); exit 1; }; }
1280 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1283 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1284 { (exit 1); exit 1; }; }
1285 eval $ac_envvar=\
$ac_optarg
1286 export $ac_envvar ;;
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 if test -n "$ac_prev"; then
1300 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1301 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1302 { (exit 1); exit 1; }; }
1305 if test -n "$ac_unrecognized_opts"; then
1306 case $enable_option_checking in
1308 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1309 { (exit 1); exit 1; }; } ;;
1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 # Check all directory arguments for consistency.
1315 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316 datadir sysconfdir sharedstatedir localstatedir includedir \
1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318 libdir localedir mandir
1320 eval ac_val
=\$
$ac_var
1321 # Remove trailing slashes.
1324 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325 eval $ac_var=\
$ac_val;;
1327 # Be sure to have absolute directory names.
1329 [\\/$
]* | ?
:[\\/]* ) continue;;
1330 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1332 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1333 { (exit 1); exit 1; }; }
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target
=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x
; then
1345 if test "x$build_alias" = x
; then
1346 cross_compiling
=maybe
1347 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1348 If a cross compiler is detected then cross compile mode will be used." >&2
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1357 test "$silent" = yes && exec 6>/dev
/null
1360 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di
=`ls -di .` &&
1362 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1363 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1364 { (exit 1); exit 1; }; }
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1367 { (exit 1); exit 1; }; }
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted
=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir
=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1402 ac_srcdir_defaulted
=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1406 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1407 { (exit 1); exit 1; }; }
1409 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1412 { (exit 1); exit 1; }; }
1414 # When building in place, set srcdir=.
1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
1418 # Remove unnecessary trailing slashes from srcdir.
1419 # Double slashes in file names in object file debugging info
1420 # mess up M-x gdb in Emacs.
1422 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424 for ac_var
in $ac_precious_vars; do
1425 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1426 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1427 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1428 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1432 # Report the --help message.
1434 if test "$ac_init_help" = "long"; then
1435 # Omit some internal or obsolete options to make the list less imposing.
1436 # This message is too long to be a string in the A/UX 3.1 sh.
1438 \`configure' configures this package to adapt to many kinds of systems.
1440 Usage: $0 [OPTION]... [VAR=VALUE]...
1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1443 VAR=VALUE. See below for descriptions of some of the useful variables.
1445 Defaults for the options are specified in brackets.
1448 -h, --help display this help and exit
1449 --help=short display options specific to this package
1450 --help=recursive display the short help of all the included packages
1451 -V, --version display version information and exit
1452 -q, --quiet, --silent do not print \`checking...' messages
1453 --cache-file=FILE cache test results in FILE [disabled]
1454 -C, --config-cache alias for \`--cache-file=config.cache'
1455 -n, --no-create do not create output files
1456 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1458 Installation directories:
1459 --prefix=PREFIX install architecture-independent files in PREFIX
1460 [$ac_default_prefix]
1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1464 By default, \`make install' will install all the files in
1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1467 for instance \`--prefix=\$HOME'.
1469 For better control, use the options below.
1471 Fine tuning of the installation directories:
1472 --bindir=DIR user executables [EPREFIX/bin]
1473 --sbindir=DIR system admin executables [EPREFIX/sbin]
1474 --libexecdir=DIR program executables [EPREFIX/libexec]
1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1478 --libdir=DIR object code libraries [EPREFIX/lib]
1479 --includedir=DIR C header files [PREFIX/include]
1480 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1483 --infodir=DIR info documentation [DATAROOTDIR/info]
1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1485 --mandir=DIR man documentation [DATAROOTDIR/man]
1486 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1487 --htmldir=DIR html documentation [DOCDIR]
1488 --dvidir=DIR dvi documentation [DOCDIR]
1489 --pdfdir=DIR pdf documentation [DOCDIR]
1490 --psdir=DIR ps documentation [DOCDIR]
1496 --build=BUILD configure
for building on BUILD
[guessed
]
1497 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1498 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1502 if test -n "$ac_init_help"; then
1507 --disable-option-checking ignore unrecognized
--enable/--with options
1508 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1509 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1510 --enable-static_link Use this to link the tools to their libraries
1511 statically. Default is dynamic linking
1512 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1513 device-mapper is missing from the kernel
1514 --disable-readline Disable readline support
1515 --enable-realtime Enable realtime
clock support
1516 --enable-cmirrord Enable the cluster mirror log daemon
1517 --enable-debug Enable debugging
1518 --enable-profiling Gather gcov profiling data
1519 --disable-devmapper Disable LVM2 device-mapper interaction
1520 --enable-udev_sync Enable synchronisation with udev processing
1521 --enable-udev_rules Install rule files needed
for udev synchronisation
1522 --enable-compat Enable support
for old device-mapper versions
1523 --enable-units-compat Enable output compatibility with old versions that
1524 that don
't use KiB-style unit suffixes
1525 --disable-driver Disable calls to device-mapper in the kernel
1526 --disable-o_direct Disable O_DIRECT
1527 --enable-applib Build application library
1528 --enable-cmdlib Build shared command library
1529 --enable-pkgconfig Install pkgconfig support
1530 --disable-fsadm Disable fsadm
1531 --enable-dmeventd Enable the device-mapper event daemon
1532 --disable-selinux Disable selinux support
1533 --enable-nls Enable Native Language Support
1536 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1537 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1538 --with-user=USER Set the owner of installed files [USER=]
1539 --with-group=GROUP Set the group owner of installed files [GROUP=]
1540 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1541 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1542 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1543 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1545 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1547 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1549 --with-snapshots=TYPE Snapshot support: internal/shared/none
1551 --with-mirrors=TYPE Mirror support: internal/shared/none
1553 --with-clvmd=TYPE Build cluster LVM Daemon.
1554 The following cluster manager combinations are valid:
1555 * cman,gulm (RHEL4 or equivalent)
1556 * cman (RHEL5 or equivalent)
1557 * cman,corosync,openais (or selection of them)
1558 * singlenode (localhost only)
1560 * none (disable build)
1562 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1563 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1564 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1565 --with-confdir=DIR Configuration files in DIR [/etc]
1566 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1567 --with-usrlibdir=DIR
1568 --with-usrsbindir=DIR
1569 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1570 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1571 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1572 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1573 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1575 Some influential environment variables:
1576 CC C compiler command
1577 CFLAGS C compiler flags
1578 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1579 nonstandard directory <lib dir>
1580 LIBS libraries to pass to the linker, e.g. -l<library>
1581 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1582 you have headers in a nonstandard directory <include dir>
1584 PKG_CONFIG path to pkg-config utility
1585 PKGCONFIGINIT_CFLAGS
1586 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1588 linker flags for PKGCONFIGINIT, overriding pkg-config
1589 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1590 CCS_LIBS linker flags for CCS, overriding pkg-config
1591 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1592 GULM_LIBS linker flags for GULM, overriding pkg-config
1593 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1594 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1596 C compiler flags for COROSYNC, overriding pkg-config
1598 linker flags for COROSYNC, overriding pkg-config
1600 C compiler flags for QUORUM, overriding pkg-config
1601 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1603 C compiler flags for SALCK, overriding pkg-config
1604 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1606 C compiler flags for CONFDB, overriding pkg-config
1607 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1608 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1609 CPG_LIBS linker flags for CPG, overriding pkg-config
1610 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1611 DLM_LIBS linker flags for DLM, overriding pkg-config
1613 C compiler flags for SACKPT, overriding pkg-config
1614 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1616 Use these variables to override the choices made by `configure' or to
help
1617 it to
find libraries and programs with nonstandard names
/locations.
1623 if test "$ac_init_help" = "recursive"; then
1624 # If there are subdirs, report their specific --help.
1625 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1626 test -d "$ac_dir" ||
1627 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1634 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1635 # A ".." for each directory in $ac_dir_suffix.
1636 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1637 case $ac_top_builddir_sub in
1638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1642 ac_abs_top_builddir
=$ac_pwd
1643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1644 # for backward compatibility:
1645 ac_top_builddir
=$ac_top_build_prefix
1648 .
) # We are building in place.
1650 ac_top_srcdir
=$ac_top_builddir_sub
1651 ac_abs_top_srcdir
=$ac_pwd ;;
1652 [\\/]* | ?
:[\\/]* ) # Absolute name.
1653 ac_srcdir
=$srcdir$ac_dir_suffix;
1654 ac_top_srcdir
=$srcdir
1655 ac_abs_top_srcdir
=$srcdir ;;
1657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1663 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1664 # Check for guested configure.
1665 if test -f "$ac_srcdir/configure.gnu"; then
1667 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1668 elif test -f "$ac_srcdir/configure"; then
1670 $SHELL "$ac_srcdir/configure" --help=recursive
1672 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1674 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1678 test -n "$ac_init_help" && exit $ac_status
1679 if $ac_init_version; then
1682 generated by GNU Autoconf
2.63
1684 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1685 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1686 This configure
script is free software
; the Free Software Foundation
1687 gives unlimited permission to copy
, distribute and modify it.
1691 cat >config.log
<<_ACEOF
1692 This file contains any messages produced by compilers while
1693 running configure, to aid debugging if configure makes a mistake.
1695 It was created by $as_me, which was
1696 generated by GNU Autoconf 2.63. Invocation command line was
1708 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1709 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1710 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1711 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1712 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1714 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1715 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1717 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1718 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1719 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1720 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1721 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1722 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1723 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir
=.
1732 $as_echo "PATH: $as_dir"
1748 # Keep a trace of the command line.
1749 # Strip out --no-create and --no-recursion so they do not pile up.
1750 # Strip out --silent because we don't want to record it for future runs.
1751 # Also quote any args containing shell meta-characters.
1752 # Make two passes to allow for proper duplicate-argument suppression.
1756 ac_must_keep_next
=false
1762 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1764 |
-silent |
--silent |
--silen |
--sile |
--sil)
1767 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1770 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1772 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1773 if test $ac_must_keep_next = true
; then
1774 ac_must_keep_next
=false
# Got value, back to normal.
1777 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1778 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1779 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1780 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1781 case "$ac_configure_args0 " in
1782 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1785 -* ) ac_must_keep_next
=true
;;
1788 ac_configure_args
="$ac_configure_args '$ac_arg'"
1793 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1794 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1796 # When interrupted or exit'd, cleanup temporary files, and complete
1797 # config.log. We remove comments because anyway the quotes in there
1798 # would cause problems or look ugly.
1799 # WARNING: Use '\'' to represent an apostrophe within the trap.
1800 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1801 trap 'exit_status=$?
1802 # Save into config.log some information that might help in debugging.
1807 ## ---------------- ##
1808 ## Cache variables. ##
1809 ## ---------------- ##
1812 # The following way of writing the cache mishandles newlines in values,
1814 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1815 eval ac_val=\$$ac_var
1819 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1823 _ | IFS | as_nl) ;; #(
1824 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1825 *) $as_unset $ac_var ;;
1830 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1831 *${as_nl}ac_space=\ *)
1833 "s/'\''/'\''\\\\'\'''\''/g;
1834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1845 ## ----------------- ##
1846 ## Output variables. ##
1847 ## ----------------- ##
1850 for ac_var in $ac_subst_vars
1852 eval ac_val=\$$ac_var
1854 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1856 $as_echo "$ac_var='\''$ac_val'\''"
1860 if test -n "$ac_subst_files"; then
1862 ## ------------------- ##
1863 ## File substitutions. ##
1864 ## ------------------- ##
1867 for ac_var
in $ac_subst_files
1869 eval ac_val
=\$
$ac_var
1871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 $as_echo "$ac_var='\''$ac_val'\''"
1878 if test -s confdefs.h; then
1888 test "$ac_signal" != 0 &&
1889 $as_echo "$as_me: caught signal $ac_signal"
1890 $as_echo "$as_me: exit $exit_status"
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1896 for ac_signal
in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 rm -f -r conftest
* confdefs.h
1904 # Predefined preprocessor variables.
1906 cat >>confdefs.h
<<_ACEOF
1907 #define PACKAGE_NAME "$PACKAGE_NAME"
1911 cat >>confdefs.h
<<_ACEOF
1912 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1916 cat >>confdefs.h
<<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1921 cat >>confdefs.h
<<_ACEOF
1922 #define PACKAGE_STRING "$PACKAGE_STRING"
1926 cat >>confdefs.h
<<_ACEOF
1927 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1931 # Let the site file select an alternate cache file if it wants to.
1932 # Prefer an explicitly selected file to automatically selected ones.
1935 if test -n "$CONFIG_SITE"; then
1936 ac_site_file1
=$CONFIG_SITE
1937 elif test "x$prefix" != xNONE
; then
1938 ac_site_file1
=$prefix/share
/config.site
1939 ac_site_file2
=$prefix/etc
/config.site
1941 ac_site_file1
=$ac_default_prefix/share
/config.site
1942 ac_site_file2
=$ac_default_prefix/etc
/config.site
1944 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1946 test "x$ac_site_file" = xNONE
&& continue
1947 if test -r "$ac_site_file"; then
1948 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1949 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1950 sed 's/^/| /' "$ac_site_file" >&5
1955 if test -r "$cache_file"; then
1956 # Some versions of bash will fail to source /dev/null (special
1957 # files actually), so we avoid doing that.
1958 if test -f "$cache_file"; then
1959 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1960 $as_echo "$as_me: loading cache $cache_file" >&6;}
1962 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1963 *) .
"./$cache_file";;
1967 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1968 $as_echo "$as_me: creating cache $cache_file" >&6;}
1972 # Check that the precious variables saved in the cache have kept the same
1974 ac_cache_corrupted
=false
1975 for ac_var
in $ac_precious_vars; do
1976 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1977 eval ac_new_set
=\
$ac_env_${ac_var}_set
1978 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1979 eval ac_new_val
=\
$ac_env_${ac_var}_value
1980 case $ac_old_set,$ac_new_set in
1982 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1984 ac_cache_corrupted
=: ;;
1986 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1987 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1988 ac_cache_corrupted
=: ;;
1991 if test "x$ac_old_val" != "x$ac_new_val"; then
1992 # differences in whitespace do not lead to failure.
1993 ac_old_val_w
=`echo x $ac_old_val`
1994 ac_new_val_w
=`echo x $ac_new_val`
1995 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1996 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1997 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1998 ac_cache_corrupted
=:
2000 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2001 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2002 eval $ac_var=\
$ac_old_val
2004 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2005 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2006 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2007 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2013 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 *) ac_arg
=$ac_var=$ac_new_val ;;
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2022 if $ac_cache_corrupted; then
2023 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2026 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2027 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2028 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2029 { (exit 1); exit 1; }; }
2049 ac_cpp
='$CPP $CPPFLAGS'
2050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2056 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2059 ################################################################################
2061 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2062 if test -f "$ac_dir/install-sh"; then
2064 ac_install_sh
="$ac_aux_dir/install-sh -c"
2066 elif test -f "$ac_dir/install.sh"; then
2068 ac_install_sh
="$ac_aux_dir/install.sh -c"
2070 elif test -f "$ac_dir/shtool"; then
2072 ac_install_sh
="$ac_aux_dir/shtool install -c"
2076 if test -z "$ac_aux_dir"; then
2077 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2078 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2079 { (exit 1); exit 1; }; }
2082 # These three variables are undocumented and unsupported,
2083 # and are intended to be withdrawn in a future Autoconf release.
2084 # They can cause serious problems if a builder's source tree is in a directory
2085 # whose full name contains unusual characters.
2086 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2087 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2088 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2092 ################################################################################
2093 # Make sure we can run config.sub.
2094 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2095 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2096 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2097 { (exit 1); exit 1; }; }
2099 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2100 $as_echo_n "checking build system type... " >&6; }
2101 if test "${ac_cv_build+set}" = set; then
2102 $as_echo_n "(cached) " >&6
2104 ac_build_alias
=$build_alias
2105 test "x$ac_build_alias" = x
&&
2106 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2107 test "x$ac_build_alias" = x
&&
2108 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2109 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2110 { (exit 1); exit 1; }; }
2111 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2112 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2113 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2114 { (exit 1); exit 1; }; }
2117 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2118 $as_echo "$ac_cv_build" >&6; }
2119 case $ac_cv_build in
2121 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2122 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2123 { (exit 1); exit 1; }; };;
2126 ac_save_IFS
=$IFS; IFS
='-'
2132 # Remember, the first character of IFS is used to create $*,
2133 # except with old shells:
2136 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2139 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2140 $as_echo_n "checking host system type... " >&6; }
2141 if test "${ac_cv_host+set}" = set; then
2142 $as_echo_n "(cached) " >&6
2144 if test "x$host_alias" = x
; then
2145 ac_cv_host
=$ac_cv_build
2147 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2148 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2149 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2150 { (exit 1); exit 1; }; }
2154 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2155 $as_echo "$ac_cv_host" >&6; }
2158 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2159 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2160 { (exit 1); exit 1; }; };;
2163 ac_save_IFS
=$IFS; IFS
='-'
2169 # Remember, the first character of IFS is used to create $*,
2170 # except with old shells:
2173 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2176 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2177 $as_echo_n "checking target system type... " >&6; }
2178 if test "${ac_cv_target+set}" = set; then
2179 $as_echo_n "(cached) " >&6
2181 if test "x$target_alias" = x
; then
2182 ac_cv_target
=$ac_cv_host
2184 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2185 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2186 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2187 { (exit 1); exit 1; }; }
2191 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2192 $as_echo "$ac_cv_target" >&6; }
2193 case $ac_cv_target in
2195 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2196 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2197 { (exit 1); exit 1; }; };;
2199 target
=$ac_cv_target
2200 ac_save_IFS
=$IFS; IFS
='-'
2206 # Remember, the first character of IFS is used to create $*,
2207 # except with old shells:
2210 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2213 # The aliases save the names the user supplied, while $host etc.
2214 # will get canonicalized.
2215 test -n "$target_alias" &&
2216 test "$program_prefix$program_suffix$program_transform_name" = \
2218 program_prefix
=${target_alias}-
2223 COPTIMISE_FLAG
="-O2"
2224 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2225 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2226 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2227 LDDEPS
="$LDDEPS .export.sym"
2228 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2238 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2239 COPTIMISE_FLAG
="-O2"
2240 CLDFLAGS
="$CLDFLAGS"
2241 CLDWHOLEARCHIVE
="-all_load"
2253 ################################################################################
2254 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2255 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2256 if test "${ac_cv_path_SED+set}" = set; then
2257 $as_echo_n "(cached) " >&6
2259 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2260 for ac_i
in 1 2 3 4 5 6 7; do
2261 ac_script
="$ac_script$as_nl$ac_script"
2263 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2264 $as_unset ac_script || ac_script
=
2265 if test -z "$SED"; then
2266 ac_path_SED_found
=false
2267 # Loop through the user's path and test for each of PROGNAME-LIST
2268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir
=.
2273 for ac_prog
in sed gsed
; do
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2276 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2277 # Check for GNU ac_path_SED and select it if it is found.
2278 # Check for GNU $ac_path_SED
2279 case `"$ac_path_SED" --version 2>&1` in
2281 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2284 $as_echo_n 0123456789 >"conftest.in"
2287 cat "conftest.in" "conftest.in" >"conftest.tmp"
2288 mv "conftest.tmp" "conftest.in"
2289 cp "conftest.in" "conftest.nl"
2290 $as_echo '' >> "conftest.nl"
2291 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2292 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2293 ac_count
=`expr $ac_count + 1`
2294 if test $ac_count -gt ${ac_path_SED_max-0}; then
2295 # Best one so far, save it but keep looking for a better one
2296 ac_cv_path_SED
="$ac_path_SED"
2297 ac_path_SED_max
=$ac_count
2299 # 10*(2^10) chars as input seems more than enough
2300 test $ac_count -gt 10 && break
2302 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2305 $ac_path_SED_found && break 3
2310 if test -z "$ac_cv_path_SED"; then
2311 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2312 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2313 { (exit 1); exit 1; }; }
2320 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2321 $as_echo "$ac_cv_path_SED" >&6; }
2322 SED
="$ac_cv_path_SED"
2325 for ac_prog
in gawk mawk nawk
awk
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
2328 set dummy
$ac_prog; ac_word
=$2
2329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 $as_echo_n "checking for $ac_word... " >&6; }
2331 if test "${ac_cv_prog_AWK+set}" = set; then
2332 $as_echo_n "(cached) " >&6
2334 if test -n "$AWK"; then
2335 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_AWK
="$ac_prog"
2345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 if test -n "$AWK"; then
2356 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2357 $as_echo "$AWK" >&6; }
2359 { $as_echo "$as_me:$LINENO: result: no" >&5
2360 $as_echo "no" >&6; }
2364 test -n "$AWK" && break
2368 ac_cpp
='$CPP $CPPFLAGS'
2369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2372 if test -n "$ac_tool_prefix"; then
2373 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2374 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 $as_echo_n "checking for $ac_word... " >&6; }
2377 if test "${ac_cv_prog_CC+set}" = set; then
2378 $as_echo_n "(cached) " >&6
2380 if test -n "$CC"; then
2381 ac_cv_prog_CC
="$CC" # Let the user override the test.
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 for ac_exec_ext
in '' $ac_executable_extensions; do
2389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2390 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2391 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 if test -n "$CC"; then
2402 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2403 $as_echo "$CC" >&6; }
2405 { $as_echo "$as_me:$LINENO: result: no" >&5
2406 $as_echo "no" >&6; }
2411 if test -z "$ac_cv_prog_CC"; then
2413 # Extract the first word of "gcc", so it can be a program name with args.
2414 set dummy gcc
; ac_word
=$2
2415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2416 $as_echo_n "checking for $ac_word... " >&6; }
2417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2418 $as_echo_n "(cached) " >&6
2420 if test -n "$ac_ct_CC"; then
2421 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir
=.
2428 for ac_exec_ext
in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 ac_cv_prog_ac_ct_CC
="gcc"
2431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2441 if test -n "$ac_ct_CC"; then
2442 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2443 $as_echo "$ac_ct_CC" >&6; }
2445 { $as_echo "$as_me:$LINENO: result: no" >&5
2446 $as_echo "no" >&6; }
2449 if test "x$ac_ct_CC" = x
; then
2452 case $cross_compiling:$ac_tool_warned in
2454 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2456 ac_tool_warned
=yes ;;
2464 if test -z "$CC"; then
2465 if test -n "$ac_tool_prefix"; then
2466 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2467 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 $as_echo_n "checking for $ac_word... " >&6; }
2470 if test "${ac_cv_prog_CC+set}" = set; then
2471 $as_echo_n "(cached) " >&6
2473 if test -n "$CC"; then
2474 ac_cv_prog_CC
="$CC" # Let the user override the test.
2476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir
=.
2481 for ac_exec_ext
in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2484 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 if test -n "$CC"; then
2495 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2496 $as_echo "$CC" >&6; }
2498 { $as_echo "$as_me:$LINENO: result: no" >&5
2499 $as_echo "no" >&6; }
2505 if test -z "$CC"; then
2506 # Extract the first word of "cc", so it can be a program name with args.
2507 set dummy cc
; ac_word
=$2
2508 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 $as_echo_n "checking for $ac_word... " >&6; }
2510 if test "${ac_cv_prog_CC+set}" = set; then
2511 $as_echo_n "(cached) " >&6
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC
="$CC" # Let the user override the test.
2517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir
=.
2522 for ac_exec_ext
in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2525 ac_prog_rejected
=yes
2529 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 if test $ac_prog_rejected = yes; then
2537 # We found a bogon in the path, so make sure we never use it.
2538 set dummy
$ac_cv_prog_CC
2540 if test $# != 0; then
2541 # We chose a different compiler from the bogus one.
2542 # However, it has the same basename, so the bogon will be chosen
2543 # first if we set CC to just the basename; use the full file name.
2545 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2551 if test -n "$CC"; then
2552 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2555 { $as_echo "$as_me:$LINENO: result: no" >&5
2556 $as_echo "no" >&6; }
2561 if test -z "$CC"; then
2562 if test -n "$ac_tool_prefix"; then
2563 for ac_prog
in cl.exe
2565 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2566 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2567 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if test "${ac_cv_prog_CC+set}" = set; then
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$CC"; then
2573 ac_cv_prog_CC
="$CC" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test -n "$CC"; then
2594 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2595 $as_echo "$CC" >&6; }
2597 { $as_echo "$as_me:$LINENO: result: no" >&5
2598 $as_echo "no" >&6; }
2602 test -n "$CC" && break
2605 if test -z "$CC"; then
2607 for ac_prog
in cl.exe
2609 # Extract the first word of "$ac_prog", so it can be a program name with args.
2610 set dummy
$ac_prog; ac_word
=$2
2611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 $as_echo_n "checking for $ac_word... " >&6; }
2613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2614 $as_echo_n "(cached) " >&6
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626 ac_cv_prog_ac_ct_CC
="$ac_prog"
2627 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2637 if test -n "$ac_ct_CC"; then
2638 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2639 $as_echo "$ac_ct_CC" >&6; }
2641 { $as_echo "$as_me:$LINENO: result: no" >&5
2642 $as_echo "no" >&6; }
2646 test -n "$ac_ct_CC" && break
2649 if test "x$ac_ct_CC" = x
; then
2652 case $cross_compiling:$ac_tool_warned in
2654 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2656 ac_tool_warned
=yes ;;
2665 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2667 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2668 See \`config.log' for more details." >&5
2669 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2670 See \`config.log' for more details." >&2;}
2671 { (exit 1); exit 1; }; }; }
2673 # Provide some information about the compiler.
2674 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2677 { (ac_try
="$ac_compiler --version >&5"
2679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2683 $as_echo "$ac_try_echo") >&5
2684 (eval "$ac_compiler --version >&5") 2>&5
2686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }
2688 { (ac_try="$ac_compiler -v >&5"
2690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2691 *) ac_try_echo
=$ac_try;;
2693 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2694 $as_echo "$ac_try_echo") >&5
2695 (eval "$ac_compiler -v >&5") 2>&5
2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }
2699 { (ac_try
="$ac_compiler -V >&5"
2701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2705 $as_echo "$ac_try_echo") >&5
2706 (eval "$ac_compiler -V >&5") 2>&5
2708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }
2711 cat >conftest.$ac_ext <<_ACEOF
2714 cat confdefs.h >>conftest.$ac_ext
2715 cat >>conftest.$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2726 ac_clean_files_save=$ac_clean_files
2727 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2728 # Try to create an executable without -o first, disregard a.out.
2729 # It will help us diagnose broken compilers, and finding out an intuition
2731 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2732 $as_echo_n "checking for C compiler default output file name... " >&6; }
2733 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2735 # The possible output files:
2736 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2739 for ac_file in $ac_files
2742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2743 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2748 if { (ac_try="$ac_link_default"
2750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2751 *) ac_try_echo
=$ac_try;;
2753 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2754 $as_echo "$ac_try_echo") >&5
2755 (eval "$ac_link_default") 2>&5
2757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; then
2759 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2760 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2761 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2762 # so that the user can short-circuit this test for compilers unknown to
2764 for ac_file
in $ac_files ''
2766 test -f "$ac_file" ||
continue
2768 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2771 # We found the default executable, but exeext='' is most
2775 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2777 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2779 # We set ac_cv_exeext here because the later test for it is not
2780 # safe: cross compilers may not add the suffix if given an `-o'
2781 # argument, so we may need to know it at that point already.
2782 # Even if this section looks crufty: it has the advantage of
2789 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2795 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2796 $as_echo "$ac_file" >&6; }
2797 if test -z "$ac_file"; then
2798 $as_echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.
$ac_ext >&5
2801 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2803 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2804 See \`config.log' for more details." >&5
2805 $as_echo "$as_me: error: C compiler cannot create executables
2806 See \`config.log' for more details." >&2;}
2807 { (exit 77); exit 77; }; }; }
2810 ac_exeext
=$ac_cv_exeext
2812 # Check that the compiler produces executables we can run. If not, either
2813 # the compiler is broken, or we cross compile.
2814 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2815 $as_echo_n "checking whether the C compiler works... " >&6; }
2816 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2817 # If not cross compiling, check that we can run a simple program.
2818 if test "$cross_compiling" != yes; then
2819 if { ac_try
='./$ac_file'
2820 { (case "(($ac_try" in
2821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2825 $as_echo "$ac_try_echo") >&5
2826 (eval "$ac_try") 2>&5
2828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; }; then
2832 if test "$cross_compiling" = maybe; then
2835 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2837 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2838 If you meant to cross compile
, use \
`--host'.
2839 See \`config.log
' for more details." >&5
2840 $as_echo "$as_me: error: cannot run C compiled programs.
2841 If you meant to cross compile, use \`--host'.
2842 See \
`config.log' for more details." >&2;}
2843 { (exit 1); exit 1; }; }; }
2847 { $as_echo "$as_me:$LINENO: result: yes" >&5
2848 $as_echo "yes" >&6; }
2850 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2851 ac_clean_files=$ac_clean_files_save
2852 # Check that the compiler produces executables we can run. If not, either
2853 # the compiler is broken, or we cross compile.
2854 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2855 $as_echo_n "checking whether we are cross compiling... " >&6; }
2856 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2857 $as_echo "$cross_compiling" >&6; }
2859 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2860 $as_echo_n "checking for suffix of executables... " >&6; }
2861 if { (ac_try="$ac_link"
2863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2864 *) ac_try_echo
=$ac_try;;
2866 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2867 $as_echo "$ac_try_echo") >&5
2868 (eval "$ac_link") 2>&5
2870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; then
2872 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2873 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2874 # work properly (i.e., refer to `conftest.exe'), while it won't with
2876 for ac_file
in conftest.exe conftest conftest.
*; do
2877 test -f "$ac_file" ||
continue
2879 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2880 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2886 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2888 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2889 See \`config.log' for more details." >&5
2890 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2891 See \`config.log' for more details." >&2;}
2892 { (exit 1); exit 1; }; }; }
2895 rm -f conftest
$ac_cv_exeext
2896 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2897 $as_echo "$ac_cv_exeext" >&6; }
2899 rm -f conftest.
$ac_ext
2900 EXEEXT
=$ac_cv_exeext
2902 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2903 $as_echo_n "checking for suffix of object files... " >&6; }
2904 if test "${ac_cv_objext+set}" = set; then
2905 $as_echo_n "(cached) " >&6
2907 cat >conftest.
$ac_ext <<_ACEOF
2910 cat confdefs.h
>>conftest.
$ac_ext
2911 cat >>conftest.
$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2922 rm -f conftest.o conftest.obj
2923 if { (ac_try
="$ac_compile"
2925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2929 $as_echo "$ac_try_echo") >&5
2930 (eval "$ac_compile") 2>&5
2932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; then
2934 for ac_file in conftest.o conftest.obj conftest.*; do
2935 test -f "$ac_file" || continue;
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2943 $as_echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2948 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2949 See \
`config.log' for more details." >&5
2950 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2951 See \`config.log
' for more details." >&2;}
2952 { (exit 1); exit 1; }; }; }
2955 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2957 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2958 $as_echo "$ac_cv_objext" >&6; }
2959 OBJEXT=$ac_cv_objext
2961 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2962 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2964 $as_echo_n "(cached) " >&6
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2984 rm -f conftest.$ac_objext
2985 if { (ac_try="$ac_compile"
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2991 $as_echo "$ac_try_echo") >&5
2992 (eval "$ac_compile") 2>conftest.er1
2994 grep -v '^
*+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } && {
2999 test -z "$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3001 } && test -s conftest.$ac_objext; then
3004 $as_echo "$as_me: failed program was:" >&5
3005 sed 's
/^
/|
/' conftest.$ac_ext >&5
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3014 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3016 if test $ac_compiler_gnu = yes; then
3021 ac_test_CFLAGS=${CFLAGS+set}
3022 ac_save_CFLAGS=$CFLAGS
3023 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3024 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3025 if test "${ac_cv_prog_cc_g+set}" = set; then
3026 $as_echo_n "(cached) " >&6
3028 ac_save_c_werror_flag=$ac_c_werror_flag
3029 ac_c_werror_flag=yes
3032 cat >conftest.$ac_ext <<_ACEOF
3035 cat confdefs.h >>conftest.$ac_ext
3036 cat >>conftest.$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3047 rm -f conftest.$ac_objext
3048 if { (ac_try="$ac_compile"
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054 $as_echo "$ac_try_echo") >&5
3055 (eval "$ac_compile") 2>conftest.er1
3057 grep -v '^
*+' conftest.er1 >conftest.err
3059 cat conftest.err >&5
3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } && {
3062 test -z "$ac_c_werror_flag" ||
3063 test ! -s conftest.err
3064 } && test -s conftest.$ac_objext; then
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's
/^
/|
/' conftest.$ac_ext >&5
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 rm -f conftest.$ac_objext
3087 if { (ac_try="$ac_compile"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3093 $as_echo "$ac_try_echo") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^
*+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's
/^
/|
/' conftest.$ac_ext >&5
3109 ac_c_werror_flag=$ac_save_c_werror_flag
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3133 $as_echo "$ac_try_echo") >&5
3134 (eval "$ac_compile") 2>conftest.er1
3136 grep -v '^
*+' conftest.er1 >conftest.err
3138 cat conftest.err >&5
3139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } && {
3141 test -z "$ac_c_werror_flag" ||
3142 test ! -s conftest.err
3143 } && test -s conftest.$ac_objext; then
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's
/^
/|
/' conftest.$ac_ext >&5
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 ac_c_werror_flag=$ac_save_c_werror_flag
3161 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3162 $as_echo "$ac_cv_prog_cc_g" >&6; }
3163 if test "$ac_test_CFLAGS" = set; then
3164 CFLAGS=$ac_save_CFLAGS
3165 elif test $ac_cv_prog_cc_g = yes; then
3166 if test "$GCC" = yes; then
3172 if test "$GCC" = yes; then
3178 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3179 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3180 if test "${ac_cv_prog_cc_c89+set}" = set; then
3181 $as_echo_n "(cached) " >&6
3183 ac_cv_prog_cc_c89=no
3185 cat >conftest.$ac_ext <<_ACEOF
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3193 #include <sys/types.h>
3194 #include <sys/stat.h>
3195 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3196 struct buf
{ int x
; };
3197 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3198 static char
*e
(p
, i
)
3204 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3209 s
= g
(p
, va_arg
(v
,int
));
3214 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3215 function prototypes and stuff
, but not
'\xHH' hex character constants.
3216 These don
't provoke an error unfortunately, instead are silently treated
3217 as 'x
'. The following induces an error, until -std is added to get
3218 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3219 array size at least. It's necessary to
write '\x00'==0 to get something
3220 that
's true only with -std. */
3221 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3223 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3224 inside strings and character constants. */
3226 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3228 int test (int i, double x);
3229 struct s1 {int (*f) (int a);};
3230 struct s2 {int (*f) (double a);};
3231 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3237 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3242 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3243 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3245 CC="$ac_save_CC $ac_arg"
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3253 $as_echo "$ac_try_echo") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3256 grep -v '^
*+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_c_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3264 ac_cv_prog_cc_c89=$ac_arg
3266 $as_echo "$as_me: failed program was:" >&5
3267 sed 's
/^
/|
/' conftest.$ac_ext >&5
3272 rm -f core conftest.err conftest.$ac_objext
3273 test "x$ac_cv_prog_cc_c89" != "xno" && break
3275 rm -f conftest.$ac_ext
3280 case "x$ac_cv_prog_cc_c89" in
3282 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3283 $as_echo "none needed" >&6; } ;;
3285 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3286 $as_echo "unsupported" >&6; } ;;
3288 CC="$CC $ac_cv_prog_cc_c89"
3289 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3290 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3295 ac_cpp='$CPP $CPPFLAGS'
3296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3303 ac_cpp='$CPP $CPPFLAGS'
3304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3307 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3308 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3309 # On Suns, sometimes $CPP names a directory.
3310 if test -n "$CPP" && test -d "$CPP"; then
3313 if test -z "$CPP"; then
3314 if test "${ac_cv_prog_CPP+set}" = set; then
3315 $as_echo_n "(cached) " >&6
3317 # Double quotes because CPP needs to be expanded
3318 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3321 for ac_c_preproc_warn_flag in '' yes
3323 # Use a header file that comes with gcc, so configuring glibc
3324 # with a fresh cross-compiler works.
3325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3326 # <limits.h> exists even on freestanding compilers.
3327 # On the NeXT, cc -E runs the code through the compiler's parser
,
3328 # not just through cpp. "Syntax error" is here to catch this case.
3329 cat >conftest.
$ac_ext <<_ACEOF
3332 cat confdefs.h
>>conftest.
$ac_ext
3333 cat >>conftest.
$ac_ext <<_ACEOF
3334 /* end confdefs.h. */
3336 # include <limits.h>
3338 # include <assert.h>
3342 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3348 $as_echo "$ac_try_echo") >&5
3349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3351 grep -v '^ *+' conftest.er1 >conftest.err
3353 cat conftest.err >&5
3354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } >/dev/null && {
3356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3357 test ! -s conftest.err
3361 $as_echo "$as_me: failed program was:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3364 # Broken: fails on valid input.
3368 rm -f conftest.err conftest.$ac_ext
3370 # OK, works on sane cases. Now check whether nonexistent headers
3371 # can be detected and how.
3372 cat >conftest.$ac_ext <<_ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3378 #include <ac_nonexistent.h>
3380 if { (ac_try="$ac_cpp conftest.$ac_ext"
3382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3383 *) ac_try_echo
=$ac_try;;
3385 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3386 $as_echo "$ac_try_echo") >&5
3387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1
>conftest.err
3391 cat conftest.err
>&5
3392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } >/dev
/null
&& {
3394 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3395 test ! -s conftest.err
3397 # Broken: success on invalid input.
3400 $as_echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.
$ac_ext >&5
3403 # Passes both tests.
3408 rm -f conftest.err conftest.
$ac_ext
3411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3412 rm -f conftest.err conftest.
$ac_ext
3413 if $ac_preproc_ok; then
3425 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3426 $as_echo "$CPP" >&6; }
3428 for ac_c_preproc_warn_flag
in '' yes
3430 # Use a header file that comes with gcc, so configuring glibc
3431 # with a fresh cross-compiler works.
3432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3433 # <limits.h> exists even on freestanding compilers.
3434 # On the NeXT, cc -E runs the code through the compiler's parser,
3435 # not just through cpp. "Syntax error" is here to catch this case.
3436 cat >conftest.
$ac_ext <<_ACEOF
3439 cat confdefs.h
>>conftest.
$ac_ext
3440 cat >>conftest.
$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3443 # include <limits.h>
3445 # include <assert.h>
3449 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3455 $as_echo "$ac_try_echo") >&5
3456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3458 grep -v '^ *+' conftest.er1 >conftest.err
3460 cat conftest.err >&5
3461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } >/dev/null && {
3463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3464 test ! -s conftest.err
3468 $as_echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 # Broken: fails on valid input.
3475 rm -f conftest.err conftest.$ac_ext
3477 # OK, works on sane cases. Now check whether nonexistent headers
3478 # can be detected and how.
3479 cat >conftest.$ac_ext <<_ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3485 #include <ac_nonexistent.h>
3487 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3490 *) ac_try_echo
=$ac_try;;
3492 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3493 $as_echo "$ac_try_echo") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1
>conftest.err
3498 cat conftest.err
>&5
3499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev
/null
&& {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3504 # Broken: success on invalid input.
3507 $as_echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3510 # Passes both tests.
3515 rm -f conftest.err conftest.
$ac_ext
3518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3519 rm -f conftest.err conftest.
$ac_ext
3520 if $ac_preproc_ok; then
3523 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3526 See \`config.log' for more details." >&5
3527 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3528 See \`config.log' for more details." >&2;}
3529 { (exit 1); exit 1; }; }; }
3533 ac_cpp
='$CPP $CPPFLAGS'
3534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3539 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3541 if test "${ac_cv_path_GREP+set}" = set; then
3542 $as_echo_n "(cached) " >&6
3544 if test -z "$GREP"; then
3545 ac_path_GREP_found
=false
3546 # Loop through the user's path and test for each of PROGNAME-LIST
3547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3551 test -z "$as_dir" && as_dir
=.
3552 for ac_prog
in grep ggrep
; do
3553 for ac_exec_ext
in '' $ac_executable_extensions; do
3554 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3555 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3556 # Check for GNU ac_path_GREP and select it if it is found.
3557 # Check for GNU $ac_path_GREP
3558 case `"$ac_path_GREP" --version 2>&1` in
3560 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3563 $as_echo_n 0123456789 >"conftest.in"
3566 cat "conftest.in" "conftest.in" >"conftest.tmp"
3567 mv "conftest.tmp" "conftest.in"
3568 cp "conftest.in" "conftest.nl"
3569 $as_echo 'GREP' >> "conftest.nl"
3570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3571 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3572 ac_count
=`expr $ac_count + 1`
3573 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3574 # Best one so far, save it but keep looking for a better one
3575 ac_cv_path_GREP
="$ac_path_GREP"
3576 ac_path_GREP_max
=$ac_count
3578 # 10*(2^10) chars as input seems more than enough
3579 test $ac_count -gt 10 && break
3581 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3584 $ac_path_GREP_found && break 3
3589 if test -z "$ac_cv_path_GREP"; then
3590 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3591 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3592 { (exit 1); exit 1; }; }
3595 ac_cv_path_GREP
=$GREP
3599 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3600 $as_echo "$ac_cv_path_GREP" >&6; }
3601 GREP
="$ac_cv_path_GREP"
3604 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3605 $as_echo_n "checking for egrep... " >&6; }
3606 if test "${ac_cv_path_EGREP+set}" = set; then
3607 $as_echo_n "(cached) " >&6
3609 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3610 then ac_cv_path_EGREP
="$GREP -E"
3612 if test -z "$EGREP"; then
3613 ac_path_EGREP_found
=false
3614 # Loop through the user's path and test for each of PROGNAME-LIST
3615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3619 test -z "$as_dir" && as_dir
=.
3620 for ac_prog
in egrep; do
3621 for ac_exec_ext
in '' $ac_executable_extensions; do
3622 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3623 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3624 # Check for GNU ac_path_EGREP and select it if it is found.
3625 # Check for GNU $ac_path_EGREP
3626 case `"$ac_path_EGREP" --version 2>&1` in
3628 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3631 $as_echo_n 0123456789 >"conftest.in"
3634 cat "conftest.in" "conftest.in" >"conftest.tmp"
3635 mv "conftest.tmp" "conftest.in"
3636 cp "conftest.in" "conftest.nl"
3637 $as_echo 'EGREP' >> "conftest.nl"
3638 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3639 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3640 ac_count
=`expr $ac_count + 1`
3641 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3642 # Best one so far, save it but keep looking for a better one
3643 ac_cv_path_EGREP
="$ac_path_EGREP"
3644 ac_path_EGREP_max
=$ac_count
3646 # 10*(2^10) chars as input seems more than enough
3647 test $ac_count -gt 10 && break
3649 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3652 $ac_path_EGREP_found && break 3
3657 if test -z "$ac_cv_path_EGREP"; then
3658 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3659 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3660 { (exit 1); exit 1; }; }
3663 ac_cv_path_EGREP
=$EGREP
3668 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3669 $as_echo "$ac_cv_path_EGREP" >&6; }
3670 EGREP
="$ac_cv_path_EGREP"
3673 if test $ac_cv_c_compiler_gnu = yes; then
3674 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3675 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3676 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3677 $as_echo_n "(cached) " >&6
3679 ac_pattern
="Autoconf.*'x'"
3680 cat >conftest.
$ac_ext <<_ACEOF
3683 cat confdefs.h
>>conftest.
$ac_ext
3684 cat >>conftest.
$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3690 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3691 ac_cv_prog_gcc_traditional
=yes
3693 ac_cv_prog_gcc_traditional
=no
3698 if test $ac_cv_prog_gcc_traditional = no
; then
3699 cat >conftest.
$ac_ext <<_ACEOF
3702 cat confdefs.h
>>conftest.
$ac_ext
3703 cat >>conftest.
$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3709 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3710 ac_cv_prog_gcc_traditional
=yes
3716 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3717 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3718 if test $ac_cv_prog_gcc_traditional = yes; then
3719 CC
="$CC -traditional"
3723 # Find a good install program. We prefer a C program (faster),
3724 # so one script is as good as another. But avoid the broken or
3725 # incompatible versions:
3726 # SysV /etc/install, /usr/sbin/install
3727 # SunOS /usr/etc/install
3728 # IRIX /sbin/install
3730 # AmigaOS /C/install, which installs bootblocks on floppy discs
3731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3734 # OS/2's system install, which has a completely different semantic
3735 # ./install, which can be erroneously created by make from ./install.sh.
3736 # Reject install programs that cannot install multiple files.
3737 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3738 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3739 if test -z "$INSTALL"; then
3740 if test "${ac_cv_path_install+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir
=.
3748 # Account for people who put trailing slashes in PATH elements.
3750 .
/ | .
// |
/cC
/* | \
3751 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3752 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3755 # OSF1 and SCO ODT 3.0 have their own names for install.
3756 # Don't use installbsd from OSF since it installs stuff as root
3758 for ac_prog
in ginstall scoinst
install; do
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3761 if test $ac_prog = install &&
3762 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3763 # AIX install. It has an incompatible calling convention.
3765 elif test $ac_prog = install &&
3766 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3767 # program-specific install script used by HP pwplus--don't use.
3770 rm -rf conftest.one conftest.two conftest.dir
3771 echo one
> conftest.one
3772 echo two
> conftest.two
3774 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3775 test -s conftest.one
&& test -s conftest.two
&&
3776 test -s conftest.dir
/conftest.one
&&
3777 test -s conftest.dir
/conftest.two
3779 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3792 rm -rf conftest.one conftest.two conftest.dir
3795 if test "${ac_cv_path_install+set}" = set; then
3796 INSTALL
=$ac_cv_path_install
3798 # As a last resort, use the slow shell script. Don't cache a
3799 # value for INSTALL within a source directory, because that will
3800 # break other packages using the cache if that directory is
3801 # removed, or if the value is a relative name.
3802 INSTALL
=$ac_install_sh
3805 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3806 $as_echo "$INSTALL" >&6; }
3808 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3809 # It thinks the first close brace ends the variable substitution.
3810 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3812 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3814 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3816 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3817 $as_echo_n "checking whether ln -s works... " >&6; }
3819 if test "$LN_S" = "ln -s"; then
3820 { $as_echo "$as_me:$LINENO: result: yes" >&5
3821 $as_echo "yes" >&6; }
3823 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3824 $as_echo "no, using $LN_S" >&6; }
3827 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3828 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3830 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3831 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3832 $as_echo_n "(cached) " >&6
3834 cat >conftest.
make <<\_ACEOF
3837 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3839 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3840 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3842 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3844 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3848 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3849 { $as_echo "$as_me:$LINENO: result: yes" >&5
3850 $as_echo "yes" >&6; }
3853 { $as_echo "$as_me:$LINENO: result: no" >&5
3854 $as_echo "no" >&6; }
3855 SET_MAKE
="MAKE=${MAKE-make}"
3858 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3859 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3860 if test -z "$MKDIR_P"; then
3861 if test "${ac_cv_path_mkdir+set}" = set; then
3862 $as_echo_n "(cached) " >&6
3864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3868 test -z "$as_dir" && as_dir
=.
3869 for ac_prog
in mkdir gmkdir
; do
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3872 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3873 'mkdir (GNU coreutils) '* | \
3874 'mkdir (coreutils) '* | \
3875 'mkdir (fileutils) '4.1*)
3876 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3886 if test "${ac_cv_path_mkdir+set}" = set; then
3887 MKDIR_P
="$ac_cv_path_mkdir -p"
3889 # As a last resort, use the slow shell script. Don't cache a
3890 # value for MKDIR_P within a source directory, because that will
3891 # break other packages using the cache if that directory is
3892 # removed, or if the value is a relative name.
3893 test -d .
/--version && rmdir .
/--version
3894 MKDIR_P
="$ac_install_sh -d"
3897 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3898 $as_echo "$MKDIR_P" >&6; }
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3902 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3903 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if test "${ac_cv_prog_RANLIB+set}" = set; then
3906 $as_echo_n "(cached) " >&6
3908 if test -n "$RANLIB"; then
3909 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir
=.
3916 for ac_exec_ext
in '' $ac_executable_extensions; do
3917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3918 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3919 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 RANLIB
=$ac_cv_prog_RANLIB
3929 if test -n "$RANLIB"; then
3930 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3931 $as_echo "$RANLIB" >&6; }
3933 { $as_echo "$as_me:$LINENO: result: no" >&5
3934 $as_echo "no" >&6; }
3939 if test -z "$ac_cv_prog_RANLIB"; then
3940 ac_ct_RANLIB
=$RANLIB
3941 # Extract the first word of "ranlib", so it can be a program name with args.
3942 set dummy ranlib
; ac_word
=$2
3943 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3944 $as_echo_n "checking for $ac_word... " >&6; }
3945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3946 $as_echo_n "(cached) " >&6
3948 if test -n "$ac_ct_RANLIB"; then
3949 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3955 test -z "$as_dir" && as_dir
=.
3956 for ac_exec_ext
in '' $ac_executable_extensions; do
3957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3958 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3959 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3969 if test -n "$ac_ct_RANLIB"; then
3970 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3971 $as_echo "$ac_ct_RANLIB" >&6; }
3973 { $as_echo "$as_me:$LINENO: result: no" >&5
3974 $as_echo "no" >&6; }
3977 if test "x$ac_ct_RANLIB" = x
; then
3980 case $cross_compiling:$ac_tool_warned in
3982 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3984 ac_tool_warned
=yes ;;
3986 RANLIB
=$ac_ct_RANLIB
3989 RANLIB
="$ac_cv_prog_RANLIB"
3992 # Extract the first word of "cflow", so it can be a program name with args.
3993 set dummy cflow
; ac_word
=$2
3994 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3997 $as_echo_n "(cached) " >&6
4001 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
4004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4008 test -z "$as_dir" && as_dir
=.
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4011 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4012 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4023 if test -n "$CFLOW_CMD"; then
4024 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4025 $as_echo "$CFLOW_CMD" >&6; }
4027 { $as_echo "$as_me:$LINENO: result: no" >&5
4028 $as_echo "no" >&6; }
4032 # Extract the first word of "cscope", so it can be a program name with args.
4033 set dummy cscope
; ac_word
=$2
4034 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4037 $as_echo_n "(cached) " >&6
4041 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4052 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4063 if test -n "$CSCOPE_CMD"; then
4064 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4065 $as_echo "$CSCOPE_CMD" >&6; }
4067 { $as_echo "$as_me:$LINENO: result: no" >&5
4068 $as_echo "no" >&6; }
4073 ################################################################################
4080 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4081 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4082 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4083 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4084 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4085 $as_echo_n "(cached) " >&6
4087 cat >conftest.
$ac_ext <<_ACEOF
4090 cat confdefs.h
>>conftest.
$ac_ext
4091 cat >>conftest.
$ac_ext <<_ACEOF
4092 /* end confdefs.h. */
4093 #include <sys/types.h>
4105 rm -f conftest.
$ac_objext
4106 if { (ac_try
="$ac_compile"
4108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4112 $as_echo "$ac_try_echo") >&5
4113 (eval "$ac_compile") 2>conftest.er1
4115 grep -v '^ *+' conftest.er1 >conftest.err
4117 cat conftest.err >&5
4118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); } && {
4120 test -z "$ac_c_werror_flag" ||
4121 test ! -s conftest.err
4122 } && test -s conftest.$ac_objext; then
4123 eval "$as_ac_Header=yes"
4125 $as_echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4128 eval "$as_ac_Header=no"
4131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133 ac_res=`eval 'as_val=${'$as_ac_Header'}
4134 $as_echo "$as_val"'`
4135 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4136 $as_echo "$ac_res" >&6; }
4137 as_val=`eval 'as_val=${'$as_ac_Header'}
4138 $as_echo "$as_val"'`
4139 if test "x$as_val" = x""yes; then
4140 cat >>confdefs.h <<_ACEOF
4141 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4144 ac_header_dirent=$ac_hdr; break
4148 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4149 if test $ac_header_dirent = dirent.h; then
4150 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4151 $as_echo_n "checking for library containing opendir... " >&6; }
4152 if test "${ac_cv_search_opendir+set}" = set; then
4153 $as_echo_n "(cached) " >&6
4155 ac_func_search_save_LIBS=$LIBS
4156 cat >conftest.$ac_ext <<_ACEOF
4159 cat confdefs.h >>conftest.$ac_ext
4160 cat >>conftest.$ac_ext <<_ACEOF
4161 /* end confdefs.h. */
4163 /* Override any GCC internal prototype to avoid an error.
4164 Use char because int might match the return type of a GCC
4165 builtin and then its argument prototype would still apply. */
4178 for ac_lib in '' dir; do
4179 if test -z "$ac_lib"; then
4180 ac_res="none required"
4183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4185 rm -f conftest.$ac_objext conftest$ac_exeext
4186 if { (ac_try="$ac_link"
4188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4189 *) ac_try_echo
=$ac_try;;
4191 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4192 $as_echo "$ac_try_echo") >&5
4193 (eval "$ac_link") 2>conftest.er1
4195 grep -v '^ *+' conftest.er1
>conftest.err
4197 cat conftest.err
>&5
4198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); } && {
4200 test -z "$ac_c_werror_flag" ||
4201 test ! -s conftest.err
4202 } && test -s conftest
$ac_exeext && {
4203 test "$cross_compiling" = yes ||
4204 $as_test_x conftest
$ac_exeext
4206 ac_cv_search_opendir
=$ac_res
4208 $as_echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.
$ac_ext >&5
4214 rm -rf conftest.dSYM
4215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4217 if test "${ac_cv_search_opendir+set}" = set; then
4221 if test "${ac_cv_search_opendir+set}" = set; then
4224 ac_cv_search_opendir
=no
4227 LIBS
=$ac_func_search_save_LIBS
4229 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4230 $as_echo "$ac_cv_search_opendir" >&6; }
4231 ac_res
=$ac_cv_search_opendir
4232 if test "$ac_res" != no
; then
4233 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4238 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4239 $as_echo_n "checking for library containing opendir... " >&6; }
4240 if test "${ac_cv_search_opendir+set}" = set; then
4241 $as_echo_n "(cached) " >&6
4243 ac_func_search_save_LIBS
=$LIBS
4244 cat >conftest.
$ac_ext <<_ACEOF
4247 cat confdefs.h
>>conftest.
$ac_ext
4248 cat >>conftest.
$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4251 /* Override any GCC internal prototype to avoid an error.
4252 Use char because int might match the return type of a GCC
4253 builtin and then its argument prototype would still apply. */
4266 for ac_lib
in '' x
; do
4267 if test -z "$ac_lib"; then
4268 ac_res
="none required"
4271 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4273 rm -f conftest.
$ac_objext conftest
$ac_exeext
4274 if { (ac_try
="$ac_link"
4276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4280 $as_echo "$ac_try_echo") >&5
4281 (eval "$ac_link") 2>conftest.er1
4283 grep -v '^ *+' conftest.er1 >conftest.err
4285 cat conftest.err >&5
4286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); } && {
4288 test -z "$ac_c_werror_flag" ||
4289 test ! -s conftest.err
4290 } && test -s conftest$ac_exeext && {
4291 test "$cross_compiling" = yes ||
4292 $as_test_x conftest$ac_exeext
4294 ac_cv_search_opendir=$ac_res
4296 $as_echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4302 rm -rf conftest.dSYM
4303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4305 if test "${ac_cv_search_opendir+set}" = set; then
4309 if test "${ac_cv_search_opendir+set}" = set; then
4312 ac_cv_search_opendir=no
4315 LIBS=$ac_func_search_save_LIBS
4317 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4318 $as_echo "$ac_cv_search_opendir" >&6; }
4319 ac_res=$ac_cv_search_opendir
4320 if test "$ac_res" != no; then
4321 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4327 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4328 $as_echo_n "checking for ANSI C header files... " >&6; }
4329 if test "${ac_cv_header_stdc+set}" = set; then
4330 $as_echo_n "(cached) " >&6
4332 cat >conftest.$ac_ext <<_ACEOF
4335 cat confdefs.h >>conftest.$ac_ext
4336 cat >>conftest.$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4351 rm -f conftest.$ac_objext
4352 if { (ac_try="$ac_compile"
4354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4355 *) ac_try_echo
=$ac_try;;
4357 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4358 $as_echo "$ac_try_echo") >&5
4359 (eval "$ac_compile") 2>conftest.er1
4361 grep -v '^ *+' conftest.er1
>conftest.err
4363 cat conftest.err
>&5
4364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } && {
4366 test -z "$ac_c_werror_flag" ||
4367 test ! -s conftest.err
4368 } && test -s conftest.
$ac_objext; then
4369 ac_cv_header_stdc
=yes
4371 $as_echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.
$ac_ext >&5
4374 ac_cv_header_stdc
=no
4377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4379 if test $ac_cv_header_stdc = yes; then
4380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4391 $EGREP "memchr" >/dev
/null
2>&1; then
4394 ac_cv_header_stdc
=no
4400 if test $ac_cv_header_stdc = yes; then
4401 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4402 cat >conftest.
$ac_ext <<_ACEOF
4405 cat confdefs.h
>>conftest.
$ac_ext
4406 cat >>conftest.
$ac_ext <<_ACEOF
4407 /* end confdefs.h. */
4411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4412 $EGREP "free" >/dev
/null
2>&1; then
4415 ac_cv_header_stdc
=no
4421 if test $ac_cv_header_stdc = yes; then
4422 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4423 if test "$cross_compiling" = yes; then
4426 cat >conftest.
$ac_ext <<_ACEOF
4429 cat confdefs.h
>>conftest.
$ac_ext
4430 cat >>conftest.
$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4434 #if ((' ' & 0x0FF) == 0x020)
4435 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4436 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4438 # define ISLOWER(c) \
4439 (('a' <= (c) && (c) <= 'i') \
4440 || ('j' <= (c) && (c) <= 'r') \
4441 || ('s' <= (c) && (c) <= 'z'))
4442 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4445 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4450 for (i = 0; i < 256; i++)
4451 if (XOR (islower (i), ISLOWER (i))
4452 || toupper (i) != TOUPPER (i))
4457 rm -f conftest
$ac_exeext
4458 if { (ac_try
="$ac_link"
4460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4464 $as_echo "$ac_try_echo") >&5
4465 (eval "$ac_link") 2>&5
4467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4469 { (case "(($ac_try" in
4470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4471 *) ac_try_echo
=$ac_try;;
4473 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4474 $as_echo "$ac_try_echo") >&5
4475 (eval "$ac_try") 2>&5
4477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); }; }; then
4481 $as_echo "$as_me: program exited with status $ac_status" >&5
4482 $as_echo "$as_me: failed program was:" >&5
4483 sed 's/^/| /' conftest.
$ac_ext >&5
4486 ac_cv_header_stdc
=no
4488 rm -rf conftest.dSYM
4489 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4495 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4496 $as_echo "$ac_cv_header_stdc" >&6; }
4497 if test $ac_cv_header_stdc = yes; then
4499 cat >>confdefs.h
<<\_ACEOF
4500 #define STDC_HEADERS 1
4505 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4506 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4507 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4508 $as_echo_n "(cached) " >&6
4510 cat >conftest.
$ac_ext <<_ACEOF
4513 cat confdefs.h
>>conftest.
$ac_ext
4514 cat >>conftest.
$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 #include <sys/types.h>
4517 #include <sys/wait.h>
4519 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4522 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4530 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4535 rm -f conftest.
$ac_objext
4536 if { (ac_try
="$ac_compile"
4538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4542 $as_echo "$ac_try_echo") >&5
4543 (eval "$ac_compile") 2>conftest.er1
4545 grep -v '^ *+' conftest.er1 >conftest.err
4547 cat conftest.err >&5
4548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest.$ac_objext; then
4553 ac_cv_header_sys_wait_h=yes
4555 $as_echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4558 ac_cv_header_sys_wait_h=no
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4564 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4565 if test $ac_cv_header_sys_wait_h = yes; then
4567 cat >>confdefs.h <<\_ACEOF
4568 #define HAVE_SYS_WAIT_H 1
4573 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4574 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4575 if test "${ac_cv_header_time+set}" = set; then
4576 $as_echo_n "(cached) " >&6
4578 cat >conftest.$ac_ext <<_ACEOF
4581 cat confdefs.h >>conftest.$ac_ext
4582 cat >>conftest.$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4584 #include <sys/types.h>
4585 #include <sys/time.h>
4591 if ((struct tm *) 0)
4597 rm -f conftest.$ac_objext
4598 if { (ac_try="$ac_compile"
4600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4601 *) ac_try_echo
=$ac_try;;
4603 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4604 $as_echo "$ac_try_echo") >&5
4605 (eval "$ac_compile") 2>conftest.er1
4607 grep -v '^ *+' conftest.er1
>conftest.err
4609 cat conftest.err
>&5
4610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest.
$ac_objext; then
4615 ac_cv_header_time
=yes
4617 $as_echo "$as_me: failed program was:" >&5
4618 sed 's/^/| /' conftest.
$ac_ext >&5
4620 ac_cv_header_time
=no
4623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4625 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4626 $as_echo "$ac_cv_header_time" >&6; }
4627 if test $ac_cv_header_time = yes; then
4629 cat >>confdefs.h
<<\_ACEOF
4630 #define TIME_WITH_SYS_TIME 1
4636 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4646 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4647 inttypes.h stdint.h unistd.h
4649 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4650 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4651 $as_echo_n "checking for $ac_header... " >&6; }
4652 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4653 $as_echo_n "(cached) " >&6
4655 cat >conftest.
$ac_ext <<_ACEOF
4658 cat confdefs.h
>>conftest.
$ac_ext
4659 cat >>conftest.
$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4661 $ac_includes_default
4663 #include <$ac_header>
4665 rm -f conftest.
$ac_objext
4666 if { (ac_try
="$ac_compile"
4668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4672 $as_echo "$ac_try_echo") >&5
4673 (eval "$ac_compile") 2>conftest.er1
4675 grep -v '^ *+' conftest.er1 >conftest.err
4677 cat conftest.err >&5
4678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest.$ac_objext; then
4683 eval "$as_ac_Header=yes"
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 eval "$as_ac_Header=no"
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 ac_res=`eval 'as_val=${'$as_ac_Header'}
4694 $as_echo "$as_val"'`
4695 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4696 $as_echo "$ac_res" >&6; }
4697 as_val=`eval 'as_val=${'$as_ac_Header'}
4698 $as_echo "$as_val"'`
4699 if test "x$as_val" = x""yes; then
4700 cat >>confdefs.h <<_ACEOF
4701 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4722 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4723 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4727 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4728 $as_echo_n "checking for $ac_header... " >&6; }
4729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4730 $as_echo_n "(cached) " >&6
4732 ac_res=`eval 'as_val=${'$as_ac_Header'}
4733 $as_echo "$as_val"'`
4734 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4735 $as_echo "$ac_res" >&6; }
4737 # Is the header compilable?
4738 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4739 $as_echo_n "checking $ac_header usability... " >&6; }
4740 cat >conftest.$ac_ext <<_ACEOF
4743 cat confdefs.h >>conftest.$ac_ext
4744 cat >>conftest.$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4746 $ac_includes_default
4747 #include <$ac_header>
4749 rm -f conftest.$ac_objext
4750 if { (ac_try="$ac_compile"
4752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4753 *) ac_try_echo
=$ac_try;;
4755 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4756 $as_echo "$ac_try_echo") >&5
4757 (eval "$ac_compile") 2>conftest.er1
4759 grep -v '^ *+' conftest.er1
>conftest.err
4761 cat conftest.err
>&5
4762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } && {
4764 test -z "$ac_c_werror_flag" ||
4765 test ! -s conftest.err
4766 } && test -s conftest.
$ac_objext; then
4767 ac_header_compiler
=yes
4769 $as_echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.
$ac_ext >&5
4772 ac_header_compiler
=no
4775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4777 $as_echo "$ac_header_compiler" >&6; }
4779 # Is the header present?
4780 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4781 $as_echo_n "checking $ac_header presence... " >&6; }
4782 cat >conftest.
$ac_ext <<_ACEOF
4785 cat confdefs.h
>>conftest.
$ac_ext
4786 cat >>conftest.
$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 #include <$ac_header>
4790 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4796 $as_echo "$ac_try_echo") >&5
4797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4799 grep -v '^ *+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } >/dev/null && {
4804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4805 test ! -s conftest.err
4807 ac_header_preproc=yes
4809 $as_echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.$ac_ext >&5
4812 ac_header_preproc=no
4815 rm -f conftest.err conftest.$ac_ext
4816 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4817 $as_echo "$ac_header_preproc" >&6; }
4819 # So? What about this header?
4820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4823 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4824 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4825 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4826 ac_header_preproc=yes
4829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4830 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4832 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4833 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4834 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4835 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4836 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4837 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4838 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4839 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4840 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4844 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4845 $as_echo_n "checking for $ac_header... " >&6; }
4846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4847 $as_echo_n "(cached) " >&6
4849 eval "$as_ac_Header=\$ac_header_preproc"
4851 ac_res=`eval 'as_val=${'$as_ac_Header'}
4852 $as_echo "$as_val"'`
4853 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4854 $as_echo "$ac_res" >&6; }
4857 as_val=`eval 'as_val=${'$as_ac_Header'}
4858 $as_echo "$as_val"'`
4859 if test "x$as_val" = x""yes; then
4860 cat >>confdefs.h <<_ACEOF
4861 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4865 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4866 $as_echo "$as_me: error: bailing out" >&2;}
4867 { (exit 1); exit 1; }; }
4878 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4882 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4883 $as_echo_n "checking for $ac_header... " >&6; }
4884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4885 $as_echo_n "(cached) " >&6
4887 ac_res=`eval 'as_val=${'$as_ac_Header'}
4888 $as_echo "$as_val"'`
4889 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4890 $as_echo "$ac_res" >&6; }
4892 # Is the header compilable?
4893 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4894 $as_echo_n "checking $ac_header usability... " >&6; }
4895 cat >conftest.$ac_ext <<_ACEOF
4898 cat confdefs.h >>conftest.$ac_ext
4899 cat >>conftest.$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4901 $ac_includes_default
4902 #include <$ac_header>
4904 rm -f conftest.$ac_objext
4905 if { (ac_try="$ac_compile"
4907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4908 *) ac_try_echo
=$ac_try;;
4910 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4911 $as_echo "$ac_try_echo") >&5
4912 (eval "$ac_compile") 2>conftest.er1
4914 grep -v '^ *+' conftest.er1
>conftest.err
4916 cat conftest.err
>&5
4917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } && {
4919 test -z "$ac_c_werror_flag" ||
4920 test ! -s conftest.err
4921 } && test -s conftest.
$ac_objext; then
4922 ac_header_compiler
=yes
4924 $as_echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4927 ac_header_compiler
=no
4930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4931 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4932 $as_echo "$ac_header_compiler" >&6; }
4934 # Is the header present?
4935 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4936 $as_echo_n "checking $ac_header presence... " >&6; }
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 #include <$ac_header>
4945 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4948 *) ac_try_echo=$ac_try;;
4950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4951 $as_echo "$ac_try_echo") >&5
4952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4954 grep -v '^ *+' conftest.er1 >conftest.err
4956 cat conftest.err >&5
4957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); } >/dev/null && {
4959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4960 test ! -s conftest.err
4962 ac_header_preproc=yes
4964 $as_echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.$ac_ext >&5
4967 ac_header_preproc=no
4970 rm -f conftest.err conftest.$ac_ext
4971 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4972 $as_echo "$ac_header_preproc" >&6; }
4974 # So? What about this header?
4975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4978 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4980 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4981 ac_header_preproc=yes
4984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4985 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4987 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4989 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4991 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4993 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4995 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4999 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5000 $as_echo_n "checking for $ac_header... " >&6; }
5001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5002 $as_echo_n "(cached) " >&6
5004 eval "$as_ac_Header=\$ac_header_preproc"
5006 ac_res=`eval 'as_val=${'$as_ac_Header'}
5007 $as_echo "$as_val"'`
5008 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5009 $as_echo "$ac_res" >&6; }
5012 as_val=`eval 'as_val=${'$as_ac_Header'}
5013 $as_echo "$as_val"'`
5014 if test "x$as_val" = x""yes; then
5015 cat >>confdefs.h <<_ACEOF
5016 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5020 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5021 $as_echo "$as_me: error: bailing out" >&2;}
5022 { (exit 1); exit 1; }; }
5030 for ac_header in machine/endian.h sys/disk.h
5032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5034 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5035 $as_echo_n "checking for $ac_header... " >&6; }
5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5037 $as_echo_n "(cached) " >&6
5039 ac_res=`eval 'as_val=${'$as_ac_Header'}
5040 $as_echo "$as_val"'`
5041 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5042 $as_echo "$ac_res" >&6; }
5044 # Is the header compilable?
5045 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5046 $as_echo_n "checking $ac_header usability... " >&6; }
5047 cat >conftest.$ac_ext <<_ACEOF
5050 cat confdefs.h >>conftest.$ac_ext
5051 cat >>conftest.$ac_ext <<_ACEOF
5052 /* end confdefs.h. */
5053 $ac_includes_default
5054 #include <$ac_header>
5056 rm -f conftest.$ac_objext
5057 if { (ac_try="$ac_compile"
5059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5060 *) ac_try_echo
=$ac_try;;
5062 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5063 $as_echo "$ac_try_echo") >&5
5064 (eval "$ac_compile") 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } && {
5071 test -z "$ac_c_werror_flag" ||
5072 test ! -s conftest.err
5073 } && test -s conftest.
$ac_objext; then
5074 ac_header_compiler
=yes
5076 $as_echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.
$ac_ext >&5
5079 ac_header_compiler
=no
5082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5083 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5084 $as_echo "$ac_header_compiler" >&6; }
5086 # Is the header present?
5087 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5088 $as_echo_n "checking $ac_header presence... " >&6; }
5089 cat >conftest.
$ac_ext <<_ACEOF
5092 cat confdefs.h
>>conftest.
$ac_ext
5093 cat >>conftest.
$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5095 #include <$ac_header>
5097 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5100 *) ac_try_echo=$ac_try;;
5102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5103 $as_echo "$ac_try_echo") >&5
5104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5106 grep -v '^ *+' conftest.er1 >conftest.err
5108 cat conftest.err >&5
5109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } >/dev/null && {
5111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5112 test ! -s conftest.err
5114 ac_header_preproc=yes
5116 $as_echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 ac_header_preproc=no
5122 rm -f conftest.err conftest.$ac_ext
5123 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5124 $as_echo "$ac_header_preproc" >&6; }
5126 # So? What about this header?
5127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5130 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5132 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5133 ac_header_preproc=yes
5136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5137 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5139 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5140 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5141 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5143 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5145 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5147 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5151 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5152 $as_echo_n "checking for $ac_header... " >&6; }
5153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5154 $as_echo_n "(cached) " >&6
5156 eval "$as_ac_Header=\$ac_header_preproc"
5158 ac_res=`eval 'as_val=${'$as_ac_Header'}
5159 $as_echo "$as_val"'`
5160 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5161 $as_echo "$ac_res" >&6; }
5164 as_val=`eval 'as_val=${'$as_ac_Header'}
5165 $as_echo "$as_val"'`
5166 if test "x$as_val" = x""yes; then
5167 cat >>confdefs.h <<_ACEOF
5168 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5172 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5173 $as_echo "$as_me: error: bailing out" >&2;}
5174 { (exit 1); exit 1; }; }
5197 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5198 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5199 sys/types.h unistd.h
5201 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5203 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5204 $as_echo_n "checking for $ac_header... " >&6; }
5205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5206 $as_echo_n "(cached) " >&6
5208 ac_res=`eval 'as_val=${'$as_ac_Header'}
5209 $as_echo "$as_val"'`
5210 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5211 $as_echo "$ac_res" >&6; }
5213 # Is the header compilable?
5214 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5215 $as_echo_n "checking $ac_header usability... " >&6; }
5216 cat >conftest.$ac_ext <<_ACEOF
5219 cat confdefs.h >>conftest.$ac_ext
5220 cat >>conftest.$ac_ext <<_ACEOF
5221 /* end confdefs.h. */
5222 $ac_includes_default
5223 #include <$ac_header>
5225 rm -f conftest.$ac_objext
5226 if { (ac_try="$ac_compile"
5228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5229 *) ac_try_echo
=$ac_try;;
5231 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5232 $as_echo "$ac_try_echo") >&5
5233 (eval "$ac_compile") 2>conftest.er1
5235 grep -v '^ *+' conftest.er1
>conftest.err
5237 cat conftest.err
>&5
5238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); } && {
5240 test -z "$ac_c_werror_flag" ||
5241 test ! -s conftest.err
5242 } && test -s conftest.
$ac_objext; then
5243 ac_header_compiler
=yes
5245 $as_echo "$as_me: failed program was:" >&5
5246 sed 's/^/| /' conftest.
$ac_ext >&5
5248 ac_header_compiler
=no
5251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5252 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5253 $as_echo "$ac_header_compiler" >&6; }
5255 # Is the header present?
5256 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5257 $as_echo_n "checking $ac_header presence... " >&6; }
5258 cat >conftest.
$ac_ext <<_ACEOF
5261 cat confdefs.h
>>conftest.
$ac_ext
5262 cat >>conftest.
$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5264 #include <$ac_header>
5266 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5272 $as_echo "$ac_try_echo") >&5
5273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5275 grep -v '^ *+' conftest.er1 >conftest.err
5277 cat conftest.err >&5
5278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } >/dev/null && {
5280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5281 test ! -s conftest.err
5283 ac_header_preproc=yes
5285 $as_echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5288 ac_header_preproc=no
5291 rm -f conftest.err conftest.$ac_ext
5292 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5293 $as_echo "$ac_header_preproc" >&6; }
5295 # So? What about this header?
5296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5299 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5301 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5302 ac_header_preproc=yes
5305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5306 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5308 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5310 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5312 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5314 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5316 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5320 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5321 $as_echo_n "checking for $ac_header... " >&6; }
5322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5323 $as_echo_n "(cached) " >&6
5325 eval "$as_ac_Header=\$ac_header_preproc"
5327 ac_res=`eval 'as_val=${'$as_ac_Header'}
5328 $as_echo "$as_val"'`
5329 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5330 $as_echo "$ac_res" >&6; }
5333 as_val=`eval 'as_val=${'$as_ac_Header'}
5334 $as_echo "$as_val"'`
5335 if test "x$as_val" = x""yes; then
5336 cat >>confdefs.h <<_ACEOF
5337 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5341 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5342 $as_echo "$as_me: error: bailing out" >&2;}
5343 { (exit 1); exit 1; }; }
5350 for ac_header in termios.h sys/statvfs.h
5352 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5354 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5355 $as_echo_n "checking for $ac_header... " >&6; }
5356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5357 $as_echo_n "(cached) " >&6
5359 ac_res=`eval 'as_val=${'$as_ac_Header'}
5360 $as_echo "$as_val"'`
5361 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5362 $as_echo "$ac_res" >&6; }
5364 # Is the header compilable?
5365 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5366 $as_echo_n "checking $ac_header usability... " >&6; }
5367 cat >conftest.$ac_ext <<_ACEOF
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5373 $ac_includes_default
5374 #include <$ac_header>
5376 rm -f conftest.$ac_objext
5377 if { (ac_try="$ac_compile"
5379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5380 *) ac_try_echo
=$ac_try;;
5382 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5383 $as_echo "$ac_try_echo") >&5
5384 (eval "$ac_compile") 2>conftest.er1
5386 grep -v '^ *+' conftest.er1
>conftest.err
5388 cat conftest.err
>&5
5389 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); } && {
5391 test -z "$ac_c_werror_flag" ||
5392 test ! -s conftest.err
5393 } && test -s conftest.
$ac_objext; then
5394 ac_header_compiler
=yes
5396 $as_echo "$as_me: failed program was:" >&5
5397 sed 's/^/| /' conftest.
$ac_ext >&5
5399 ac_header_compiler
=no
5402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5403 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5404 $as_echo "$ac_header_compiler" >&6; }
5406 # Is the header present?
5407 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5408 $as_echo_n "checking $ac_header presence... " >&6; }
5409 cat >conftest.
$ac_ext <<_ACEOF
5412 cat confdefs.h
>>conftest.
$ac_ext
5413 cat >>conftest.
$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5415 #include <$ac_header>
5417 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5420 *) ac_try_echo=$ac_try;;
5422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5423 $as_echo "$ac_try_echo") >&5
5424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5426 grep -v '^ *+' conftest.er1 >conftest.err
5428 cat conftest.err >&5
5429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); } >/dev/null && {
5431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5432 test ! -s conftest.err
5434 ac_header_preproc=yes
5436 $as_echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.$ac_ext >&5
5439 ac_header_preproc=no
5442 rm -f conftest.err conftest.$ac_ext
5443 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5444 $as_echo "$ac_header_preproc" >&6; }
5446 # So? What about this header?
5447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5450 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5452 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5453 ac_header_preproc=yes
5456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5457 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5459 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5460 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5461 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5463 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5465 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5467 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5471 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5472 $as_echo_n "checking for $ac_header... " >&6; }
5473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5474 $as_echo_n "(cached) " >&6
5476 eval "$as_ac_Header=\$ac_header_preproc"
5478 ac_res=`eval 'as_val=${'$as_ac_Header'}
5479 $as_echo "$as_val"'`
5480 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5481 $as_echo "$ac_res" >&6; }
5484 as_val=`eval 'as_val=${'$as_ac_Header'}
5485 $as_echo "$as_val"'`
5486 if test "x$as_val" = x""yes; then
5487 cat >>confdefs.h <<_ACEOF
5488 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5496 ################################################################################
5497 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5498 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5499 if test "${ac_cv_c_const+set}" = set; then
5500 $as_echo_n "(cached) " >&6
5502 cat >conftest.$ac_ext <<_ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5512 /* FIXME: Include the comments suggested by Paul. */
5514 /* Ultrix mips cc rejects this. */
5515 typedef int charset[2];
5517 /* SunOS 4.1.1 cc rejects this. */
5518 char const *const *pcpcc;
5520 /* NEC SVR4.0.2 mips cc rejects this. */
5521 struct point {int x, y;};
5522 static struct point const zero = {0,0};
5523 /* AIX XL C 1.02.0.0 rejects this.
5524 It does not let you subtract one const X* pointer from another in
5525 an arm of an if-expression whose if-part is not a constant
5527 const char *g = "string";
5528 pcpcc = &g + (g ? g-g : 0);
5529 /* HPUX 7.0 cc rejects these. */
5531 ppc = (char**) pcpcc;
5532 pcpcc = (char const *const *) ppc;
5533 { /* SCO 3.2v4 cc rejects this. */
5535 char const *s = 0 ? (char *) 0 : (char const *) 0;
5540 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5542 const int *foo = &x[0];
5545 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5546 typedef const int *iptr;
5550 { /* AIX XL C 1.02.0.0 rejects this saying
5551 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5552 struct s { int j; const int *ap[3]; };
5553 struct s *b; b->j = 5;
5555 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5559 return !cs[0] && !zero.x;
5566 rm -f conftest.$ac_objext
5567 if { (ac_try="$ac_compile"
5569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5570 *) ac_try_echo
=$ac_try;;
5572 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5573 $as_echo "$ac_try_echo") >&5
5574 (eval "$ac_compile") 2>conftest.er1
5576 grep -v '^ *+' conftest.er1
>conftest.err
5578 cat conftest.err
>&5
5579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); } && {
5581 test -z "$ac_c_werror_flag" ||
5582 test ! -s conftest.err
5583 } && test -s conftest.
$ac_objext; then
5586 $as_echo "$as_me: failed program was:" >&5
5587 sed 's/^/| /' conftest.
$ac_ext >&5
5592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5594 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5595 $as_echo "$ac_cv_c_const" >&6; }
5596 if test $ac_cv_c_const = no
; then
5598 cat >>confdefs.h
<<\_ACEOF
5604 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5605 $as_echo_n "checking for inline... " >&6; }
5606 if test "${ac_cv_c_inline+set}" = set; then
5607 $as_echo_n "(cached) " >&6
5610 for ac_kw
in inline __inline__ __inline
; do
5611 cat >conftest.
$ac_ext <<_ACEOF
5614 cat confdefs.h
>>conftest.
$ac_ext
5615 cat >>conftest.
$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5619 static $ac_kw foo_t static_foo () {return 0; }
5620 $ac_kw foo_t foo () {return 0; }
5624 rm -f conftest.
$ac_objext
5625 if { (ac_try
="$ac_compile"
5627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5628 *) ac_try_echo=$ac_try;;
5630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5631 $as_echo "$ac_try_echo") >&5
5632 (eval "$ac_compile") 2>conftest.er1
5634 grep -v '^ *+' conftest.er1 >conftest.err
5636 cat conftest.err >&5
5637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); } && {
5639 test -z "$ac_c_werror_flag" ||
5640 test ! -s conftest.err
5641 } && test -s conftest.$ac_objext; then
5642 ac_cv_c_inline=$ac_kw
5644 $as_echo "$as_me: failed program was:" >&5
5645 sed 's/^/| /' conftest.$ac_ext >&5
5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651 test "$ac_cv_c_inline" != no && break
5655 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5656 $as_echo "$ac_cv_c_inline" >&6; }
5659 case $ac_cv_c_inline in
5662 case $ac_cv_c_inline in
5664 *) ac_val=$ac_cv_c_inline;;
5666 cat >>confdefs.h <<_ACEOF
5668 #define inline $ac_val
5674 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5675 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5676 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5677 $as_echo_n "(cached) " >&6
5679 cat >conftest.$ac_ext <<_ACEOF
5682 cat confdefs.h >>conftest.$ac_ext
5683 cat >>conftest.$ac_ext <<_ACEOF
5684 /* end confdefs.h. */
5685 $ac_includes_default
5689 static struct stat ac_aggr;
5690 if (ac_aggr.st_rdev)
5696 rm -f conftest.$ac_objext
5697 if { (ac_try="$ac_compile"
5699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5700 *) ac_try_echo
=$ac_try;;
5702 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5703 $as_echo "$ac_try_echo") >&5
5704 (eval "$ac_compile") 2>conftest.er1
5706 grep -v '^ *+' conftest.er1
>conftest.err
5708 cat conftest.err
>&5
5709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); } && {
5711 test -z "$ac_c_werror_flag" ||
5712 test ! -s conftest.err
5713 } && test -s conftest.
$ac_objext; then
5714 ac_cv_member_struct_stat_st_rdev
=yes
5716 $as_echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.
$ac_ext >&5
5719 cat >conftest.
$ac_ext <<_ACEOF
5722 cat confdefs.h
>>conftest.
$ac_ext
5723 cat >>conftest.
$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5725 $ac_includes_default
5729 static struct stat ac_aggr;
5730 if (sizeof ac_aggr.st_rdev)
5736 rm -f conftest.
$ac_objext
5737 if { (ac_try
="$ac_compile"
5739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5740 *) ac_try_echo=$ac_try;;
5742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5743 $as_echo "$ac_try_echo") >&5
5744 (eval "$ac_compile") 2>conftest.er1
5746 grep -v '^ *+' conftest.er1 >conftest.err
5748 cat conftest.err >&5
5749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } && {
5751 test -z "$ac_c_werror_flag" ||
5752 test ! -s conftest.err
5753 } && test -s conftest.$ac_objext; then
5754 ac_cv_member_struct_stat_st_rdev=yes
5756 $as_echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.$ac_ext >&5
5759 ac_cv_member_struct_stat_st_rdev=no
5762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5767 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5768 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5769 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5771 cat >>confdefs.h <<_ACEOF
5772 #define HAVE_STRUCT_STAT_ST_RDEV 1
5778 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5779 $as_echo_n "checking for off_t... " >&6; }
5780 if test "${ac_cv_type_off_t+set}" = set; then
5781 $as_echo_n "(cached) " >&6
5784 cat >conftest.$ac_ext <<_ACEOF
5787 cat confdefs.h >>conftest.$ac_ext
5788 cat >>conftest.$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5790 $ac_includes_default
5800 rm -f conftest.$ac_objext
5801 if { (ac_try="$ac_compile"
5803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5804 *) ac_try_echo
=$ac_try;;
5806 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5807 $as_echo "$ac_try_echo") >&5
5808 (eval "$ac_compile") 2>conftest.er1
5810 grep -v '^ *+' conftest.er1
>conftest.err
5812 cat conftest.err
>&5
5813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } && {
5815 test -z "$ac_c_werror_flag" ||
5816 test ! -s conftest.err
5817 } && test -s conftest.
$ac_objext; then
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 $ac_includes_default
5828 if (sizeof ((off_t)))
5834 rm -f conftest.
$ac_objext
5835 if { (ac_try
="$ac_compile"
5837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5838 *) ac_try_echo=$ac_try;;
5840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5841 $as_echo "$ac_try_echo") >&5
5842 (eval "$ac_compile") 2>conftest.er1
5844 grep -v '^ *+' conftest.er1 >conftest.err
5846 cat conftest.err >&5
5847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } && {
5849 test -z "$ac_c_werror_flag" ||
5850 test ! -s conftest.err
5851 } && test -s conftest.$ac_objext; then
5854 $as_echo "$as_me: failed program was:" >&5
5855 sed 's/^/| /' conftest.$ac_ext >&5
5857 ac_cv_type_off_t=yes
5860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862 $as_echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.$ac_ext >&5
5868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5870 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5871 $as_echo "$ac_cv_type_off_t" >&6; }
5872 if test "x$ac_cv_type_off_t" = x""yes; then
5876 cat >>confdefs.h <<_ACEOF
5877 #define off_t long int
5882 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5883 $as_echo_n "checking for pid_t... " >&6; }
5884 if test "${ac_cv_type_pid_t+set}" = set; then
5885 $as_echo_n "(cached) " >&6
5888 cat >conftest.$ac_ext <<_ACEOF
5891 cat confdefs.h >>conftest.$ac_ext
5892 cat >>conftest.$ac_ext <<_ACEOF
5893 /* end confdefs.h. */
5894 $ac_includes_default
5904 rm -f conftest.$ac_objext
5905 if { (ac_try="$ac_compile"
5907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5908 *) ac_try_echo
=$ac_try;;
5910 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5911 $as_echo "$ac_try_echo") >&5
5912 (eval "$ac_compile") 2>conftest.er1
5914 grep -v '^ *+' conftest.er1
>conftest.err
5916 cat conftest.err
>&5
5917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); } && {
5919 test -z "$ac_c_werror_flag" ||
5920 test ! -s conftest.err
5921 } && test -s conftest.
$ac_objext; then
5922 cat >conftest.
$ac_ext <<_ACEOF
5925 cat confdefs.h
>>conftest.
$ac_ext
5926 cat >>conftest.
$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 $ac_includes_default
5932 if (sizeof ((pid_t)))
5938 rm -f conftest.
$ac_objext
5939 if { (ac_try
="$ac_compile"
5941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5942 *) ac_try_echo=$ac_try;;
5944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5945 $as_echo "$ac_try_echo") >&5
5946 (eval "$ac_compile") 2>conftest.er1
5948 grep -v '^ *+' conftest.er1 >conftest.err
5950 cat conftest.err >&5
5951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } && {
5953 test -z "$ac_c_werror_flag" ||
5954 test ! -s conftest.err
5955 } && test -s conftest.$ac_objext; then
5958 $as_echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.$ac_ext >&5
5961 ac_cv_type_pid_t=yes
5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5966 $as_echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5974 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5975 $as_echo "$ac_cv_type_pid_t" >&6; }
5976 if test "x$ac_cv_type_pid_t" = x""yes; then
5980 cat >>confdefs.h <<_ACEOF
5986 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5987 $as_echo_n "checking return type of signal handlers... " >&6; }
5988 if test "${ac_cv_type_signal+set}" = set; then
5989 $as_echo_n "(cached) " >&6
5991 cat >conftest.$ac_ext <<_ACEOF
5994 cat confdefs.h >>conftest.$ac_ext
5995 cat >>conftest.$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5997 #include <sys/types.h>
6003 return *(signal (0, 0)) (0) == 1;
6008 rm -f conftest.$ac_objext
6009 if { (ac_try="$ac_compile"
6011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6012 *) ac_try_echo
=$ac_try;;
6014 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6015 $as_echo "$ac_try_echo") >&5
6016 (eval "$ac_compile") 2>conftest.er1
6018 grep -v '^ *+' conftest.er1
>conftest.err
6020 cat conftest.err
>&5
6021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); } && {
6023 test -z "$ac_c_werror_flag" ||
6024 test ! -s conftest.err
6025 } && test -s conftest.
$ac_objext; then
6026 ac_cv_type_signal
=int
6028 $as_echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 ac_cv_type_signal
=void
6034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6036 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6037 $as_echo "$ac_cv_type_signal" >&6; }
6039 cat >>confdefs.h
<<_ACEOF
6040 #define RETSIGTYPE $ac_cv_type_signal
6044 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6045 $as_echo_n "checking for size_t... " >&6; }
6046 if test "${ac_cv_type_size_t+set}" = set; then
6047 $as_echo_n "(cached) " >&6
6049 ac_cv_type_size_t
=no
6050 cat >conftest.
$ac_ext <<_ACEOF
6053 cat confdefs.h
>>conftest.
$ac_ext
6054 cat >>conftest.
$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6056 $ac_includes_default
6060 if (sizeof (size_t))
6066 rm -f conftest.
$ac_objext
6067 if { (ac_try
="$ac_compile"
6069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6070 *) ac_try_echo=$ac_try;;
6072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6073 $as_echo "$ac_try_echo") >&5
6074 (eval "$ac_compile") 2>conftest.er1
6076 grep -v '^ *+' conftest.er1 >conftest.err
6078 cat conftest.err >&5
6079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } && {
6081 test -z "$ac_c_werror_flag" ||
6082 test ! -s conftest.err
6083 } && test -s conftest.$ac_objext; then
6084 cat >conftest.$ac_ext <<_ACEOF
6087 cat confdefs.h >>conftest.$ac_ext
6088 cat >>conftest.$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6090 $ac_includes_default
6094 if (sizeof ((size_t)))
6100 rm -f conftest.$ac_objext
6101 if { (ac_try="$ac_compile"
6103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6104 *) ac_try_echo
=$ac_try;;
6106 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6107 $as_echo "$ac_try_echo") >&5
6108 (eval "$ac_compile") 2>conftest.er1
6110 grep -v '^ *+' conftest.er1
>conftest.err
6112 cat conftest.err
>&5
6113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } && {
6115 test -z "$ac_c_werror_flag" ||
6116 test ! -s conftest.err
6117 } && test -s conftest.
$ac_objext; then
6120 $as_echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.
$ac_ext >&5
6123 ac_cv_type_size_t
=yes
6126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6128 $as_echo "$as_me: failed program was:" >&5
6129 sed 's/^/| /' conftest.
$ac_ext >&5
6134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6136 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6137 $as_echo "$ac_cv_type_size_t" >&6; }
6138 if test "x$ac_cv_type_size_t" = x
""yes; then
6142 cat >>confdefs.h
<<_ACEOF
6143 #define size_t unsigned int
6148 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6149 $as_echo_n "checking for mode_t... " >&6; }
6150 if test "${ac_cv_type_mode_t+set}" = set; then
6151 $as_echo_n "(cached) " >&6
6153 ac_cv_type_mode_t
=no
6154 cat >conftest.
$ac_ext <<_ACEOF
6157 cat confdefs.h
>>conftest.
$ac_ext
6158 cat >>conftest.
$ac_ext <<_ACEOF
6159 /* end confdefs.h. */
6160 $ac_includes_default
6164 if (sizeof (mode_t))
6170 rm -f conftest.
$ac_objext
6171 if { (ac_try
="$ac_compile"
6173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6174 *) ac_try_echo=$ac_try;;
6176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6177 $as_echo "$ac_try_echo") >&5
6178 (eval "$ac_compile") 2>conftest.er1
6180 grep -v '^ *+' conftest.er1 >conftest.err
6182 cat conftest.err >&5
6183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } && {
6185 test -z "$ac_c_werror_flag" ||
6186 test ! -s conftest.err
6187 } && test -s conftest.$ac_objext; then
6188 cat >conftest.$ac_ext <<_ACEOF
6191 cat confdefs.h >>conftest.$ac_ext
6192 cat >>conftest.$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6194 $ac_includes_default
6198 if (sizeof ((mode_t)))
6204 rm -f conftest.$ac_objext
6205 if { (ac_try="$ac_compile"
6207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6208 *) ac_try_echo
=$ac_try;;
6210 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6211 $as_echo "$ac_try_echo") >&5
6212 (eval "$ac_compile") 2>conftest.er1
6214 grep -v '^ *+' conftest.er1
>conftest.err
6216 cat conftest.err
>&5
6217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && {
6219 test -z "$ac_c_werror_flag" ||
6220 test ! -s conftest.err
6221 } && test -s conftest.
$ac_objext; then
6224 $as_echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6227 ac_cv_type_mode_t
=yes
6230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6232 $as_echo "$as_me: failed program was:" >&5
6233 sed 's/^/| /' conftest.
$ac_ext >&5
6238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6240 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6241 $as_echo "$ac_cv_type_mode_t" >&6; }
6242 if test "x$ac_cv_type_mode_t" = x
""yes; then
6246 cat >>confdefs.h
<<_ACEOF
6252 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6253 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6254 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6255 $as_echo_n "(cached) " >&6
6257 cat >conftest.
$ac_ext <<_ACEOF
6260 cat confdefs.h
>>conftest.
$ac_ext
6261 cat >>conftest.
$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6263 $ac_includes_default
6267 static struct stat ac_aggr;
6268 if (ac_aggr.st_rdev)
6274 rm -f conftest.
$ac_objext
6275 if { (ac_try
="$ac_compile"
6277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6278 *) ac_try_echo=$ac_try;;
6280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6281 $as_echo "$ac_try_echo") >&5
6282 (eval "$ac_compile") 2>conftest.er1
6284 grep -v '^ *+' conftest.er1 >conftest.err
6286 cat conftest.err >&5
6287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); } && {
6289 test -z "$ac_c_werror_flag" ||
6290 test ! -s conftest.err
6291 } && test -s conftest.$ac_objext; then
6292 ac_cv_member_struct_stat_st_rdev=yes
6294 $as_echo "$as_me: failed program was:" >&5
6295 sed 's/^/| /' conftest.$ac_ext >&5
6297 cat >conftest.$ac_ext <<_ACEOF
6300 cat confdefs.h >>conftest.$ac_ext
6301 cat >>conftest.$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 $ac_includes_default
6307 static struct stat ac_aggr;
6308 if (sizeof ac_aggr.st_rdev)
6314 rm -f conftest.$ac_objext
6315 if { (ac_try="$ac_compile"
6317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6318 *) ac_try_echo
=$ac_try;;
6320 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6321 $as_echo "$ac_try_echo") >&5
6322 (eval "$ac_compile") 2>conftest.er1
6324 grep -v '^ *+' conftest.er1
>conftest.err
6326 cat conftest.err
>&5
6327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); } && {
6329 test -z "$ac_c_werror_flag" ||
6330 test ! -s conftest.err
6331 } && test -s conftest.
$ac_objext; then
6332 ac_cv_member_struct_stat_st_rdev
=yes
6334 $as_echo "$as_me: failed program was:" >&5
6335 sed 's/^/| /' conftest.
$ac_ext >&5
6337 ac_cv_member_struct_stat_st_rdev
=no
6340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6345 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6346 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6347 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6349 cat >>confdefs.h
<<_ACEOF
6350 #define HAVE_STRUCT_STAT_ST_RDEV 1
6356 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6357 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6358 if test "${ac_cv_struct_tm+set}" = set; then
6359 $as_echo_n "(cached) " >&6
6361 cat >conftest.
$ac_ext <<_ACEOF
6364 cat confdefs.h
>>conftest.
$ac_ext
6365 cat >>conftest.
$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 #include <sys/types.h>
6374 int *p = &tm.tm_sec;
6380 rm -f conftest.
$ac_objext
6381 if { (ac_try
="$ac_compile"
6383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6384 *) ac_try_echo=$ac_try;;
6386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6387 $as_echo "$ac_try_echo") >&5
6388 (eval "$ac_compile") 2>conftest.er1
6390 grep -v '^ *+' conftest.er1 >conftest.err
6392 cat conftest.err >&5
6393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } && {
6395 test -z "$ac_c_werror_flag" ||
6396 test ! -s conftest.err
6397 } && test -s conftest.$ac_objext; then
6398 ac_cv_struct_tm=time.h
6400 $as_echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6403 ac_cv_struct_tm=sys/time.h
6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6408 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6409 $as_echo "$ac_cv_struct_tm" >&6; }
6410 if test $ac_cv_struct_tm = sys/time.h; then
6412 cat >>confdefs.h <<\_ACEOF
6413 #define TM_IN_SYS_TIME 1
6419 ################################################################################
6437 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6438 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6442 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6443 $as_echo_n "checking for $ac_func... " >&6; }
6444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6445 $as_echo_n "(cached) " >&6
6447 cat >conftest.$ac_ext <<_ACEOF
6450 cat confdefs.h >>conftest.$ac_ext
6451 cat >>conftest.$ac_ext <<_ACEOF
6452 /* end confdefs.h. */
6453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6455 #define $ac_func innocuous_$ac_func
6457 /* System header to define __stub macros and hopefully few prototypes,
6458 which can conflict with char $ac_func (); below.
6459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6460 <limits.h> exists even on freestanding compilers. */
6463 # include <limits.h>
6465 # include <assert.h>
6470 /* Override any GCC internal prototype to avoid an error.
6471 Use char because int might match the return type of a GCC
6472 builtin and then its argument prototype would still apply. */
6477 /* The GNU C library defines this for functions which it implements
6478 to always fail with ENOSYS. Some functions are actually named
6479 something starting with __ and the normal name is an alias. */
6480 #if defined __stub_$ac_func || defined __stub___$ac_func
6492 rm -f conftest.$ac_objext conftest$ac_exeext
6493 if { (ac_try="$ac_link"
6495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6496 *) ac_try_echo
=$ac_try;;
6498 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6499 $as_echo "$ac_try_echo") >&5
6500 (eval "$ac_link") 2>conftest.er1
6502 grep -v '^ *+' conftest.er1
>conftest.err
6504 cat conftest.err
>&5
6505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && {
6507 test -z "$ac_c_werror_flag" ||
6508 test ! -s conftest.err
6509 } && test -s conftest
$ac_exeext && {
6510 test "$cross_compiling" = yes ||
6511 $as_test_x conftest
$ac_exeext
6513 eval "$as_ac_var=yes"
6515 $as_echo "$as_me: failed program was:" >&5
6516 sed 's/^/| /' conftest.
$ac_ext >&5
6518 eval "$as_ac_var=no"
6521 rm -rf conftest.dSYM
6522 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6523 conftest
$ac_exeext conftest.
$ac_ext
6525 ac_res
=`eval 'as_val=${'$as_ac_var'}
6526 $as_echo "$as_val"'`
6527 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6528 $as_echo "$ac_res" >&6; }
6529 as_val
=`eval 'as_val=${'$as_ac_var'}
6530 $as_echo "$as_val"'`
6531 if test "x$as_val" = x
""yes; then
6532 cat >>confdefs.h
<<_ACEOF
6533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6537 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6538 $as_echo "$as_me: error: bailing out" >&2;}
6539 { (exit 1); exit 1; }; }
6544 for ac_func
in siginterrupt
6546 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6547 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6548 $as_echo_n "checking for $ac_func... " >&6; }
6549 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6550 $as_echo_n "(cached) " >&6
6552 cat >conftest.
$ac_ext <<_ACEOF
6555 cat confdefs.h
>>conftest.
$ac_ext
6556 cat >>conftest.
$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6560 #define $ac_func innocuous_$ac_func
6562 /* System header to define __stub macros and hopefully few prototypes,
6563 which can conflict with char $ac_func (); below.
6564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6565 <limits.h> exists even on freestanding compilers. */
6568 # include <limits.h>
6570 # include <assert.h>
6575 /* Override any GCC internal prototype to avoid an error.
6576 Use char because int might match the return type of a GCC
6577 builtin and then its argument prototype would still apply. */
6582 /* The GNU C library defines this for functions which it implements
6583 to always fail with ENOSYS. Some functions are actually named
6584 something starting with __ and the normal name is an alias. */
6585 #if defined __stub_$ac_func || defined __stub___$ac_func
6597 rm -f conftest.
$ac_objext conftest
$ac_exeext
6598 if { (ac_try
="$ac_link"
6600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6601 *) ac_try_echo=$ac_try;;
6603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6604 $as_echo "$ac_try_echo") >&5
6605 (eval "$ac_link") 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } && {
6612 test -z "$ac_c_werror_flag" ||
6613 test ! -s conftest.err
6614 } && test -s conftest$ac_exeext && {
6615 test "$cross_compiling" = yes ||
6616 $as_test_x conftest$ac_exeext
6618 eval "$as_ac_var=yes"
6620 $as_echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.$ac_ext >&5
6623 eval "$as_ac_var=no"
6626 rm -rf conftest.dSYM
6627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6628 conftest$ac_exeext conftest.$ac_ext
6630 ac_res=`eval 'as_val=${'$as_ac_var'}
6631 $as_echo "$as_val"'`
6632 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6633 $as_echo "$ac_res" >&6; }
6634 as_val=`eval 'as_val=${'$as_ac_var'}
6635 $as_echo "$as_val"'`
6636 if test "x$as_val" = x""yes; then
6637 cat >>confdefs.h <<_ACEOF
6638 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6644 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6645 # for constant arguments. Useless!
6646 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6647 $as_echo_n "checking for working alloca.h... " >&6; }
6648 if test "${ac_cv_working_alloca_h+set}" = set; then
6649 $as_echo_n "(cached) " >&6
6651 cat >conftest.$ac_ext <<_ACEOF
6654 cat confdefs.h >>conftest.$ac_ext
6655 cat >>conftest.$ac_ext <<_ACEOF
6656 /* end confdefs.h. */
6661 char *p = (char *) alloca (2 * sizeof (int));
6667 rm -f conftest.$ac_objext conftest$ac_exeext
6668 if { (ac_try="$ac_link"
6670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6671 *) ac_try_echo
=$ac_try;;
6673 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6674 $as_echo "$ac_try_echo") >&5
6675 (eval "$ac_link") 2>conftest.er1
6677 grep -v '^ *+' conftest.er1
>conftest.err
6679 cat conftest.err
>&5
6680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } && {
6682 test -z "$ac_c_werror_flag" ||
6683 test ! -s conftest.err
6684 } && test -s conftest
$ac_exeext && {
6685 test "$cross_compiling" = yes ||
6686 $as_test_x conftest
$ac_exeext
6688 ac_cv_working_alloca_h
=yes
6690 $as_echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.
$ac_ext >&5
6693 ac_cv_working_alloca_h
=no
6696 rm -rf conftest.dSYM
6697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6698 conftest
$ac_exeext conftest.
$ac_ext
6700 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6701 $as_echo "$ac_cv_working_alloca_h" >&6; }
6702 if test $ac_cv_working_alloca_h = yes; then
6704 cat >>confdefs.h
<<\_ACEOF
6705 #define HAVE_ALLOCA_H 1
6710 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6711 $as_echo_n "checking for alloca... " >&6; }
6712 if test "${ac_cv_func_alloca_works+set}" = set; then
6713 $as_echo_n "(cached) " >&6
6715 cat >conftest.
$ac_ext <<_ACEOF
6718 cat confdefs.h
>>conftest.
$ac_ext
6719 cat >>conftest.
$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6722 # define alloca __builtin_alloca
6725 # include <malloc.h>
6726 # define alloca _alloca
6728 # ifdef HAVE_ALLOCA_H
6729 # include <alloca.h>
6734 # ifndef alloca /* predefined by HP cc +Olibcalls */
6745 char *p = (char *) alloca (1);
6751 rm -f conftest.
$ac_objext conftest
$ac_exeext
6752 if { (ac_try
="$ac_link"
6754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6755 *) ac_try_echo=$ac_try;;
6757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6758 $as_echo "$ac_try_echo") >&5
6759 (eval "$ac_link") 2>conftest.er1
6761 grep -v '^ *+' conftest.er1 >conftest.err
6763 cat conftest.err >&5
6764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && {
6766 test -z "$ac_c_werror_flag" ||
6767 test ! -s conftest.err
6768 } && test -s conftest$ac_exeext && {
6769 test "$cross_compiling" = yes ||
6770 $as_test_x conftest$ac_exeext
6772 ac_cv_func_alloca_works=yes
6774 $as_echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.$ac_ext >&5
6777 ac_cv_func_alloca_works=no
6780 rm -rf conftest.dSYM
6781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6782 conftest$ac_exeext conftest.$ac_ext
6784 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6785 $as_echo "$ac_cv_func_alloca_works" >&6; }
6787 if test $ac_cv_func_alloca_works = yes; then
6789 cat >>confdefs.h <<\_ACEOF
6790 #define HAVE_ALLOCA 1
6794 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6795 # that cause trouble. Some versions do not even contain alloca or
6796 # contain a buggy version. If you still want to use their alloca,
6797 # use ar to extract alloca.o from them instead of compiling alloca.c.
6799 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6801 cat >>confdefs.h <<\_ACEOF
6806 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6807 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6808 if test "${ac_cv_os_cray+set}" = set; then
6809 $as_echo_n "(cached
) " >&6
6811 cat >conftest.$ac_ext <<_ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6817 #if defined CRAY && ! defined CRAY2
6824 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6825 $EGREP "webecray
" >/dev/null 2>&1; then
6833 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6834 $as_echo "$ac_cv_os_cray" >&6; }
6835 if test $ac_cv_os_cray = yes; then
6836 for ac_func in _getb67 GETB67 getb67; do
6837 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6838 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6839 $as_echo_n "checking
for $ac_func...
" >&6; }
6840 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6841 $as_echo_n "(cached
) " >&6
6843 cat >conftest.$ac_ext <<_ACEOF
6846 cat confdefs.h >>conftest.$ac_ext
6847 cat >>conftest.$ac_ext <<_ACEOF
6848 /* end confdefs.h. */
6849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6851 #define $ac_func innocuous_$ac_func
6853 /* System header to define __stub macros and hopefully few prototypes,
6854 which can conflict with char $ac_func (); below.
6855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6856 <limits.h> exists even on freestanding compilers. */
6859 # include <limits.h>
6861 # include <assert.h>
6866 /* Override any GCC internal prototype to avoid an error.
6867 Use char because int might match the return type of a GCC
6868 builtin and then its argument prototype would still apply. */
6873 /* The GNU C library defines this for functions which it implements
6874 to always fail with ENOSYS. Some functions are actually named
6875 something starting with __ and the normal name is an alias. */
6876 #if defined __stub_$ac_func || defined __stub___$ac_func
6888 rm -f conftest.$ac_objext conftest$ac_exeext
6889 if { (ac_try="$ac_link"
6891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6892 *) ac_try_echo=$ac_try;;
6894 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6895 $as_echo "$ac_try_echo") >&5
6896 (eval "$ac_link") 2>conftest.er1
6898 grep -v '^ *+' conftest.er1 >conftest.err
6900 cat conftest.err >&5
6901 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6902 (exit $ac_status); } && {
6903 test -z "$ac_c_werror_flag" ||
6904 test ! -s conftest.err
6905 } && test -s conftest$ac_exeext && {
6906 test "$cross_compiling" = yes ||
6907 $as_test_x conftest$ac_exeext
6909 eval "$as_ac_var=yes"
6911 $as_echo "$as_me: failed program was
:" >&5
6912 sed 's/^/| /' conftest.$ac_ext >&5
6914 eval "$as_ac_var=no
"
6917 rm -rf conftest.dSYM
6918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6919 conftest$ac_exeext conftest.$ac_ext
6921 ac_res=`eval 'as_val=${'$as_ac_var'}
6922 $as_echo "$as_val"'`
6923 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6924 $as_echo "$ac_res" >&6; }
6925 as_val=`eval 'as_val=${'$as_ac_var'}
6926 $as_echo "$as_val"'`
6927 if test "x
$as_val" = x""yes; then
6929 cat >>confdefs.h <<_ACEOF
6930 #define CRAY_STACKSEG_END $ac_func
6939 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6940 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6941 if test "${ac_cv_c_stack_direction+set}" = set; then
6942 $as_echo_n "(cached
) " >&6
6944 if test "$cross_compiling" = yes; then
6945 ac_cv_c_stack_direction=0
6947 cat >conftest.$ac_ext <<_ACEOF
6950 cat confdefs.h >>conftest.$ac_ext
6951 cat >>conftest.$ac_ext <<_ACEOF
6952 /* end confdefs.h. */
6953 $ac_includes_default
6955 find_stack_direction ()
6957 static char *addr = 0;
6962 return find_stack_direction ();
6965 return (&dummy > addr) ? 1 : -1;
6971 return find_stack_direction () < 0;
6974 rm -f conftest$ac_exeext
6975 if { (ac_try="$ac_link"
6977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6978 *) ac_try_echo=$ac_try;;
6980 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6981 $as_echo "$ac_try_echo") >&5
6982 (eval "$ac_link") 2>&5
6984 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6986 { (case "(($ac_try" in
6987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6988 *) ac_try_echo=$ac_try;;
6990 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6991 $as_echo "$ac_try_echo") >&5
6992 (eval "$ac_try") 2>&5
6994 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6995 (exit $ac_status); }; }; then
6996 ac_cv_c_stack_direction=1
6998 $as_echo "$as_me: program exited with status
$ac_status" >&5
6999 $as_echo "$as_me: failed program was
:" >&5
7000 sed 's/^/| /' conftest.$ac_ext >&5
7003 ac_cv_c_stack_direction=-1
7005 rm -rf conftest.dSYM
7006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7011 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7012 $as_echo "$ac_cv_c_stack_direction" >&6; }
7014 cat >>confdefs.h <<_ACEOF
7015 #define STACK_DIRECTION $ac_cv_c_stack_direction
7021 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7022 $as_echo_n "checking whether closedir returns void...
" >&6; }
7023 if test "${ac_cv_func_closedir_void+set}" = set; then
7024 $as_echo_n "(cached
) " >&6
7026 if test "$cross_compiling" = yes; then
7027 ac_cv_func_closedir_void=yes
7029 cat >conftest.$ac_ext <<_ACEOF
7032 cat confdefs.h >>conftest.$ac_ext
7033 cat >>conftest.$ac_ext <<_ACEOF
7034 /* end confdefs.h. */
7035 $ac_includes_default
7036 #include <$ac_header_dirent>
7044 return closedir (opendir (".
")) != 0;
7049 rm -f conftest$ac_exeext
7050 if { (ac_try="$ac_link"
7052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7053 *) ac_try_echo=$ac_try;;
7055 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7056 $as_echo "$ac_try_echo") >&5
7057 (eval "$ac_link") 2>&5
7059 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7061 { (case "(($ac_try" in
7062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7063 *) ac_try_echo=$ac_try;;
7065 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7066 $as_echo "$ac_try_echo") >&5
7067 (eval "$ac_try") 2>&5
7069 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7070 (exit $ac_status); }; }; then
7071 ac_cv_func_closedir_void=no
7073 $as_echo "$as_me: program exited with status
$ac_status" >&5
7074 $as_echo "$as_me: failed program was
:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7078 ac_cv_func_closedir_void=yes
7080 rm -rf conftest.dSYM
7081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7086 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7087 $as_echo "$ac_cv_func_closedir_void" >&6; }
7088 if test $ac_cv_func_closedir_void = yes; then
7090 cat >>confdefs.h <<\_ACEOF
7091 #define CLOSEDIR_VOID 1
7097 for ac_header in vfork.h
7099 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7100 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7101 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7102 $as_echo_n "checking
for $ac_header...
" >&6; }
7103 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7104 $as_echo_n "(cached
) " >&6
7106 ac_res=`eval 'as_val=${'$as_ac_Header'}
7107 $as_echo "$as_val"'`
7108 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7109 $as_echo "$ac_res" >&6; }
7111 # Is the header compilable?
7112 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7113 $as_echo_n "checking
$ac_header usability...
" >&6; }
7114 cat >conftest.$ac_ext <<_ACEOF
7117 cat confdefs.h >>conftest.$ac_ext
7118 cat >>conftest.$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 $ac_includes_default
7121 #include <$ac_header>
7123 rm -f conftest.$ac_objext
7124 if { (ac_try="$ac_compile"
7126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7129 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7130 $as_echo "$ac_try_echo") >&5
7131 (eval "$ac_compile") 2>conftest.er1
7133 grep -v '^ *+' conftest.er1 >conftest.err
7135 cat conftest.err >&5
7136 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest.$ac_objext; then
7141 ac_header_compiler=yes
7143 $as_echo "$as_me: failed program was
:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7146 ac_header_compiler=no
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7151 $as_echo "$ac_header_compiler" >&6; }
7153 # Is the header present?
7154 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7155 $as_echo_n "checking
$ac_header presence...
" >&6; }
7156 cat >conftest.$ac_ext <<_ACEOF
7159 cat confdefs.h >>conftest.$ac_ext
7160 cat >>conftest.$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7162 #include <$ac_header>
7164 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7167 *) ac_try_echo=$ac_try;;
7169 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7170 $as_echo "$ac_try_echo") >&5
7171 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7173 grep -v '^ *+' conftest.er1 >conftest.err
7175 cat conftest.err >&5
7176 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7177 (exit $ac_status); } >/dev/null && {
7178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7179 test ! -s conftest.err
7181 ac_header_preproc=yes
7183 $as_echo "$as_me: failed program was
:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7186 ac_header_preproc=no
7189 rm -f conftest.err conftest.$ac_ext
7190 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7191 $as_echo "$ac_header_preproc" >&6; }
7193 # So? What about this header?
7194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7196 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7197 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7198 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7199 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7200 ac_header_preproc=yes
7203 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7204 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7205 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7206 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7207 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7208 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7209 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7210 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7211 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7212 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7213 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7214 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7218 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7219 $as_echo_n "checking
for $ac_header...
" >&6; }
7220 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7221 $as_echo_n "(cached
) " >&6
7223 eval "$as_ac_Header=\
$ac_header_preproc"
7225 ac_res=`eval 'as_val=${'$as_ac_Header'}
7226 $as_echo "$as_val"'`
7227 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7228 $as_echo "$ac_res" >&6; }
7231 as_val=`eval 'as_val=${'$as_ac_Header'}
7232 $as_echo "$as_val"'`
7233 if test "x
$as_val" = x""yes; then
7234 cat >>confdefs.h <<_ACEOF
7235 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7244 for ac_func in fork vfork
7246 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7247 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7248 $as_echo_n "checking
for $ac_func...
" >&6; }
7249 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7250 $as_echo_n "(cached
) " >&6
7252 cat >conftest.$ac_ext <<_ACEOF
7255 cat confdefs.h >>conftest.$ac_ext
7256 cat >>conftest.$ac_ext <<_ACEOF
7257 /* end confdefs.h. */
7258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7260 #define $ac_func innocuous_$ac_func
7262 /* System header to define __stub macros and hopefully few prototypes,
7263 which can conflict with char $ac_func (); below.
7264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7265 <limits.h> exists even on freestanding compilers. */
7268 # include <limits.h>
7270 # include <assert.h>
7275 /* Override any GCC internal prototype to avoid an error.
7276 Use char because int might match the return type of a GCC
7277 builtin and then its argument prototype would still apply. */
7282 /* The GNU C library defines this for functions which it implements
7283 to always fail with ENOSYS. Some functions are actually named
7284 something starting with __ and the normal name is an alias. */
7285 #if defined __stub_$ac_func || defined __stub___$ac_func
7297 rm -f conftest.$ac_objext conftest$ac_exeext
7298 if { (ac_try="$ac_link"
7300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7301 *) ac_try_echo=$ac_try;;
7303 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7304 $as_echo "$ac_try_echo") >&5
7305 (eval "$ac_link") 2>conftest.er1
7307 grep -v '^ *+' conftest.er1 >conftest.err
7309 cat conftest.err >&5
7310 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7311 (exit $ac_status); } && {
7312 test -z "$ac_c_werror_flag" ||
7313 test ! -s conftest.err
7314 } && test -s conftest$ac_exeext && {
7315 test "$cross_compiling" = yes ||
7316 $as_test_x conftest$ac_exeext
7318 eval "$as_ac_var=yes"
7320 $as_echo "$as_me: failed program was
:" >&5
7321 sed 's/^/| /' conftest.$ac_ext >&5
7323 eval "$as_ac_var=no
"
7326 rm -rf conftest.dSYM
7327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7328 conftest$ac_exeext conftest.$ac_ext
7330 ac_res=`eval 'as_val=${'$as_ac_var'}
7331 $as_echo "$as_val"'`
7332 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7333 $as_echo "$ac_res" >&6; }
7334 as_val=`eval 'as_val=${'$as_ac_var'}
7335 $as_echo "$as_val"'`
7336 if test "x
$as_val" = x""yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7344 if test "x
$ac_cv_func_fork" = xyes; then
7345 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7346 $as_echo_n "checking
for working fork...
" >&6; }
7347 if test "${ac_cv_func_fork_works+set}" = set; then
7348 $as_echo_n "(cached
) " >&6
7350 if test "$cross_compiling" = yes; then
7351 ac_cv_func_fork_works=cross
7353 cat >conftest.$ac_ext <<_ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 $ac_includes_default
7364 /* By Ruediger Kuhlmann. */
7371 rm -f conftest$ac_exeext
7372 if { (ac_try="$ac_link"
7374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7375 *) ac_try_echo=$ac_try;;
7377 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7378 $as_echo "$ac_try_echo") >&5
7379 (eval "$ac_link") 2>&5
7381 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7383 { (case "(($ac_try" in
7384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7387 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7388 $as_echo "$ac_try_echo") >&5
7389 (eval "$ac_try") 2>&5
7391 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7392 (exit $ac_status); }; }; then
7393 ac_cv_func_fork_works=yes
7395 $as_echo "$as_me: program exited with status
$ac_status" >&5
7396 $as_echo "$as_me: failed program was
:" >&5
7397 sed 's/^/| /' conftest.$ac_ext >&5
7400 ac_cv_func_fork_works=no
7402 rm -rf conftest.dSYM
7403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7408 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7409 $as_echo "$ac_cv_func_fork_works" >&6; }
7412 ac_cv_func_fork_works=$ac_cv_func_fork
7414 if test "x
$ac_cv_func_fork_works" = xcross; then
7416 *-*-amigaos* | *-*-msdosdjgpp*)
7417 # Override, as these systems have only a dummy fork() stub
7418 ac_cv_func_fork_works=no
7421 ac_cv_func_fork_works=yes
7424 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7425 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7427 ac_cv_func_vfork_works=$ac_cv_func_vfork
7428 if test "x
$ac_cv_func_vfork" = xyes; then
7429 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7430 $as_echo_n "checking
for working vfork...
" >&6; }
7431 if test "${ac_cv_func_vfork_works+set}" = set; then
7432 $as_echo_n "(cached
) " >&6
7434 if test "$cross_compiling" = yes; then
7435 ac_cv_func_vfork_works=cross
7437 cat >conftest.$ac_ext <<_ACEOF
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 /* Thanks to Paul Eggert for this test. */
7444 $ac_includes_default
7445 #include <sys/wait.h>
7449 /* On some sparc systems, changes by the child to local and incoming
7450 argument registers are propagated back to the parent. The compiler
7451 is told about this with #include <vfork.h>, but some compilers
7452 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7453 static variable whose address is put into a register that is
7454 clobbered by the vfork. */
7457 sparc_address_test (int arg)
7459 sparc_address_test (arg) int arg;
7480 pid_t parent = getpid ();
7483 sparc_address_test (0);
7488 /* Here is another test for sparc vfork register problems. This
7489 test uses lots of local variables, at least as many local
7490 variables as main has allocated so far including compiler
7491 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7492 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7493 reuse the register of parent for one of the local variables,
7494 since it will think that parent can't possibly be used any more
7495 in this routine. Assigning to the local variable will thus
7496 munge parent in the parent process. */
7498 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7499 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7500 /* Convince the compiler that p..p7 are live; otherwise, it might
7501 use the same hardware register for all 8 local variables. */
7502 if (p != p1 || p != p2 || p != p3 || p != p4
7503 || p != p5 || p != p6 || p != p7)
7506 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7507 from child file descriptors. If the child closes a descriptor
7508 before it execs or exits, this munges the parent's descriptor
7509 as well. Test for this by closing stdout in the child. */
7510 _exit(close(fileno(stdout)) != 0);
7515 while (wait(&status) != child)
7518 /* Was there some problem with vforking? */
7521 /* Did the child fail? (This shouldn't happen.) */
7524 /* Did the vfork/compiler bug occur? */
7525 || parent != getpid()
7527 /* Did the file descriptor bug occur? */
7528 || fstat(fileno(stdout), &st) != 0
7533 rm -f conftest$ac_exeext
7534 if { (ac_try="$ac_link"
7536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7537 *) ac_try_echo=$ac_try;;
7539 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7540 $as_echo "$ac_try_echo") >&5
7541 (eval "$ac_link") 2>&5
7543 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7545 { (case "(($ac_try" in
7546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7547 *) ac_try_echo=$ac_try;;
7549 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7550 $as_echo "$ac_try_echo") >&5
7551 (eval "$ac_try") 2>&5
7553 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7554 (exit $ac_status); }; }; then
7555 ac_cv_func_vfork_works=yes
7557 $as_echo "$as_me: program exited with status
$ac_status" >&5
7558 $as_echo "$as_me: failed program was
:" >&5
7559 sed 's/^/| /' conftest.$ac_ext >&5
7562 ac_cv_func_vfork_works=no
7564 rm -rf conftest.dSYM
7565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7570 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7571 $as_echo "$ac_cv_func_vfork_works" >&6; }
7574 if test "x
$ac_cv_func_fork_works" = xcross; then
7575 ac_cv_func_vfork_works=$ac_cv_func_vfork
7576 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7577 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7580 if test "x
$ac_cv_func_vfork_works" = xyes; then
7582 cat >>confdefs.h <<\_ACEOF
7583 #define HAVE_WORKING_VFORK 1
7588 cat >>confdefs.h <<\_ACEOF
7593 if test "x
$ac_cv_func_fork_works" = xyes; then
7595 cat >>confdefs.h <<\_ACEOF
7596 #define HAVE_WORKING_FORK 1
7601 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7602 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7603 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7604 $as_echo_n "(cached
) " >&6
7606 rm -f conftest.sym conftest.file
7608 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7609 if test "$cross_compiling" = yes; then
7610 ac_cv_func_lstat_dereferences_slashed_symlink=no
7612 cat >conftest.$ac_ext <<_ACEOF
7615 cat confdefs.h >>conftest.$ac_ext
7616 cat >>conftest.$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7618 $ac_includes_default
7623 /* Linux will dereference the symlink and fail.
7624 That is better in the sense that it means we will not
7625 have to compile and use the lstat wrapper. */
7626 return lstat ("conftest.sym
/", &sbuf) == 0;
7631 rm -f conftest$ac_exeext
7632 if { (ac_try="$ac_link"
7634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7635 *) ac_try_echo=$ac_try;;
7637 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7638 $as_echo "$ac_try_echo") >&5
7639 (eval "$ac_link") 2>&5
7641 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7643 { (case "(($ac_try" in
7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7645 *) ac_try_echo=$ac_try;;
7647 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7648 $as_echo "$ac_try_echo") >&5
7649 (eval "$ac_try") 2>&5
7651 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7652 (exit $ac_status); }; }; then
7653 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7655 $as_echo "$as_me: program exited with status
$ac_status" >&5
7656 $as_echo "$as_me: failed program was
:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7660 ac_cv_func_lstat_dereferences_slashed_symlink=no
7662 rm -rf conftest.dSYM
7663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7668 # If the `ln -s' command failed, then we probably don't even
7669 # have an lstat function.
7670 ac_cv_func_lstat_dereferences_slashed_symlink=no
7672 rm -f conftest.sym conftest.file
7675 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7676 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7678 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7680 cat >>confdefs.h <<_ACEOF
7681 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7685 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7686 case " $LIBOBJS " in
7687 *" lstat.
$ac_objext "* ) ;;
7688 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7694 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7695 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7696 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7697 $as_echo_n "(cached
) " >&6
7699 if test "$cross_compiling" = yes; then
7700 ac_cv_func_lstat_empty_string_bug=yes
7702 cat >conftest.$ac_ext <<_ACEOF
7705 cat confdefs.h >>conftest.$ac_ext
7706 cat >>conftest.$ac_ext <<_ACEOF
7707 /* end confdefs.h. */
7708 $ac_includes_default
7713 return lstat ("", &sbuf) == 0;
7718 rm -f conftest$ac_exeext
7719 if { (ac_try="$ac_link"
7721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7722 *) ac_try_echo=$ac_try;;
7724 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7725 $as_echo "$ac_try_echo") >&5
7726 (eval "$ac_link") 2>&5
7728 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7729 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7730 { (case "(($ac_try" in
7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732 *) ac_try_echo=$ac_try;;
7734 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7735 $as_echo "$ac_try_echo") >&5
7736 (eval "$ac_try") 2>&5
7738 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7739 (exit $ac_status); }; }; then
7740 ac_cv_func_lstat_empty_string_bug=no
7742 $as_echo "$as_me: program exited with status
$ac_status" >&5
7743 $as_echo "$as_me: failed program was
:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7747 ac_cv_func_lstat_empty_string_bug=yes
7749 rm -rf conftest.dSYM
7750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7755 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7756 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7757 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7758 case " $LIBOBJS " in
7759 *" lstat.
$ac_objext "* ) ;;
7760 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7772 for ac_header in stdlib.h
7774 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7775 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7776 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7777 $as_echo_n "checking
for $ac_header...
" >&6; }
7778 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7779 $as_echo_n "(cached
) " >&6
7781 ac_res=`eval 'as_val=${'$as_ac_Header'}
7782 $as_echo "$as_val"'`
7783 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7784 $as_echo "$ac_res" >&6; }
7786 # Is the header compilable?
7787 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7788 $as_echo_n "checking
$ac_header usability...
" >&6; }
7789 cat >conftest.$ac_ext <<_ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 $ac_includes_default
7796 #include <$ac_header>
7798 rm -f conftest.$ac_objext
7799 if { (ac_try="$ac_compile"
7801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7804 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7805 $as_echo "$ac_try_echo") >&5
7806 (eval "$ac_compile") 2>conftest.er1
7808 grep -v '^ *+' conftest.er1 >conftest.err
7810 cat conftest.err >&5
7811 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest.$ac_objext; then
7816 ac_header_compiler=yes
7818 $as_echo "$as_me: failed program was
:" >&5
7819 sed 's/^/| /' conftest.$ac_ext >&5
7821 ac_header_compiler=no
7824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7825 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7826 $as_echo "$ac_header_compiler" >&6; }
7828 # Is the header present?
7829 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7830 $as_echo_n "checking
$ac_header presence...
" >&6; }
7831 cat >conftest.$ac_ext <<_ACEOF
7834 cat confdefs.h >>conftest.$ac_ext
7835 cat >>conftest.$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837 #include <$ac_header>
7839 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7842 *) ac_try_echo=$ac_try;;
7844 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7845 $as_echo "$ac_try_echo") >&5
7846 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7848 grep -v '^ *+' conftest.er1 >conftest.err
7850 cat conftest.err >&5
7851 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7852 (exit $ac_status); } >/dev/null && {
7853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7854 test ! -s conftest.err
7856 ac_header_preproc=yes
7858 $as_echo "$as_me: failed program was
:" >&5
7859 sed 's/^/| /' conftest.$ac_ext >&5
7861 ac_header_preproc=no
7864 rm -f conftest.err conftest.$ac_ext
7865 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7866 $as_echo "$ac_header_preproc" >&6; }
7868 # So? What about this header?
7869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7871 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7872 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7873 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7874 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7875 ac_header_preproc=yes
7878 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7879 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7880 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7881 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7882 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7883 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7884 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7885 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7886 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7887 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7888 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7889 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7893 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7894 $as_echo_n "checking
for $ac_header...
" >&6; }
7895 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7896 $as_echo_n "(cached
) " >&6
7898 eval "$as_ac_Header=\
$ac_header_preproc"
7900 ac_res=`eval 'as_val=${'$as_ac_Header'}
7901 $as_echo "$as_val"'`
7902 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7903 $as_echo "$ac_res" >&6; }
7906 as_val=`eval 'as_val=${'$as_ac_Header'}
7907 $as_echo "$as_val"'`
7908 if test "x
$as_val" = x""yes; then
7909 cat >>confdefs.h <<_ACEOF
7910 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7917 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7918 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7919 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7920 $as_echo_n "(cached
) " >&6
7922 if test "$cross_compiling" = yes; then
7923 ac_cv_func_malloc_0_nonnull=no
7925 cat >conftest.$ac_ext <<_ACEOF
7928 cat confdefs.h >>conftest.$ac_ext
7929 cat >>conftest.$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7931 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7932 # include <stdlib.h>
7940 return ! malloc (0);
7945 rm -f conftest$ac_exeext
7946 if { (ac_try="$ac_link"
7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7949 *) ac_try_echo=$ac_try;;
7951 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7952 $as_echo "$ac_try_echo") >&5
7953 (eval "$ac_link") 2>&5
7955 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7957 { (case "(($ac_try" in
7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7959 *) ac_try_echo=$ac_try;;
7961 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7962 $as_echo "$ac_try_echo") >&5
7963 (eval "$ac_try") 2>&5
7965 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7966 (exit $ac_status); }; }; then
7967 ac_cv_func_malloc_0_nonnull=yes
7969 $as_echo "$as_me: program exited with status
$ac_status" >&5
7970 $as_echo "$as_me: failed program was
:" >&5
7971 sed 's/^/| /' conftest.$ac_ext >&5
7974 ac_cv_func_malloc_0_nonnull=no
7976 rm -rf conftest.dSYM
7977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7982 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
7983 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7984 if test $ac_cv_func_malloc_0_nonnull = yes; then
7986 cat >>confdefs.h <<\_ACEOF
7987 #define HAVE_MALLOC 1
7991 cat >>confdefs.h <<\_ACEOF
7992 #define HAVE_MALLOC 0
7995 case " $LIBOBJS " in
7996 *" malloc.
$ac_objext "* ) ;;
7997 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
8002 cat >>confdefs.h <<\_ACEOF
8003 #define malloc rpl_malloc
8010 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8011 $as_echo_n "checking
for working memcmp...
" >&6; }
8012 if test "${ac_cv_func_memcmp_working+set}" = set; then
8013 $as_echo_n "(cached
) " >&6
8015 if test "$cross_compiling" = yes; then
8016 ac_cv_func_memcmp_working=no
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 $ac_includes_default
8029 /* Some versions of memcmp are not 8-bit clean. */
8030 char c0 = '\100', c1 = '\200', c2 = '\201';
8031 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8034 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8035 or more and with at least one buffer not starting on a 4-byte boundary.
8036 William Lewis provided this test program. */
8041 for (i = 0; i < 4; i++)
8045 strcpy (a, "--------01111111");
8046 strcpy (b, "--------10000000");
8047 if (memcmp (a, b, 16) >= 0)
8057 rm -f conftest$ac_exeext
8058 if { (ac_try="$ac_link"
8060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8061 *) ac_try_echo=$ac_try;;
8063 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8064 $as_echo "$ac_try_echo") >&5
8065 (eval "$ac_link") 2>&5
8067 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8069 { (case "(($ac_try" in
8070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8071 *) ac_try_echo=$ac_try;;
8073 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8074 $as_echo "$ac_try_echo") >&5
8075 (eval "$ac_try") 2>&5
8077 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8078 (exit $ac_status); }; }; then
8079 ac_cv_func_memcmp_working=yes
8081 $as_echo "$as_me: program exited with status
$ac_status" >&5
8082 $as_echo "$as_me: failed program was
:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8086 ac_cv_func_memcmp_working=no
8088 rm -rf conftest.dSYM
8089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8094 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8095 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8096 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8097 *" memcmp.
$ac_objext "* ) ;;
8098 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8105 for ac_header in stdlib.h unistd.h
8107 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8108 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8109 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8110 $as_echo_n "checking
for $ac_header...
" >&6; }
8111 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8112 $as_echo_n "(cached
) " >&6
8114 ac_res=`eval 'as_val=${'$as_ac_Header'}
8115 $as_echo "$as_val"'`
8116 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8117 $as_echo "$ac_res" >&6; }
8119 # Is the header compilable?
8120 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8121 $as_echo_n "checking
$ac_header usability...
" >&6; }
8122 cat >conftest.$ac_ext <<_ACEOF
8125 cat confdefs.h >>conftest.$ac_ext
8126 cat >>conftest.$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8128 $ac_includes_default
8129 #include <$ac_header>
8131 rm -f conftest.$ac_objext
8132 if { (ac_try="$ac_compile"
8134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8135 *) ac_try_echo=$ac_try;;
8137 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8138 $as_echo "$ac_try_echo") >&5
8139 (eval "$ac_compile") 2>conftest.er1
8141 grep -v '^ *+' conftest.er1 >conftest.err
8143 cat conftest.err >&5
8144 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8145 (exit $ac_status); } && {
8146 test -z "$ac_c_werror_flag" ||
8147 test ! -s conftest.err
8148 } && test -s conftest.$ac_objext; then
8149 ac_header_compiler=yes
8151 $as_echo "$as_me: failed program was
:" >&5
8152 sed 's/^/| /' conftest.$ac_ext >&5
8154 ac_header_compiler=no
8157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8158 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8159 $as_echo "$ac_header_compiler" >&6; }
8161 # Is the header present?
8162 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8163 $as_echo_n "checking
$ac_header presence...
" >&6; }
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8170 #include <$ac_header>
8172 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8175 *) ac_try_echo=$ac_try;;
8177 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8178 $as_echo "$ac_try_echo") >&5
8179 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8181 grep -v '^ *+' conftest.er1 >conftest.err
8183 cat conftest.err >&5
8184 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8185 (exit $ac_status); } >/dev/null && {
8186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8187 test ! -s conftest.err
8189 ac_header_preproc=yes
8191 $as_echo "$as_me: failed program was
:" >&5
8192 sed 's/^/| /' conftest.$ac_ext >&5
8194 ac_header_preproc=no
8197 rm -f conftest.err conftest.$ac_ext
8198 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8199 $as_echo "$ac_header_preproc" >&6; }
8201 # So? What about this header?
8202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8204 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8205 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8206 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8207 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8208 ac_header_preproc=yes
8211 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8212 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8213 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8214 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8215 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8216 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8217 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8218 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8219 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8220 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8221 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8222 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8226 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8227 $as_echo_n "checking
for $ac_header...
" >&6; }
8228 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8229 $as_echo_n "(cached
) " >&6
8231 eval "$as_ac_Header=\
$ac_header_preproc"
8233 ac_res=`eval 'as_val=${'$as_ac_Header'}
8234 $as_echo "$as_val"'`
8235 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8236 $as_echo "$ac_res" >&6; }
8239 as_val=`eval 'as_val=${'$as_ac_Header'}
8240 $as_echo "$as_val"'`
8241 if test "x
$as_val" = x""yes; then
8242 cat >>confdefs.h <<_ACEOF
8243 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8251 for ac_func in getpagesize
8253 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8254 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8255 $as_echo_n "checking
for $ac_func...
" >&6; }
8256 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8257 $as_echo_n "(cached
) " >&6
8259 cat >conftest.$ac_ext <<_ACEOF
8262 cat confdefs.h >>conftest.$ac_ext
8263 cat >>conftest.$ac_ext <<_ACEOF
8264 /* end confdefs.h. */
8265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8267 #define $ac_func innocuous_$ac_func
8269 /* System header to define __stub macros and hopefully few prototypes,
8270 which can conflict with char $ac_func (); below.
8271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8272 <limits.h> exists even on freestanding compilers. */
8275 # include <limits.h>
8277 # include <assert.h>
8282 /* Override any GCC internal prototype to avoid an error.
8283 Use char because int might match the return type of a GCC
8284 builtin and then its argument prototype would still apply. */
8289 /* The GNU C library defines this for functions which it implements
8290 to always fail with ENOSYS. Some functions are actually named
8291 something starting with __ and the normal name is an alias. */
8292 #if defined __stub_$ac_func || defined __stub___$ac_func
8304 rm -f conftest.$ac_objext conftest$ac_exeext
8305 if { (ac_try="$ac_link"
8307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8310 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8311 $as_echo "$ac_try_echo") >&5
8312 (eval "$ac_link") 2>conftest.er1
8314 grep -v '^ *+' conftest.er1 >conftest.err
8316 cat conftest.err >&5
8317 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8318 (exit $ac_status); } && {
8319 test -z "$ac_c_werror_flag" ||
8320 test ! -s conftest.err
8321 } && test -s conftest$ac_exeext && {
8322 test "$cross_compiling" = yes ||
8323 $as_test_x conftest$ac_exeext
8325 eval "$as_ac_var=yes"
8327 $as_echo "$as_me: failed program was
:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8330 eval "$as_ac_var=no
"
8333 rm -rf conftest.dSYM
8334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8335 conftest$ac_exeext conftest.$ac_ext
8337 ac_res=`eval 'as_val=${'$as_ac_var'}
8338 $as_echo "$as_val"'`
8339 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8340 $as_echo "$ac_res" >&6; }
8341 as_val=`eval 'as_val=${'$as_ac_var'}
8342 $as_echo "$as_val"'`
8343 if test "x
$as_val" = x""yes; then
8344 cat >>confdefs.h <<_ACEOF
8345 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8351 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8352 $as_echo_n "checking
for working mmap...
" >&6; }
8353 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8354 $as_echo_n "(cached
) " >&6
8356 if test "$cross_compiling" = yes; then
8357 ac_cv_func_mmap_fixed_mapped=no
8359 cat >conftest.$ac_ext <<_ACEOF
8362 cat confdefs.h >>conftest.$ac_ext
8363 cat >>conftest.$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8365 $ac_includes_default
8366 /* malloc might have been renamed as rpl_malloc. */
8369 /* Thanks to Mike Haertel and Jim Avera for this test.
8370 Here is a matrix of mmap possibilities:
8371 mmap private not fixed
8372 mmap private fixed at somewhere currently unmapped
8373 mmap private fixed at somewhere already mapped
8374 mmap shared not fixed
8375 mmap shared fixed at somewhere currently unmapped
8376 mmap shared fixed at somewhere already mapped
8377 For private mappings, we should verify that changes cannot be read()
8378 back from the file, nor mmap's back from the file at a different
8379 address. (There have been systems where private was not correctly
8380 implemented like the infamous i386 svr4.0, and systems where the
8381 VM page cache was not coherent with the file system buffer cache
8382 like early versions of FreeBSD and possibly contemporary NetBSD.)
8383 For shared mappings, we should conversely verify that changes get
8384 propagated back to all the places they're supposed to be.
8386 Grep wants private fixed already mapped.
8387 The main things grep needs to know about mmap are:
8388 * does it exist and is it safe to write into the mmap'd area
8389 * how to use it (BSD variants) */
8392 #include <sys/mman.h>
8394 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8398 /* This mess was copied from the GNU getpagesize.h. */
8399 #ifndef HAVE_GETPAGESIZE
8400 /* Assume that all systems that can run configure have sys/param.h. */
8401 # ifndef HAVE_SYS_PARAM_H
8402 # define HAVE_SYS_PARAM_H 1
8405 # ifdef _SC_PAGESIZE
8406 # define getpagesize() sysconf(_SC_PAGESIZE)
8407 # else /* no _SC_PAGESIZE */
8408 # ifdef HAVE_SYS_PARAM_H
8409 # include <sys/param.h>
8410 # ifdef EXEC_PAGESIZE
8411 # define getpagesize() EXEC_PAGESIZE
8412 # else /* no EXEC_PAGESIZE */
8414 # define getpagesize() NBPG * CLSIZE
8417 # endif /* no CLSIZE */
8418 # else /* no NBPG */
8420 # define getpagesize() NBPC
8421 # else /* no NBPC */
8423 # define getpagesize() PAGESIZE
8424 # endif /* PAGESIZE */
8425 # endif /* no NBPC */
8426 # endif /* no NBPG */
8427 # endif /* no EXEC_PAGESIZE */
8428 # else /* no HAVE_SYS_PARAM_H */
8429 # define getpagesize() 8192 /* punt totally */
8430 # endif /* no HAVE_SYS_PARAM_H */
8431 # endif /* no _SC_PAGESIZE */
8433 #endif /* no HAVE_GETPAGESIZE */
8438 char *data, *data2, *data3;
8442 pagesize = getpagesize ();
8444 /* First, make a file with some known garbage in it. */
8445 data = (char *) malloc (pagesize);
8448 for (i = 0; i < pagesize; ++i)
8449 *(data + i) = rand ();
8451 fd = creat ("conftest.mmap
", 0600);
8454 if (write (fd, data, pagesize) != pagesize)
8458 /* Next, try to mmap the file at a fixed address which already has
8459 something else allocated at it. If we can, also make sure that
8460 we see the same garbage. */
8461 fd = open ("conftest.mmap
", O_RDWR);
8464 data2 = (char *) malloc (2 * pagesize);
8467 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8468 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8469 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8471 for (i = 0; i < pagesize; ++i)
8472 if (*(data + i) != *(data2 + i))
8475 /* Finally, make sure that changes to the mapped area do not
8476 percolate back to the file as seen by read(). (This is a bug on
8477 some variants of i386 svr4.0.) */
8478 for (i = 0; i < pagesize; ++i)
8479 *(data2 + i) = *(data2 + i) + 1;
8480 data3 = (char *) malloc (pagesize);
8483 if (read (fd, data3, pagesize) != pagesize)
8485 for (i = 0; i < pagesize; ++i)
8486 if (*(data + i) != *(data3 + i))
8492 rm -f conftest$ac_exeext
8493 if { (ac_try="$ac_link"
8495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8496 *) ac_try_echo=$ac_try;;
8498 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8499 $as_echo "$ac_try_echo") >&5
8500 (eval "$ac_link") 2>&5
8502 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8504 { (case "(($ac_try" in
8505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8506 *) ac_try_echo=$ac_try;;
8508 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8509 $as_echo "$ac_try_echo") >&5
8510 (eval "$ac_try") 2>&5
8512 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8513 (exit $ac_status); }; }; then
8514 ac_cv_func_mmap_fixed_mapped=yes
8516 $as_echo "$as_me: program exited with status
$ac_status" >&5
8517 $as_echo "$as_me: failed program was
:" >&5
8518 sed 's/^/| /' conftest.$ac_ext >&5
8521 ac_cv_func_mmap_fixed_mapped=no
8523 rm -rf conftest.dSYM
8524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8529 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8530 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8531 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8533 cat >>confdefs.h <<\_ACEOF
8540 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8541 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8542 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8543 $as_echo_n "(cached
) " >&6
8545 if test "$cross_compiling" = yes; then
8546 ac_cv_func_stat_empty_string_bug=yes
8548 cat >conftest.$ac_ext <<_ACEOF
8551 cat confdefs.h >>conftest.$ac_ext
8552 cat >>conftest.$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8554 $ac_includes_default
8559 return stat ("", &sbuf) == 0;
8564 rm -f conftest$ac_exeext
8565 if { (ac_try="$ac_link"
8567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8568 *) ac_try_echo=$ac_try;;
8570 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8571 $as_echo "$ac_try_echo") >&5
8572 (eval "$ac_link") 2>&5
8574 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8576 { (case "(($ac_try" in
8577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8578 *) ac_try_echo=$ac_try;;
8580 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8581 $as_echo "$ac_try_echo") >&5
8582 (eval "$ac_try") 2>&5
8584 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8585 (exit $ac_status); }; }; then
8586 ac_cv_func_stat_empty_string_bug=no
8588 $as_echo "$as_me: program exited with status
$ac_status" >&5
8589 $as_echo "$as_me: failed program was
:" >&5
8590 sed 's/^/| /' conftest.$ac_ext >&5
8593 ac_cv_func_stat_empty_string_bug=yes
8595 rm -rf conftest.dSYM
8596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8601 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8602 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8603 if test $ac_cv_func_stat_empty_string_bug = yes; then
8604 case " $LIBOBJS " in
8605 *" stat.
$ac_objext "* ) ;;
8606 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8611 cat >>confdefs.h <<_ACEOF
8612 #define HAVE_STAT_EMPTY_STRING_BUG 1
8617 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8618 $as_echo_n "checking
for working strtod...
" >&6; }
8619 if test "${ac_cv_func_strtod+set}" = set; then
8620 $as_echo_n "(cached
) " >&6
8622 if test "$cross_compiling" = yes; then
8623 ac_cv_func_strtod=no
8625 cat >conftest.$ac_ext <<_ACEOF
8628 cat confdefs.h >>conftest.$ac_ext
8629 cat >>conftest.$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8632 $ac_includes_default
8640 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8641 char *string = " +69";
8644 value = strtod (string, &term);
8645 if (value != 69 || term != (string + 4))
8650 /* Under Solaris 2.4, strtod returns the wrong value for the
8651 terminating character under some conditions. */
8652 char *string = "NaN
";
8654 strtod (string, &term);
8655 if (term != string && *(term - 1) == 0)
8662 rm -f conftest$ac_exeext
8663 if { (ac_try="$ac_link"
8665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8666 *) ac_try_echo=$ac_try;;
8668 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8669 $as_echo "$ac_try_echo") >&5
8670 (eval "$ac_link") 2>&5
8672 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8674 { (case "(($ac_try" in
8675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8676 *) ac_try_echo=$ac_try;;
8678 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8679 $as_echo "$ac_try_echo") >&5
8680 (eval "$ac_try") 2>&5
8682 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8683 (exit $ac_status); }; }; then
8684 ac_cv_func_strtod=yes
8686 $as_echo "$as_me: program exited with status
$ac_status" >&5
8687 $as_echo "$as_me: failed program was
:" >&5
8688 sed 's/^/| /' conftest.$ac_ext >&5
8691 ac_cv_func_strtod=no
8693 rm -rf conftest.dSYM
8694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8699 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8700 $as_echo "$ac_cv_func_strtod" >&6; }
8701 if test $ac_cv_func_strtod = no; then
8702 case " $LIBOBJS " in
8703 *" strtod.
$ac_objext "* ) ;;
8704 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8708 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8709 $as_echo_n "checking
for pow...
" >&6; }
8710 if test "${ac_cv_func_pow+set}" = set; then
8711 $as_echo_n "(cached
) " >&6
8713 cat >conftest.$ac_ext <<_ACEOF
8716 cat confdefs.h >>conftest.$ac_ext
8717 cat >>conftest.$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8719 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8721 #define pow innocuous_pow
8723 /* System header to define __stub macros and hopefully few prototypes,
8724 which can conflict with char pow (); below.
8725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8726 <limits.h> exists even on freestanding compilers. */
8729 # include <limits.h>
8731 # include <assert.h>
8736 /* Override any GCC internal prototype to avoid an error.
8737 Use char because int might match the return type of a GCC
8738 builtin and then its argument prototype would still apply. */
8743 /* The GNU C library defines this for functions which it implements
8744 to always fail with ENOSYS. Some functions are actually named
8745 something starting with __ and the normal name is an alias. */
8746 #if defined __stub_pow || defined __stub___pow
8758 rm -f conftest.$ac_objext conftest$ac_exeext
8759 if { (ac_try="$ac_link"
8761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8762 *) ac_try_echo=$ac_try;;
8764 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8765 $as_echo "$ac_try_echo") >&5
8766 (eval "$ac_link") 2>conftest.er1
8768 grep -v '^ *+' conftest.er1 >conftest.err
8770 cat conftest.err >&5
8771 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8772 (exit $ac_status); } && {
8773 test -z "$ac_c_werror_flag" ||
8774 test ! -s conftest.err
8775 } && test -s conftest$ac_exeext && {
8776 test "$cross_compiling" = yes ||
8777 $as_test_x conftest$ac_exeext
8781 $as_echo "$as_me: failed program was
:" >&5
8782 sed 's/^/| /' conftest.$ac_ext >&5
8787 rm -rf conftest.dSYM
8788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8789 conftest$ac_exeext conftest.$ac_ext
8791 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8792 $as_echo "$ac_cv_func_pow" >&6; }
8794 if test $ac_cv_func_pow = no; then
8795 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8796 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8797 if test "${ac_cv_lib_m_pow+set}" = set; then
8798 $as_echo_n "(cached
) " >&6
8800 ac_check_lib_save_LIBS=$LIBS
8802 cat >conftest.$ac_ext <<_ACEOF
8805 cat confdefs.h >>conftest.$ac_ext
8806 cat >>conftest.$ac_ext <<_ACEOF
8807 /* end confdefs.h. */
8809 /* Override any GCC internal prototype to avoid an error.
8810 Use char because int might match the return type of a GCC
8811 builtin and then its argument prototype would still apply. */
8824 rm -f conftest.$ac_objext conftest$ac_exeext
8825 if { (ac_try="$ac_link"
8827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8828 *) ac_try_echo=$ac_try;;
8830 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8831 $as_echo "$ac_try_echo") >&5
8832 (eval "$ac_link") 2>conftest.er1
8834 grep -v '^ *+' conftest.er1 >conftest.err
8836 cat conftest.err >&5
8837 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8838 (exit $ac_status); } && {
8839 test -z "$ac_c_werror_flag" ||
8840 test ! -s conftest.err
8841 } && test -s conftest$ac_exeext && {
8842 test "$cross_compiling" = yes ||
8843 $as_test_x conftest$ac_exeext
8847 $as_echo "$as_me: failed program was
:" >&5
8848 sed 's/^/| /' conftest.$ac_ext >&5
8853 rm -rf conftest.dSYM
8854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8855 conftest$ac_exeext conftest.$ac_ext
8856 LIBS=$ac_check_lib_save_LIBS
8858 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8859 $as_echo "$ac_cv_lib_m_pow" >&6; }
8860 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8863 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8864 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8872 for ac_func in vprintf
8874 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8875 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8876 $as_echo_n "checking
for $ac_func...
" >&6; }
8877 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8878 $as_echo_n "(cached
) " >&6
8880 cat >conftest.$ac_ext <<_ACEOF
8883 cat confdefs.h >>conftest.$ac_ext
8884 cat >>conftest.$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8888 #define $ac_func innocuous_$ac_func
8890 /* System header to define __stub macros and hopefully few prototypes,
8891 which can conflict with char $ac_func (); below.
8892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8893 <limits.h> exists even on freestanding compilers. */
8896 # include <limits.h>
8898 # include <assert.h>
8903 /* Override any GCC internal prototype to avoid an error.
8904 Use char because int might match the return type of a GCC
8905 builtin and then its argument prototype would still apply. */
8910 /* The GNU C library defines this for functions which it implements
8911 to always fail with ENOSYS. Some functions are actually named
8912 something starting with __ and the normal name is an alias. */
8913 #if defined __stub_$ac_func || defined __stub___$ac_func
8925 rm -f conftest.$ac_objext conftest$ac_exeext
8926 if { (ac_try="$ac_link"
8928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8929 *) ac_try_echo=$ac_try;;
8931 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8932 $as_echo "$ac_try_echo") >&5
8933 (eval "$ac_link") 2>conftest.er1
8935 grep -v '^ *+' conftest.er1 >conftest.err
8937 cat conftest.err >&5
8938 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8939 (exit $ac_status); } && {
8940 test -z "$ac_c_werror_flag" ||
8941 test ! -s conftest.err
8942 } && test -s conftest$ac_exeext && {
8943 test "$cross_compiling" = yes ||
8944 $as_test_x conftest$ac_exeext
8946 eval "$as_ac_var=yes"
8948 $as_echo "$as_me: failed program was
:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 eval "$as_ac_var=no
"
8954 rm -rf conftest.dSYM
8955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8956 conftest$ac_exeext conftest.$ac_ext
8958 ac_res=`eval 'as_val=${'$as_ac_var'}
8959 $as_echo "$as_val"'`
8960 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8961 $as_echo "$ac_res" >&6; }
8962 as_val=`eval 'as_val=${'$as_ac_var'}
8963 $as_echo "$as_val"'`
8964 if test "x
$as_val" = x""yes; then
8965 cat >>confdefs.h <<_ACEOF
8966 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8969 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8970 $as_echo_n "checking
for _doprnt...
" >&6; }
8971 if test "${ac_cv_func__doprnt+set}" = set; then
8972 $as_echo_n "(cached
) " >&6
8974 cat >conftest.$ac_ext <<_ACEOF
8977 cat confdefs.h >>conftest.$ac_ext
8978 cat >>conftest.$ac_ext <<_ACEOF
8979 /* end confdefs.h. */
8980 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8982 #define _doprnt innocuous__doprnt
8984 /* System header to define __stub macros and hopefully few prototypes,
8985 which can conflict with char _doprnt (); below.
8986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8987 <limits.h> exists even on freestanding compilers. */
8990 # include <limits.h>
8992 # include <assert.h>
8997 /* Override any GCC internal prototype to avoid an error.
8998 Use char because int might match the return type of a GCC
8999 builtin and then its argument prototype would still apply. */
9004 /* The GNU C library defines this for functions which it implements
9005 to always fail with ENOSYS. Some functions are actually named
9006 something starting with __ and the normal name is an alias. */
9007 #if defined __stub__doprnt || defined __stub____doprnt
9019 rm -f conftest.$ac_objext conftest$ac_exeext
9020 if { (ac_try="$ac_link"
9022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9023 *) ac_try_echo=$ac_try;;
9025 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9026 $as_echo "$ac_try_echo") >&5
9027 (eval "$ac_link") 2>conftest.er1
9029 grep -v '^ *+' conftest.er1 >conftest.err
9031 cat conftest.err >&5
9032 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9033 (exit $ac_status); } && {
9034 test -z "$ac_c_werror_flag" ||
9035 test ! -s conftest.err
9036 } && test -s conftest$ac_exeext && {
9037 test "$cross_compiling" = yes ||
9038 $as_test_x conftest$ac_exeext
9040 ac_cv_func__doprnt=yes
9042 $as_echo "$as_me: failed program was
:" >&5
9043 sed 's/^/| /' conftest.$ac_ext >&5
9045 ac_cv_func__doprnt=no
9048 rm -rf conftest.dSYM
9049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9050 conftest$ac_exeext conftest.$ac_ext
9052 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9053 $as_echo "$ac_cv_func__doprnt" >&6; }
9054 if test "x
$ac_cv_func__doprnt" = x""yes; then
9056 cat >>confdefs.h <<\_ACEOF
9057 #define HAVE_DOPRNT 1
9067 ################################################################################
9068 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9069 $as_echo_n "checking whether to use static linking...
" >&6; }
9070 # Check whether --enable-static_link was given.
9071 if test "${enable_static_link+set}" = set; then
9072 enableval=$enable_static_link; STATIC_LINK=$enableval
9077 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9078 $as_echo "$STATIC_LINK" >&6; }
9080 ################################################################################
9083 ################################################################################
9084 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9085 $as_echo_n "checking
file owner...
" >&6; }
9089 # Check whether --with-user was given.
9090 if test "${with_user+set}" = set; then
9091 withval=$with_user; OWNER="$withval"
9094 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9095 $as_echo "$OWNER" >&6; }
9097 if test x$OWNER != x; then
9101 ################################################################################
9102 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9103 $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
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
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 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12455 $as_echo_n "checking whether to install fsadm... " >&6; }
12456 # Check whether --enable-fsadm was given.
12457 if test "${enable_fsadm+set}" = set; then
12458 enableval=$enable_fsadm; FSADM=$enableval
12461 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12462 $as_echo "$FSADM" >&6; }
12464 ################################################################################
12465 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12466 $as_echo_n "checking whether to use dmeventd... " >&6; }
12467 # Check whether --enable-dmeventd was given.
12468 if test "${enable_dmeventd+set}" = set; then
12469 enableval=$enable_dmeventd; DMEVENTD=$enableval
12472 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12473 $as_echo "$DMEVENTD" >&6; }
12475 BUILD_DMEVENTD=$DMEVENTD
12477 if test x$DMEVENTD = xyes; then
12478 if test x$MIRRORS != xinternal; then
12479 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12481 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12483 { (exit 1); exit 1; }; }
12485 if test x$CMDLIB = xno; then
12486 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12488 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12490 { (exit 1); exit 1; }; }
12494 if test x$DMEVENTD = xyes; then
12496 cat >>confdefs.h <<\_ACEOF
12502 ################################################################################
12504 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12505 $as_echo_n "checking for getline in -lc... " >&6; }
12506 if test "${ac_cv_lib_c_getline+set}" = set; then
12507 $as_echo_n "(cached) " >&6
12509 ac_check_lib_save_LIBS=$LIBS
12511 cat >conftest.$ac_ext <<_ACEOF
12514 cat confdefs.h >>conftest.$ac_ext
12515 cat >>conftest.$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12533 rm -f conftest.$ac_objext conftest$ac_exeext
12534 if { (ac_try="$ac_link"
12535 case "(($ac_try" in
12536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12537 *) ac_try_echo=$ac_try;;
12539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12540 $as_echo "$ac_try_echo") >&5
12541 (eval "$ac_link") 2>conftest.er1
12543 grep -v '^
*+' conftest.er1 >conftest.err
12545 cat conftest.err >&5
12546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } && {
12548 test -z "$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12550 } && test -s conftest$ac_exeext && {
12551 test "$cross_compiling" = yes ||
12552 $as_test_x conftest$ac_exeext
12554 ac_cv_lib_c_getline=yes
12556 $as_echo "$as_me: failed program was:" >&5
12557 sed 's
/^
/|
/' conftest.$ac_ext >&5
12559 ac_cv_lib_c_getline=no
12562 rm -rf conftest.dSYM
12563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_lib_save_LIBS
12567 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12568 $as_echo "$ac_cv_lib_c_getline" >&6; }
12569 if test "x$ac_cv_lib_c_getline" = x""yes; then
12571 cat >>confdefs.h <<\_ACEOF
12572 #define HAVE_GETLINE 1
12578 ################################################################################
12580 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12581 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12582 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12583 $as_echo_n "(cached) " >&6
12585 ac_check_lib_save_LIBS=$LIBS
12587 cat >conftest.$ac_ext <<_ACEOF
12590 cat confdefs.h >>conftest.$ac_ext
12591 cat >>conftest.$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12600 char canonicalize_file_name ();
12604 return canonicalize_file_name ();
12609 rm -f conftest.$ac_objext conftest$ac_exeext
12610 if { (ac_try="$ac_link"
12611 case "(($ac_try" in
12612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12613 *) ac_try_echo=$ac_try;;
12615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12616 $as_echo "$ac_try_echo") >&5
12617 (eval "$ac_link") 2>conftest.er1
12619 grep -v '^
*+' conftest.er1 >conftest.err
12621 cat conftest.err >&5
12622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } && {
12624 test -z "$ac_c_werror_flag" ||
12625 test ! -s conftest.err
12626 } && test -s conftest$ac_exeext && {
12627 test "$cross_compiling" = yes ||
12628 $as_test_x conftest$ac_exeext
12630 ac_cv_lib_c_canonicalize_file_name=yes
12632 $as_echo "$as_me: failed program was:" >&5
12633 sed 's
/^
/|
/' conftest.$ac_ext >&5
12635 ac_cv_lib_c_canonicalize_file_name=no
12638 rm -rf conftest.dSYM
12639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_lib_save_LIBS
12643 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12644 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12645 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12647 cat >>confdefs.h <<\_ACEOF
12648 #define HAVE_CANONICALIZE_FILE_NAME 1
12654 ################################################################################
12655 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12656 then exec_prefix="";
12659 ################################################################################
12660 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12661 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12662 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12663 $as_echo_n "(cached) " >&6
12665 ac_check_lib_save_LIBS=$LIBS
12667 cat >conftest.$ac_ext <<_ACEOF
12670 cat confdefs.h >>conftest.$ac_ext
12671 cat >>conftest.$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12689 rm -f conftest.$ac_objext conftest$ac_exeext
12690 if { (ac_try="$ac_link"
12691 case "(($ac_try" in
12692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12693 *) ac_try_echo=$ac_try;;
12695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12696 $as_echo "$ac_try_echo") >&5
12697 (eval "$ac_link") 2>conftest.er1
12699 grep -v '^
*+' conftest.er1 >conftest.err
12701 cat conftest.err >&5
12702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } && {
12704 test -z "$ac_c_werror_flag" ||
12705 test ! -s conftest.err
12706 } && test -s conftest$ac_exeext && {
12707 test "$cross_compiling" = yes ||
12708 $as_test_x conftest$ac_exeext
12710 ac_cv_lib_dl_dlopen=yes
12712 $as_echo "$as_me: failed program was:" >&5
12713 sed 's
/^
/|
/' conftest.$ac_ext >&5
12715 ac_cv_lib_dl_dlopen=no
12718 rm -rf conftest.dSYM
12719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_lib_save_LIBS
12723 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12724 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12725 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12728 cat >>confdefs.h <<\_ACEOF
12729 #define HAVE_LIBDL 1
12741 ################################################################################
12742 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12743 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12744 \) -a "x$STATIC_LINK" = xyes ];
12745 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12747 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12749 { (exit 1); exit 1; }; }
12752 ################################################################################
12753 if [ "$DMEVENTD" = yes -o "$CLVMD" != none ] ; then
12754 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
12755 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
12756 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
12757 $as_echo_n "(cached) " >&6
12759 ac_check_lib_save_LIBS=$LIBS
12760 LIBS="-lpthread $LIBS"
12761 cat >conftest.$ac_ext <<_ACEOF
12764 cat confdefs.h >>conftest.$ac_ext
12765 cat >>conftest.$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12768 /* Override any GCC internal prototype to avoid an error.
12769 Use char because int might match the return type of a GCC
12770 builtin and then its argument prototype would still apply. */
12774 char pthread_mutex_lock ();
12778 return pthread_mutex_lock ();
12783 rm -f conftest.$ac_objext conftest$ac_exeext
12784 if { (ac_try="$ac_link"
12785 case "(($ac_try" in
12786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12787 *) ac_try_echo=$ac_try;;
12789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12790 $as_echo "$ac_try_echo") >&5
12791 (eval "$ac_link") 2>conftest.er1
12793 grep -v '^
*+' conftest.er1 >conftest.err
12795 cat conftest.err >&5
12796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest$ac_exeext && {
12801 test "$cross_compiling" = yes ||
12802 $as_test_x conftest$ac_exeext
12804 ac_cv_lib_pthread_pthread_mutex_lock=yes
12806 $as_echo "$as_me: failed program was:" >&5
12807 sed 's
/^
/|
/' conftest.$ac_ext >&5
12809 ac_cv_lib_pthread_pthread_mutex_lock=no
12812 rm -rf conftest.dSYM
12813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12814 conftest$ac_exeext conftest.$ac_ext
12815 LIBS=$ac_check_lib_save_LIBS
12817 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
12818 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
12819 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
12820 PTHREAD_LIBS="-lpthread"
12827 ################################################################################
12828 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12829 $as_echo_n "checking whether to enable selinux support... " >&6; }
12830 # Check whether --enable-selinux was given.
12831 if test "${enable_selinux+set}" = set; then
12832 enableval=$enable_selinux; SELINUX=$enableval
12835 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12836 $as_echo "$SELINUX" >&6; }
12838 ################################################################################
12839 if test x$SELINUX = xyes; then
12840 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12841 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12842 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12843 $as_echo_n "(cached) " >&6
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lsepol $LIBS"
12847 cat >conftest.$ac_ext <<_ACEOF
12850 cat confdefs.h >>conftest.$ac_ext
12851 cat >>conftest.$ac_ext <<_ACEOF
12852 /* end confdefs.h. */
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12860 char sepol_check_context ();
12864 return sepol_check_context ();
12869 rm -f conftest.$ac_objext conftest$ac_exeext
12870 if { (ac_try="$ac_link"
12871 case "(($ac_try" in
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12876 $as_echo "$ac_try_echo") >&5
12877 (eval "$ac_link") 2>conftest.er1
12879 grep -v '^
*+' conftest.er1 >conftest.err
12881 cat conftest.err >&5
12882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } && {
12884 test -z "$ac_c_werror_flag" ||
12885 test ! -s conftest.err
12886 } && test -s conftest$ac_exeext && {
12887 test "$cross_compiling" = yes ||
12888 $as_test_x conftest$ac_exeext
12890 ac_cv_lib_sepol_sepol_check_context=yes
12892 $as_echo "$as_me: failed program was:" >&5
12893 sed 's
/^
/|
/' conftest.$ac_ext >&5
12895 ac_cv_lib_sepol_sepol_check_context=no
12898 rm -rf conftest.dSYM
12899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12900 conftest$ac_exeext conftest.$ac_ext
12901 LIBS=$ac_check_lib_save_LIBS
12903 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12904 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12905 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12908 cat >>confdefs.h <<\_ACEOF
12909 #define HAVE_SEPOL 1
12912 SELINUX_LIBS="-lsepol"
12916 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12917 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12918 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12919 $as_echo_n "(cached) " >&6
12921 ac_check_lib_save_LIBS=$LIBS
12922 LIBS="-lselinux $LIBS"
12923 cat >conftest.$ac_ext <<_ACEOF
12926 cat confdefs.h >>conftest.$ac_ext
12927 cat >>conftest.$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12936 char is_selinux_enabled ();
12940 return is_selinux_enabled ();
12945 rm -f conftest.$ac_objext conftest$ac_exeext
12946 if { (ac_try="$ac_link"
12947 case "(($ac_try" in
12948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12949 *) ac_try_echo=$ac_try;;
12951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12952 $as_echo "$ac_try_echo") >&5
12953 (eval "$ac_link") 2>conftest.er1
12955 grep -v '^
*+' conftest.er1 >conftest.err
12957 cat conftest.err >&5
12958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } && {
12960 test -z "$ac_c_werror_flag" ||
12961 test ! -s conftest.err
12962 } && test -s conftest$ac_exeext && {
12963 test "$cross_compiling" = yes ||
12964 $as_test_x conftest$ac_exeext
12966 ac_cv_lib_selinux_is_selinux_enabled=yes
12968 $as_echo "$as_me: failed program was:" >&5
12969 sed 's
/^
/|
/' conftest.$ac_ext >&5
12971 ac_cv_lib_selinux_is_selinux_enabled=no
12974 rm -rf conftest.dSYM
12975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12976 conftest$ac_exeext conftest.$ac_ext
12977 LIBS=$ac_check_lib_save_LIBS
12979 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12980 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12981 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
12984 for ac_header in selinux/selinux.h
12986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12989 $as_echo_n "checking for $ac_header... " >&6; }
12990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12991 $as_echo_n "(cached) " >&6
12993 ac_res=`eval 'as_val
=${'$as_ac_Header'}
12994 $as_echo "$as_val"'`
12995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12996 $as_echo "$ac_res" >&6; }
12998 # Is the header compilable?
12999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13000 $as_echo_n "checking $ac_header usability... " >&6; }
13001 cat >conftest.$ac_ext <<_ACEOF
13004 cat confdefs.h >>conftest.$ac_ext
13005 cat >>conftest.$ac_ext <<_ACEOF
13006 /* end confdefs.h. */
13007 $ac_includes_default
13008 #include <$ac_header>
13010 rm -f conftest.$ac_objext
13011 if { (ac_try="$ac_compile"
13012 case "(($ac_try" in
13013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13014 *) ac_try_echo=$ac_try;;
13016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13017 $as_echo "$ac_try_echo") >&5
13018 (eval "$ac_compile") 2>conftest.er1
13020 grep -v '^
*+' conftest.er1 >conftest.err
13022 cat conftest.err >&5
13023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); } && {
13025 test -z "$ac_c_werror_flag" ||
13026 test ! -s conftest.err
13027 } && test -s conftest.$ac_objext; then
13028 ac_header_compiler=yes
13030 $as_echo "$as_me: failed program was:" >&5
13031 sed 's
/^
/|
/' conftest.$ac_ext >&5
13033 ac_header_compiler=no
13036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13038 $as_echo "$ac_header_compiler" >&6; }
13040 # Is the header present?
13041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13042 $as_echo_n "checking $ac_header presence... " >&6; }
13043 cat >conftest.$ac_ext <<_ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13049 #include <$ac_header>
13051 if { (ac_try="$ac_cpp conftest.$ac_ext"
13052 case "(($ac_try" in
13053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13054 *) ac_try_echo=$ac_try;;
13056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13057 $as_echo "$ac_try_echo") >&5
13058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13060 grep -v '^
*+' conftest.er1 >conftest.err
13062 cat conftest.err >&5
13063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } >/dev/null && {
13065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13066 test ! -s conftest.err
13068 ac_header_preproc=yes
13070 $as_echo "$as_me: failed program was:" >&5
13071 sed 's
/^
/|
/' conftest.$ac_ext >&5
13073 ac_header_preproc=no
13076 rm -f conftest.err conftest.$ac_ext
13077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13078 $as_echo "$ac_header_preproc" >&6; }
13080 # So? What about this header?
13081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13086 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13087 ac_header_preproc=yes
13090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13093 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13097 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13099 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13105 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13106 $as_echo_n "checking for $ac_header... " >&6; }
13107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13108 $as_echo_n "(cached) " >&6
13110 eval "$as_ac_Header=\$ac_header_preproc"
13112 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13113 $as_echo "$as_val"'`
13114 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13115 $as_echo "$ac_res" >&6; }
13118 as_val=`eval 'as_val
=${'$as_ac_Header'}
13119 $as_echo "$as_val"'`
13120 if test "x$as_val" = x""yes; then
13121 cat >>confdefs.h <<_ACEOF
13122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13132 cat >>confdefs.h <<\_ACEOF
13133 #define HAVE_SELINUX 1
13136 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
13140 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
13141 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
13148 ################################################################################
13149 if test x$REALTIME = xyes; then
13150 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13151 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13152 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13153 $as_echo_n "(cached) " >&6
13155 ac_check_lib_save_LIBS=$LIBS
13157 cat >conftest.$ac_ext <<_ACEOF
13160 cat confdefs.h >>conftest.$ac_ext
13161 cat >>conftest.$ac_ext <<_ACEOF
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13170 char clock_gettime ();
13174 return clock_gettime ();
13179 rm -f conftest.$ac_objext conftest$ac_exeext
13180 if { (ac_try="$ac_link"
13181 case "(($ac_try" in
13182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13183 *) ac_try_echo=$ac_try;;
13185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13186 $as_echo "$ac_try_echo") >&5
13187 (eval "$ac_link") 2>conftest.er1
13189 grep -v '^
*+' conftest.er1 >conftest.err
13191 cat conftest.err >&5
13192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest$ac_exeext && {
13197 test "$cross_compiling" = yes ||
13198 $as_test_x conftest$ac_exeext
13200 ac_cv_lib_rt_clock_gettime=yes
13202 $as_echo "$as_me: failed program was:" >&5
13203 sed 's
/^
/|
/' conftest.$ac_ext >&5
13205 ac_cv_lib_rt_clock_gettime=no
13208 rm -rf conftest.dSYM
13209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13214 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13215 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13222 if test x$HAVE_REALTIME = xyes; then
13224 cat >>confdefs.h <<\_ACEOF
13225 #define HAVE_REALTIME 1
13230 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13231 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13235 ################################################################################
13237 for ac_header in getopt.h
13239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13241 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13242 $as_echo_n "checking for $ac_header... " >&6; }
13243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13244 $as_echo_n "(cached) " >&6
13246 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13247 $as_echo "$as_val"'`
13248 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13249 $as_echo "$ac_res" >&6; }
13251 # Is the header compilable?
13252 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13253 $as_echo_n "checking $ac_header usability... " >&6; }
13254 cat >conftest.$ac_ext <<_ACEOF
13257 cat confdefs.h >>conftest.$ac_ext
13258 cat >>conftest.$ac_ext <<_ACEOF
13259 /* end confdefs.h. */
13260 $ac_includes_default
13261 #include <$ac_header>
13263 rm -f conftest.$ac_objext
13264 if { (ac_try="$ac_compile"
13265 case "(($ac_try" in
13266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13267 *) ac_try_echo=$ac_try;;
13269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13270 $as_echo "$ac_try_echo") >&5
13271 (eval "$ac_compile") 2>conftest.er1
13273 grep -v '^
*+' conftest.er1 >conftest.err
13275 cat conftest.err >&5
13276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); } && {
13278 test -z "$ac_c_werror_flag" ||
13279 test ! -s conftest.err
13280 } && test -s conftest.$ac_objext; then
13281 ac_header_compiler=yes
13283 $as_echo "$as_me: failed program was:" >&5
13284 sed 's
/^
/|
/' conftest.$ac_ext >&5
13286 ac_header_compiler=no
13289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13290 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13291 $as_echo "$ac_header_compiler" >&6; }
13293 # Is the header present?
13294 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13295 $as_echo_n "checking $ac_header presence... " >&6; }
13296 cat >conftest.$ac_ext <<_ACEOF
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 #include <$ac_header>
13304 if { (ac_try="$ac_cpp conftest.$ac_ext"
13305 case "(($ac_try" in
13306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13310 $as_echo "$ac_try_echo") >&5
13311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13313 grep -v '^
*+' conftest.er1 >conftest.err
13315 cat conftest.err >&5
13316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } >/dev/null && {
13318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13319 test ! -s conftest.err
13321 ac_header_preproc=yes
13323 $as_echo "$as_me: failed program was:" >&5
13324 sed 's
/^
/|
/' conftest.$ac_ext >&5
13326 ac_header_preproc=no
13329 rm -f conftest.err conftest.$ac_ext
13330 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13331 $as_echo "$ac_header_preproc" >&6; }
13333 # So? What about this header?
13334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13337 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13339 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13340 ac_header_preproc=yes
13343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13344 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13346 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13348 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13350 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13352 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13354 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13358 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 $as_echo_n "checking for $ac_header... " >&6; }
13360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13361 $as_echo_n "(cached) " >&6
13363 eval "$as_ac_Header=\$ac_header_preproc"
13365 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13366 $as_echo "$as_val"'`
13367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13368 $as_echo "$ac_res" >&6; }
13371 as_val=`eval 'as_val
=${'$as_ac_Header'}
13372 $as_echo "$as_val"'`
13373 if test "x$as_val" = x""yes; then
13374 cat >>confdefs.h <<_ACEOF
13375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13378 cat >>confdefs.h <<\_ACEOF
13379 #define HAVE_GETOPTLONG 1
13387 ################################################################################
13388 if test x$READLINE != xno; then
13389 lvm_saved_libs=$LIBS
13390 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
13391 $as_echo_n "checking for library containing tgetent... " >&6; }
13392 if test "${ac_cv_search_tgetent+set}" = set; then
13393 $as_echo_n "(cached) " >&6
13395 ac_func_search_save_LIBS=$LIBS
13396 cat >conftest.$ac_ext <<_ACEOF
13399 cat confdefs.h >>conftest.$ac_ext
13400 cat >>conftest.$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13418 for ac_lib in '' tinfo ncurses curses termcap termlib; do
13419 if test -z "$ac_lib"; then
13420 ac_res="none required"
13423 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13425 rm -f conftest.$ac_objext conftest$ac_exeext
13426 if { (ac_try="$ac_link"
13427 case "(($ac_try" in
13428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13429 *) ac_try_echo=$ac_try;;
13431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13432 $as_echo "$ac_try_echo") >&5
13433 (eval "$ac_link") 2>conftest.er1
13435 grep -v '^
*+' conftest.er1 >conftest.err
13437 cat conftest.err >&5
13438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } && {
13440 test -z "$ac_c_werror_flag" ||
13441 test ! -s conftest.err
13442 } && test -s conftest$ac_exeext && {
13443 test "$cross_compiling" = yes ||
13444 $as_test_x conftest$ac_exeext
13446 ac_cv_search_tgetent=$ac_res
13448 $as_echo "$as_me: failed program was:" >&5
13449 sed 's
/^
/|
/' conftest.$ac_ext >&5
13454 rm -rf conftest.dSYM
13455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13457 if test "${ac_cv_search_tgetent+set}" = set; then
13461 if test "${ac_cv_search_tgetent+set}" = set; then
13464 ac_cv_search_tgetent=no
13466 rm conftest.$ac_ext
13467 LIBS=$ac_func_search_save_LIBS
13469 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
13470 $as_echo "$ac_cv_search_tgetent" >&6; }
13471 ac_res=$ac_cv_search_tgetent
13472 if test "$ac_res" != no; then
13473 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13474 READLINE_LIBS=$ac_cv_search_tgetent
13477 if test "$READLINE" = yes; then
13478 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
13479 --enable-readline option (which is enabled by default). Either disable readline
13480 support with --disable-readline or download and install termcap from:
13481 ftp.gnu.org/gnu/termcap
13482 Note: if you are using precompiled packages you will also need the development
13483 package as well (which may be called termcap-devel or something similar).
13484 Note: (n)curses also seems to work as a substitute for termcap. This was
13485 not found either - but you could try installing that as well." >&5
13486 $as_echo "$as_me: error: termcap could not be found which is required for the
13487 --enable-readline option (which is enabled by default). Either disable readline
13488 support with --disable-readline or download and install termcap from:
13489 ftp.gnu.org/gnu/termcap
13490 Note: if you are using precompiled packages you will also need the development
13491 package as well (which may be called termcap-devel or something similar).
13492 Note: (n)curses also seems to work as a substitute for termcap. This was
13493 not found either - but you could try installing that as well." >&2;}
13494 { (exit 1); exit 1; }; }
13498 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13499 $as_echo_n "checking for readline in -lreadline... " >&6; }
13500 if test "${ac_cv_lib_readline_readline+set}" = set; then
13501 $as_echo_n "(cached) " >&6
13503 ac_check_lib_save_LIBS=$LIBS
13504 LIBS="-lreadline $LIBS"
13505 cat >conftest.$ac_ext <<_ACEOF
13508 cat confdefs.h >>conftest.$ac_ext
13509 cat >>conftest.$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13512 /* Override any GCC internal prototype to avoid an error.
13513 Use char because int might match the return type of a GCC
13514 builtin and then its argument prototype would still apply. */
13522 return readline ();
13527 rm -f conftest.$ac_objext conftest$ac_exeext
13528 if { (ac_try="$ac_link"
13529 case "(($ac_try" in
13530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13531 *) ac_try_echo=$ac_try;;
13533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13534 $as_echo "$ac_try_echo") >&5
13535 (eval "$ac_link") 2>conftest.er1
13537 grep -v '^
*+' conftest.er1 >conftest.err
13539 cat conftest.err >&5
13540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } && {
13542 test -z "$ac_c_werror_flag" ||
13543 test ! -s conftest.err
13544 } && test -s conftest$ac_exeext && {
13545 test "$cross_compiling" = yes ||
13546 $as_test_x conftest$ac_exeext
13548 ac_cv_lib_readline_readline=yes
13550 $as_echo "$as_me: failed program was:" >&5
13551 sed 's
/^
/|
/' conftest.$ac_ext >&5
13553 ac_cv_lib_readline_readline=no
13556 rm -rf conftest.dSYM
13557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_lib_save_LIBS
13561 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13562 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13563 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13566 cat >>confdefs.h <<\_ACEOF
13567 #define READLINE_SUPPORT 1
13570 LIBS=$lvm_saved_libs
13571 { $as_echo "$as_me:$LINENO: checking for rl_line_buffer in -lreadline" >&5
13572 $as_echo_n "checking for rl_line_buffer in -lreadline... " >&6; }
13573 if test "${ac_cv_lib_readline_rl_line_buffer+set}" = set; then
13574 $as_echo_n "(cached) " >&6
13576 ac_check_lib_save_LIBS=$LIBS
13577 LIBS="-lreadline $LIBS"
13578 cat >conftest.$ac_ext <<_ACEOF
13581 cat confdefs.h >>conftest.$ac_ext
13582 cat >>conftest.$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13591 char rl_line_buffer ();
13595 return rl_line_buffer ();
13600 rm -f conftest.$ac_objext conftest$ac_exeext
13601 if { (ac_try="$ac_link"
13602 case "(($ac_try" in
13603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13604 *) ac_try_echo=$ac_try;;
13606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13607 $as_echo "$ac_try_echo") >&5
13608 (eval "$ac_link") 2>conftest.er1
13610 grep -v '^
*+' conftest.er1 >conftest.err
13612 cat conftest.err >&5
13613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } && {
13615 test -z "$ac_c_werror_flag" ||
13616 test ! -s conftest.err
13617 } && test -s conftest$ac_exeext && {
13618 test "$cross_compiling" = yes ||
13619 $as_test_x conftest$ac_exeext
13621 ac_cv_lib_readline_rl_line_buffer=yes
13623 $as_echo "$as_me: failed program was:" >&5
13624 sed 's
/^
/|
/' conftest.$ac_ext >&5
13626 ac_cv_lib_readline_rl_line_buffer=no
13629 rm -rf conftest.dSYM
13630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13631 conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_lib_save_LIBS
13634 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_line_buffer" >&5
13635 $as_echo "$ac_cv_lib_readline_rl_line_buffer" >&6; }
13636 if test "x$ac_cv_lib_readline_rl_line_buffer" = x""yes; then
13637 READLINE_LIBS="-lreadline"
13640 { $as_echo "$as_me:$LINENO: result: linking -lreadline with $READLINE_LIBS needed" >&5
13641 $as_echo "linking -lreadline with $READLINE_LIBS needed" >&6; }
13642 READLINE_LIBS="-lreadline $READLINE_LIBS"
13649 if test "$READLINE" = yes; then
13650 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13651 --enable-readline option (which is enabled by default). Either disable readline
13652 support with --disable-readline or download and install readline from:
13653 ftp.gnu.org/gnu/readline
13654 Note: if you are using precompiled packages you will also need the development
13655 package as well (which may be called readline-devel or something similar)." >&5
13656 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13657 --enable-readline option (which is enabled by default). Either disable readline
13658 support with --disable-readline or download and install readline from:
13659 ftp.gnu.org/gnu/readline
13660 Note: if you are using precompiled packages you will also need the development
13661 package as well (which may be called readline-devel or something similar)." >&2;}
13662 { (exit 1); exit 1; }; }
13666 LIBS="$READLINE_LIBS $lvm_saved_libs"
13668 for ac_func in rl_completion_matches
13670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13671 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13672 $as_echo_n "checking for $ac_func... " >&6; }
13673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13674 $as_echo_n "(cached) " >&6
13676 cat >conftest.$ac_ext <<_ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13684 #define $ac_func innocuous_$ac_func
13686 /* System header to define __stub macros and hopefully few prototypes,
13687 which can conflict with char $ac_func (); below.
13688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 <limits.h> exists even on freestanding compilers. */
13692 # include <limits.h>
13694 # include <assert.h>
13699 /* Override any GCC internal prototype to avoid an error.
13700 Use char because int might match the return type of a GCC
13701 builtin and then its argument prototype would still apply. */
13706 /* The GNU C library defines this for functions which it implements
13707 to always fail with ENOSYS. Some functions are actually named
13708 something starting with __ and the normal name is an alias. */
13709 #if defined __stub_$ac_func || defined __stub___$ac_func
13716 return $ac_func ();
13721 rm -f conftest.$ac_objext conftest$ac_exeext
13722 if { (ac_try="$ac_link"
13723 case "(($ac_try" in
13724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13725 *) ac_try_echo=$ac_try;;
13727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13728 $as_echo "$ac_try_echo") >&5
13729 (eval "$ac_link") 2>conftest.er1
13731 grep -v '^
*+' conftest.er1 >conftest.err
13733 cat conftest.err >&5
13734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); } && {
13736 test -z "$ac_c_werror_flag" ||
13737 test ! -s conftest.err
13738 } && test -s conftest$ac_exeext && {
13739 test "$cross_compiling" = yes ||
13740 $as_test_x conftest$ac_exeext
13742 eval "$as_ac_var=yes"
13744 $as_echo "$as_me: failed program was:" >&5
13745 sed 's
/^
/|
/' conftest.$ac_ext >&5
13747 eval "$as_ac_var=no"
13750 rm -rf conftest.dSYM
13751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13752 conftest$ac_exeext conftest.$ac_ext
13754 ac_res=`eval 'as_val
=${'$as_ac_var'}
13755 $as_echo "$as_val"'`
13756 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13757 $as_echo "$ac_res" >&6; }
13758 as_val=`eval 'as_val
=${'$as_ac_var'}
13759 $as_echo "$as_val"'`
13760 if test "x$as_val" = x""yes; then
13761 cat >>confdefs.h <<_ACEOF
13762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13768 LIBS=$lvm_saved_libs
13771 ################################################################################
13772 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13773 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13774 # Check whether --enable-nls was given.
13775 if test "${enable_nls+set}" = set; then
13776 enableval=$enable_nls; INTL=$enableval
13781 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13782 $as_echo "$INTL" >&6; }
13784 if test x$INTL = xyes; then
13785 # FIXME - Move this - can be device-mapper too
13786 INTL_PACKAGE="lvm2"
13787 # Extract the first word of "msgfmt", so it can be a program name with args.
13788 set dummy msgfmt; ac_word=$2
13789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13790 $as_echo_n "checking for $ac_word... " >&6; }
13791 if test "${ac_cv_path_MSGFMT+set}" = set; then
13792 $as_echo_n "(cached) " >&6
13796 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13800 for as_dir in $PATH
13803 test -z "$as_dir" && as_dir=.
13804 for ac_exec_ext in '' $ac_executable_extensions; do
13805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13806 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13817 MSGFMT=$ac_cv_path_MSGFMT
13818 if test -n "$MSGFMT"; then
13819 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13820 $as_echo "$MSGFMT" >&6; }
13822 { $as_echo "$as_me:$LINENO: result: no" >&5
13823 $as_echo "no" >&6; }
13827 if [ "x$MSGFMT" == x ];
13828 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13830 $as_echo "$as_me: error: msgfmt not found in path $PATH
13832 { (exit 1); exit 1; }; }
13836 # Check whether --with-localedir was given.
13837 if test "${with_localedir+set}" = set; then
13838 withval=$with_localedir; LOCALEDIR="$withval"
13840 LOCALEDIR='${prefix}/share
/locale
'
13845 ################################################################################
13847 # Check whether --with-confdir was given.
13848 if test "${with_confdir+set}" = set; then
13849 withval=$with_confdir; CONFDIR="$withval"
13856 # Check whether --with-staticdir was given.
13857 if test "${with_staticdir+set}" = set; then
13858 withval=$with_staticdir; STATICDIR="$withval"
13860 STATICDIR='${exec_prefix}/sbin
'
13865 # Check whether --with-usrlibdir was given.
13866 if test "${with_usrlibdir+set}" = set; then
13867 withval=$with_usrlibdir; usrlibdir="$withval"
13869 usrlibdir='${prefix}/lib
'
13874 # Check whether --with-usrsbindir was given.
13875 if test "${with_usrsbindir+set}" = set; then
13876 withval=$with_usrsbindir; usrsbindir="$withval"
13878 usrsbindir='${prefix}/sbin
'
13882 ################################################################################
13884 # Check whether --with-udev_prefix was given.
13885 if test "${with_udev_prefix+set}" = set; then
13886 withval=$with_udev_prefix; udev_prefix="$withval"
13888 udev_prefix='${exec_prefix}'
13893 # Check whether --with-udevdir was given.
13894 if test "${with_udevdir+set}" = set; then
13895 withval=$with_udevdir; udevdir="$withval"
13897 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13901 ################################################################################
13902 if test x$READLINE = xyes; then
13905 for ac_header in readline/readline.h readline/history.h
13907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13909 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13910 $as_echo_n "checking for $ac_header... " >&6; }
13911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13912 $as_echo_n "(cached) " >&6
13914 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13915 $as_echo "$as_val"'`
13916 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13917 $as_echo "$ac_res" >&6; }
13919 # Is the header compilable?
13920 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13921 $as_echo_n "checking $ac_header usability... " >&6; }
13922 cat >conftest.$ac_ext <<_ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 $ac_includes_default
13929 #include <$ac_header>
13931 rm -f conftest.$ac_objext
13932 if { (ac_try="$ac_compile"
13933 case "(($ac_try" in
13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13935 *) ac_try_echo=$ac_try;;
13937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13938 $as_echo "$ac_try_echo") >&5
13939 (eval "$ac_compile") 2>conftest.er1
13941 grep -v '^
*+' conftest.er1 >conftest.err
13943 cat conftest.err >&5
13944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } && {
13946 test -z "$ac_c_werror_flag" ||
13947 test ! -s conftest.err
13948 } && test -s conftest.$ac_objext; then
13949 ac_header_compiler=yes
13951 $as_echo "$as_me: failed program was:" >&5
13952 sed 's
/^
/|
/' conftest.$ac_ext >&5
13954 ac_header_compiler=no
13957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13958 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13959 $as_echo "$ac_header_compiler" >&6; }
13961 # Is the header present?
13962 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13963 $as_echo_n "checking $ac_header presence... " >&6; }
13964 cat >conftest.$ac_ext <<_ACEOF
13967 cat confdefs.h >>conftest.$ac_ext
13968 cat >>conftest.$ac_ext <<_ACEOF
13969 /* end confdefs.h. */
13970 #include <$ac_header>
13972 if { (ac_try="$ac_cpp conftest.$ac_ext"
13973 case "(($ac_try" in
13974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13975 *) ac_try_echo=$ac_try;;
13977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13978 $as_echo "$ac_try_echo") >&5
13979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13981 grep -v '^
*+' conftest.er1 >conftest.err
13983 cat conftest.err >&5
13984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } >/dev/null && {
13986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13987 test ! -s conftest.err
13989 ac_header_preproc=yes
13991 $as_echo "$as_me: failed program was:" >&5
13992 sed 's
/^
/|
/' conftest.$ac_ext >&5
13994 ac_header_preproc=no
13997 rm -f conftest.err conftest.$ac_ext
13998 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13999 $as_echo "$ac_header_preproc" >&6; }
14001 # So? What about this header?
14002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14005 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14007 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14008 ac_header_preproc=yes
14011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14012 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14014 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14015 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14016 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14018 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14020 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14022 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14026 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14027 $as_echo_n "checking for $ac_header... " >&6; }
14028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14029 $as_echo_n "(cached) " >&6
14031 eval "$as_ac_Header=\$ac_header_preproc"
14033 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14034 $as_echo "$as_val"'`
14035 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14036 $as_echo "$ac_res" >&6; }
14039 as_val=`eval 'as_val
=${'$as_ac_Header'}
14040 $as_echo "$as_val"'`
14041 if test "x$as_val" = x""yes; then
14042 cat >>confdefs.h <<_ACEOF
14043 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14047 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14048 $as_echo "$as_me: error: bailing out" >&2;}
14049 { (exit 1); exit 1; }; }
14056 if test x$CLVMD != xnone; then
14067 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
14069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14071 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14072 $as_echo_n "checking for $ac_header... " >&6; }
14073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14074 $as_echo_n "(cached) " >&6
14076 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14077 $as_echo "$as_val"'`
14078 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14079 $as_echo "$ac_res" >&6; }
14081 # Is the header compilable?
14082 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14083 $as_echo_n "checking $ac_header usability... " >&6; }
14084 cat >conftest.$ac_ext <<_ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14090 $ac_includes_default
14091 #include <$ac_header>
14093 rm -f conftest.$ac_objext
14094 if { (ac_try="$ac_compile"
14095 case "(($ac_try" in
14096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14097 *) ac_try_echo=$ac_try;;
14099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14100 $as_echo "$ac_try_echo") >&5
14101 (eval "$ac_compile") 2>conftest.er1
14103 grep -v '^
*+' conftest.er1 >conftest.err
14105 cat conftest.err >&5
14106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } && {
14108 test -z "$ac_c_werror_flag" ||
14109 test ! -s conftest.err
14110 } && test -s conftest.$ac_objext; then
14111 ac_header_compiler=yes
14113 $as_echo "$as_me: failed program was:" >&5
14114 sed 's
/^
/|
/' conftest.$ac_ext >&5
14116 ac_header_compiler=no
14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14120 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14121 $as_echo "$ac_header_compiler" >&6; }
14123 # Is the header present?
14124 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14125 $as_echo_n "checking $ac_header presence... " >&6; }
14126 cat >conftest.$ac_ext <<_ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 #include <$ac_header>
14134 if { (ac_try="$ac_cpp conftest.$ac_ext"
14135 case "(($ac_try" in
14136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14137 *) ac_try_echo=$ac_try;;
14139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14140 $as_echo "$ac_try_echo") >&5
14141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14143 grep -v '^
*+' conftest.er1 >conftest.err
14145 cat conftest.err >&5
14146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } >/dev/null && {
14148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14149 test ! -s conftest.err
14151 ac_header_preproc=yes
14153 $as_echo "$as_me: failed program was:" >&5
14154 sed 's
/^
/|
/' conftest.$ac_ext >&5
14156 ac_header_preproc=no
14159 rm -f conftest.err conftest.$ac_ext
14160 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14161 $as_echo "$ac_header_preproc" >&6; }
14163 # So? What about this header?
14164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14167 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14169 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14170 ac_header_preproc=yes
14173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14174 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14176 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14178 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14180 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14182 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14184 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14188 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14189 $as_echo_n "checking for $ac_header... " >&6; }
14190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14191 $as_echo_n "(cached) " >&6
14193 eval "$as_ac_Header=\$ac_header_preproc"
14195 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14196 $as_echo "$as_val"'`
14197 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14198 $as_echo "$ac_res" >&6; }
14201 as_val=`eval 'as_val
=${'$as_ac_Header'}
14202 $as_echo "$as_val"'`
14203 if test "x$as_val" = x""yes; then
14204 cat >>confdefs.h <<_ACEOF
14205 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14209 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14210 $as_echo "$as_me: error: bailing out" >&2;}
14211 { (exit 1); exit 1; }; }
14221 for ac_func in dup2 getmntent memmove select socket
14223 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14224 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14225 $as_echo_n "checking for $ac_func... " >&6; }
14226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14227 $as_echo_n "(cached) " >&6
14229 cat >conftest.$ac_ext <<_ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14237 #define $ac_func innocuous_$ac_func
14239 /* System header to define __stub macros and hopefully few prototypes,
14240 which can conflict with char $ac_func (); below.
14241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14242 <limits.h> exists even on freestanding compilers. */
14245 # include <limits.h>
14247 # include <assert.h>
14252 /* Override any GCC internal prototype to avoid an error.
14253 Use char because int might match the return type of a GCC
14254 builtin and then its argument prototype would still apply. */
14259 /* The GNU C library defines this for functions which it implements
14260 to always fail with ENOSYS. Some functions are actually named
14261 something starting with __ and the normal name is an alias. */
14262 #if defined __stub_$ac_func || defined __stub___$ac_func
14269 return $ac_func ();
14274 rm -f conftest.$ac_objext conftest$ac_exeext
14275 if { (ac_try="$ac_link"
14276 case "(($ac_try" in
14277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278 *) ac_try_echo=$ac_try;;
14280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14281 $as_echo "$ac_try_echo") >&5
14282 (eval "$ac_link") 2>conftest.er1
14284 grep -v '^
*+' conftest.er1 >conftest.err
14286 cat conftest.err >&5
14287 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } && {
14289 test -z "$ac_c_werror_flag" ||
14290 test ! -s conftest.err
14291 } && test -s conftest$ac_exeext && {
14292 test "$cross_compiling" = yes ||
14293 $as_test_x conftest$ac_exeext
14295 eval "$as_ac_var=yes"
14297 $as_echo "$as_me: failed program was:" >&5
14298 sed 's
/^
/|
/' conftest.$ac_ext >&5
14300 eval "$as_ac_var=no"
14303 rm -rf conftest.dSYM
14304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14305 conftest$ac_exeext conftest.$ac_ext
14307 ac_res=`eval 'as_val
=${'$as_ac_var'}
14308 $as_echo "$as_val"'`
14309 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14310 $as_echo "$ac_res" >&6; }
14311 as_val=`eval 'as_val
=${'$as_ac_var'}
14312 $as_echo "$as_val"'`
14313 if test "x$as_val" = x""yes; then
14314 cat >>confdefs.h <<_ACEOF
14315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14319 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14320 $as_echo "$as_me: error: bailing out" >&2;}
14321 { (exit 1); exit 1; }; }
14325 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14326 # -lseq on Dynix/PTX, -lgen on Unixware.
14327 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14328 $as_echo_n "checking for library containing getmntent... " >&6; }
14329 if test "${ac_cv_search_getmntent+set}" = set; then
14330 $as_echo_n "(cached) " >&6
14332 ac_func_search_save_LIBS=$LIBS
14333 cat >conftest.$ac_ext <<_ACEOF
14336 cat confdefs.h >>conftest.$ac_ext
14337 cat >>conftest.$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14350 return getmntent ();
14355 for ac_lib in '' sun seq gen; do
14356 if test -z "$ac_lib"; then
14357 ac_res="none required"
14360 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14362 rm -f conftest.$ac_objext conftest$ac_exeext
14363 if { (ac_try="$ac_link"
14364 case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14369 $as_echo "$ac_try_echo") >&5
14370 (eval "$ac_link") 2>conftest.er1
14372 grep -v '^
*+' conftest.er1 >conftest.err
14374 cat conftest.err >&5
14375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } && {
14377 test -z "$ac_c_werror_flag" ||
14378 test ! -s conftest.err
14379 } && test -s conftest$ac_exeext && {
14380 test "$cross_compiling" = yes ||
14381 $as_test_x conftest$ac_exeext
14383 ac_cv_search_getmntent=$ac_res
14385 $as_echo "$as_me: failed program was:" >&5
14386 sed 's
/^
/|
/' conftest.$ac_ext >&5
14391 rm -rf conftest.dSYM
14392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14394 if test "${ac_cv_search_getmntent+set}" = set; then
14398 if test "${ac_cv_search_getmntent+set}" = set; then
14401 ac_cv_search_getmntent=no
14403 rm conftest.$ac_ext
14404 LIBS=$ac_func_search_save_LIBS
14406 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14407 $as_echo "$ac_cv_search_getmntent" >&6; }
14408 ac_res=$ac_cv_search_getmntent
14409 if test "$ac_res" != no; then
14410 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14411 ac_cv_func_getmntent=yes
14413 cat >>confdefs.h <<\_ACEOF
14414 #define HAVE_GETMNTENT 1
14418 ac_cv_func_getmntent=no
14425 for ac_header in sys/select.h sys/socket.h
14427 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14429 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14430 $as_echo_n "checking for $ac_header... " >&6; }
14431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14432 $as_echo_n "(cached) " >&6
14434 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14435 $as_echo "$as_val"'`
14436 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14437 $as_echo "$ac_res" >&6; }
14439 # Is the header compilable?
14440 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14441 $as_echo_n "checking $ac_header usability... " >&6; }
14442 cat >conftest.$ac_ext <<_ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14449 #include <$ac_header>
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14458 $as_echo "$ac_try_echo") >&5
14459 (eval "$ac_compile") 2>conftest.er1
14461 grep -v '^
*+' conftest.er1 >conftest.err
14463 cat conftest.err >&5
14464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } && {
14466 test -z "$ac_c_werror_flag" ||
14467 test ! -s conftest.err
14468 } && test -s conftest.$ac_objext; then
14469 ac_header_compiler=yes
14471 $as_echo "$as_me: failed program was:" >&5
14472 sed 's
/^
/|
/' conftest.$ac_ext >&5
14474 ac_header_compiler=no
14477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14479 $as_echo "$ac_header_compiler" >&6; }
14481 # Is the header present?
14482 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14483 $as_echo_n "checking $ac_header presence... " >&6; }
14484 cat >conftest.$ac_ext <<_ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 #include <$ac_header>
14492 if { (ac_try="$ac_cpp conftest.$ac_ext"
14493 case "(($ac_try" in
14494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14495 *) ac_try_echo=$ac_try;;
14497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14498 $as_echo "$ac_try_echo") >&5
14499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14501 grep -v '^
*+' conftest.er1 >conftest.err
14503 cat conftest.err >&5
14504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } >/dev/null && {
14506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14507 test ! -s conftest.err
14509 ac_header_preproc=yes
14511 $as_echo "$as_me: failed program was:" >&5
14512 sed 's
/^
/|
/' conftest.$ac_ext >&5
14514 ac_header_preproc=no
14517 rm -f conftest.err conftest.$ac_ext
14518 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14519 $as_echo "$ac_header_preproc" >&6; }
14521 # So? What about this header?
14522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14525 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14527 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14528 ac_header_preproc=yes
14531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14532 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14534 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14536 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14538 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14540 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14541 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14542 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14546 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14547 $as_echo_n "checking for $ac_header... " >&6; }
14548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14549 $as_echo_n "(cached) " >&6
14551 eval "$as_ac_Header=\$ac_header_preproc"
14553 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14554 $as_echo "$as_val"'`
14555 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14556 $as_echo "$ac_res" >&6; }
14559 as_val=`eval 'as_val
=${'$as_ac_Header'}
14560 $as_echo "$as_val"'`
14561 if test "x$as_val" = x""yes; then
14562 cat >>confdefs.h <<_ACEOF
14563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14570 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14571 $as_echo_n "checking types of arguments for select... " >&6; }
14572 if test "${ac_cv_func_select_args+set}" = set; then
14573 $as_echo_n "(cached) " >&6
14575 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14576 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14577 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14578 cat >conftest.$ac_ext <<_ACEOF
14581 cat confdefs.h >>conftest.$ac_ext
14582 cat >>conftest.$ac_ext <<_ACEOF
14583 /* end confdefs.h. */
14584 $ac_includes_default
14585 #ifdef HAVE_SYS_SELECT_H
14586 # include <sys/select.h>
14588 #ifdef HAVE_SYS_SOCKET_H
14589 # include <sys/socket.h>
14595 extern int select ($ac_arg1,
14596 $ac_arg234, $ac_arg234, $ac_arg234,
14602 rm -f conftest.$ac_objext
14603 if { (ac_try="$ac_compile"
14604 case "(($ac_try" in
14605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14606 *) ac_try_echo=$ac_try;;
14608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14609 $as_echo "$ac_try_echo") >&5
14610 (eval "$ac_compile") 2>conftest.er1
14612 grep -v '^
*+' conftest.er1 >conftest.err
14614 cat conftest.err >&5
14615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } && {
14617 test -z "$ac_c_werror_flag" ||
14618 test ! -s conftest.err
14619 } && test -s conftest.$ac_objext; then
14620 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14622 $as_echo "$as_me: failed program was:" >&5
14623 sed 's
/^
/|
/' conftest.$ac_ext >&5
14628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14632 # Provide a safe default value.
14633 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14636 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14637 $as_echo "$ac_cv_func_select_args" >&6; }
14638 ac_save_IFS=$IFS; IFS=','
14639 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14643 cat >>confdefs.h <<_ACEOF
14644 #define SELECT_TYPE_ARG1 $1
14648 cat >>confdefs.h <<_ACEOF
14649 #define SELECT_TYPE_ARG234 ($2)
14653 cat >>confdefs.h <<_ACEOF
14654 #define SELECT_TYPE_ARG5 ($3)
14661 if test x$CLUSTER != xnone; then
14664 for ac_header in sys/socket.h sys/un.h
14666 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14669 $as_echo_n "checking for $ac_header... " >&6; }
14670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14671 $as_echo_n "(cached) " >&6
14673 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14674 $as_echo "$as_val"'`
14675 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14676 $as_echo "$ac_res" >&6; }
14678 # Is the header compilable?
14679 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14680 $as_echo_n "checking $ac_header usability... " >&6; }
14681 cat >conftest.$ac_ext <<_ACEOF
14684 cat confdefs.h >>conftest.$ac_ext
14685 cat >>conftest.$ac_ext <<_ACEOF
14686 /* end confdefs.h. */
14687 $ac_includes_default
14688 #include <$ac_header>
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14697 $as_echo "$ac_try_echo") >&5
14698 (eval "$ac_compile") 2>conftest.er1
14700 grep -v '^
*+' conftest.er1 >conftest.err
14702 cat conftest.err >&5
14703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } && {
14705 test -z "$ac_c_werror_flag" ||
14706 test ! -s conftest.err
14707 } && test -s conftest.$ac_objext; then
14708 ac_header_compiler=yes
14710 $as_echo "$as_me: failed program was:" >&5
14711 sed 's
/^
/|
/' conftest.$ac_ext >&5
14713 ac_header_compiler=no
14716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14717 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14718 $as_echo "$ac_header_compiler" >&6; }
14720 # Is the header present?
14721 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14722 $as_echo_n "checking $ac_header presence... " >&6; }
14723 cat >conftest.$ac_ext <<_ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14729 #include <$ac_header>
14731 if { (ac_try="$ac_cpp conftest.$ac_ext"
14732 case "(($ac_try" in
14733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14734 *) ac_try_echo=$ac_try;;
14736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14737 $as_echo "$ac_try_echo") >&5
14738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14740 grep -v '^
*+' conftest.er1 >conftest.err
14742 cat conftest.err >&5
14743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } >/dev/null && {
14745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14748 ac_header_preproc=yes
14750 $as_echo "$as_me: failed program was:" >&5
14751 sed 's
/^
/|
/' conftest.$ac_ext >&5
14753 ac_header_preproc=no
14756 rm -f conftest.err conftest.$ac_ext
14757 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14758 $as_echo "$ac_header_preproc" >&6; }
14760 # So? What about this header?
14761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14764 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14766 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14767 ac_header_preproc=yes
14770 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14771 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14773 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14775 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14777 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14779 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14781 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14785 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14786 $as_echo_n "checking for $ac_header... " >&6; }
14787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14788 $as_echo_n "(cached) " >&6
14790 eval "$as_ac_Header=\$ac_header_preproc"
14792 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14793 $as_echo "$as_val"'`
14794 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14795 $as_echo "$ac_res" >&6; }
14798 as_val=`eval 'as_val
=${'$as_ac_Header'}
14799 $as_echo "$as_val"'`
14800 if test "x$as_val" = x""yes; then
14801 cat >>confdefs.h <<_ACEOF
14802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14806 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14807 $as_echo "$as_me: error: bailing out" >&2;}
14808 { (exit 1); exit 1; }; }
14814 for ac_func in socket
14816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14817 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14818 $as_echo_n "checking for $ac_func... " >&6; }
14819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14820 $as_echo_n "(cached) " >&6
14822 cat >conftest.$ac_ext <<_ACEOF
14825 cat confdefs.h >>conftest.$ac_ext
14826 cat >>conftest.$ac_ext <<_ACEOF
14827 /* end confdefs.h. */
14828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14830 #define $ac_func innocuous_$ac_func
14832 /* System header to define __stub macros and hopefully few prototypes,
14833 which can conflict with char $ac_func (); below.
14834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14835 <limits.h> exists even on freestanding compilers. */
14838 # include <limits.h>
14840 # include <assert.h>
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14852 /* The GNU C library defines this for functions which it implements
14853 to always fail with ENOSYS. Some functions are actually named
14854 something starting with __ and the normal name is an alias. */
14855 #if defined __stub_$ac_func || defined __stub___$ac_func
14862 return $ac_func ();
14867 rm -f conftest.$ac_objext conftest$ac_exeext
14868 if { (ac_try="$ac_link"
14869 case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14874 $as_echo "$ac_try_echo") >&5
14875 (eval "$ac_link") 2>conftest.er1
14877 grep -v '^
*+' conftest.er1 >conftest.err
14879 cat conftest.err >&5
14880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } && {
14882 test -z "$ac_c_werror_flag" ||
14883 test ! -s conftest.err
14884 } && test -s conftest$ac_exeext && {
14885 test "$cross_compiling" = yes ||
14886 $as_test_x conftest$ac_exeext
14888 eval "$as_ac_var=yes"
14890 $as_echo "$as_me: failed program was:" >&5
14891 sed 's
/^
/|
/' conftest.$ac_ext >&5
14893 eval "$as_ac_var=no"
14896 rm -rf conftest.dSYM
14897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14898 conftest$ac_exeext conftest.$ac_ext
14900 ac_res=`eval 'as_val
=${'$as_ac_var'}
14901 $as_echo "$as_val"'`
14902 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14903 $as_echo "$ac_res" >&6; }
14904 as_val=`eval 'as_val
=${'$as_ac_var'}
14905 $as_echo "$as_val"'`
14906 if test "x$as_val" = x""yes; then
14907 cat >>confdefs.h <<_ACEOF
14908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14912 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14913 $as_echo "$as_me: error: bailing out" >&2;}
14914 { (exit 1); exit 1; }; }
14920 if test x$HAVE_LIBDL = xyes; then
14922 for ac_header in dlfcn.h
14924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14927 $as_echo_n "checking for $ac_header... " >&6; }
14928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14929 $as_echo_n "(cached) " >&6
14931 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14932 $as_echo "$as_val"'`
14933 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14934 $as_echo "$ac_res" >&6; }
14936 # Is the header compilable?
14937 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14938 $as_echo_n "checking $ac_header usability... " >&6; }
14939 cat >conftest.$ac_ext <<_ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945 $ac_includes_default
14946 #include <$ac_header>
14948 rm -f conftest.$ac_objext
14949 if { (ac_try="$ac_compile"
14950 case "(($ac_try" in
14951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14955 $as_echo "$ac_try_echo") >&5
14956 (eval "$ac_compile") 2>conftest.er1
14958 grep -v '^
*+' conftest.er1 >conftest.err
14960 cat conftest.err >&5
14961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } && {
14963 test -z "$ac_c_werror_flag" ||
14964 test ! -s conftest.err
14965 } && test -s conftest.$ac_objext; then
14966 ac_header_compiler=yes
14968 $as_echo "$as_me: failed program was:" >&5
14969 sed 's
/^
/|
/' conftest.$ac_ext >&5
14971 ac_header_compiler=no
14974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14976 $as_echo "$ac_header_compiler" >&6; }
14978 # Is the header present?
14979 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14980 $as_echo_n "checking $ac_header presence... " >&6; }
14981 cat >conftest.$ac_ext <<_ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 #include <$ac_header>
14989 if { (ac_try="$ac_cpp conftest.$ac_ext"
14990 case "(($ac_try" in
14991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14992 *) ac_try_echo=$ac_try;;
14994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14995 $as_echo "$ac_try_echo") >&5
14996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14998 grep -v '^
*+' conftest.er1 >conftest.err
15000 cat conftest.err >&5
15001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } >/dev/null && {
15003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15006 ac_header_preproc=yes
15008 $as_echo "$as_me: failed program was:" >&5
15009 sed 's
/^
/|
/' conftest.$ac_ext >&5
15011 ac_header_preproc=no
15014 rm -f conftest.err conftest.$ac_ext
15015 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15016 $as_echo "$ac_header_preproc" >&6; }
15018 # So? What about this header?
15019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15022 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15024 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15025 ac_header_preproc=yes
15028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15029 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15031 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15033 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15035 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15037 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15039 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15043 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15044 $as_echo_n "checking for $ac_header... " >&6; }
15045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15046 $as_echo_n "(cached) " >&6
15048 eval "$as_ac_Header=\$ac_header_preproc"
15050 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15051 $as_echo "$as_val"'`
15052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15053 $as_echo "$ac_res" >&6; }
15056 as_val=`eval 'as_val
=${'$as_ac_Header'}
15057 $as_echo "$as_val"'`
15058 if test "x$as_val" = x""yes; then
15059 cat >>confdefs.h <<_ACEOF
15060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15064 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15065 $as_echo "$as_me: error: bailing out" >&2;}
15066 { (exit 1); exit 1; }; }
15073 if test x$INTL = xyes; then
15075 for ac_header in libintl.h
15077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15079 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15080 $as_echo_n "checking for $ac_header... " >&6; }
15081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15082 $as_echo_n "(cached) " >&6
15084 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15085 $as_echo "$as_val"'`
15086 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15087 $as_echo "$ac_res" >&6; }
15089 # Is the header compilable?
15090 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15091 $as_echo_n "checking $ac_header usability... " >&6; }
15092 cat >conftest.$ac_ext <<_ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 $ac_includes_default
15099 #include <$ac_header>
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15108 $as_echo "$ac_try_echo") >&5
15109 (eval "$ac_compile") 2>conftest.er1
15111 grep -v '^
*+' conftest.er1 >conftest.err
15113 cat conftest.err >&5
15114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } && {
15116 test -z "$ac_c_werror_flag" ||
15117 test ! -s conftest.err
15118 } && test -s conftest.$ac_objext; then
15119 ac_header_compiler=yes
15121 $as_echo "$as_me: failed program was:" >&5
15122 sed 's
/^
/|
/' conftest.$ac_ext >&5
15124 ac_header_compiler=no
15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15129 $as_echo "$ac_header_compiler" >&6; }
15131 # Is the header present?
15132 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15133 $as_echo_n "checking $ac_header presence... " >&6; }
15134 cat >conftest.$ac_ext <<_ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 #include <$ac_header>
15142 if { (ac_try="$ac_cpp conftest.$ac_ext"
15143 case "(($ac_try" in
15144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15145 *) ac_try_echo=$ac_try;;
15147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15148 $as_echo "$ac_try_echo") >&5
15149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15151 grep -v '^
*+' conftest.er1 >conftest.err
15153 cat conftest.err >&5
15154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } >/dev/null && {
15156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15157 test ! -s conftest.err
15159 ac_header_preproc=yes
15161 $as_echo "$as_me: failed program was:" >&5
15162 sed 's
/^
/|
/' conftest.$ac_ext >&5
15164 ac_header_preproc=no
15167 rm -f conftest.err conftest.$ac_ext
15168 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15169 $as_echo "$ac_header_preproc" >&6; }
15171 # So? What about this header?
15172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15174 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15175 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15176 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15177 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15178 ac_header_preproc=yes
15181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15182 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15184 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15186 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15188 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15190 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15192 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15196 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15197 $as_echo_n "checking for $ac_header... " >&6; }
15198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15199 $as_echo_n "(cached) " >&6
15201 eval "$as_ac_Header=\$ac_header_preproc"
15203 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15204 $as_echo "$as_val"'`
15205 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15206 $as_echo "$ac_res" >&6; }
15209 as_val=`eval 'as_val
=${'$as_ac_Header'}
15210 $as_echo "$as_val"'`
15211 if test "x$as_val" = x""yes; then
15212 cat >>confdefs.h <<_ACEOF
15213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15217 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15218 $as_echo "$as_me: error: bailing out" >&2;}
15219 { (exit 1); exit 1; }; }
15226 if test x$UDEV_SYNC = xyes; then
15229 for ac_header in sys/ipc.h sys/sem.h
15231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15234 $as_echo_n "checking for $ac_header... " >&6; }
15235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15236 $as_echo_n "(cached) " >&6
15238 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15239 $as_echo "$as_val"'`
15240 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15241 $as_echo "$ac_res" >&6; }
15243 # Is the header compilable?
15244 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15245 $as_echo_n "checking $ac_header usability... " >&6; }
15246 cat >conftest.$ac_ext <<_ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15252 $ac_includes_default
15253 #include <$ac_header>
15255 rm -f conftest.$ac_objext
15256 if { (ac_try="$ac_compile"
15257 case "(($ac_try" in
15258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15259 *) ac_try_echo=$ac_try;;
15261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15262 $as_echo "$ac_try_echo") >&5
15263 (eval "$ac_compile") 2>conftest.er1
15265 grep -v '^
*+' conftest.er1 >conftest.err
15267 cat conftest.err >&5
15268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } && {
15270 test -z "$ac_c_werror_flag" ||
15271 test ! -s conftest.err
15272 } && test -s conftest.$ac_objext; then
15273 ac_header_compiler=yes
15275 $as_echo "$as_me: failed program was:" >&5
15276 sed 's
/^
/|
/' conftest.$ac_ext >&5
15278 ac_header_compiler=no
15281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15282 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15283 $as_echo "$ac_header_compiler" >&6; }
15285 # Is the header present?
15286 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15287 $as_echo_n "checking $ac_header presence... " >&6; }
15288 cat >conftest.$ac_ext <<_ACEOF
15291 cat confdefs.h >>conftest.$ac_ext
15292 cat >>conftest.$ac_ext <<_ACEOF
15293 /* end confdefs.h. */
15294 #include <$ac_header>
15296 if { (ac_try="$ac_cpp conftest.$ac_ext"
15297 case "(($ac_try" in
15298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15299 *) ac_try_echo=$ac_try;;
15301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15302 $as_echo "$ac_try_echo") >&5
15303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15305 grep -v '^
*+' conftest.er1 >conftest.err
15307 cat conftest.err >&5
15308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } >/dev/null && {
15310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15311 test ! -s conftest.err
15313 ac_header_preproc=yes
15315 $as_echo "$as_me: failed program was:" >&5
15316 sed 's
/^
/|
/' conftest.$ac_ext >&5
15318 ac_header_preproc=no
15321 rm -f conftest.err conftest.$ac_ext
15322 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15323 $as_echo "$ac_header_preproc" >&6; }
15325 # So? What about this header?
15326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15329 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15331 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15332 ac_header_preproc=yes
15335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15336 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15338 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15340 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15342 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15344 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15346 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15350 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15351 $as_echo_n "checking for $ac_header... " >&6; }
15352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15353 $as_echo_n "(cached) " >&6
15355 eval "$as_ac_Header=\$ac_header_preproc"
15357 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15358 $as_echo "$as_val"'`
15359 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15360 $as_echo "$ac_res" >&6; }
15363 as_val=`eval 'as_val
=${'$as_ac_Header'}
15364 $as_echo "$as_val"'`
15365 if test "x$as_val" = x""yes; then
15366 cat >>confdefs.h <<_ACEOF
15367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15371 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15372 $as_echo "$as_me: error: bailing out" >&2;}
15373 { (exit 1); exit 1; }; }
15380 ################################################################################
15381 # Extract the first word of "modprobe", so it can be a program name with args.
15382 set dummy modprobe; ac_word=$2
15383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15384 $as_echo_n "checking for $ac_word... " >&6; }
15385 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15386 $as_echo_n "(cached) " >&6
15388 case $MODPROBE_CMD in
15390 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15394 for as_dir in $PATH
15397 test -z "$as_dir" && as_dir=.
15398 for ac_exec_ext in '' $ac_executable_extensions; do
15399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15400 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15411 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15412 if test -n "$MODPROBE_CMD"; then
15413 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15414 $as_echo "$MODPROBE_CMD" >&6; }
15416 { $as_echo "$as_me:$LINENO: result: no" >&5
15417 $as_echo "no" >&6; }
15422 if test x$MODPROBE_CMD != x; then
15424 cat >>confdefs.h <<_ACEOF
15425 #define MODPROBE_CMD "$MODPROBE_CMD"
15430 ################################################################################
15433 if test "$BUILD_DMEVENTD" = yes; then
15435 # Check whether --with-dmeventd-pidfile was given.
15436 if test "${with_dmeventd_pidfile+set}" = set; then
15437 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15438 #define DMEVENTD_PIDFILE "$withval"
15442 cat >>confdefs.h <<_ACEOF
15443 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15452 if test "$BUILD_DMEVENTD" = yes; then
15453 dmeventd_prefix="$exec_prefix"
15454 if test "x$dmeventd_prefix" = "xNONE"; then
15455 dmeventd_prefix="$prefix"
15457 if test "x$dmeventd_prefix" = "xNONE"; then
15461 # Check whether --with-dmeventd-path was given.
15462 if test "${with_dmeventd_path+set}" = set; then
15463 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15464 #define DMEVENTD_PATH "$withval"
15468 cat >>confdefs.h <<_ACEOF
15469 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15476 ################################################################################
15477 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15478 $as_echo_n "checking for kernel interface choice... " >&6; }
15480 # Check whether --with-interface was given.
15481 if test "${with_interface+set}" = set; then
15482 withval=$with_interface; interface="$withval"
15487 if [ "x$interface" != xioctl ];
15489 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15490 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15491 { (exit 1); exit 1; }; }
15493 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15494 $as_echo "$interface" >&6; }
15496 ################################################################################
15497 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15499 cat >>confdefs.h <<_ACEOF
15500 #define DM_LIB_VERSION $DM_LIB_VERSION
15504 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15506 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15508 VER=`cat "$srcdir"/VERSION`
15509 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15510 VER=`echo "$VER" | $AWK '{print
$1}'`
15511 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15512 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15513 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15514 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15515 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15516 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15518 ################################################################################
15606 ################################################################################
15607 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"
15609 cat >confcache <<\_ACEOF
15610 # This file is a shell script that caches the results of configure
15611 # tests run on this system so they can be shared between configure
15612 # scripts and configure runs, see configure's option
--config-cache.
15613 # It is not useful on other systems. If it contains results you don't
15614 # want to keep, you may remove or edit it.
15616 # config.status only pays attention to the cache file if you give it
15617 # the --recheck option to rerun configure.
15619 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15620 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15621 # following values.
15625 # The following way of writing the cache mishandles newlines in values,
15626 # but we know of no workaround that is simple, portable, and efficient.
15627 # So, we kill variables containing newlines.
15628 # Ultrix sh set writes to stderr and can't be redirected directly,
15629 # and sets the high bit in the cache file unless we assign to the vars.
15631 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15632 eval ac_val
=\$
$ac_var
15636 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15637 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15640 _ | IFS | as_nl
) ;; #(
15641 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15642 *) $as_unset $ac_var ;;
15648 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15649 *${as_nl}ac_space
=\
*)
15650 # `set' does not quote correctly, so add quotes (double-quote
15651 # substitution turns \\\\ into \\, and sed turns \\ into \).
15654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15657 # `set' quotes correctly as required by POSIX, so do not add quotes.
15658 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15667 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15669 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15671 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15672 if test -w "$cache_file"; then
15673 test "x$cache_file" != "x/dev/null" &&
15674 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15675 $as_echo "$as_me: updating cache $cache_file" >&6;}
15676 cat confcache
>$cache_file
15678 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15679 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15684 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15685 # Let make expand exec_prefix.
15686 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15688 DEFS
=-DHAVE_CONFIG_H
15692 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15693 # 1. Remove the extension, and $U if already installed.
15694 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15695 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15696 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15697 # will be set to the directory where LIBOBJS objects are built.
15698 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15699 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15701 LIBOBJS
=$ac_libobjs
15703 LTLIBOBJS
=$ac_ltlibobjs
15707 : ${CONFIG_STATUS=./config.status}
15709 ac_clean_files_save
=$ac_clean_files
15710 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15711 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15712 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15713 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15715 # Generated by $as_me.
15716 # Run this file to recreate the current configuration.
15717 # Compiler output produced by configure, useful for debugging
15718 # configure, is in config.log if it exists.
15721 ac_cs_recheck=false
15723 SHELL=\${CONFIG_SHELL-$SHELL}
15726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15727 ## --------------------- ##
15728 ## M4sh Initialization. ##
15729 ## --------------------- ##
15731 # Be more Bourne compatible
15732 DUALCASE
=1; export DUALCASE
# for MKS sh
15733 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15736 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15737 # is contrary to our usage. Disable this feature.
15738 alias -g '${1+"$@"}'='"$@"'
15739 setopt NO_GLOB_SUBST
15741 case `(set -o) 2>/dev/null` in
15742 *posix
*) set -o posix
;;
15751 # Avoid depending upon Character Ranges.
15752 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15753 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15754 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15755 as_cr_digits
='0123456789'
15756 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15761 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15762 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15765 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15766 as_echo='printf %s
\n'
15767 as_echo_n='printf %s
'
15769 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15770 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15771 as_echo_n='/usr
/ucb
/echo -n'
15773 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15774 as_echo_n_body='eval
15778 expr "X$arg" : "X\\(.*\\)$as_nl";
15779 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15781 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15783 export as_echo_n_body
15784 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15786 export as_echo_body
15787 as_echo='sh
-c $as_echo_body as_echo
'
15790 # The user is always right.
15791 if test "${PATH_SEPARATOR+set}" != set; then
15793 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15794 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15799 # Support unset when possible.
15800 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15808 # We need space, tab and new line, in precisely that order. Quoting is
15809 # there to prevent editors from complaining about space-tab.
15810 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15811 # splitting by setting IFS to empty value.)
15814 # Find who we are. Look in the path if we contain no directory separator.
15816 *[\\/]* ) as_myself=$0 ;;
15817 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15818 for as_dir in $PATH
15821 test -z "$as_dir" && as_dir=.
15822 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15828 # We did not find ourselves, most probably we were run as `sh COMMAND'
15829 # in which case we are not to be found in the path.
15830 if test "x$as_myself" = x
; then
15833 if test ! -f "$as_myself"; then
15834 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15835 { (exit 1); exit 1; }
15838 # Work around bugs in pre-3.0 UWIN ksh.
15839 for as_var
in ENV MAIL MAILPATH
15840 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15852 # Required to use basename.
15853 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15854 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15860 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15861 as_basename
=basename
15867 # Name of the executable.
15868 as_me
=`$as_basename -- "$0" ||
15869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15870 X"$0" : 'X\(//\)$' \| \
15871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15873 sed '/^.*\/\([^/][^/]*\)\/*$/{
15892 as_lineno_1
=$LINENO
15893 as_lineno_2
=$LINENO
15894 test "x$as_lineno_1" != "x$as_lineno_2" &&
15895 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15897 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15898 # uniformly replaced by the line number. The first 'sed' inserts a
15899 # line-number line after each line using $LINENO; the second 'sed'
15900 # does the real work. The second script uses 'N' to pair each
15901 # line-number line with the line containing $LINENO, and appends
15902 # trailing '-' during substitution so that $LINENO is not a special
15903 # case at line end.
15904 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15905 # scripts with optimization help from Paolo Bonzini. Blame Lee
15906 # E. McMahon (1931-1989) for sed's syntax. :-)
15918 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15921 ' >$as_me.lineno
&&
15922 chmod +x
"$as_me.lineno" ||
15923 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15924 { (exit 1); exit 1; }; }
15926 # Don't try to exec as it changes $[0], causing all sort of problems
15927 # (the dirname of $[0] is not the place where we might find the
15928 # original and so on. Autoconf is especially sensitive to this).
15929 .
"./$as_me.lineno"
15930 # Exit status is that of the last command.
15935 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15941 ECHO_C
= ECHO_N
= ECHO_T
=
15942 case `echo -n x` in
15944 case `echo 'x\c'` in
15945 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15951 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15952 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15958 rm -f conf$$ conf$$.exe conf$$.
file
15959 if test -d conf$$.dir
; then
15960 rm -f conf$$.dir
/conf$$.
file
15963 mkdir conf$$.dir
2>/dev
/null
15965 if (echo >conf$$.
file) 2>/dev
/null
; then
15966 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15968 # ... but there are two gotchas:
15969 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15970 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15971 # In both cases, we have to default to `cp -p'.
15972 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15974 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15982 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15983 rmdir conf$$.dir
2>/dev
/null
15985 if mkdir
-p .
2>/dev
/null
; then
15988 test -d .
/-p && rmdir .
/-p
15992 if test -x / >/dev
/null
2>&1; then
15993 as_test_x
='test -x'
15995 if ls -dL / >/dev
/null
2>&1; then
16002 if test -d "$1"; then
16008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16009 ???[sx]*):;;*)false;;esac;fi
16013 as_executable_p
=$as_test_x
16015 # Sed expression to map a string onto a valid CPP name.
16016 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16018 # Sed expression to map a string onto a valid variable name.
16019 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16024 # Save the log message, to keep $[0] and so on meaningful, and to
16025 # report actual input values of CONFIG_FILES etc. instead of their
16026 # values after options handling.
16028 This file was extended by $as_me, which was
16029 generated by GNU Autoconf 2.63. Invocation command line was
16031 CONFIG_FILES = $CONFIG_FILES
16032 CONFIG_HEADERS = $CONFIG_HEADERS
16033 CONFIG_LINKS = $CONFIG_LINKS
16034 CONFIG_COMMANDS = $CONFIG_COMMANDS
16037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16042 case $ac_config_files in *"
16043 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16046 case $ac_config_headers in *"
16047 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16052 # Files that config.status was made for.
16053 config_files="$ac_config_files"
16054 config_headers="$ac_config_headers"
16058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16060 \`$as_me' instantiates files from templates according to the
16061 current configuration.
16063 Usage: $0 [OPTION]... [FILE]...
16065 -h, --help print this help, then exit
16066 -V, --version print version number and configuration settings, then exit
16067 -q, --quiet, --silent
16068 do not print progress messages
16069 -d, --debug don't remove temporary files
16070 --recheck update $as_me by reconfiguring in the same conditions
16071 --file=FILE[:TEMPLATE]
16072 instantiate the configuration file FILE
16073 --header=FILE[:TEMPLATE]
16074 instantiate the configuration header FILE
16076 Configuration files:
16079 Configuration headers:
16082 Report bugs to <bug-autoconf@gnu.org>."
16085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16088 configured by $0, generated by GNU Autoconf 2.63,
16089 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16091 Copyright (C) 2008 Free Software Foundation, Inc.
16092 This config.status script is free software; the Free Software Foundation
16093 gives unlimited permission to copy, distribute and modify it."
16100 test -n "\$AWK" || AWK=awk
16103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16104 # The default lists apply if the user does not specify any file.
16110 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16111 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16122 # Handling of the options.
16123 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16125 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16126 $as_echo "$ac_cs_version"; exit ;;
16127 --debug |
--debu |
--deb |
--de |
--d |
-d )
16129 --file |
--fil |
--fi |
--f )
16132 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16135 ac_need_defaults
=false
;;
16136 --header |
--heade |
--head |
--hea )
16139 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16141 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16142 ac_need_defaults
=false
;;
16144 # Conflict between --help and --header
16145 { $as_echo "$as_me: error: ambiguous option: $1
16146 Try \`$0 --help' for more information." >&2
16147 { (exit 1); exit 1; }; };;
16148 --help |
--hel |
-h )
16149 $as_echo "$ac_cs_usage"; exit ;;
16150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16151 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16154 # This is an error.
16155 -*) { $as_echo "$as_me: error: unrecognized option: $1
16156 Try \`$0 --help' for more information." >&2
16157 { (exit 1); exit 1; }; } ;;
16159 *) ac_config_targets
="$ac_config_targets $1"
16160 ac_need_defaults
=false
;;
16166 ac_configure_extra_args
=
16168 if $ac_cs_silent; then
16170 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16175 if \$ac_cs_recheck; then
16176 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16178 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16179 CONFIG_SHELL='$SHELL'
16180 export CONFIG_SHELL
16185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16190 ## Running $as_me. ##
16196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16201 # Handling of arguments.
16202 for ac_config_target
in $ac_config_targets
16204 case $ac_config_target in
16205 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16206 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16207 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16208 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16209 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16210 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16211 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16212 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16213 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16214 "daemons/dmeventd/plugins/lvm2/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/lvm2/Makefile" ;;
16215 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16216 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16217 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16218 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16219 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16220 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16221 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16222 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16223 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16224 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16225 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16226 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16227 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16228 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16229 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16230 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16231 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16232 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16233 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16234 "scripts/cmirrord_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
16235 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16236 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16237 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16238 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16239 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16240 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16242 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16243 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16244 { (exit 1); exit 1; }; };;
16249 # If the user did not use the arguments to specify the items to instantiate,
16250 # then the envvar interface is used. Set only those that are not.
16251 # We use the long form for the default assignment because of an extremely
16252 # bizarre bug on SunOS 4.1.3.
16253 if $ac_need_defaults; then
16254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16258 # Have a temporary directory for convenience. Make it in the build tree
16259 # simply because there is no reason against having it here, and in addition,
16260 # creating and moving files from /tmp can sometimes cause problems.
16261 # Hook for its removal unless debugging.
16262 # Note that there is a small window in which the directory will not be cleaned:
16263 # after its creation but before its name has been assigned to `$tmp'.
16267 trap 'exit_status=$?
16268 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16270 trap '{ (exit 1); exit 1; }' 1 2 13 15
16272 # Create a (secure) tmp directory for tmp files.
16275 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16276 test -n "$tmp" && test -d "$tmp"
16279 tmp
=.
/conf$$
-$RANDOM
16280 (umask 077 && mkdir
"$tmp")
16283 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16284 { (exit 1); exit 1; }
16287 # Set up the scripts for CONFIG_FILES section.
16288 # No need to generate them if there are no CONFIG_FILES.
16289 # This happens for instance with `./config.status config.h'.
16290 if test -n "$CONFIG_FILES"; then
16294 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16295 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16298 ac_cs_awk_cr
=$ac_cr
16301 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16306 echo "cat >conf$$subs.awk <<_ACEOF" &&
16307 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16309 } >conf$$subs.sh ||
16310 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16311 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16312 { (exit 1); exit 1; }; }
16313 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16315 for ac_last_try in false false false false false :; do
16316 . ./conf$$subs.sh ||
16317 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16318 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16319 { (exit 1); exit 1; }; }
16321 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16322 if test $ac_delim_n = $ac_delim_num; then
16324 elif $ac_last_try; then
16325 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16326 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16327 { (exit 1); exit 1; }; }
16329 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16332 rm -f conf$$subs.sh
16334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16335 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16339 s/^/S["/; s
/!.
*/"]=/
16349 s/\(.\{148\}\).*/\1/
16351 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16356 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16363 s/\(.\{148\}\).*/\1/
16365 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16369 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16374 ' <conf$$subs.awk | sed '
16379 ' >>$CONFIG_STATUS || ac_write_fail=1
16380 rm -f conf$$subs.awk
16381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16383 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16384 for (key in S) S_is_set[key] = 1
16390 nfields = split(line, field, "@
")
16392 len = length(field[1])
16393 for (i = 2; i < nfields; i++) {
16395 keylen = length(key)
16396 if (S_is_set[key]) {
16398 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16399 len += length(value) + length(field[++i])
16410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16411 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16412 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16415 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16416 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16417 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16418 { (exit 1); exit 1; }; }
16421 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16422 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16423 # trailing colons and then remove the whole line if VPATH becomes empty
16424 # (actually we leave an empty line to preserve line numbers).
16425 if test "x
$srcdir" = x.; then
16426 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16427 s/:*\$(srcdir):*/:/
16428 s/:*\${srcdir}:*/:/
16430 s/^\([^=]*=[ ]*\):*/\1/
16436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16437 fi # test -n "$CONFIG_FILES"
16439 # Set up the scripts for CONFIG_HEADERS section.
16440 # No need to generate them if there are no CONFIG_HEADERS.
16441 # This happens for instance with `./config.status Makefile'.
16442 if test -n "$CONFIG_HEADERS"; then
16443 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16447 # Transform confdefs.h into an awk script `defines.awk', embedded as
16448 # here-document in config.status, that substitutes the proper values into
16449 # config.h.in to produce config.h.
16451 # Create a delimiter string that does not exist in confdefs.h, to ease
16452 # handling of long lines.
16454 for ac_last_try in false false :; do
16455 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16456 if test -z "$ac_t"; then
16458 elif $ac_last_try; then
16459 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16460 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16461 { (exit 1); exit 1; }; }
16463 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16467 # For the awk script, D is an array of macro values keyed by name,
16468 # likewise P contains macro parameters if any. Preserve backslash
16469 # newline sequences.
16471 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16473 s/.\{148\}/&'"$ac_delim"'/g
16476 s/^[ ]*#[ ]*define[ ][ ]*/ /
16483 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16485 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16490 D["\
1"]=" \
3\\\\\\n
"\\/p
16492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16497 s/.\{148\}/&'"$ac_delim"'/g
16502 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16505 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16507 ' <confdefs.h | sed '
16508 s/'"$ac_delim"'/"\\\
16509 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16512 for (key in D) D_is_set[key] = 1
16515 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16517 split(line, arg, " ")
16518 if (arg[1] == "#") {
16522 defundef
= substr
(arg
[1], 2)
16525 split(mac1
, mac2
, "(") #)
16527 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16528 if (D_is_set
[macro
]) {
16529 # Preserve the white space surrounding the "#".
16530 print prefix
"define", macro P
[macro
] D
[macro
]
16533 # Replace #undef with comments. This is necessary, for example,
16534 # in the case of _POSIX_SOURCE, which is predefined and required
16535 # on some systems where configure will not decide to define it.
16536 if (defundef
== "undef") {
16537 print
"/*", prefix defundef
, macro
, "*/"
16545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16546 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16547 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16548 { (exit 1); exit 1; }; }
16549 fi # test -n "$CONFIG_HEADERS"
16552 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16557 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16559 case $ac_mode$ac_tag in
16561 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16562 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16563 { (exit 1); exit 1; }; };;
16564 :[FH
]-) ac_tag
=-:-;;
16565 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16582 -) ac_f
="$tmp/stdin";;
16583 *) # Look for the file first in the build tree, then in the source tree
16584 # (if the path is not absolute). The absolute path cannot be DOS-style,
16585 # because $ac_f cannot contain `:'.
16589 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16591 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16592 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16593 { (exit 1); exit 1; }; };;
16595 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16596 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16599 # Let's still pretend it is `configure' which instantiates (i.e., don't
16600 # use $as_me), people would be surprised to read:
16601 # /* config.h. Generated by config.status. */
16602 configure_input
='Generated from '`
16603 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16605 if test x
"$ac_file" != x-
; then
16606 configure_input
="$ac_file. $configure_input"
16607 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16608 $as_echo "$as_me: creating $ac_file" >&6;}
16610 # Neutralize special characters interpreted by sed in replacement strings.
16611 case $configure_input in #(
16612 *\
&* |
*\|
* |
*\\* )
16613 ac_sed_conf_input
=`$as_echo "$configure_input" |
16614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16615 *) ac_sed_conf_input
=$configure_input;;
16619 *:-:* |
*:-) cat >"$tmp/stdin" \
16620 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16621 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16622 { (exit 1); exit 1; }; } ;;
16627 ac_dir
=`$as_dirname -- "$ac_file" ||
16628 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16629 X"$ac_file" : 'X\(//\)[^/]' \| \
16630 X"$ac_file" : 'X\(//\)$' \| \
16631 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16632 $as_echo X"$ac_file" |
16633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16637 /^X\(\/\/\)[^/].*/{
16652 -*) as_dir
=.
/$as_dir;;
16654 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16658 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16659 *) as_qdir
=$as_dir;;
16661 as_dirs
="'$as_qdir' $as_dirs"
16662 as_dir
=`$as_dirname -- "$as_dir" ||
16663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16664 X"$as_dir" : 'X\(//\)[^/]' \| \
16665 X"$as_dir" : 'X\(//\)$' \| \
16666 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16667 $as_echo X"$as_dir" |
16668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16672 /^X\(\/\/\)[^/].*/{
16685 test -d "$as_dir" && break
16687 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16688 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16689 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16690 { (exit 1); exit 1; }; }; }
16694 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16696 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16697 # A ".." for each directory in $ac_dir_suffix.
16698 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16699 case $ac_top_builddir_sub in
16700 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16701 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16704 ac_abs_top_builddir
=$ac_pwd
16705 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16706 # for backward compatibility:
16707 ac_top_builddir
=$ac_top_build_prefix
16710 .
) # We are building in place.
16712 ac_top_srcdir
=$ac_top_builddir_sub
16713 ac_abs_top_srcdir
=$ac_pwd ;;
16714 [\\/]* | ?
:[\\/]* ) # Absolute name.
16715 ac_srcdir
=$srcdir$ac_dir_suffix;
16716 ac_top_srcdir
=$srcdir
16717 ac_abs_top_srcdir
=$srcdir ;;
16718 *) # Relative name.
16719 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16720 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16721 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16723 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16733 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16734 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16736 ac_MKDIR_P
=$MKDIR_P
16738 [\\/$
]* | ?
:[\\/]* ) ;;
16739 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16744 # If the template does not know about datarootdir, expand it.
16745 # FIXME: This hack should be removed a few years after 2.60.
16746 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16759 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16760 *datarootdir
*) ac_datarootdir_seen
=yes;;
16761 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16762 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16763 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16766 ac_datarootdir_hack='
16767 s&@datadir@&$datadir&g
16768 s&@docdir@&$docdir&g
16769 s&@infodir@&$infodir&g
16770 s&@localedir@&$localedir&g
16771 s&@mandir@&$mandir&g
16772 s&\\\${datarootdir}&$datarootdir&g' ;;
16776 # Neutralize VPATH when `$srcdir' = `.'.
16777 # Shell code in configure.ac might set extrasub.
16778 # FIXME: do we really want to maintain this feature?
16779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16780 ac_sed_extra="$ac_vpsub
16783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16785 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16786 s|@configure_input@|
$ac_sed_conf_input|
;t t
16787 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16788 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16789 s
&@srcdir@
&$ac_srcdir&;t t
16790 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16791 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16792 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16793 s
&@builddir@
&$ac_builddir&;t t
16794 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16795 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16796 s
&@INSTALL@
&$ac_INSTALL&;t t
16797 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16798 $ac_datarootdir_hack
16800 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16801 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16802 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16803 { (exit 1); exit 1; }; }
16805 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16806 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16807 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16808 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16809 which seems to be undefined. Please make sure it is defined." >&5
16810 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16811 which seems to be undefined. Please make sure it is defined." >&2;}
16815 -) cat "$tmp/out" && rm -f "$tmp/out";;
16816 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16818 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16819 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16820 { (exit 1); exit 1; }; }
16826 if test x"$ac_file" != x-; then
16828 $as_echo "/* $configure_input */" \
16829 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16830 } >"$tmp/config.h" \
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; }; }
16834 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16835 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16836 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16839 mv "$tmp/config.h" "$ac_file" \
16840 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16841 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16842 { (exit 1); exit 1; }; }
16845 $as_echo "/* $configure_input */" \
16846 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16847 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16848 $as_echo "$as_me: error: could not create -" >&2;}
16849 { (exit 1); exit 1; }; }
16859 { (exit 0); exit 0; }
16861 chmod +x $CONFIG_STATUS
16862 ac_clean_files=$ac_clean_files_save
16864 test $ac_write_fail = 0 ||
16865 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16866 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16867 { (exit 1); exit 1; }; }
16870 # configure is writing to config.log, and then calls config.status.
16871 # config.status does its own redirection, appending to config.log.
16872 # Unfortunately, on DOS this fails, as config.log is still kept open
16873 # by configure, so config.status won't be able to
write to it
; its
16874 # output is simply discarded. So we exec the FD to /dev/null,
16875 # effectively closing config.log, so it can be properly (re)opened and
16876 # appended to by config.status. When coming back to configure, we
16877 # need to make the FD available again.
16878 if test "$no_create" != yes; then
16880 ac_config_status_args
=
16881 test "$silent" = yes &&
16882 ac_config_status_args
="$ac_config_status_args --quiet"
16884 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16886 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16887 # would make configure fail if this is the last instruction.
16888 $ac_cs_success ||
{ (exit 1); exit 1; }
16890 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16891 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16892 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16896 if test x
$ODIRECT != xyes
; then
16897 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16898 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}