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
792 program_transform_name
804 enable_option_checking
821 with_cmirrord_pidfile
846 with_dmeventd_pidfile
850 ac_precious_vars
='build_alias
884 # Initialize some variables set by options.
886 ac_init_version
=false
887 ac_unrecognized_opts
=
889 # The variables have the same names as the options, with
890 # dashes changed to underlines.
898 program_transform_name
=s
,x
,x
,
906 # Installation directory options.
907 # These are left unexpanded so users can "make install exec_prefix=/foo"
908 # and all the variables that are supposed to be based on exec_prefix
909 # by default will actually change.
910 # Use braces instead of parens because sh, perl, etc. also accept them.
911 # (The list follows the same order as the GNU Coding Standards.)
912 bindir
='${exec_prefix}/bin'
913 sbindir
='${exec_prefix}/sbin'
914 libexecdir
='${exec_prefix}/libexec'
915 datarootdir
='${prefix}/share'
916 datadir
='${datarootdir}'
917 sysconfdir
='${prefix}/etc'
918 sharedstatedir
='${prefix}/com'
919 localstatedir
='${prefix}/var'
920 includedir
='${prefix}/include'
921 oldincludedir
='/usr/include'
922 docdir
='${datarootdir}/doc/${PACKAGE}'
923 infodir
='${datarootdir}/info'
928 libdir
='${exec_prefix}/lib'
929 localedir
='${datarootdir}/locale'
930 mandir
='${datarootdir}/man'
936 # If the previous option needs an argument, assign it.
937 if test -n "$ac_prev"; then
938 eval $ac_prev=\
$ac_option
944 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 # Accept the important Cygnus configure options, so we can diagnose typos.
950 case $ac_dashdash$ac_option in
954 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
956 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
959 -build |
--build |
--buil |
--bui |
--bu)
960 ac_prev
=build_alias
;;
961 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
962 build_alias
=$ac_optarg ;;
964 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
965 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
966 ac_prev
=cache_file
;;
967 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
968 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
969 cache_file
=$ac_optarg ;;
972 cache_file
=config.cache
;;
974 -datadir |
--datadir |
--datadi |
--datad)
976 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
977 datadir
=$ac_optarg ;;
979 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
980 |
--dataroo |
--dataro |
--datar)
981 ac_prev
=datarootdir
;;
982 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
983 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
984 datarootdir
=$ac_optarg ;;
986 -disable-* |
--disable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
991 { (exit 1); exit 1; }; }
992 ac_useropt_orig
=$ac_useropt
993 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999 ac_unrecognized_sep
=', ';;
1001 eval enable_
$ac_useropt=no
;;
1003 -docdir |
--docdir |
--docdi |
--doc |
--do)
1005 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1006 docdir
=$ac_optarg ;;
1008 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1010 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1011 dvidir
=$ac_optarg ;;
1013 -enable-* |
--enable-*)
1014 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1017 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1222 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_useropt_orig
=$ac_useropt
1225 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep
=', ';;
1233 eval with_
$ac_useropt=\
$ac_optarg ;;
1235 -without-* |
--without-*)
1236 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1239 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1240 { (exit 1); exit 1; }; }
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1271 Try \`$0 --help' for more information." >&2
1272 { (exit 1); exit 1; }; }
1276 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1279 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1280 { (exit 1); exit 1; }; }
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1298 { (exit 1); exit 1; }; }
1301 if test -n "$ac_unrecognized_opts"; then
1302 case $enable_option_checking in
1304 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1305 { (exit 1); exit 1; }; } ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1329 { (exit 1); exit 1; }; }
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target
=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x
; then
1341 if test "x$build_alias" = x
; then
1342 cross_compiling
=maybe
1343 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1344 If a cross compiler is detected then cross compile mode will be used." >&2
1345 elif test "x$build_alias" != "x$host_alias"; then
1351 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1353 test "$silent" = yes && exec 6>/dev
/null
1356 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di
=`ls -di .` &&
1358 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1359 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1360 { (exit 1); exit 1; }; }
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1363 { (exit 1); exit 1; }; }
1366 # Find the source files, if location was not specified.
1367 if test -z "$srcdir"; then
1368 ac_srcdir_defaulted
=yes
1369 # Try the directory containing this script, then the parent directory.
1370 ac_confdir
=`$as_dirname -- "$as_myself" ||
1371 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372 X"$as_myself" : 'X\(//\)[^/]' \| \
1373 X"$as_myself" : 'X\(//\)$' \| \
1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375 $as_echo X"$as_myself" |
1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted
=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1401 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1402 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1403 { (exit 1); exit 1; }; }
1405 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1407 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1408 { (exit 1); exit 1; }; }
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures this package to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1494 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1498 if test -n "$ac_init_help"; then
1503 --disable-option-checking ignore unrecognized
--enable/--with options
1504 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1505 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1506 --enable-static_link Use this to link the tools to their libraries
1507 statically. Default is dynamic linking
1508 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1509 device-mapper is missing from the kernel
1510 --disable-readline Disable readline support
1511 --enable-realtime Enable realtime
clock support
1512 --enable-cmirrord Enable the cluster mirror log daemon
1513 --enable-debug Enable debugging
1514 --enable-profiling Gather gcov profiling data
1515 --disable-devmapper Disable LVM2 device-mapper interaction
1516 --enable-udev_sync Enable synchronisation with udev processing
1517 --enable-udev_rules Install rule files needed
for udev synchronisation
1518 --enable-compat Enable support
for old device-mapper versions
1519 --enable-units-compat Enable output compatibility with old versions that
1520 that don
't use KiB-style unit suffixes
1521 --disable-driver Disable calls to device-mapper in the kernel
1522 --disable-o_direct Disable O_DIRECT
1523 --enable-applib Build application library
1524 --enable-cmdlib Build shared command library
1525 --enable-pkgconfig Install pkgconfig support
1526 --enable-fsadm Enable fsadm
1527 --enable-dmeventd Enable the device-mapper event daemon
1528 --disable-selinux Disable selinux support
1529 --enable-nls Enable Native Language Support
1532 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1533 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1534 --with-user=USER Set the owner of installed files [USER=]
1535 --with-group=GROUP Set the group owner of installed files [GROUP=]
1536 --with-device-uid=UID Set the owner used for new device nodes [UID=0]
1537 --with-device-gid=UID Set the group used for new device nodes [GID=0]
1538 --with-device-mode=MODE Set the mode used for new device nodes [MODE=0600]
1539 --with-lvm1=TYPE LVM1 metadata support: internal/shared/none
1541 --with-pool=TYPE GFS pool read-only support: internal/shared/none
1543 --with-cluster=TYPE Cluster LVM locking support: internal/shared/none
1545 --with-snapshots=TYPE Snapshot support: internal/shared/none
1547 --with-mirrors=TYPE Mirror support: internal/shared/none
1549 --with-clvmd=TYPE Build cluster LVM Daemon.
1550 The following cluster manager combinations are valid:
1551 * cman,gulm (RHEL4 or equivalent)
1552 * cman (RHEL5 or equivalent)
1553 * cman,corosync,openais (or selection of them)
1555 * none (disable build)
1557 --with-cmirrord-pidfile=PATH cmirrord pidfile [/var/run/cmirrord.pid]
1558 --with-optimisation=OPT C optimisation flag [OPT=-O2]
1559 --with-localedir=DIR Translation files in DIR [PREFIX/share/locale]
1560 --with-confdir=DIR Configuration files in DIR [/etc]
1561 --with-staticdir=DIR Static binary in DIR [EPREFIX/sbin]
1562 --with-usrlibdir=DIR
1563 --with-usrsbindir=DIR
1564 --with-udev-prefix=UPREFIX Install udev rule files in UPREFIX [EPREFIX]
1565 --with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
1566 --with-dmeventd-pidfile=PATH dmeventd pidfile [/var/run/dmeventd.pid]
1567 --with-dmeventd-path=PATH dmeventd path [EPREFIX/sbin/dmeventd]
1568 --with-interface=IFACE Choose kernel interface (ioctl) [ioctl]
1570 Some influential environment variables:
1571 CC C compiler command
1572 CFLAGS C compiler flags
1573 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1574 nonstandard directory <lib dir>
1575 LIBS libraries to pass to the linker, e.g. -l<library>
1576 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1577 you have headers in a nonstandard directory <include dir>
1579 PKG_CONFIG path to pkg-config utility
1580 PKGCONFIGINIT_CFLAGS
1581 C compiler flags for PKGCONFIGINIT, overriding pkg-config
1583 linker flags for PKGCONFIGINIT, overriding pkg-config
1584 CCS_CFLAGS C compiler flags for CCS, overriding pkg-config
1585 CCS_LIBS linker flags for CCS, overriding pkg-config
1586 GULM_CFLAGS C compiler flags for GULM, overriding pkg-config
1587 GULM_LIBS linker flags for GULM, overriding pkg-config
1588 CMAN_CFLAGS C compiler flags for CMAN, overriding pkg-config
1589 CMAN_LIBS linker flags for CMAN, overriding pkg-config
1591 C compiler flags for COROSYNC, overriding pkg-config
1593 linker flags for COROSYNC, overriding pkg-config
1595 C compiler flags for QUORUM, overriding pkg-config
1596 QUORUM_LIBS linker flags for QUORUM, overriding pkg-config
1598 C compiler flags for SALCK, overriding pkg-config
1599 SALCK_LIBS linker flags for SALCK, overriding pkg-config
1601 C compiler flags for CONFDB, overriding pkg-config
1602 CONFDB_LIBS linker flags for CONFDB, overriding pkg-config
1603 CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
1604 CPG_LIBS linker flags for CPG, overriding pkg-config
1605 DLM_CFLAGS C compiler flags for DLM, overriding pkg-config
1606 DLM_LIBS linker flags for DLM, overriding pkg-config
1608 C compiler flags for SACKPT, overriding pkg-config
1609 SACKPT_LIBS linker flags for SACKPT, overriding pkg-config
1611 Use these variables to override the choices made by `configure' or to
help
1612 it to
find libraries and programs with nonstandard names
/locations.
1618 if test "$ac_init_help" = "recursive"; then
1619 # If there are subdirs, report their specific --help.
1620 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1621 test -d "$ac_dir" ||
1622 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1627 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1629 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1630 # A ".." for each directory in $ac_dir_suffix.
1631 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1632 case $ac_top_builddir_sub in
1633 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1634 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1637 ac_abs_top_builddir
=$ac_pwd
1638 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1639 # for backward compatibility:
1640 ac_top_builddir
=$ac_top_build_prefix
1643 .
) # We are building in place.
1645 ac_top_srcdir
=$ac_top_builddir_sub
1646 ac_abs_top_srcdir
=$ac_pwd ;;
1647 [\\/]* | ?
:[\\/]* ) # Absolute name.
1648 ac_srcdir
=$srcdir$ac_dir_suffix;
1649 ac_top_srcdir
=$srcdir
1650 ac_abs_top_srcdir
=$srcdir ;;
1652 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1653 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1654 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1656 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1658 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1659 # Check for guested configure.
1660 if test -f "$ac_srcdir/configure.gnu"; then
1662 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1663 elif test -f "$ac_srcdir/configure"; then
1665 $SHELL "$ac_srcdir/configure" --help=recursive
1667 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1673 test -n "$ac_init_help" && exit $ac_status
1674 if $ac_init_version; then
1677 generated by GNU Autoconf
2.63
1679 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1680 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1681 This configure
script is free software
; the Free Software Foundation
1682 gives unlimited permission to copy
, distribute and modify it.
1686 cat >config.log
<<_ACEOF
1687 This file contains any messages produced by compilers while
1688 running configure, to aid debugging if configure makes a mistake.
1690 It was created by $as_me, which was
1691 generated by GNU Autoconf 2.63. Invocation command line was
1703 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1704 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1705 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1706 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1707 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1709 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1710 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1712 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1713 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1714 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1715 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1716 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1717 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1718 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1726 test -z "$as_dir" && as_dir
=.
1727 $as_echo "PATH: $as_dir"
1743 # Keep a trace of the command line.
1744 # Strip out --no-create and --no-recursion so they do not pile up.
1745 # Strip out --silent because we don't want to record it for future runs.
1746 # Also quote any args containing shell meta-characters.
1747 # Make two passes to allow for proper duplicate-argument suppression.
1751 ac_must_keep_next
=false
1757 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1758 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1759 |
-silent |
--silent |
--silen |
--sile |
--sil)
1762 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1767 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1768 if test $ac_must_keep_next = true
; then
1769 ac_must_keep_next
=false
# Got value, back to normal.
1772 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1773 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1774 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1775 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1776 case "$ac_configure_args0 " in
1777 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1780 -* ) ac_must_keep_next
=true
;;
1783 ac_configure_args
="$ac_configure_args '$ac_arg'"
1788 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1789 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1791 # When interrupted or exit'd, cleanup temporary files, and complete
1792 # config.log. We remove comments because anyway the quotes in there
1793 # would cause problems or look ugly.
1794 # WARNING: Use '\'' to represent an apostrophe within the trap.
1795 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1796 trap 'exit_status=$?
1797 # Save into config.log some information that might help in debugging.
1802 ## ---------------- ##
1803 ## Cache variables. ##
1804 ## ---------------- ##
1807 # The following way of writing the cache mishandles newlines in values,
1809 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1810 eval ac_val=\$$ac_var
1814 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1815 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1818 _ | IFS | as_nl) ;; #(
1819 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1820 *) $as_unset $ac_var ;;
1825 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1826 *${as_nl}ac_space=\ *)
1828 "s/'\''/'\''\\\\'\'''\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1840 ## ----------------- ##
1841 ## Output variables. ##
1842 ## ----------------- ##
1845 for ac_var in $ac_subst_vars
1847 eval ac_val=\$$ac_var
1849 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851 $as_echo "$ac_var='\''$ac_val'\''"
1855 if test -n "$ac_subst_files"; then
1857 ## ------------------- ##
1858 ## File substitutions. ##
1859 ## ------------------- ##
1862 for ac_var
in $ac_subst_files
1864 eval ac_val
=\$
$ac_var
1866 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868 $as_echo "$ac_var='\''$ac_val'\''"
1873 if test -s confdefs.h; then
1883 test "$ac_signal" != 0 &&
1884 $as_echo "$as_me: caught signal $ac_signal"
1885 $as_echo "$as_me: exit $exit_status"
1887 rm -f core *.core core.conftest.* &&
1888 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1891 for ac_signal
in 1 2 13 15; do
1892 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1897 rm -f -r conftest
* confdefs.h
1899 # Predefined preprocessor variables.
1901 cat >>confdefs.h
<<_ACEOF
1902 #define PACKAGE_NAME "$PACKAGE_NAME"
1906 cat >>confdefs.h
<<_ACEOF
1907 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1911 cat >>confdefs.h
<<_ACEOF
1912 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1916 cat >>confdefs.h
<<_ACEOF
1917 #define PACKAGE_STRING "$PACKAGE_STRING"
1921 cat >>confdefs.h
<<_ACEOF
1922 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1926 # Let the site file select an alternate cache file if it wants to.
1927 # Prefer an explicitly selected file to automatically selected ones.
1930 if test -n "$CONFIG_SITE"; then
1931 ac_site_file1
=$CONFIG_SITE
1932 elif test "x$prefix" != xNONE
; then
1933 ac_site_file1
=$prefix/share
/config.site
1934 ac_site_file2
=$prefix/etc
/config.site
1936 ac_site_file1
=$ac_default_prefix/share
/config.site
1937 ac_site_file2
=$ac_default_prefix/etc
/config.site
1939 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1941 test "x$ac_site_file" = xNONE
&& continue
1942 if test -r "$ac_site_file"; then
1943 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1944 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1945 sed 's/^/| /' "$ac_site_file" >&5
1950 if test -r "$cache_file"; then
1951 # Some versions of bash will fail to source /dev/null (special
1952 # files actually), so we avoid doing that.
1953 if test -f "$cache_file"; then
1954 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1955 $as_echo "$as_me: loading cache $cache_file" >&6;}
1957 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1958 *) .
"./$cache_file";;
1962 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1963 $as_echo "$as_me: creating cache $cache_file" >&6;}
1967 # Check that the precious variables saved in the cache have kept the same
1969 ac_cache_corrupted
=false
1970 for ac_var
in $ac_precious_vars; do
1971 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1972 eval ac_new_set
=\
$ac_env_${ac_var}_set
1973 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1974 eval ac_new_val
=\
$ac_env_${ac_var}_value
1975 case $ac_old_set,$ac_new_set in
1977 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1978 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1979 ac_cache_corrupted
=: ;;
1981 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1982 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1983 ac_cache_corrupted
=: ;;
1986 if test "x$ac_old_val" != "x$ac_new_val"; then
1987 # differences in whitespace do not lead to failure.
1988 ac_old_val_w
=`echo x $ac_old_val`
1989 ac_new_val_w
=`echo x $ac_new_val`
1990 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1991 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1992 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1993 ac_cache_corrupted
=:
1995 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1996 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1997 eval $ac_var=\
$ac_old_val
1999 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2000 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2001 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2002 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2005 # Pass precious variables to config.status.
2006 if test "$ac_new_set" = set; then
2008 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2009 *) ac_arg
=$ac_var=$ac_new_val ;;
2011 case " $ac_configure_args " in
2012 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2013 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2017 if $ac_cache_corrupted; then
2018 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2020 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2021 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2022 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2023 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2024 { (exit 1); exit 1; }; }
2044 ac_cpp
='$CPP $CPPFLAGS'
2045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2051 ac_config_headers
="$ac_config_headers lib/misc/configure.h"
2054 ################################################################################
2056 for ac_dir
in autoconf
"$srcdir"/autoconf
; do
2057 if test -f "$ac_dir/install-sh"; then
2059 ac_install_sh
="$ac_aux_dir/install-sh -c"
2061 elif test -f "$ac_dir/install.sh"; then
2063 ac_install_sh
="$ac_aux_dir/install.sh -c"
2065 elif test -f "$ac_dir/shtool"; then
2067 ac_install_sh
="$ac_aux_dir/shtool install -c"
2071 if test -z "$ac_aux_dir"; then
2072 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
2073 $as_echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
2074 { (exit 1); exit 1; }; }
2077 # These three variables are undocumented and unsupported,
2078 # and are intended to be withdrawn in a future Autoconf release.
2079 # They can cause serious problems if a builder's source tree is in a directory
2080 # whose full name contains unusual characters.
2081 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2082 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2083 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2087 ################################################################################
2088 # Make sure we can run config.sub.
2089 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2090 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2091 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2092 { (exit 1); exit 1; }; }
2094 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2095 $as_echo_n "checking build system type... " >&6; }
2096 if test "${ac_cv_build+set}" = set; then
2097 $as_echo_n "(cached) " >&6
2099 ac_build_alias
=$build_alias
2100 test "x$ac_build_alias" = x
&&
2101 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2102 test "x$ac_build_alias" = x
&&
2103 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2104 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2105 { (exit 1); exit 1; }; }
2106 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2107 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2108 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2109 { (exit 1); exit 1; }; }
2112 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2113 $as_echo "$ac_cv_build" >&6; }
2114 case $ac_cv_build in
2116 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2117 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2118 { (exit 1); exit 1; }; };;
2121 ac_save_IFS
=$IFS; IFS
='-'
2127 # Remember, the first character of IFS is used to create $*,
2128 # except with old shells:
2131 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2134 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2135 $as_echo_n "checking host system type... " >&6; }
2136 if test "${ac_cv_host+set}" = set; then
2137 $as_echo_n "(cached) " >&6
2139 if test "x$host_alias" = x
; then
2140 ac_cv_host
=$ac_cv_build
2142 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2143 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2144 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2145 { (exit 1); exit 1; }; }
2149 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2150 $as_echo "$ac_cv_host" >&6; }
2153 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2154 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2155 { (exit 1); exit 1; }; };;
2158 ac_save_IFS
=$IFS; IFS
='-'
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2168 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2171 { $as_echo "$as_me:$LINENO: checking target system type" >&5
2172 $as_echo_n "checking target system type... " >&6; }
2173 if test "${ac_cv_target+set}" = set; then
2174 $as_echo_n "(cached) " >&6
2176 if test "x$target_alias" = x
; then
2177 ac_cv_target
=$ac_cv_host
2179 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2180 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2181 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2182 { (exit 1); exit 1; }; }
2186 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2187 $as_echo "$ac_cv_target" >&6; }
2188 case $ac_cv_target in
2190 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2191 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2192 { (exit 1); exit 1; }; };;
2194 target
=$ac_cv_target
2195 ac_save_IFS
=$IFS; IFS
='-'
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2205 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2208 # The aliases save the names the user supplied, while $host etc.
2209 # will get canonicalized.
2210 test -n "$target_alias" &&
2211 test "$program_prefix$program_suffix$program_transform_name" = \
2213 program_prefix
=${target_alias}-
2218 COPTIMISE_FLAG
="-O2"
2219 CLDFLAGS
="$CLDFLAGS -Wl,--version-script,.export.sym"
2220 CLDWHOLEARCHIVE
="-Wl,-whole-archive"
2221 CLDNOWHOLEARCHIVE
="-Wl,-no-whole-archive"
2222 LDDEPS
="$LDDEPS .export.sym"
2223 LDFLAGS
="$LDFLAGS -Wl,--export-dynamic"
2233 CFLAGS
="$CFLAGS -no-cpp-precomp -fno-common"
2234 COPTIMISE_FLAG
="-O2"
2235 CLDFLAGS
="$CLDFLAGS"
2236 CLDWHOLEARCHIVE
="-all_load"
2248 ################################################################################
2249 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2250 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2251 if test "${ac_cv_path_SED+set}" = set; then
2252 $as_echo_n "(cached) " >&6
2254 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2255 for ac_i
in 1 2 3 4 5 6 7; do
2256 ac_script
="$ac_script$as_nl$ac_script"
2258 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2259 $as_unset ac_script || ac_script
=
2260 if test -z "$SED"; then
2261 ac_path_SED_found
=false
2262 # Loop through the user's path and test for each of PROGNAME-LIST
2263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir
=.
2268 for ac_prog
in sed gsed
; do
2269 for ac_exec_ext
in '' $ac_executable_extensions; do
2270 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2271 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2272 # Check for GNU ac_path_SED and select it if it is found.
2273 # Check for GNU $ac_path_SED
2274 case `"$ac_path_SED" --version 2>&1` in
2276 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2279 $as_echo_n 0123456789 >"conftest.in"
2282 cat "conftest.in" "conftest.in" >"conftest.tmp"
2283 mv "conftest.tmp" "conftest.in"
2284 cp "conftest.in" "conftest.nl"
2285 $as_echo '' >> "conftest.nl"
2286 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2287 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2288 ac_count
=`expr $ac_count + 1`
2289 if test $ac_count -gt ${ac_path_SED_max-0}; then
2290 # Best one so far, save it but keep looking for a better one
2291 ac_cv_path_SED
="$ac_path_SED"
2292 ac_path_SED_max
=$ac_count
2294 # 10*(2^10) chars as input seems more than enough
2295 test $ac_count -gt 10 && break
2297 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2300 $ac_path_SED_found && break 3
2305 if test -z "$ac_cv_path_SED"; then
2306 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2307 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2308 { (exit 1); exit 1; }; }
2315 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2316 $as_echo "$ac_cv_path_SED" >&6; }
2317 SED
="$ac_cv_path_SED"
2320 for ac_prog
in gawk mawk nawk
awk
2322 # Extract the first word of "$ac_prog", so it can be a program name with args.
2323 set dummy
$ac_prog; ac_word
=$2
2324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 $as_echo_n "checking for $ac_word... " >&6; }
2326 if test "${ac_cv_prog_AWK+set}" = set; then
2327 $as_echo_n "(cached) " >&6
2329 if test -n "$AWK"; then
2330 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir
=.
2337 for ac_exec_ext
in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_AWK
="$ac_prog"
2340 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test -n "$AWK"; then
2351 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2352 $as_echo "$AWK" >&6; }
2354 { $as_echo "$as_me:$LINENO: result: no" >&5
2355 $as_echo "no" >&6; }
2359 test -n "$AWK" && break
2363 ac_cpp
='$CPP $CPPFLAGS'
2364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2367 if test -n "$ac_tool_prefix"; then
2368 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2369 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 $as_echo_n "checking for $ac_word... " >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373 $as_echo_n "(cached) " >&6
2375 if test -n "$CC"; then
2376 ac_cv_prog_CC
="$CC" # Let the user override the test.
2378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2382 test -z "$as_dir" && as_dir
=.
2383 for ac_exec_ext
in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2386 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 if test -n "$CC"; then
2397 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2398 $as_echo "$CC" >&6; }
2400 { $as_echo "$as_me:$LINENO: result: no" >&5
2401 $as_echo "no" >&6; }
2406 if test -z "$ac_cv_prog_CC"; then
2408 # Extract the first word of "gcc", so it can be a program name with args.
2409 set dummy gcc
; ac_word
=$2
2410 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 $as_echo_n "checking for $ac_word... " >&6; }
2412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2413 $as_echo_n "(cached) " >&6
2415 if test -n "$ac_ct_CC"; then
2416 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir
=.
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_ac_ct_CC
="gcc"
2426 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2436 if test -n "$ac_ct_CC"; then
2437 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2438 $as_echo "$ac_ct_CC" >&6; }
2440 { $as_echo "$as_me:$LINENO: result: no" >&5
2441 $as_echo "no" >&6; }
2444 if test "x$ac_ct_CC" = x
; then
2447 case $cross_compiling:$ac_tool_warned in
2449 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2451 ac_tool_warned
=yes ;;
2459 if test -z "$CC"; then
2460 if test -n "$ac_tool_prefix"; then
2461 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2462 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_CC+set}" = set; then
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$CC"; then
2469 ac_cv_prog_CC
="$CC" # Let the user override the test.
2471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir
=.
2476 for ac_exec_ext
in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$CC"; then
2490 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2491 $as_echo "$CC" >&6; }
2493 { $as_echo "$as_me:$LINENO: result: no" >&5
2494 $as_echo "no" >&6; }
2500 if test -z "$CC"; then
2501 # Extract the first word of "cc", so it can be a program name with args.
2502 set dummy cc
; ac_word
=$2
2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_CC+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$CC"; then
2509 ac_cv_prog_CC
="$CC" # Let the user override the test.
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2520 ac_prog_rejected
=yes
2524 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 if test $ac_prog_rejected = yes; then
2532 # We found a bogon in the path, so make sure we never use it.
2533 set dummy
$ac_cv_prog_CC
2535 if test $# != 0; then
2536 # We chose a different compiler from the bogus one.
2537 # However, it has the same basename, so the bogon will be chosen
2538 # first if we set CC to just the basename; use the full file name.
2540 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2546 if test -n "$CC"; then
2547 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2548 $as_echo "$CC" >&6; }
2550 { $as_echo "$as_me:$LINENO: result: no" >&5
2551 $as_echo "no" >&6; }
2556 if test -z "$CC"; then
2557 if test -n "$ac_tool_prefix"; then
2558 for ac_prog
in cl.exe
2560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2561 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2562 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC
="$CC" # Let the user override the test.
2570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir
=.
2575 for ac_exec_ext
in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2578 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 if test -n "$CC"; then
2589 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2590 $as_echo "$CC" >&6; }
2592 { $as_echo "$as_me:$LINENO: result: no" >&5
2593 $as_echo "no" >&6; }
2597 test -n "$CC" && break
2600 if test -z "$CC"; then
2602 for ac_prog
in cl.exe
2604 # Extract the first word of "$ac_prog", so it can be a program name with args.
2605 set dummy
$ac_prog; ac_word
=$2
2606 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2607 $as_echo_n "checking for $ac_word... " >&6; }
2608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2609 $as_echo_n "(cached) " >&6
2611 if test -n "$ac_ct_CC"; then
2612 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2618 test -z "$as_dir" && as_dir
=.
2619 for ac_exec_ext
in '' $ac_executable_extensions; do
2620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2621 ac_cv_prog_ac_ct_CC
="$ac_prog"
2622 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2632 if test -n "$ac_ct_CC"; then
2633 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2634 $as_echo "$ac_ct_CC" >&6; }
2636 { $as_echo "$as_me:$LINENO: result: no" >&5
2637 $as_echo "no" >&6; }
2641 test -n "$ac_ct_CC" && break
2644 if test "x$ac_ct_CC" = x
; then
2647 case $cross_compiling:$ac_tool_warned in
2649 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2651 ac_tool_warned
=yes ;;
2660 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2663 See \`config.log' for more details." >&5
2664 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2665 See \`config.log' for more details." >&2;}
2666 { (exit 1); exit 1; }; }; }
2668 # Provide some information about the compiler.
2669 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2672 { (ac_try
="$ac_compiler --version >&5"
2674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678 $as_echo "$ac_try_echo") >&5
2679 (eval "$ac_compiler --version >&5") 2>&5
2681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }
2683 { (ac_try="$ac_compiler -v >&5"
2685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2686 *) ac_try_echo
=$ac_try;;
2688 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2689 $as_echo "$ac_try_echo") >&5
2690 (eval "$ac_compiler -v >&5") 2>&5
2692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }
2694 { (ac_try
="$ac_compiler -V >&5"
2696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2700 $as_echo "$ac_try_echo") >&5
2701 (eval "$ac_compiler -V >&5") 2>&5
2703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }
2706 cat >conftest.$ac_ext <<_ACEOF
2709 cat confdefs.h >>conftest.$ac_ext
2710 cat >>conftest.$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2721 ac_clean_files_save=$ac_clean_files
2722 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2723 # Try to create an executable without -o first, disregard a.out.
2724 # It will help us diagnose broken compilers, and finding out an intuition
2726 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2727 $as_echo_n "checking for C compiler default output file name... " >&6; }
2728 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2730 # The possible output files:
2731 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2734 for ac_file in $ac_files
2737 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2738 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2743 if { (ac_try="$ac_link_default"
2745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2746 *) ac_try_echo
=$ac_try;;
2748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2749 $as_echo "$ac_try_echo") >&5
2750 (eval "$ac_link_default") 2>&5
2752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; then
2754 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2755 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2756 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2757 # so that the user can short-circuit this test for compilers unknown to
2759 for ac_file
in $ac_files ''
2761 test -f "$ac_file" ||
continue
2763 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2766 # We found the default executable, but exeext='' is most
2770 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2772 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774 # We set ac_cv_exeext here because the later test for it is not
2775 # safe: cross compilers may not add the suffix if given an `-o'
2776 # argument, so we may need to know it at that point already.
2777 # Even if this section looks crufty: it has the advantage of
2784 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2790 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2791 $as_echo "$ac_file" >&6; }
2792 if test -z "$ac_file"; then
2793 $as_echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.
$ac_ext >&5
2796 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2799 See \`config.log' for more details." >&5
2800 $as_echo "$as_me: error: C compiler cannot create executables
2801 See \`config.log' for more details." >&2;}
2802 { (exit 77); exit 77; }; }; }
2805 ac_exeext
=$ac_cv_exeext
2807 # Check that the compiler produces executables we can run. If not, either
2808 # the compiler is broken, or we cross compile.
2809 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2810 $as_echo_n "checking whether the C compiler works... " >&6; }
2811 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2812 # If not cross compiling, check that we can run a simple program.
2813 if test "$cross_compiling" != yes; then
2814 if { ac_try
='./$ac_file'
2815 { (case "(($ac_try" in
2816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2820 $as_echo "$ac_try_echo") >&5
2821 (eval "$ac_try") 2>&5
2823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; }; then
2827 if test "$cross_compiling" = maybe; then
2830 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2832 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2833 If you meant to cross compile
, use \
`--host'.
2834 See \`config.log
' for more details." >&5
2835 $as_echo "$as_me: error: cannot run C compiled programs.
2836 If you meant to cross compile, use \`--host'.
2837 See \
`config.log' for more details." >&2;}
2838 { (exit 1); exit 1; }; }; }
2842 { $as_echo "$as_me:$LINENO: result: yes" >&5
2843 $as_echo "yes" >&6; }
2845 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2846 ac_clean_files=$ac_clean_files_save
2847 # Check that the compiler produces executables we can run. If not, either
2848 # the compiler is broken, or we cross compile.
2849 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2850 $as_echo_n "checking whether we are cross compiling... " >&6; }
2851 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2852 $as_echo "$cross_compiling" >&6; }
2854 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2855 $as_echo_n "checking for suffix of executables... " >&6; }
2856 if { (ac_try="$ac_link"
2858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2859 *) ac_try_echo
=$ac_try;;
2861 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2862 $as_echo "$ac_try_echo") >&5
2863 (eval "$ac_link") 2>&5
2865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); }; then
2867 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2868 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2869 # work properly (i.e., refer to `conftest.exe'), while it won't with
2871 for ac_file
in conftest.exe conftest conftest.
*; do
2872 test -f "$ac_file" ||
continue
2874 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2875 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2881 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2883 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2884 See \`config.log' for more details." >&5
2885 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2886 See \`config.log' for more details." >&2;}
2887 { (exit 1); exit 1; }; }; }
2890 rm -f conftest
$ac_cv_exeext
2891 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2892 $as_echo "$ac_cv_exeext" >&6; }
2894 rm -f conftest.
$ac_ext
2895 EXEEXT
=$ac_cv_exeext
2897 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2898 $as_echo_n "checking for suffix of object files... " >&6; }
2899 if test "${ac_cv_objext+set}" = set; then
2900 $as_echo_n "(cached) " >&6
2902 cat >conftest.
$ac_ext <<_ACEOF
2905 cat confdefs.h
>>conftest.
$ac_ext
2906 cat >>conftest.
$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2917 rm -f conftest.o conftest.obj
2918 if { (ac_try
="$ac_compile"
2920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2924 $as_echo "$ac_try_echo") >&5
2925 (eval "$ac_compile") 2>&5
2927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; then
2929 for ac_file in conftest.o conftest.obj conftest.*; do
2930 test -f "$ac_file" || continue;
2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2933 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2941 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2944 See \
`config.log' for more details." >&5
2945 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2946 See \`config.log
' for more details." >&2;}
2947 { (exit 1); exit 1; }; }; }
2950 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2952 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2953 $as_echo "$ac_cv_objext" >&6; }
2954 OBJEXT=$ac_cv_objext
2956 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2957 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2958 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2959 $as_echo_n "(cached) " >&6
2961 cat >conftest.$ac_ext <<_ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h. */
2979 rm -f conftest.$ac_objext
2980 if { (ac_try="$ac_compile"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2986 $as_echo "$ac_try_echo") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2989 grep -v '^
*+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
2999 $as_echo "$as_me: failed program was:" >&5
3000 sed 's
/^
/|
/' conftest.$ac_ext >&5
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3009 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3010 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3011 if test $ac_compiler_gnu = yes; then
3016 ac_test_CFLAGS=${CFLAGS+set}
3017 ac_save_CFLAGS=$CFLAGS
3018 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3019 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3020 if test "${ac_cv_prog_cc_g+set}" = set; then
3021 $as_echo_n "(cached) " >&6
3023 ac_save_c_werror_flag=$ac_c_werror_flag
3024 ac_c_werror_flag=yes
3027 cat >conftest.$ac_ext <<_ACEOF
3030 cat confdefs.h >>conftest.$ac_ext
3031 cat >>conftest.$ac_ext <<_ACEOF
3032 /* end confdefs.h. */
3042 rm -f conftest.$ac_objext
3043 if { (ac_try="$ac_compile"
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3049 $as_echo "$ac_try_echo") >&5
3050 (eval "$ac_compile") 2>conftest.er1
3052 grep -v '^
*+' conftest.er1 >conftest.err
3054 cat conftest.err >&5
3055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); } && {
3057 test -z "$ac_c_werror_flag" ||
3058 test ! -s conftest.err
3059 } && test -s conftest.$ac_objext; then
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's
/^
/|
/' conftest.$ac_ext >&5
3066 cat >conftest.$ac_ext <<_ACEOF
3069 cat confdefs.h >>conftest.$ac_ext
3070 cat >>conftest.$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3081 rm -f conftest.$ac_objext
3082 if { (ac_try="$ac_compile"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3088 $as_echo "$ac_try_echo") >&5
3089 (eval "$ac_compile") 2>conftest.er1
3091 grep -v '^
*+' conftest.er1 >conftest.err
3093 cat conftest.err >&5
3094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } && {
3096 test -z "$ac_c_werror_flag" ||
3097 test ! -s conftest.err
3098 } && test -s conftest.$ac_objext; then
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's
/^
/|
/' conftest.$ac_ext >&5
3104 ac_c_werror_flag=$ac_save_c_werror_flag
3106 cat >conftest.$ac_ext <<_ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3121 rm -f conftest.$ac_objext
3122 if { (ac_try="$ac_compile"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3128 $as_echo "$ac_try_echo") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^
*+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && {
3136 test -z "$ac_c_werror_flag" ||
3137 test ! -s conftest.err
3138 } && test -s conftest.$ac_objext; then
3141 $as_echo "$as_me: failed program was:" >&5
3142 sed 's
/^
/|
/' conftest.$ac_ext >&5
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_c_werror_flag=$ac_save_c_werror_flag
3156 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3157 $as_echo "$ac_cv_prog_cc_g" >&6; }
3158 if test "$ac_test_CFLAGS" = set; then
3159 CFLAGS=$ac_save_CFLAGS
3160 elif test $ac_cv_prog_cc_g = yes; then
3161 if test "$GCC" = yes; then
3167 if test "$GCC" = yes; then
3173 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3174 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3175 if test "${ac_cv_prog_cc_c89+set}" = set; then
3176 $as_echo_n "(cached) " >&6
3178 ac_cv_prog_cc_c89=no
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3188 #include <sys/types.h>
3189 #include <sys/stat.h>
3190 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3191 struct buf
{ int x
; };
3192 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3193 static char
*e
(p
, i
)
3199 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3204 s
= g
(p
, va_arg
(v
,int
));
3209 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3210 function prototypes and stuff
, but not
'\xHH' hex character constants.
3211 These don
't provoke an error unfortunately, instead are silently treated
3212 as 'x
'. The following induces an error, until -std is added to get
3213 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3214 array size at least. It's necessary to
write '\x00'==0 to get something
3215 that
's true only with -std. */
3216 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3218 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3219 inside strings and character constants. */
3221 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3223 int test (int i, double x);
3224 struct s1 {int (*f) (int a);};
3225 struct s2 {int (*f) (double a);};
3226 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3232 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3237 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3238 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3240 CC="$ac_save_CC $ac_arg"
3241 rm -f conftest.$ac_objext
3242 if { (ac_try="$ac_compile"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3248 $as_echo "$ac_try_echo") >&5
3249 (eval "$ac_compile") 2>conftest.er1
3251 grep -v '^
*+' conftest.er1 >conftest.err
3253 cat conftest.err >&5
3254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } && {
3256 test -z "$ac_c_werror_flag" ||
3257 test ! -s conftest.err
3258 } && test -s conftest.$ac_objext; then
3259 ac_cv_prog_cc_c89=$ac_arg
3261 $as_echo "$as_me: failed program was:" >&5
3262 sed 's
/^
/|
/' conftest.$ac_ext >&5
3267 rm -f core conftest.err conftest.$ac_objext
3268 test "x$ac_cv_prog_cc_c89" != "xno" && break
3270 rm -f conftest.$ac_ext
3275 case "x$ac_cv_prog_cc_c89" in
3277 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3278 $as_echo "none needed" >&6; } ;;
3280 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3281 $as_echo "unsupported" >&6; } ;;
3283 CC="$CC $ac_cv_prog_cc_c89"
3284 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3285 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3292 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 ac_cpp='$CPP $CPPFLAGS'
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3303 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3304 # On Suns, sometimes $CPP names a directory.
3305 if test -n "$CPP" && test -d "$CPP"; then
3308 if test -z "$CPP"; then
3309 if test "${ac_cv_prog_CPP+set}" = set; then
3310 $as_echo_n "(cached) " >&6
3312 # Double quotes because CPP needs to be expanded
3313 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3316 for ac_c_preproc_warn_flag in '' yes
3318 # Use a header file that comes with gcc, so configuring glibc
3319 # with a fresh cross-compiler works.
3320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3321 # <limits.h> exists even on freestanding compilers.
3322 # On the NeXT, cc -E runs the code through the compiler's parser
,
3323 # not just through cpp. "Syntax error" is here to catch this case.
3324 cat >conftest.
$ac_ext <<_ACEOF
3327 cat confdefs.h
>>conftest.
$ac_ext
3328 cat >>conftest.
$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3331 # include <limits.h>
3333 # include <assert.h>
3337 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3343 $as_echo "$ac_try_echo") >&5
3344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } >/dev/null && {
3351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3356 $as_echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3359 # Broken: fails on valid input.
3363 rm -f conftest.err conftest.$ac_ext
3365 # OK, works on sane cases. Now check whether nonexistent headers
3366 # can be detected and how.
3367 cat >conftest.$ac_ext <<_ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3373 #include <ac_nonexistent.h>
3375 if { (ac_try="$ac_cpp conftest.$ac_ext"
3377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3378 *) ac_try_echo
=$ac_try;;
3380 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1
>conftest.err
3386 cat conftest.err
>&5
3387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } >/dev
/null
&& {
3389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3392 # Broken: success on invalid input.
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 # Passes both tests.
3403 rm -f conftest.err conftest.
$ac_ext
3406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3407 rm -f conftest.err conftest.
$ac_ext
3408 if $ac_preproc_ok; then
3420 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3421 $as_echo "$CPP" >&6; }
3423 for ac_c_preproc_warn_flag
in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3438 # include <limits.h>
3440 # include <assert.h>
3444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3450 $as_echo "$ac_try_echo") >&5
3451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3453 grep -v '^ *+' conftest.er1 >conftest.err
3455 cat conftest.err >&5
3456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); } >/dev/null && {
3458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3459 test ! -s conftest.err
3463 $as_echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3466 # Broken: fails on valid input.
3470 rm -f conftest.err conftest.$ac_ext
3472 # OK, works on sane cases. Now check whether nonexistent headers
3473 # can be detected and how.
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3480 #include <ac_nonexistent.h>
3482 if { (ac_try="$ac_cpp conftest.$ac_ext"
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3488 $as_echo "$ac_try_echo") >&5
3489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3491 grep -v '^ *+' conftest.er1
>conftest.err
3493 cat conftest.err
>&5
3494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } >/dev
/null
&& {
3496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3497 test ! -s conftest.err
3499 # Broken: success on invalid input.
3502 $as_echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.
$ac_ext >&5
3505 # Passes both tests.
3510 rm -f conftest.err conftest.
$ac_ext
3513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3514 rm -f conftest.err conftest.
$ac_ext
3515 if $ac_preproc_ok; then
3518 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3521 See \`config.log' for more details." >&5
3522 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3523 See \`config.log' for more details." >&2;}
3524 { (exit 1); exit 1; }; }; }
3528 ac_cpp
='$CPP $CPPFLAGS'
3529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3534 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3535 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3536 if test "${ac_cv_path_GREP+set}" = set; then
3537 $as_echo_n "(cached) " >&6
3539 if test -z "$GREP"; then
3540 ac_path_GREP_found
=false
3541 # Loop through the user's path and test for each of PROGNAME-LIST
3542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3543 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3546 test -z "$as_dir" && as_dir
=.
3547 for ac_prog
in grep ggrep
; do
3548 for ac_exec_ext
in '' $ac_executable_extensions; do
3549 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3550 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3551 # Check for GNU ac_path_GREP and select it if it is found.
3552 # Check for GNU $ac_path_GREP
3553 case `"$ac_path_GREP" --version 2>&1` in
3555 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3558 $as_echo_n 0123456789 >"conftest.in"
3561 cat "conftest.in" "conftest.in" >"conftest.tmp"
3562 mv "conftest.tmp" "conftest.in"
3563 cp "conftest.in" "conftest.nl"
3564 $as_echo 'GREP' >> "conftest.nl"
3565 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3566 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3567 ac_count
=`expr $ac_count + 1`
3568 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3569 # Best one so far, save it but keep looking for a better one
3570 ac_cv_path_GREP
="$ac_path_GREP"
3571 ac_path_GREP_max
=$ac_count
3573 # 10*(2^10) chars as input seems more than enough
3574 test $ac_count -gt 10 && break
3576 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3579 $ac_path_GREP_found && break 3
3584 if test -z "$ac_cv_path_GREP"; then
3585 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3586 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3587 { (exit 1); exit 1; }; }
3590 ac_cv_path_GREP
=$GREP
3594 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3595 $as_echo "$ac_cv_path_GREP" >&6; }
3596 GREP
="$ac_cv_path_GREP"
3599 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3600 $as_echo_n "checking for egrep... " >&6; }
3601 if test "${ac_cv_path_EGREP+set}" = set; then
3602 $as_echo_n "(cached) " >&6
3604 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3605 then ac_cv_path_EGREP
="$GREP -E"
3607 if test -z "$EGREP"; then
3608 ac_path_EGREP_found
=false
3609 # Loop through the user's path and test for each of PROGNAME-LIST
3610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3611 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3614 test -z "$as_dir" && as_dir
=.
3615 for ac_prog
in egrep; do
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3618 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3619 # Check for GNU ac_path_EGREP and select it if it is found.
3620 # Check for GNU $ac_path_EGREP
3621 case `"$ac_path_EGREP" --version 2>&1` in
3623 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3626 $as_echo_n 0123456789 >"conftest.in"
3629 cat "conftest.in" "conftest.in" >"conftest.tmp"
3630 mv "conftest.tmp" "conftest.in"
3631 cp "conftest.in" "conftest.nl"
3632 $as_echo 'EGREP' >> "conftest.nl"
3633 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3634 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3635 ac_count
=`expr $ac_count + 1`
3636 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3637 # Best one so far, save it but keep looking for a better one
3638 ac_cv_path_EGREP
="$ac_path_EGREP"
3639 ac_path_EGREP_max
=$ac_count
3641 # 10*(2^10) chars as input seems more than enough
3642 test $ac_count -gt 10 && break
3644 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3647 $ac_path_EGREP_found && break 3
3652 if test -z "$ac_cv_path_EGREP"; then
3653 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3654 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3655 { (exit 1); exit 1; }; }
3658 ac_cv_path_EGREP
=$EGREP
3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3664 $as_echo "$ac_cv_path_EGREP" >&6; }
3665 EGREP
="$ac_cv_path_EGREP"
3668 if test $ac_cv_c_compiler_gnu = yes; then
3669 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3670 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3671 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3672 $as_echo_n "(cached) " >&6
3674 ac_pattern
="Autoconf.*'x'"
3675 cat >conftest.
$ac_ext <<_ACEOF
3678 cat confdefs.h
>>conftest.
$ac_ext
3679 cat >>conftest.
$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3685 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3686 ac_cv_prog_gcc_traditional
=yes
3688 ac_cv_prog_gcc_traditional
=no
3693 if test $ac_cv_prog_gcc_traditional = no
; then
3694 cat >conftest.
$ac_ext <<_ACEOF
3697 cat confdefs.h
>>conftest.
$ac_ext
3698 cat >>conftest.
$ac_ext <<_ACEOF
3699 /* end confdefs.h. */
3703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3704 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3705 ac_cv_prog_gcc_traditional
=yes
3711 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3712 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3713 if test $ac_cv_prog_gcc_traditional = yes; then
3714 CC
="$CC -traditional"
3718 # Find a good install program. We prefer a C program (faster),
3719 # so one script is as good as another. But avoid the broken or
3720 # incompatible versions:
3721 # SysV /etc/install, /usr/sbin/install
3722 # SunOS /usr/etc/install
3723 # IRIX /sbin/install
3725 # AmigaOS /C/install, which installs bootblocks on floppy discs
3726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3729 # OS/2's system install, which has a completely different semantic
3730 # ./install, which can be erroneously created by make from ./install.sh.
3731 # Reject install programs that cannot install multiple files.
3732 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3733 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3734 if test -z "$INSTALL"; then
3735 if test "${ac_cv_path_install+set}" = set; then
3736 $as_echo_n "(cached) " >&6
3738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir
=.
3743 # Account for people who put trailing slashes in PATH elements.
3745 .
/ | .
// |
/cC
/* | \
3746 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3747 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3750 # OSF1 and SCO ODT 3.0 have their own names for install.
3751 # Don't use installbsd from OSF since it installs stuff as root
3753 for ac_prog
in ginstall scoinst
install; do
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3756 if test $ac_prog = install &&
3757 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3758 # AIX install. It has an incompatible calling convention.
3760 elif test $ac_prog = install &&
3761 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3762 # program-specific install script used by HP pwplus--don't use.
3765 rm -rf conftest.one conftest.two conftest.dir
3766 echo one
> conftest.one
3767 echo two
> conftest.two
3769 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3770 test -s conftest.one
&& test -s conftest.two
&&
3771 test -s conftest.dir
/conftest.one
&&
3772 test -s conftest.dir
/conftest.two
3774 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3787 rm -rf conftest.one conftest.two conftest.dir
3790 if test "${ac_cv_path_install+set}" = set; then
3791 INSTALL
=$ac_cv_path_install
3793 # As a last resort, use the slow shell script. Don't cache a
3794 # value for INSTALL within a source directory, because that will
3795 # break other packages using the cache if that directory is
3796 # removed, or if the value is a relative name.
3797 INSTALL
=$ac_install_sh
3800 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3801 $as_echo "$INSTALL" >&6; }
3803 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3804 # It thinks the first close brace ends the variable substitution.
3805 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3807 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3809 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3811 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3812 $as_echo_n "checking whether ln -s works... " >&6; }
3814 if test "$LN_S" = "ln -s"; then
3815 { $as_echo "$as_me:$LINENO: result: yes" >&5
3816 $as_echo "yes" >&6; }
3818 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3819 $as_echo "no, using $LN_S" >&6; }
3822 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3823 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3825 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3826 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3827 $as_echo_n "(cached) " >&6
3829 cat >conftest.
make <<\_ACEOF
3832 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3835 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3837 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3839 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3843 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3844 { $as_echo "$as_me:$LINENO: result: yes" >&5
3845 $as_echo "yes" >&6; }
3848 { $as_echo "$as_me:$LINENO: result: no" >&5
3849 $as_echo "no" >&6; }
3850 SET_MAKE
="MAKE=${MAKE-make}"
3853 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3854 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3855 if test -z "$MKDIR_P"; then
3856 if test "${ac_cv_path_mkdir+set}" = set; then
3857 $as_echo_n "(cached) " >&6
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_prog
in mkdir gmkdir
; do
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3867 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3868 'mkdir (GNU coreutils) '* | \
3869 'mkdir (coreutils) '* | \
3870 'mkdir (fileutils) '4.1*)
3871 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3881 if test "${ac_cv_path_mkdir+set}" = set; then
3882 MKDIR_P
="$ac_cv_path_mkdir -p"
3884 # As a last resort, use the slow shell script. Don't cache a
3885 # value for MKDIR_P within a source directory, because that will
3886 # break other packages using the cache if that directory is
3887 # removed, or if the value is a relative name.
3888 test -d .
/--version && rmdir .
/--version
3889 MKDIR_P
="$ac_install_sh -d"
3892 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3893 $as_echo "$MKDIR_P" >&6; }
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3897 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if test "${ac_cv_prog_RANLIB+set}" = set; then
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$RANLIB"; then
3904 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3913 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 RANLIB
=$ac_cv_prog_RANLIB
3924 if test -n "$RANLIB"; then
3925 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3926 $as_echo "$RANLIB" >&6; }
3928 { $as_echo "$as_me:$LINENO: result: no" >&5
3929 $as_echo "no" >&6; }
3934 if test -z "$ac_cv_prog_RANLIB"; then
3935 ac_ct_RANLIB
=$RANLIB
3936 # Extract the first word of "ranlib", so it can be a program name with args.
3937 set dummy ranlib
; ac_word
=$2
3938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3941 $as_echo_n "(cached) " >&6
3943 if test -n "$ac_ct_RANLIB"; then
3944 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir
=.
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3953 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3964 if test -n "$ac_ct_RANLIB"; then
3965 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3966 $as_echo "$ac_ct_RANLIB" >&6; }
3968 { $as_echo "$as_me:$LINENO: result: no" >&5
3969 $as_echo "no" >&6; }
3972 if test "x$ac_ct_RANLIB" = x
; then
3975 case $cross_compiling:$ac_tool_warned in
3977 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned
=yes ;;
3981 RANLIB
=$ac_ct_RANLIB
3984 RANLIB
="$ac_cv_prog_RANLIB"
3987 # Extract the first word of "cflow", so it can be a program name with args.
3988 set dummy cflow
; ac_word
=$2
3989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3992 $as_echo_n "(cached) " >&6
3996 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_exec_ext
in '' $ac_executable_extensions; do
4005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
4007 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
4018 if test -n "$CFLOW_CMD"; then
4019 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
4020 $as_echo "$CFLOW_CMD" >&6; }
4022 { $as_echo "$as_me:$LINENO: result: no" >&5
4023 $as_echo "no" >&6; }
4027 # Extract the first word of "cscope", so it can be a program name with args.
4028 set dummy cscope
; ac_word
=$2
4029 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
4032 $as_echo_n "(cached) " >&6
4036 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
4047 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
4058 if test -n "$CSCOPE_CMD"; then
4059 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
4060 $as_echo "$CSCOPE_CMD" >&6; }
4062 { $as_echo "$as_me:$LINENO: result: no" >&5
4063 $as_echo "no" >&6; }
4068 ################################################################################
4075 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4076 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4077 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4078 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4079 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4080 $as_echo_n "(cached) " >&6
4082 cat >conftest.
$ac_ext <<_ACEOF
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4088 #include <sys/types.h>
4100 rm -f conftest.
$ac_objext
4101 if { (ac_try
="$ac_compile"
4103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4107 $as_echo "$ac_try_echo") >&5
4108 (eval "$ac_compile") 2>conftest.er1
4110 grep -v '^ *+' conftest.er1 >conftest.err
4112 cat conftest.err >&5
4113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } && {
4115 test -z "$ac_c_werror_flag" ||
4116 test ! -s conftest.err
4117 } && test -s conftest.$ac_objext; then
4118 eval "$as_ac_Header=yes"
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 eval "$as_ac_Header=no"
4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4128 ac_res=`eval 'as_val=${'$as_ac_Header'}
4129 $as_echo "$as_val"'`
4130 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4131 $as_echo "$ac_res" >&6; }
4132 as_val=`eval 'as_val=${'$as_ac_Header'}
4133 $as_echo "$as_val"'`
4134 if test "x$as_val" = x""yes; then
4135 cat >>confdefs.h <<_ACEOF
4136 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4139 ac_header_dirent=$ac_hdr; break
4143 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4144 if test $ac_header_dirent = dirent.h; then
4145 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4146 $as_echo_n "checking for library containing opendir... " >&6; }
4147 if test "${ac_cv_search_opendir+set}" = set; then
4148 $as_echo_n "(cached) " >&6
4150 ac_func_search_save_LIBS=$LIBS
4151 cat >conftest.$ac_ext <<_ACEOF
4154 cat confdefs.h >>conftest.$ac_ext
4155 cat >>conftest.$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4158 /* Override any GCC internal prototype to avoid an error.
4159 Use char because int might match the return type of a GCC
4160 builtin and then its argument prototype would still apply. */
4173 for ac_lib in '' dir; do
4174 if test -z "$ac_lib"; then
4175 ac_res="none required"
4178 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4180 rm -f conftest.$ac_objext conftest$ac_exeext
4181 if { (ac_try="$ac_link"
4183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4184 *) ac_try_echo
=$ac_try;;
4186 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4187 $as_echo "$ac_try_echo") >&5
4188 (eval "$ac_link") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest
$ac_exeext && {
4198 test "$cross_compiling" = yes ||
4199 $as_test_x conftest
$ac_exeext
4201 ac_cv_search_opendir
=$ac_res
4203 $as_echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4209 rm -rf conftest.dSYM
4210 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4212 if test "${ac_cv_search_opendir+set}" = set; then
4216 if test "${ac_cv_search_opendir+set}" = set; then
4219 ac_cv_search_opendir
=no
4222 LIBS
=$ac_func_search_save_LIBS
4224 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4225 $as_echo "$ac_cv_search_opendir" >&6; }
4226 ac_res
=$ac_cv_search_opendir
4227 if test "$ac_res" != no
; then
4228 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4233 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4234 $as_echo_n "checking for library containing opendir... " >&6; }
4235 if test "${ac_cv_search_opendir+set}" = set; then
4236 $as_echo_n "(cached) " >&6
4238 ac_func_search_save_LIBS
=$LIBS
4239 cat >conftest.
$ac_ext <<_ACEOF
4242 cat confdefs.h
>>conftest.
$ac_ext
4243 cat >>conftest.
$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4246 /* Override any GCC internal prototype to avoid an error.
4247 Use char because int might match the return type of a GCC
4248 builtin and then its argument prototype would still apply. */
4261 for ac_lib
in '' x
; do
4262 if test -z "$ac_lib"; then
4263 ac_res
="none required"
4266 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4268 rm -f conftest.
$ac_objext conftest
$ac_exeext
4269 if { (ac_try
="$ac_link"
4271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4275 $as_echo "$ac_try_echo") >&5
4276 (eval "$ac_link") 2>conftest.er1
4278 grep -v '^ *+' conftest.er1 >conftest.err
4280 cat conftest.err >&5
4281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } && {
4283 test -z "$ac_c_werror_flag" ||
4284 test ! -s conftest.err
4285 } && test -s conftest$ac_exeext && {
4286 test "$cross_compiling" = yes ||
4287 $as_test_x conftest$ac_exeext
4289 ac_cv_search_opendir=$ac_res
4291 $as_echo "$as_me: failed program was:" >&5
4292 sed 's/^/| /' conftest.$ac_ext >&5
4297 rm -rf conftest.dSYM
4298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4300 if test "${ac_cv_search_opendir+set}" = set; then
4304 if test "${ac_cv_search_opendir+set}" = set; then
4307 ac_cv_search_opendir=no
4310 LIBS=$ac_func_search_save_LIBS
4312 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4313 $as_echo "$ac_cv_search_opendir" >&6; }
4314 ac_res=$ac_cv_search_opendir
4315 if test "$ac_res" != no; then
4316 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4322 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4323 $as_echo_n "checking for ANSI C header files... " >&6; }
4324 if test "${ac_cv_header_stdc+set}" = set; then
4325 $as_echo_n "(cached) " >&6
4327 cat >conftest.$ac_ext <<_ACEOF
4330 cat confdefs.h >>conftest.$ac_ext
4331 cat >>conftest.$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4346 rm -f conftest.$ac_objext
4347 if { (ac_try="$ac_compile"
4349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4350 *) ac_try_echo
=$ac_try;;
4352 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4353 $as_echo "$ac_try_echo") >&5
4354 (eval "$ac_compile") 2>conftest.er1
4356 grep -v '^ *+' conftest.er1
>conftest.err
4358 cat conftest.err
>&5
4359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); } && {
4361 test -z "$ac_c_werror_flag" ||
4362 test ! -s conftest.err
4363 } && test -s conftest.
$ac_objext; then
4364 ac_cv_header_stdc
=yes
4366 $as_echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4369 ac_cv_header_stdc
=no
4372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4374 if test $ac_cv_header_stdc = yes; then
4375 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4376 cat >conftest.
$ac_ext <<_ACEOF
4379 cat confdefs.h
>>conftest.
$ac_ext
4380 cat >>conftest.
$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4386 $EGREP "memchr" >/dev
/null
2>&1; then
4389 ac_cv_header_stdc
=no
4395 if test $ac_cv_header_stdc = yes; then
4396 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4397 cat >conftest.
$ac_ext <<_ACEOF
4400 cat confdefs.h
>>conftest.
$ac_ext
4401 cat >>conftest.
$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4407 $EGREP "free" >/dev
/null
2>&1; then
4410 ac_cv_header_stdc
=no
4416 if test $ac_cv_header_stdc = yes; then
4417 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4418 if test "$cross_compiling" = yes; then
4421 cat >conftest.
$ac_ext <<_ACEOF
4424 cat confdefs.h
>>conftest.
$ac_ext
4425 cat >>conftest.
$ac_ext <<_ACEOF
4426 /* end confdefs.h. */
4429 #if ((' ' & 0x0FF) == 0x020)
4430 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4431 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4433 # define ISLOWER(c) \
4434 (('a' <= (c) && (c) <= 'i') \
4435 || ('j' <= (c) && (c) <= 'r') \
4436 || ('s' <= (c) && (c) <= 'z'))
4437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4445 for (i = 0; i < 256; i++)
4446 if (XOR (islower (i), ISLOWER (i))
4447 || toupper (i) != TOUPPER (i))
4452 rm -f conftest
$ac_exeext
4453 if { (ac_try
="$ac_link"
4455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4459 $as_echo "$ac_try_echo") >&5
4460 (eval "$ac_link") 2>&5
4462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4464 { (case "(($ac_try" in
4465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4466 *) ac_try_echo
=$ac_try;;
4468 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4469 $as_echo "$ac_try_echo") >&5
4470 (eval "$ac_try") 2>&5
4472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4476 $as_echo "$as_me: program exited with status $ac_status" >&5
4477 $as_echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.
$ac_ext >&5
4481 ac_cv_header_stdc
=no
4483 rm -rf conftest.dSYM
4484 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4490 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4491 $as_echo "$ac_cv_header_stdc" >&6; }
4492 if test $ac_cv_header_stdc = yes; then
4494 cat >>confdefs.h
<<\_ACEOF
4495 #define STDC_HEADERS 1
4500 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4501 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4502 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4503 $as_echo_n "(cached) " >&6
4505 cat >conftest.
$ac_ext <<_ACEOF
4508 cat confdefs.h
>>conftest.
$ac_ext
4509 cat >>conftest.
$ac_ext <<_ACEOF
4510 /* end confdefs.h. */
4511 #include <sys/types.h>
4512 #include <sys/wait.h>
4514 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4517 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4525 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4530 rm -f conftest.
$ac_objext
4531 if { (ac_try
="$ac_compile"
4533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4534 *) ac_try_echo=$ac_try;;
4536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4537 $as_echo "$ac_try_echo") >&5
4538 (eval "$ac_compile") 2>conftest.er1
4540 grep -v '^ *+' conftest.er1 >conftest.err
4542 cat conftest.err >&5
4543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } && {
4545 test -z "$ac_c_werror_flag" ||
4546 test ! -s conftest.err
4547 } && test -s conftest.$ac_objext; then
4548 ac_cv_header_sys_wait_h=yes
4550 $as_echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4553 ac_cv_header_sys_wait_h=no
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4559 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4560 if test $ac_cv_header_sys_wait_h = yes; then
4562 cat >>confdefs.h <<\_ACEOF
4563 #define HAVE_SYS_WAIT_H 1
4568 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4569 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4570 if test "${ac_cv_header_time+set}" = set; then
4571 $as_echo_n "(cached) " >&6
4573 cat >conftest.$ac_ext <<_ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4579 #include <sys/types.h>
4580 #include <sys/time.h>
4586 if ((struct tm *) 0)
4592 rm -f conftest.$ac_objext
4593 if { (ac_try="$ac_compile"
4595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4596 *) ac_try_echo
=$ac_try;;
4598 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4599 $as_echo "$ac_try_echo") >&5
4600 (eval "$ac_compile") 2>conftest.er1
4602 grep -v '^ *+' conftest.er1
>conftest.err
4604 cat conftest.err
>&5
4605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } && {
4607 test -z "$ac_c_werror_flag" ||
4608 test ! -s conftest.err
4609 } && test -s conftest.
$ac_objext; then
4610 ac_cv_header_time
=yes
4612 $as_echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.
$ac_ext >&5
4615 ac_cv_header_time
=no
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4621 $as_echo "$ac_cv_header_time" >&6; }
4622 if test $ac_cv_header_time = yes; then
4624 cat >>confdefs.h
<<\_ACEOF
4625 #define TIME_WITH_SYS_TIME 1
4631 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4641 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4642 inttypes.h stdint.h unistd.h
4644 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4645 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4646 $as_echo_n "checking for $ac_header... " >&6; }
4647 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4648 $as_echo_n "(cached) " >&6
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 $ac_includes_default
4658 #include <$ac_header>
4660 rm -f conftest.
$ac_objext
4661 if { (ac_try
="$ac_compile"
4663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4667 $as_echo "$ac_try_echo") >&5
4668 (eval "$ac_compile") 2>conftest.er1
4670 grep -v '^ *+' conftest.er1 >conftest.err
4672 cat conftest.err >&5
4673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); } && {
4675 test -z "$ac_c_werror_flag" ||
4676 test ! -s conftest.err
4677 } && test -s conftest.$ac_objext; then
4678 eval "$as_ac_Header=yes"
4680 $as_echo "$as_me: failed program was:" >&5
4681 sed 's/^/| /' conftest.$ac_ext >&5
4683 eval "$as_ac_Header=no"
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 ac_res=`eval 'as_val=${'$as_ac_Header'}
4689 $as_echo "$as_val"'`
4690 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4691 $as_echo "$ac_res" >&6; }
4692 as_val=`eval 'as_val=${'$as_ac_Header'}
4693 $as_echo "$as_val"'`
4694 if test "x$as_val" = x""yes; then
4695 cat >>confdefs.h <<_ACEOF
4696 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4717 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4718 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4722 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4723 $as_echo_n "checking for $ac_header... " >&6; }
4724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4725 $as_echo_n "(cached) " >&6
4727 ac_res=`eval 'as_val=${'$as_ac_Header'}
4728 $as_echo "$as_val"'`
4729 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4730 $as_echo "$ac_res" >&6; }
4732 # Is the header compilable?
4733 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4734 $as_echo_n "checking $ac_header usability... " >&6; }
4735 cat >conftest.$ac_ext <<_ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 $ac_includes_default
4742 #include <$ac_header>
4744 rm -f conftest.$ac_objext
4745 if { (ac_try="$ac_compile"
4747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4748 *) ac_try_echo
=$ac_try;;
4750 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4751 $as_echo "$ac_try_echo") >&5
4752 (eval "$ac_compile") 2>conftest.er1
4754 grep -v '^ *+' conftest.er1
>conftest.err
4756 cat conftest.err
>&5
4757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } && {
4759 test -z "$ac_c_werror_flag" ||
4760 test ! -s conftest.err
4761 } && test -s conftest.
$ac_objext; then
4762 ac_header_compiler
=yes
4764 $as_echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.
$ac_ext >&5
4767 ac_header_compiler
=no
4770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4771 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4772 $as_echo "$ac_header_compiler" >&6; }
4774 # Is the header present?
4775 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4776 $as_echo_n "checking $ac_header presence... " >&6; }
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4783 #include <$ac_header>
4785 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4788 *) ac_try_echo=$ac_try;;
4790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4791 $as_echo "$ac_try_echo") >&5
4792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4794 grep -v '^ *+' conftest.er1 >conftest.err
4796 cat conftest.err >&5
4797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); } >/dev/null && {
4799 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4800 test ! -s conftest.err
4802 ac_header_preproc=yes
4804 $as_echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.$ac_ext >&5
4807 ac_header_preproc=no
4810 rm -f conftest.err conftest.$ac_ext
4811 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4812 $as_echo "$ac_header_preproc" >&6; }
4814 # So? What about this header?
4815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4818 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4820 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4821 ac_header_preproc=yes
4824 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4825 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4827 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4829 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4831 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4833 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4835 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4839 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4840 $as_echo_n "checking for $ac_header... " >&6; }
4841 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4842 $as_echo_n "(cached) " >&6
4844 eval "$as_ac_Header=\$ac_header_preproc"
4846 ac_res=`eval 'as_val=${'$as_ac_Header'}
4847 $as_echo "$as_val"'`
4848 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4849 $as_echo "$ac_res" >&6; }
4852 as_val=`eval 'as_val=${'$as_ac_Header'}
4853 $as_echo "$as_val"'`
4854 if test "x$as_val" = x""yes; then
4855 cat >>confdefs.h <<_ACEOF
4856 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4860 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4861 $as_echo "$as_me: error: bailing out" >&2;}
4862 { (exit 1); exit 1; }; }
4873 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4877 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4878 $as_echo_n "checking for $ac_header... " >&6; }
4879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4880 $as_echo_n "(cached) " >&6
4882 ac_res=`eval 'as_val=${'$as_ac_Header'}
4883 $as_echo "$as_val"'`
4884 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4885 $as_echo "$ac_res" >&6; }
4887 # Is the header compilable?
4888 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4889 $as_echo_n "checking $ac_header usability... " >&6; }
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4896 $ac_includes_default
4897 #include <$ac_header>
4899 rm -f conftest.$ac_objext
4900 if { (ac_try="$ac_compile"
4902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4903 *) ac_try_echo
=$ac_try;;
4905 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4906 $as_echo "$ac_try_echo") >&5
4907 (eval "$ac_compile") 2>conftest.er1
4909 grep -v '^ *+' conftest.er1
>conftest.err
4911 cat conftest.err
>&5
4912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } && {
4914 test -z "$ac_c_werror_flag" ||
4915 test ! -s conftest.err
4916 } && test -s conftest.
$ac_objext; then
4917 ac_header_compiler
=yes
4919 $as_echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.
$ac_ext >&5
4922 ac_header_compiler
=no
4925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4926 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4927 $as_echo "$ac_header_compiler" >&6; }
4929 # Is the header present?
4930 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4931 $as_echo_n "checking $ac_header presence... " >&6; }
4932 cat >conftest.
$ac_ext <<_ACEOF
4935 cat confdefs.h
>>conftest.
$ac_ext
4936 cat >>conftest.
$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4938 #include <$ac_header>
4940 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4943 *) ac_try_echo=$ac_try;;
4945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4946 $as_echo "$ac_try_echo") >&5
4947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4949 grep -v '^ *+' conftest.er1 >conftest.err
4951 cat conftest.err >&5
4952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } >/dev/null && {
4954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4955 test ! -s conftest.err
4957 ac_header_preproc=yes
4959 $as_echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.$ac_ext >&5
4962 ac_header_preproc=no
4965 rm -f conftest.err conftest.$ac_ext
4966 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4967 $as_echo "$ac_header_preproc" >&6; }
4969 # So? What about this header?
4970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4973 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4975 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4976 ac_header_preproc=yes
4979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4980 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4982 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4984 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4986 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4988 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4990 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4994 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4995 $as_echo_n "checking for $ac_header... " >&6; }
4996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4997 $as_echo_n "(cached) " >&6
4999 eval "$as_ac_Header=\$ac_header_preproc"
5001 ac_res=`eval 'as_val=${'$as_ac_Header'}
5002 $as_echo "$as_val"'`
5003 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5004 $as_echo "$ac_res" >&6; }
5007 as_val=`eval 'as_val=${'$as_ac_Header'}
5008 $as_echo "$as_val"'`
5009 if test "x$as_val" = x""yes; then
5010 cat >>confdefs.h <<_ACEOF
5011 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5015 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5016 $as_echo "$as_me: error: bailing out" >&2;}
5017 { (exit 1); exit 1; }; }
5025 for ac_header in machine/endian.h sys/disk.h
5027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5029 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5030 $as_echo_n "checking for $ac_header... " >&6; }
5031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5032 $as_echo_n "(cached) " >&6
5034 ac_res=`eval 'as_val=${'$as_ac_Header'}
5035 $as_echo "$as_val"'`
5036 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5037 $as_echo "$ac_res" >&6; }
5039 # Is the header compilable?
5040 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5041 $as_echo_n "checking $ac_header usability... " >&6; }
5042 cat >conftest.$ac_ext <<_ACEOF
5045 cat confdefs.h >>conftest.$ac_ext
5046 cat >>conftest.$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5048 $ac_includes_default
5049 #include <$ac_header>
5051 rm -f conftest.$ac_objext
5052 if { (ac_try="$ac_compile"
5054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5055 *) ac_try_echo
=$ac_try;;
5057 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5058 $as_echo "$ac_try_echo") >&5
5059 (eval "$ac_compile") 2>conftest.er1
5061 grep -v '^ *+' conftest.er1
>conftest.err
5063 cat conftest.err
>&5
5064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && {
5066 test -z "$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5068 } && test -s conftest.
$ac_objext; then
5069 ac_header_compiler
=yes
5071 $as_echo "$as_me: failed program was:" >&5
5072 sed 's/^/| /' conftest.
$ac_ext >&5
5074 ac_header_compiler
=no
5077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5078 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5079 $as_echo "$ac_header_compiler" >&6; }
5081 # Is the header present?
5082 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5083 $as_echo_n "checking $ac_header presence... " >&6; }
5084 cat >conftest.
$ac_ext <<_ACEOF
5087 cat confdefs.h
>>conftest.
$ac_ext
5088 cat >>conftest.
$ac_ext <<_ACEOF
5089 /* end confdefs.h. */
5090 #include <$ac_header>
5092 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5098 $as_echo "$ac_try_echo") >&5
5099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5101 grep -v '^ *+' conftest.er1 >conftest.err
5103 cat conftest.err >&5
5104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } >/dev/null && {
5106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5107 test ! -s conftest.err
5109 ac_header_preproc=yes
5111 $as_echo "$as_me: failed program was:" >&5
5112 sed 's/^/| /' conftest.$ac_ext >&5
5114 ac_header_preproc=no
5117 rm -f conftest.err conftest.$ac_ext
5118 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5119 $as_echo "$ac_header_preproc" >&6; }
5121 # So? What about this header?
5122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5125 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5127 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5128 ac_header_preproc=yes
5131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5132 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5134 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5136 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5138 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5140 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5142 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5146 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5147 $as_echo_n "checking for $ac_header... " >&6; }
5148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5149 $as_echo_n "(cached) " >&6
5151 eval "$as_ac_Header=\$ac_header_preproc"
5153 ac_res=`eval 'as_val=${'$as_ac_Header'}
5154 $as_echo "$as_val"'`
5155 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5156 $as_echo "$ac_res" >&6; }
5159 as_val=`eval 'as_val=${'$as_ac_Header'}
5160 $as_echo "$as_val"'`
5161 if test "x$as_val" = x""yes; then
5162 cat >>confdefs.h <<_ACEOF
5163 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5167 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5168 $as_echo "$as_me: error: bailing out" >&2;}
5169 { (exit 1); exit 1; }; }
5192 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5193 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5194 sys/types.h unistd.h
5196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5198 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5199 $as_echo_n "checking for $ac_header... " >&6; }
5200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5201 $as_echo_n "(cached) " >&6
5203 ac_res=`eval 'as_val=${'$as_ac_Header'}
5204 $as_echo "$as_val"'`
5205 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5206 $as_echo "$ac_res" >&6; }
5208 # Is the header compilable?
5209 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5210 $as_echo_n "checking $ac_header usability... " >&6; }
5211 cat >conftest.$ac_ext <<_ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 $ac_includes_default
5218 #include <$ac_header>
5220 rm -f conftest.$ac_objext
5221 if { (ac_try="$ac_compile"
5223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5224 *) ac_try_echo
=$ac_try;;
5226 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5227 $as_echo "$ac_try_echo") >&5
5228 (eval "$ac_compile") 2>conftest.er1
5230 grep -v '^ *+' conftest.er1
>conftest.err
5232 cat conftest.err
>&5
5233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } && {
5235 test -z "$ac_c_werror_flag" ||
5236 test ! -s conftest.err
5237 } && test -s conftest.
$ac_objext; then
5238 ac_header_compiler
=yes
5240 $as_echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.
$ac_ext >&5
5243 ac_header_compiler
=no
5246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5247 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5248 $as_echo "$ac_header_compiler" >&6; }
5250 # Is the header present?
5251 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5252 $as_echo_n "checking $ac_header presence... " >&6; }
5253 cat >conftest.
$ac_ext <<_ACEOF
5256 cat confdefs.h
>>conftest.
$ac_ext
5257 cat >>conftest.
$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5259 #include <$ac_header>
5261 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5267 $as_echo "$ac_try_echo") >&5
5268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5270 grep -v '^ *+' conftest.er1 >conftest.err
5272 cat conftest.err >&5
5273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } >/dev/null && {
5275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5276 test ! -s conftest.err
5278 ac_header_preproc=yes
5280 $as_echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.$ac_ext >&5
5283 ac_header_preproc=no
5286 rm -f conftest.err conftest.$ac_ext
5287 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5288 $as_echo "$ac_header_preproc" >&6; }
5290 # So? What about this header?
5291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5294 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5296 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5297 ac_header_preproc=yes
5300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5301 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5303 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5305 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5307 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5309 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5311 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5315 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5316 $as_echo_n "checking for $ac_header... " >&6; }
5317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5318 $as_echo_n "(cached) " >&6
5320 eval "$as_ac_Header=\$ac_header_preproc"
5322 ac_res=`eval 'as_val=${'$as_ac_Header'}
5323 $as_echo "$as_val"'`
5324 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5325 $as_echo "$ac_res" >&6; }
5328 as_val=`eval 'as_val=${'$as_ac_Header'}
5329 $as_echo "$as_val"'`
5330 if test "x$as_val" = x""yes; then
5331 cat >>confdefs.h <<_ACEOF
5332 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5336 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5337 $as_echo "$as_me: error: bailing out" >&2;}
5338 { (exit 1); exit 1; }; }
5345 for ac_header in termios.h sys/statvfs.h
5347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5349 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5350 $as_echo_n "checking for $ac_header... " >&6; }
5351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5352 $as_echo_n "(cached) " >&6
5354 ac_res=`eval 'as_val=${'$as_ac_Header'}
5355 $as_echo "$as_val"'`
5356 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5357 $as_echo "$ac_res" >&6; }
5359 # Is the header compilable?
5360 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5361 $as_echo_n "checking $ac_header usability... " >&6; }
5362 cat >conftest.$ac_ext <<_ACEOF
5365 cat confdefs.h >>conftest.$ac_ext
5366 cat >>conftest.$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5368 $ac_includes_default
5369 #include <$ac_header>
5371 rm -f conftest.$ac_objext
5372 if { (ac_try="$ac_compile"
5374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5375 *) ac_try_echo
=$ac_try;;
5377 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5378 $as_echo "$ac_try_echo") >&5
5379 (eval "$ac_compile") 2>conftest.er1
5381 grep -v '^ *+' conftest.er1
>conftest.err
5383 cat conftest.err
>&5
5384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } && {
5386 test -z "$ac_c_werror_flag" ||
5387 test ! -s conftest.err
5388 } && test -s conftest.
$ac_objext; then
5389 ac_header_compiler
=yes
5391 $as_echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5394 ac_header_compiler
=no
5397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5398 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5399 $as_echo "$ac_header_compiler" >&6; }
5401 # Is the header present?
5402 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5403 $as_echo_n "checking $ac_header presence... " >&6; }
5404 cat >conftest.
$ac_ext <<_ACEOF
5407 cat confdefs.h
>>conftest.
$ac_ext
5408 cat >>conftest.
$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 #include <$ac_header>
5412 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5415 *) ac_try_echo=$ac_try;;
5417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5418 $as_echo "$ac_try_echo") >&5
5419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5421 grep -v '^ *+' conftest.er1 >conftest.err
5423 cat conftest.err >&5
5424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } >/dev/null && {
5426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5427 test ! -s conftest.err
5429 ac_header_preproc=yes
5431 $as_echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.$ac_ext >&5
5434 ac_header_preproc=no
5437 rm -f conftest.err conftest.$ac_ext
5438 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5439 $as_echo "$ac_header_preproc" >&6; }
5441 # So? What about this header?
5442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5445 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5447 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5448 ac_header_preproc=yes
5451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5452 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5454 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5456 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5458 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5460 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5461 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5462 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5467 $as_echo_n "checking for $ac_header... " >&6; }
5468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5469 $as_echo_n "(cached) " >&6
5471 eval "$as_ac_Header=\$ac_header_preproc"
5473 ac_res=`eval 'as_val=${'$as_ac_Header'}
5474 $as_echo "$as_val"'`
5475 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5476 $as_echo "$ac_res" >&6; }
5479 as_val=`eval 'as_val=${'$as_ac_Header'}
5480 $as_echo "$as_val"'`
5481 if test "x$as_val" = x""yes; then
5482 cat >>confdefs.h <<_ACEOF
5483 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5491 ################################################################################
5492 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5493 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5494 if test "${ac_cv_c_const+set}" = set; then
5495 $as_echo_n "(cached) " >&6
5497 cat >conftest.$ac_ext <<_ACEOF
5500 cat confdefs.h >>conftest.$ac_ext
5501 cat >>conftest.$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5507 /* FIXME: Include the comments suggested by Paul. */
5509 /* Ultrix mips cc rejects this. */
5510 typedef int charset[2];
5512 /* SunOS 4.1.1 cc rejects this. */
5513 char const *const *pcpcc;
5515 /* NEC SVR4.0.2 mips cc rejects this. */
5516 struct point {int x, y;};
5517 static struct point const zero = {0,0};
5518 /* AIX XL C 1.02.0.0 rejects this.
5519 It does not let you subtract one const X* pointer from another in
5520 an arm of an if-expression whose if-part is not a constant
5522 const char *g = "string";
5523 pcpcc = &g + (g ? g-g : 0);
5524 /* HPUX 7.0 cc rejects these. */
5526 ppc = (char**) pcpcc;
5527 pcpcc = (char const *const *) ppc;
5528 { /* SCO 3.2v4 cc rejects this. */
5530 char const *s = 0 ? (char *) 0 : (char const *) 0;
5535 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5537 const int *foo = &x[0];
5540 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5541 typedef const int *iptr;
5545 { /* AIX XL C 1.02.0.0 rejects this saying
5546 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5547 struct s { int j; const int *ap[3]; };
5548 struct s *b; b->j = 5;
5550 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5554 return !cs[0] && !zero.x;
5561 rm -f conftest.$ac_objext
5562 if { (ac_try="$ac_compile"
5564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5565 *) ac_try_echo
=$ac_try;;
5567 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5568 $as_echo "$ac_try_echo") >&5
5569 (eval "$ac_compile") 2>conftest.er1
5571 grep -v '^ *+' conftest.er1
>conftest.err
5573 cat conftest.err
>&5
5574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } && {
5576 test -z "$ac_c_werror_flag" ||
5577 test ! -s conftest.err
5578 } && test -s conftest.
$ac_objext; then
5581 $as_echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5589 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5590 $as_echo "$ac_cv_c_const" >&6; }
5591 if test $ac_cv_c_const = no
; then
5593 cat >>confdefs.h
<<\_ACEOF
5599 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5600 $as_echo_n "checking for inline... " >&6; }
5601 if test "${ac_cv_c_inline+set}" = set; then
5602 $as_echo_n "(cached) " >&6
5605 for ac_kw
in inline __inline__ __inline
; do
5606 cat >conftest.
$ac_ext <<_ACEOF
5609 cat confdefs.h
>>conftest.
$ac_ext
5610 cat >>conftest.
$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5614 static $ac_kw foo_t static_foo () {return 0; }
5615 $ac_kw foo_t foo () {return 0; }
5619 rm -f conftest.
$ac_objext
5620 if { (ac_try
="$ac_compile"
5622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5623 *) ac_try_echo=$ac_try;;
5625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5626 $as_echo "$ac_try_echo") >&5
5627 (eval "$ac_compile") 2>conftest.er1
5629 grep -v '^ *+' conftest.er1 >conftest.err
5631 cat conftest.err >&5
5632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && {
5634 test -z "$ac_c_werror_flag" ||
5635 test ! -s conftest.err
5636 } && test -s conftest.$ac_objext; then
5637 ac_cv_c_inline=$ac_kw
5639 $as_echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.$ac_ext >&5
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 test "$ac_cv_c_inline" != no && break
5650 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5651 $as_echo "$ac_cv_c_inline" >&6; }
5654 case $ac_cv_c_inline in
5657 case $ac_cv_c_inline in
5659 *) ac_val=$ac_cv_c_inline;;
5661 cat >>confdefs.h <<_ACEOF
5663 #define inline $ac_val
5669 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5670 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5671 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5672 $as_echo_n "(cached) " >&6
5674 cat >conftest.$ac_ext <<_ACEOF
5677 cat confdefs.h >>conftest.$ac_ext
5678 cat >>conftest.$ac_ext <<_ACEOF
5679 /* end confdefs.h. */
5680 $ac_includes_default
5684 static struct stat ac_aggr;
5685 if (ac_aggr.st_rdev)
5691 rm -f conftest.$ac_objext
5692 if { (ac_try="$ac_compile"
5694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5695 *) ac_try_echo
=$ac_try;;
5697 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5698 $as_echo "$ac_try_echo") >&5
5699 (eval "$ac_compile") 2>conftest.er1
5701 grep -v '^ *+' conftest.er1
>conftest.err
5703 cat conftest.err
>&5
5704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); } && {
5706 test -z "$ac_c_werror_flag" ||
5707 test ! -s conftest.err
5708 } && test -s conftest.
$ac_objext; then
5709 ac_cv_member_struct_stat_st_rdev
=yes
5711 $as_echo "$as_me: failed program was:" >&5
5712 sed 's/^/| /' conftest.
$ac_ext >&5
5714 cat >conftest.
$ac_ext <<_ACEOF
5717 cat confdefs.h
>>conftest.
$ac_ext
5718 cat >>conftest.
$ac_ext <<_ACEOF
5719 /* end confdefs.h. */
5720 $ac_includes_default
5724 static struct stat ac_aggr;
5725 if (sizeof ac_aggr.st_rdev)
5731 rm -f conftest.
$ac_objext
5732 if { (ac_try
="$ac_compile"
5734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5735 *) ac_try_echo=$ac_try;;
5737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5738 $as_echo "$ac_try_echo") >&5
5739 (eval "$ac_compile") 2>conftest.er1
5741 grep -v '^ *+' conftest.er1 >conftest.err
5743 cat conftest.err >&5
5744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); } && {
5746 test -z "$ac_c_werror_flag" ||
5747 test ! -s conftest.err
5748 } && test -s conftest.$ac_objext; then
5749 ac_cv_member_struct_stat_st_rdev=yes
5751 $as_echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.$ac_ext >&5
5754 ac_cv_member_struct_stat_st_rdev=no
5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5762 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5763 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5764 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5766 cat >>confdefs.h <<_ACEOF
5767 #define HAVE_STRUCT_STAT_ST_RDEV 1
5773 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5774 $as_echo_n "checking for off_t... " >&6; }
5775 if test "${ac_cv_type_off_t+set}" = set; then
5776 $as_echo_n "(cached) " >&6
5779 cat >conftest.$ac_ext <<_ACEOF
5782 cat confdefs.h >>conftest.$ac_ext
5783 cat >>conftest.$ac_ext <<_ACEOF
5784 /* end confdefs.h. */
5785 $ac_includes_default
5795 rm -f conftest.$ac_objext
5796 if { (ac_try="$ac_compile"
5798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5799 *) ac_try_echo
=$ac_try;;
5801 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5802 $as_echo "$ac_try_echo") >&5
5803 (eval "$ac_compile") 2>conftest.er1
5805 grep -v '^ *+' conftest.er1
>conftest.err
5807 cat conftest.err
>&5
5808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); } && {
5810 test -z "$ac_c_werror_flag" ||
5811 test ! -s conftest.err
5812 } && test -s conftest.
$ac_objext; then
5813 cat >conftest.
$ac_ext <<_ACEOF
5816 cat confdefs.h
>>conftest.
$ac_ext
5817 cat >>conftest.
$ac_ext <<_ACEOF
5818 /* end confdefs.h. */
5819 $ac_includes_default
5823 if (sizeof ((off_t)))
5829 rm -f conftest.
$ac_objext
5830 if { (ac_try
="$ac_compile"
5832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5833 *) ac_try_echo=$ac_try;;
5835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5836 $as_echo "$ac_try_echo") >&5
5837 (eval "$ac_compile") 2>conftest.er1
5839 grep -v '^ *+' conftest.er1 >conftest.err
5841 cat conftest.err >&5
5842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } && {
5844 test -z "$ac_c_werror_flag" ||
5845 test ! -s conftest.err
5846 } && test -s conftest.$ac_objext; then
5849 $as_echo "$as_me: failed program was:" >&5
5850 sed 's/^/| /' conftest.$ac_ext >&5
5852 ac_cv_type_off_t=yes
5855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5857 $as_echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5865 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5866 $as_echo "$ac_cv_type_off_t" >&6; }
5867 if test "x$ac_cv_type_off_t" = x""yes; then
5871 cat >>confdefs.h <<_ACEOF
5872 #define off_t long int
5877 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5878 $as_echo_n "checking for pid_t... " >&6; }
5879 if test "${ac_cv_type_pid_t+set}" = set; then
5880 $as_echo_n "(cached) " >&6
5883 cat >conftest.$ac_ext <<_ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5889 $ac_includes_default
5899 rm -f conftest.$ac_objext
5900 if { (ac_try="$ac_compile"
5902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5903 *) ac_try_echo
=$ac_try;;
5905 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5906 $as_echo "$ac_try_echo") >&5
5907 (eval "$ac_compile") 2>conftest.er1
5909 grep -v '^ *+' conftest.er1
>conftest.err
5911 cat conftest.err
>&5
5912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); } && {
5914 test -z "$ac_c_werror_flag" ||
5915 test ! -s conftest.err
5916 } && test -s conftest.
$ac_objext; then
5917 cat >conftest.
$ac_ext <<_ACEOF
5920 cat confdefs.h
>>conftest.
$ac_ext
5921 cat >>conftest.
$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 $ac_includes_default
5927 if (sizeof ((pid_t)))
5933 rm -f conftest.
$ac_objext
5934 if { (ac_try
="$ac_compile"
5936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5937 *) ac_try_echo=$ac_try;;
5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5940 $as_echo "$ac_try_echo") >&5
5941 (eval "$ac_compile") 2>conftest.er1
5943 grep -v '^ *+' conftest.er1 >conftest.err
5945 cat conftest.err >&5
5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } && {
5948 test -z "$ac_c_werror_flag" ||
5949 test ! -s conftest.err
5950 } && test -s conftest.$ac_objext; then
5953 $as_echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.$ac_ext >&5
5956 ac_cv_type_pid_t=yes
5959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5961 $as_echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5969 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5970 $as_echo "$ac_cv_type_pid_t" >&6; }
5971 if test "x$ac_cv_type_pid_t" = x""yes; then
5975 cat >>confdefs.h <<_ACEOF
5981 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5982 $as_echo_n "checking return type of signal handlers... " >&6; }
5983 if test "${ac_cv_type_signal+set}" = set; then
5984 $as_echo_n "(cached) " >&6
5986 cat >conftest.$ac_ext <<_ACEOF
5989 cat confdefs.h >>conftest.$ac_ext
5990 cat >>conftest.$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5992 #include <sys/types.h>
5998 return *(signal (0, 0)) (0) == 1;
6003 rm -f conftest.$ac_objext
6004 if { (ac_try="$ac_compile"
6006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6007 *) ac_try_echo
=$ac_try;;
6009 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6010 $as_echo "$ac_try_echo") >&5
6011 (eval "$ac_compile") 2>conftest.er1
6013 grep -v '^ *+' conftest.er1
>conftest.err
6015 cat conftest.err
>&5
6016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } && {
6018 test -z "$ac_c_werror_flag" ||
6019 test ! -s conftest.err
6020 } && test -s conftest.
$ac_objext; then
6021 ac_cv_type_signal
=int
6023 $as_echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6026 ac_cv_type_signal
=void
6029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6031 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6032 $as_echo "$ac_cv_type_signal" >&6; }
6034 cat >>confdefs.h
<<_ACEOF
6035 #define RETSIGTYPE $ac_cv_type_signal
6039 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6040 $as_echo_n "checking for size_t... " >&6; }
6041 if test "${ac_cv_type_size_t+set}" = set; then
6042 $as_echo_n "(cached) " >&6
6044 ac_cv_type_size_t
=no
6045 cat >conftest.
$ac_ext <<_ACEOF
6048 cat confdefs.h
>>conftest.
$ac_ext
6049 cat >>conftest.
$ac_ext <<_ACEOF
6050 /* end confdefs.h. */
6051 $ac_includes_default
6055 if (sizeof (size_t))
6061 rm -f conftest.
$ac_objext
6062 if { (ac_try
="$ac_compile"
6064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6065 *) ac_try_echo=$ac_try;;
6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6068 $as_echo "$ac_try_echo") >&5
6069 (eval "$ac_compile") 2>conftest.er1
6071 grep -v '^ *+' conftest.er1 >conftest.err
6073 cat conftest.err >&5
6074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } && {
6076 test -z "$ac_c_werror_flag" ||
6077 test ! -s conftest.err
6078 } && test -s conftest.$ac_objext; then
6079 cat >conftest.$ac_ext <<_ACEOF
6082 cat confdefs.h >>conftest.$ac_ext
6083 cat >>conftest.$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6085 $ac_includes_default
6089 if (sizeof ((size_t)))
6095 rm -f conftest.$ac_objext
6096 if { (ac_try="$ac_compile"
6098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6099 *) ac_try_echo
=$ac_try;;
6101 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6102 $as_echo "$ac_try_echo") >&5
6103 (eval "$ac_compile") 2>conftest.er1
6105 grep -v '^ *+' conftest.er1
>conftest.err
6107 cat conftest.err
>&5
6108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } && {
6110 test -z "$ac_c_werror_flag" ||
6111 test ! -s conftest.err
6112 } && test -s conftest.
$ac_objext; then
6115 $as_echo "$as_me: failed program was:" >&5
6116 sed 's/^/| /' conftest.
$ac_ext >&5
6118 ac_cv_type_size_t
=yes
6121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6123 $as_echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.
$ac_ext >&5
6129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6131 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6132 $as_echo "$ac_cv_type_size_t" >&6; }
6133 if test "x$ac_cv_type_size_t" = x
""yes; then
6137 cat >>confdefs.h
<<_ACEOF
6138 #define size_t unsigned int
6143 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6144 $as_echo_n "checking for mode_t... " >&6; }
6145 if test "${ac_cv_type_mode_t+set}" = set; then
6146 $as_echo_n "(cached) " >&6
6148 ac_cv_type_mode_t
=no
6149 cat >conftest.
$ac_ext <<_ACEOF
6152 cat confdefs.h
>>conftest.
$ac_ext
6153 cat >>conftest.
$ac_ext <<_ACEOF
6154 /* end confdefs.h. */
6155 $ac_includes_default
6159 if (sizeof (mode_t))
6165 rm -f conftest.
$ac_objext
6166 if { (ac_try
="$ac_compile"
6168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6172 $as_echo "$ac_try_echo") >&5
6173 (eval "$ac_compile") 2>conftest.er1
6175 grep -v '^ *+' conftest.er1 >conftest.err
6177 cat conftest.err >&5
6178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } && {
6180 test -z "$ac_c_werror_flag" ||
6181 test ! -s conftest.err
6182 } && test -s conftest.$ac_objext; then
6183 cat >conftest.$ac_ext <<_ACEOF
6186 cat confdefs.h >>conftest.$ac_ext
6187 cat >>conftest.$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6189 $ac_includes_default
6193 if (sizeof ((mode_t)))
6199 rm -f conftest.$ac_objext
6200 if { (ac_try="$ac_compile"
6202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6203 *) ac_try_echo
=$ac_try;;
6205 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6206 $as_echo "$ac_try_echo") >&5
6207 (eval "$ac_compile") 2>conftest.er1
6209 grep -v '^ *+' conftest.er1
>conftest.err
6211 cat conftest.err
>&5
6212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } && {
6214 test -z "$ac_c_werror_flag" ||
6215 test ! -s conftest.err
6216 } && test -s conftest.
$ac_objext; then
6219 $as_echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.
$ac_ext >&5
6222 ac_cv_type_mode_t
=yes
6225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6227 $as_echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6235 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6236 $as_echo "$ac_cv_type_mode_t" >&6; }
6237 if test "x$ac_cv_type_mode_t" = x
""yes; then
6241 cat >>confdefs.h
<<_ACEOF
6247 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6248 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6249 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6250 $as_echo_n "(cached) " >&6
6252 cat >conftest.
$ac_ext <<_ACEOF
6255 cat confdefs.h
>>conftest.
$ac_ext
6256 cat >>conftest.
$ac_ext <<_ACEOF
6257 /* end confdefs.h. */
6258 $ac_includes_default
6262 static struct stat ac_aggr;
6263 if (ac_aggr.st_rdev)
6269 rm -f conftest.
$ac_objext
6270 if { (ac_try
="$ac_compile"
6272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6273 *) ac_try_echo=$ac_try;;
6275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6276 $as_echo "$ac_try_echo") >&5
6277 (eval "$ac_compile") 2>conftest.er1
6279 grep -v '^ *+' conftest.er1 >conftest.err
6281 cat conftest.err >&5
6282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } && {
6284 test -z "$ac_c_werror_flag" ||
6285 test ! -s conftest.err
6286 } && test -s conftest.$ac_objext; then
6287 ac_cv_member_struct_stat_st_rdev=yes
6289 $as_echo "$as_me: failed program was:" >&5
6290 sed 's/^/| /' conftest.$ac_ext >&5
6292 cat >conftest.$ac_ext <<_ACEOF
6295 cat confdefs.h >>conftest.$ac_ext
6296 cat >>conftest.$ac_ext <<_ACEOF
6297 /* end confdefs.h. */
6298 $ac_includes_default
6302 static struct stat ac_aggr;
6303 if (sizeof ac_aggr.st_rdev)
6309 rm -f conftest.$ac_objext
6310 if { (ac_try="$ac_compile"
6312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6313 *) ac_try_echo
=$ac_try;;
6315 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6316 $as_echo "$ac_try_echo") >&5
6317 (eval "$ac_compile") 2>conftest.er1
6319 grep -v '^ *+' conftest.er1
>conftest.err
6321 cat conftest.err
>&5
6322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } && {
6324 test -z "$ac_c_werror_flag" ||
6325 test ! -s conftest.err
6326 } && test -s conftest.
$ac_objext; then
6327 ac_cv_member_struct_stat_st_rdev
=yes
6329 $as_echo "$as_me: failed program was:" >&5
6330 sed 's/^/| /' conftest.
$ac_ext >&5
6332 ac_cv_member_struct_stat_st_rdev
=no
6335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6340 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6341 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6342 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6344 cat >>confdefs.h
<<_ACEOF
6345 #define HAVE_STRUCT_STAT_ST_RDEV 1
6351 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6352 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6353 if test "${ac_cv_struct_tm+set}" = set; then
6354 $as_echo_n "(cached) " >&6
6356 cat >conftest.
$ac_ext <<_ACEOF
6359 cat confdefs.h
>>conftest.
$ac_ext
6360 cat >>conftest.
$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362 #include <sys/types.h>
6369 int *p = &tm.tm_sec;
6375 rm -f conftest.
$ac_objext
6376 if { (ac_try
="$ac_compile"
6378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6379 *) ac_try_echo=$ac_try;;
6381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6382 $as_echo "$ac_try_echo") >&5
6383 (eval "$ac_compile") 2>conftest.er1
6385 grep -v '^ *+' conftest.er1 >conftest.err
6387 cat conftest.err >&5
6388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); } && {
6390 test -z "$ac_c_werror_flag" ||
6391 test ! -s conftest.err
6392 } && test -s conftest.$ac_objext; then
6393 ac_cv_struct_tm=time.h
6395 $as_echo "$as_me: failed program was:" >&5
6396 sed 's/^/| /' conftest.$ac_ext >&5
6398 ac_cv_struct_tm=sys/time.h
6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6404 $as_echo "$ac_cv_struct_tm" >&6; }
6405 if test $ac_cv_struct_tm = sys/time.h; then
6407 cat >>confdefs.h <<\_ACEOF
6408 #define TM_IN_SYS_TIME 1
6414 ################################################################################
6432 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6433 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6437 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6438 $as_echo_n "checking for $ac_func... " >&6; }
6439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6440 $as_echo_n "(cached) " >&6
6442 cat >conftest.$ac_ext <<_ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6450 #define $ac_func innocuous_$ac_func
6452 /* System header to define __stub macros and hopefully few prototypes,
6453 which can conflict with char $ac_func (); below.
6454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6455 <limits.h> exists even on freestanding compilers. */
6458 # include <limits.h>
6460 # include <assert.h>
6465 /* Override any GCC internal prototype to avoid an error.
6466 Use char because int might match the return type of a GCC
6467 builtin and then its argument prototype would still apply. */
6472 /* The GNU C library defines this for functions which it implements
6473 to always fail with ENOSYS. Some functions are actually named
6474 something starting with __ and the normal name is an alias. */
6475 #if defined __stub_$ac_func || defined __stub___$ac_func
6487 rm -f conftest.$ac_objext conftest$ac_exeext
6488 if { (ac_try="$ac_link"
6490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6491 *) ac_try_echo
=$ac_try;;
6493 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6494 $as_echo "$ac_try_echo") >&5
6495 (eval "$ac_link") 2>conftest.er1
6497 grep -v '^ *+' conftest.er1
>conftest.err
6499 cat conftest.err
>&5
6500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest
$ac_exeext && {
6505 test "$cross_compiling" = yes ||
6506 $as_test_x conftest
$ac_exeext
6508 eval "$as_ac_var=yes"
6510 $as_echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.
$ac_ext >&5
6513 eval "$as_ac_var=no"
6516 rm -rf conftest.dSYM
6517 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6518 conftest
$ac_exeext conftest.
$ac_ext
6520 ac_res
=`eval 'as_val=${'$as_ac_var'}
6521 $as_echo "$as_val"'`
6522 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6523 $as_echo "$ac_res" >&6; }
6524 as_val
=`eval 'as_val=${'$as_ac_var'}
6525 $as_echo "$as_val"'`
6526 if test "x$as_val" = x
""yes; then
6527 cat >>confdefs.h
<<_ACEOF
6528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6532 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6533 $as_echo "$as_me: error: bailing out" >&2;}
6534 { (exit 1); exit 1; }; }
6539 for ac_func
in siginterrupt
6541 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6542 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6543 $as_echo_n "checking for $ac_func... " >&6; }
6544 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6545 $as_echo_n "(cached) " >&6
6547 cat >conftest.
$ac_ext <<_ACEOF
6550 cat confdefs.h
>>conftest.
$ac_ext
6551 cat >>conftest.
$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6555 #define $ac_func innocuous_$ac_func
6557 /* System header to define __stub macros and hopefully few prototypes,
6558 which can conflict with char $ac_func (); below.
6559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 <limits.h> exists even on freestanding compilers. */
6563 # include <limits.h>
6565 # include <assert.h>
6570 /* Override any GCC internal prototype to avoid an error.
6571 Use char because int might match the return type of a GCC
6572 builtin and then its argument prototype would still apply. */
6577 /* The GNU C library defines this for functions which it implements
6578 to always fail with ENOSYS. Some functions are actually named
6579 something starting with __ and the normal name is an alias. */
6580 #if defined __stub_$ac_func || defined __stub___$ac_func
6592 rm -f conftest.
$ac_objext conftest
$ac_exeext
6593 if { (ac_try
="$ac_link"
6595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6596 *) ac_try_echo=$ac_try;;
6598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6599 $as_echo "$ac_try_echo") >&5
6600 (eval "$ac_link") 2>conftest.er1
6602 grep -v '^ *+' conftest.er1 >conftest.err
6604 cat conftest.err >&5
6605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } && {
6607 test -z "$ac_c_werror_flag" ||
6608 test ! -s conftest.err
6609 } && test -s conftest$ac_exeext && {
6610 test "$cross_compiling" = yes ||
6611 $as_test_x conftest$ac_exeext
6613 eval "$as_ac_var=yes"
6615 $as_echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6618 eval "$as_ac_var=no"
6621 rm -rf conftest.dSYM
6622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6623 conftest$ac_exeext conftest.$ac_ext
6625 ac_res=`eval 'as_val=${'$as_ac_var'}
6626 $as_echo "$as_val"'`
6627 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6628 $as_echo "$ac_res" >&6; }
6629 as_val=`eval 'as_val=${'$as_ac_var'}
6630 $as_echo "$as_val"'`
6631 if test "x$as_val" = x""yes; then
6632 cat >>confdefs.h <<_ACEOF
6633 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6639 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6640 # for constant arguments. Useless!
6641 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6642 $as_echo_n "checking for working alloca.h... " >&6; }
6643 if test "${ac_cv_working_alloca_h+set}" = set; then
6644 $as_echo_n "(cached) " >&6
6646 cat >conftest.$ac_ext <<_ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6656 char *p = (char *) alloca (2 * sizeof (int));
6662 rm -f conftest.$ac_objext conftest$ac_exeext
6663 if { (ac_try="$ac_link"
6665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6666 *) ac_try_echo
=$ac_try;;
6668 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6669 $as_echo "$ac_try_echo") >&5
6670 (eval "$ac_link") 2>conftest.er1
6672 grep -v '^ *+' conftest.er1
>conftest.err
6674 cat conftest.err
>&5
6675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); } && {
6677 test -z "$ac_c_werror_flag" ||
6678 test ! -s conftest.err
6679 } && test -s conftest
$ac_exeext && {
6680 test "$cross_compiling" = yes ||
6681 $as_test_x conftest
$ac_exeext
6683 ac_cv_working_alloca_h
=yes
6685 $as_echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.
$ac_ext >&5
6688 ac_cv_working_alloca_h
=no
6691 rm -rf conftest.dSYM
6692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6693 conftest
$ac_exeext conftest.
$ac_ext
6695 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6696 $as_echo "$ac_cv_working_alloca_h" >&6; }
6697 if test $ac_cv_working_alloca_h = yes; then
6699 cat >>confdefs.h
<<\_ACEOF
6700 #define HAVE_ALLOCA_H 1
6705 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6706 $as_echo_n "checking for alloca... " >&6; }
6707 if test "${ac_cv_func_alloca_works+set}" = set; then
6708 $as_echo_n "(cached) " >&6
6710 cat >conftest.
$ac_ext <<_ACEOF
6713 cat confdefs.h
>>conftest.
$ac_ext
6714 cat >>conftest.
$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6717 # define alloca __builtin_alloca
6720 # include <malloc.h>
6721 # define alloca _alloca
6723 # ifdef HAVE_ALLOCA_H
6724 # include <alloca.h>
6729 # ifndef alloca /* predefined by HP cc +Olibcalls */
6740 char *p = (char *) alloca (1);
6746 rm -f conftest.
$ac_objext conftest
$ac_exeext
6747 if { (ac_try
="$ac_link"
6749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6750 *) ac_try_echo=$ac_try;;
6752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6753 $as_echo "$ac_try_echo") >&5
6754 (eval "$ac_link") 2>conftest.er1
6756 grep -v '^ *+' conftest.er1 >conftest.err
6758 cat conftest.err >&5
6759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); } && {
6761 test -z "$ac_c_werror_flag" ||
6762 test ! -s conftest.err
6763 } && test -s conftest$ac_exeext && {
6764 test "$cross_compiling" = yes ||
6765 $as_test_x conftest$ac_exeext
6767 ac_cv_func_alloca_works=yes
6769 $as_echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.$ac_ext >&5
6772 ac_cv_func_alloca_works=no
6775 rm -rf conftest.dSYM
6776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6777 conftest$ac_exeext conftest.$ac_ext
6779 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6780 $as_echo "$ac_cv_func_alloca_works" >&6; }
6782 if test $ac_cv_func_alloca_works = yes; then
6784 cat >>confdefs.h <<\_ACEOF
6785 #define HAVE_ALLOCA 1
6789 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6790 # that cause trouble. Some versions do not even contain alloca or
6791 # contain a buggy version. If you still want to use their alloca,
6792 # use ar to extract alloca.o from them instead of compiling alloca.c.
6794 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6796 cat >>confdefs.h <<\_ACEOF
6801 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
6802 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
6803 if test "${ac_cv_os_cray+set}" = set; then
6804 $as_echo_n "(cached
) " >&6
6806 cat >conftest.$ac_ext <<_ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6812 #if defined CRAY && ! defined CRAY2
6819 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6820 $EGREP "webecray
" >/dev/null 2>&1; then
6828 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
6829 $as_echo "$ac_cv_os_cray" >&6; }
6830 if test $ac_cv_os_cray = yes; then
6831 for ac_func in _getb67 GETB67 getb67; do
6832 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6833 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6834 $as_echo_n "checking
for $ac_func...
" >&6; }
6835 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6836 $as_echo_n "(cached
) " >&6
6838 cat >conftest.$ac_ext <<_ACEOF
6841 cat confdefs.h >>conftest.$ac_ext
6842 cat >>conftest.$ac_ext <<_ACEOF
6843 /* end confdefs.h. */
6844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6846 #define $ac_func innocuous_$ac_func
6848 /* System header to define __stub macros and hopefully few prototypes,
6849 which can conflict with char $ac_func (); below.
6850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6851 <limits.h> exists even on freestanding compilers. */
6854 # include <limits.h>
6856 # include <assert.h>
6861 /* Override any GCC internal prototype to avoid an error.
6862 Use char because int might match the return type of a GCC
6863 builtin and then its argument prototype would still apply. */
6868 /* The GNU C library defines this for functions which it implements
6869 to always fail with ENOSYS. Some functions are actually named
6870 something starting with __ and the normal name is an alias. */
6871 #if defined __stub_$ac_func || defined __stub___$ac_func
6883 rm -f conftest.$ac_objext conftest$ac_exeext
6884 if { (ac_try="$ac_link"
6886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6887 *) ac_try_echo=$ac_try;;
6889 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6890 $as_echo "$ac_try_echo") >&5
6891 (eval "$ac_link") 2>conftest.er1
6893 grep -v '^ *+' conftest.er1 >conftest.err
6895 cat conftest.err >&5
6896 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest$ac_exeext && {
6901 test "$cross_compiling" = yes ||
6902 $as_test_x conftest$ac_exeext
6904 eval "$as_ac_var=yes"
6906 $as_echo "$as_me: failed program was
:" >&5
6907 sed 's/^/| /' conftest.$ac_ext >&5
6909 eval "$as_ac_var=no
"
6912 rm -rf conftest.dSYM
6913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6914 conftest$ac_exeext conftest.$ac_ext
6916 ac_res=`eval 'as_val=${'$as_ac_var'}
6917 $as_echo "$as_val"'`
6918 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6919 $as_echo "$ac_res" >&6; }
6920 as_val=`eval 'as_val=${'$as_ac_var'}
6921 $as_echo "$as_val"'`
6922 if test "x
$as_val" = x""yes; then
6924 cat >>confdefs.h <<_ACEOF
6925 #define CRAY_STACKSEG_END $ac_func
6934 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
6935 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
6936 if test "${ac_cv_c_stack_direction+set}" = set; then
6937 $as_echo_n "(cached
) " >&6
6939 if test "$cross_compiling" = yes; then
6940 ac_cv_c_stack_direction=0
6942 cat >conftest.$ac_ext <<_ACEOF
6945 cat confdefs.h >>conftest.$ac_ext
6946 cat >>conftest.$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 $ac_includes_default
6950 find_stack_direction ()
6952 static char *addr = 0;
6957 return find_stack_direction ();
6960 return (&dummy > addr) ? 1 : -1;
6966 return find_stack_direction () < 0;
6969 rm -f conftest$ac_exeext
6970 if { (ac_try="$ac_link"
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6975 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6976 $as_echo "$ac_try_echo") >&5
6977 (eval "$ac_link") 2>&5
6979 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6981 { (case "(($ac_try" in
6982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6986 $as_echo "$ac_try_echo") >&5
6987 (eval "$ac_try") 2>&5
6989 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_c_stack_direction=1
6993 $as_echo "$as_me: program exited with status
$ac_status" >&5
6994 $as_echo "$as_me: failed program was
:" >&5
6995 sed 's/^/| /' conftest.$ac_ext >&5
6998 ac_cv_c_stack_direction=-1
7000 rm -rf conftest.dSYM
7001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7006 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
7007 $as_echo "$ac_cv_c_stack_direction" >&6; }
7009 cat >>confdefs.h <<_ACEOF
7010 #define STACK_DIRECTION $ac_cv_c_stack_direction
7016 { $as_echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
7017 $as_echo_n "checking whether closedir returns void...
" >&6; }
7018 if test "${ac_cv_func_closedir_void+set}" = set; then
7019 $as_echo_n "(cached
) " >&6
7021 if test "$cross_compiling" = yes; then
7022 ac_cv_func_closedir_void=yes
7024 cat >conftest.$ac_ext <<_ACEOF
7027 cat confdefs.h >>conftest.$ac_ext
7028 cat >>conftest.$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7030 $ac_includes_default
7031 #include <$ac_header_dirent>
7039 return closedir (opendir (".
")) != 0;
7044 rm -f conftest$ac_exeext
7045 if { (ac_try="$ac_link"
7047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7048 *) ac_try_echo=$ac_try;;
7050 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7051 $as_echo "$ac_try_echo") >&5
7052 (eval "$ac_link") 2>&5
7054 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7056 { (case "(($ac_try" in
7057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7058 *) ac_try_echo=$ac_try;;
7060 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7061 $as_echo "$ac_try_echo") >&5
7062 (eval "$ac_try") 2>&5
7064 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7065 (exit $ac_status); }; }; then
7066 ac_cv_func_closedir_void=no
7068 $as_echo "$as_me: program exited with status
$ac_status" >&5
7069 $as_echo "$as_me: failed program was
:" >&5
7070 sed 's/^/| /' conftest.$ac_ext >&5
7073 ac_cv_func_closedir_void=yes
7075 rm -rf conftest.dSYM
7076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7081 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
7082 $as_echo "$ac_cv_func_closedir_void" >&6; }
7083 if test $ac_cv_func_closedir_void = yes; then
7085 cat >>confdefs.h <<\_ACEOF
7086 #define CLOSEDIR_VOID 1
7092 for ac_header in vfork.h
7094 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7095 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7096 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7097 $as_echo_n "checking
for $ac_header...
" >&6; }
7098 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7099 $as_echo_n "(cached
) " >&6
7101 ac_res=`eval 'as_val=${'$as_ac_Header'}
7102 $as_echo "$as_val"'`
7103 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7104 $as_echo "$ac_res" >&6; }
7106 # Is the header compilable?
7107 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7108 $as_echo_n "checking
$ac_header usability...
" >&6; }
7109 cat >conftest.$ac_ext <<_ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 $ac_includes_default
7116 #include <$ac_header>
7118 rm -f conftest.$ac_objext
7119 if { (ac_try="$ac_compile"
7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7122 *) ac_try_echo=$ac_try;;
7124 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7125 $as_echo "$ac_try_echo") >&5
7126 (eval "$ac_compile") 2>conftest.er1
7128 grep -v '^ *+' conftest.er1 >conftest.err
7130 cat conftest.err >&5
7131 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7132 (exit $ac_status); } && {
7133 test -z "$ac_c_werror_flag" ||
7134 test ! -s conftest.err
7135 } && test -s conftest.$ac_objext; then
7136 ac_header_compiler=yes
7138 $as_echo "$as_me: failed program was
:" >&5
7139 sed 's/^/| /' conftest.$ac_ext >&5
7141 ac_header_compiler=no
7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7145 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7146 $as_echo "$ac_header_compiler" >&6; }
7148 # Is the header present?
7149 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7150 $as_echo_n "checking
$ac_header presence...
" >&6; }
7151 cat >conftest.$ac_ext <<_ACEOF
7154 cat confdefs.h >>conftest.$ac_ext
7155 cat >>conftest.$ac_ext <<_ACEOF
7156 /* end confdefs.h. */
7157 #include <$ac_header>
7159 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7162 *) ac_try_echo=$ac_try;;
7164 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7165 $as_echo "$ac_try_echo") >&5
7166 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7168 grep -v '^ *+' conftest.er1 >conftest.err
7170 cat conftest.err >&5
7171 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7172 (exit $ac_status); } >/dev/null && {
7173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7174 test ! -s conftest.err
7176 ac_header_preproc=yes
7178 $as_echo "$as_me: failed program was
:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7181 ac_header_preproc=no
7184 rm -f conftest.err conftest.$ac_ext
7185 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7186 $as_echo "$ac_header_preproc" >&6; }
7188 # So? What about this header?
7189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7191 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7192 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7193 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7194 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7195 ac_header_preproc=yes
7198 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7199 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7200 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7201 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7202 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7203 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7204 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7205 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7206 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7207 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7208 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7209 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7213 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7214 $as_echo_n "checking
for $ac_header...
" >&6; }
7215 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7216 $as_echo_n "(cached
) " >&6
7218 eval "$as_ac_Header=\
$ac_header_preproc"
7220 ac_res=`eval 'as_val=${'$as_ac_Header'}
7221 $as_echo "$as_val"'`
7222 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7223 $as_echo "$ac_res" >&6; }
7226 as_val=`eval 'as_val=${'$as_ac_Header'}
7227 $as_echo "$as_val"'`
7228 if test "x
$as_val" = x""yes; then
7229 cat >>confdefs.h <<_ACEOF
7230 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7239 for ac_func in fork vfork
7241 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7242 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7243 $as_echo_n "checking
for $ac_func...
" >&6; }
7244 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7245 $as_echo_n "(cached
) " >&6
7247 cat >conftest.$ac_ext <<_ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7255 #define $ac_func innocuous_$ac_func
7257 /* System header to define __stub macros and hopefully few prototypes,
7258 which can conflict with char $ac_func (); below.
7259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7260 <limits.h> exists even on freestanding compilers. */
7263 # include <limits.h>
7265 # include <assert.h>
7270 /* Override any GCC internal prototype to avoid an error.
7271 Use char because int might match the return type of a GCC
7272 builtin and then its argument prototype would still apply. */
7277 /* The GNU C library defines this for functions which it implements
7278 to always fail with ENOSYS. Some functions are actually named
7279 something starting with __ and the normal name is an alias. */
7280 #if defined __stub_$ac_func || defined __stub___$ac_func
7292 rm -f conftest.$ac_objext conftest$ac_exeext
7293 if { (ac_try="$ac_link"
7295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7296 *) ac_try_echo=$ac_try;;
7298 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7299 $as_echo "$ac_try_echo") >&5
7300 (eval "$ac_link") 2>conftest.er1
7302 grep -v '^ *+' conftest.er1 >conftest.err
7304 cat conftest.err >&5
7305 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7306 (exit $ac_status); } && {
7307 test -z "$ac_c_werror_flag" ||
7308 test ! -s conftest.err
7309 } && test -s conftest$ac_exeext && {
7310 test "$cross_compiling" = yes ||
7311 $as_test_x conftest$ac_exeext
7313 eval "$as_ac_var=yes"
7315 $as_echo "$as_me: failed program was
:" >&5
7316 sed 's/^/| /' conftest.$ac_ext >&5
7318 eval "$as_ac_var=no
"
7321 rm -rf conftest.dSYM
7322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7323 conftest$ac_exeext conftest.$ac_ext
7325 ac_res=`eval 'as_val=${'$as_ac_var'}
7326 $as_echo "$as_val"'`
7327 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7328 $as_echo "$ac_res" >&6; }
7329 as_val=`eval 'as_val=${'$as_ac_var'}
7330 $as_echo "$as_val"'`
7331 if test "x
$as_val" = x""yes; then
7332 cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7339 if test "x
$ac_cv_func_fork" = xyes; then
7340 { $as_echo "$as_me:$LINENO: checking
for working fork
" >&5
7341 $as_echo_n "checking
for working fork...
" >&6; }
7342 if test "${ac_cv_func_fork_works+set}" = set; then
7343 $as_echo_n "(cached
) " >&6
7345 if test "$cross_compiling" = yes; then
7346 ac_cv_func_fork_works=cross
7348 cat >conftest.$ac_ext <<_ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 $ac_includes_default
7359 /* By Ruediger Kuhlmann. */
7366 rm -f conftest$ac_exeext
7367 if { (ac_try="$ac_link"
7369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7370 *) ac_try_echo=$ac_try;;
7372 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7373 $as_echo "$ac_try_echo") >&5
7374 (eval "$ac_link") 2>&5
7376 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7378 { (case "(($ac_try" in
7379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7380 *) ac_try_echo=$ac_try;;
7382 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7383 $as_echo "$ac_try_echo") >&5
7384 (eval "$ac_try") 2>&5
7386 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7387 (exit $ac_status); }; }; then
7388 ac_cv_func_fork_works=yes
7390 $as_echo "$as_me: program exited with status
$ac_status" >&5
7391 $as_echo "$as_me: failed program was
:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7395 ac_cv_func_fork_works=no
7397 rm -rf conftest.dSYM
7398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7403 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
7404 $as_echo "$ac_cv_func_fork_works" >&6; }
7407 ac_cv_func_fork_works=$ac_cv_func_fork
7409 if test "x
$ac_cv_func_fork_works" = xcross; then
7411 *-*-amigaos* | *-*-msdosdjgpp*)
7412 # Override, as these systems have only a dummy fork() stub
7413 ac_cv_func_fork_works=no
7416 ac_cv_func_fork_works=yes
7419 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
7420 $as_echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
7422 ac_cv_func_vfork_works=$ac_cv_func_vfork
7423 if test "x
$ac_cv_func_vfork" = xyes; then
7424 { $as_echo "$as_me:$LINENO: checking
for working vfork
" >&5
7425 $as_echo_n "checking
for working vfork...
" >&6; }
7426 if test "${ac_cv_func_vfork_works+set}" = set; then
7427 $as_echo_n "(cached
) " >&6
7429 if test "$cross_compiling" = yes; then
7430 ac_cv_func_vfork_works=cross
7432 cat >conftest.$ac_ext <<_ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 /* Thanks to Paul Eggert for this test. */
7439 $ac_includes_default
7440 #include <sys/wait.h>
7444 /* On some sparc systems, changes by the child to local and incoming
7445 argument registers are propagated back to the parent. The compiler
7446 is told about this with #include <vfork.h>, but some compilers
7447 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7448 static variable whose address is put into a register that is
7449 clobbered by the vfork. */
7452 sparc_address_test (int arg)
7454 sparc_address_test (arg) int arg;
7475 pid_t parent = getpid ();
7478 sparc_address_test (0);
7483 /* Here is another test for sparc vfork register problems. This
7484 test uses lots of local variables, at least as many local
7485 variables as main has allocated so far including compiler
7486 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7487 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7488 reuse the register of parent for one of the local variables,
7489 since it will think that parent can't possibly be used any more
7490 in this routine. Assigning to the local variable will thus
7491 munge parent in the parent process. */
7493 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7494 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7495 /* Convince the compiler that p..p7 are live; otherwise, it might
7496 use the same hardware register for all 8 local variables. */
7497 if (p != p1 || p != p2 || p != p3 || p != p4
7498 || p != p5 || p != p6 || p != p7)
7501 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7502 from child file descriptors. If the child closes a descriptor
7503 before it execs or exits, this munges the parent's descriptor
7504 as well. Test for this by closing stdout in the child. */
7505 _exit(close(fileno(stdout)) != 0);
7510 while (wait(&status) != child)
7513 /* Was there some problem with vforking? */
7516 /* Did the child fail? (This shouldn't happen.) */
7519 /* Did the vfork/compiler bug occur? */
7520 || parent != getpid()
7522 /* Did the file descriptor bug occur? */
7523 || fstat(fileno(stdout), &st) != 0
7528 rm -f conftest$ac_exeext
7529 if { (ac_try="$ac_link"
7531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7532 *) ac_try_echo=$ac_try;;
7534 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7535 $as_echo "$ac_try_echo") >&5
7536 (eval "$ac_link") 2>&5
7538 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7540 { (case "(($ac_try" in
7541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7542 *) ac_try_echo=$ac_try;;
7544 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7545 $as_echo "$ac_try_echo") >&5
7546 (eval "$ac_try") 2>&5
7548 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7549 (exit $ac_status); }; }; then
7550 ac_cv_func_vfork_works=yes
7552 $as_echo "$as_me: program exited with status
$ac_status" >&5
7553 $as_echo "$as_me: failed program was
:" >&5
7554 sed 's/^/| /' conftest.$ac_ext >&5
7557 ac_cv_func_vfork_works=no
7559 rm -rf conftest.dSYM
7560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7565 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
7566 $as_echo "$ac_cv_func_vfork_works" >&6; }
7569 if test "x
$ac_cv_func_fork_works" = xcross; then
7570 ac_cv_func_vfork_works=$ac_cv_func_vfork
7571 { $as_echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
7572 $as_echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
7575 if test "x
$ac_cv_func_vfork_works" = xyes; then
7577 cat >>confdefs.h <<\_ACEOF
7578 #define HAVE_WORKING_VFORK 1
7583 cat >>confdefs.h <<\_ACEOF
7588 if test "x
$ac_cv_func_fork_works" = xyes; then
7590 cat >>confdefs.h <<\_ACEOF
7591 #define HAVE_WORKING_FORK 1
7596 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
7597 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
7598 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7599 $as_echo_n "(cached
) " >&6
7601 rm -f conftest.sym conftest.file
7603 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7604 if test "$cross_compiling" = yes; then
7605 ac_cv_func_lstat_dereferences_slashed_symlink=no
7607 cat >conftest.$ac_ext <<_ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 $ac_includes_default
7618 /* Linux will dereference the symlink and fail.
7619 That is better in the sense that it means we will not
7620 have to compile and use the lstat wrapper. */
7621 return lstat ("conftest.sym
/", &sbuf) == 0;
7626 rm -f conftest$ac_exeext
7627 if { (ac_try="$ac_link"
7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7630 *) ac_try_echo=$ac_try;;
7632 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7633 $as_echo "$ac_try_echo") >&5
7634 (eval "$ac_link") 2>&5
7636 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7638 { (case "(($ac_try" in
7639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7640 *) ac_try_echo=$ac_try;;
7642 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7643 $as_echo "$ac_try_echo") >&5
7644 (eval "$ac_try") 2>&5
7646 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7647 (exit $ac_status); }; }; then
7648 ac_cv_func_lstat_dereferences_slashed_symlink=yes
7650 $as_echo "$as_me: program exited with status
$ac_status" >&5
7651 $as_echo "$as_me: failed program was
:" >&5
7652 sed 's/^/| /' conftest.$ac_ext >&5
7655 ac_cv_func_lstat_dereferences_slashed_symlink=no
7657 rm -rf conftest.dSYM
7658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7663 # If the `ln -s' command failed, then we probably don't even
7664 # have an lstat function.
7665 ac_cv_func_lstat_dereferences_slashed_symlink=no
7667 rm -f conftest.sym conftest.file
7670 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7671 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7673 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7675 cat >>confdefs.h <<_ACEOF
7676 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7680 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7681 case " $LIBOBJS " in
7682 *" lstat.
$ac_objext "* ) ;;
7683 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7689 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string
" >&5
7690 $as_echo_n "checking whether lstat accepts an empty string...
" >&6; }
7691 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7692 $as_echo_n "(cached
) " >&6
7694 if test "$cross_compiling" = yes; then
7695 ac_cv_func_lstat_empty_string_bug=yes
7697 cat >conftest.$ac_ext <<_ACEOF
7700 cat confdefs.h >>conftest.$ac_ext
7701 cat >>conftest.$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7703 $ac_includes_default
7708 return lstat ("", &sbuf) == 0;
7713 rm -f conftest$ac_exeext
7714 if { (ac_try="$ac_link"
7716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7717 *) ac_try_echo=$ac_try;;
7719 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7720 $as_echo "$ac_try_echo") >&5
7721 (eval "$ac_link") 2>&5
7723 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7725 { (case "(($ac_try" in
7726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7729 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7730 $as_echo "$ac_try_echo") >&5
7731 (eval "$ac_try") 2>&5
7733 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7734 (exit $ac_status); }; }; then
7735 ac_cv_func_lstat_empty_string_bug=no
7737 $as_echo "$as_me: program exited with status
$ac_status" >&5
7738 $as_echo "$as_me: failed program was
:" >&5
7739 sed 's/^/| /' conftest.$ac_ext >&5
7742 ac_cv_func_lstat_empty_string_bug=yes
7744 rm -rf conftest.dSYM
7745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7750 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_empty_string_bug" >&5
7751 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7752 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7753 case " $LIBOBJS " in
7754 *" lstat.
$ac_objext "* ) ;;
7755 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
7760 cat >>confdefs.h <<_ACEOF
7761 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7767 for ac_header in stdlib.h
7769 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7770 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7771 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7772 $as_echo_n "checking
for $ac_header...
" >&6; }
7773 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7774 $as_echo_n "(cached
) " >&6
7776 ac_res=`eval 'as_val=${'$as_ac_Header'}
7777 $as_echo "$as_val"'`
7778 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7779 $as_echo "$ac_res" >&6; }
7781 # Is the header compilable?
7782 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
7783 $as_echo_n "checking
$ac_header usability...
" >&6; }
7784 cat >conftest.$ac_ext <<_ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7790 $ac_includes_default
7791 #include <$ac_header>
7793 rm -f conftest.$ac_objext
7794 if { (ac_try="$ac_compile"
7796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7797 *) ac_try_echo=$ac_try;;
7799 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7800 $as_echo "$ac_try_echo") >&5
7801 (eval "$ac_compile") 2>conftest.er1
7803 grep -v '^ *+' conftest.er1 >conftest.err
7805 cat conftest.err >&5
7806 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7807 (exit $ac_status); } && {
7808 test -z "$ac_c_werror_flag" ||
7809 test ! -s conftest.err
7810 } && test -s conftest.$ac_objext; then
7811 ac_header_compiler=yes
7813 $as_echo "$as_me: failed program was
:" >&5
7814 sed 's/^/| /' conftest.$ac_ext >&5
7816 ac_header_compiler=no
7819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7820 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
7821 $as_echo "$ac_header_compiler" >&6; }
7823 # Is the header present?
7824 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
7825 $as_echo_n "checking
$ac_header presence...
" >&6; }
7826 cat >conftest.$ac_ext <<_ACEOF
7829 cat confdefs.h >>conftest.$ac_ext
7830 cat >>conftest.$ac_ext <<_ACEOF
7831 /* end confdefs.h. */
7832 #include <$ac_header>
7834 if { (ac_try="$ac_cpp conftest.
$ac_ext"
7836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7837 *) ac_try_echo=$ac_try;;
7839 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7840 $as_echo "$ac_try_echo") >&5
7841 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
7843 grep -v '^ *+' conftest.er1 >conftest.err
7845 cat conftest.err >&5
7846 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7847 (exit $ac_status); } >/dev/null && {
7848 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7849 test ! -s conftest.err
7851 ac_header_preproc=yes
7853 $as_echo "$as_me: failed program was
:" >&5
7854 sed 's/^/| /' conftest.$ac_ext >&5
7856 ac_header_preproc=no
7859 rm -f conftest.err conftest.$ac_ext
7860 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
7861 $as_echo "$ac_header_preproc" >&6; }
7863 # So? What about this header?
7864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7866 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
7867 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
7868 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
7869 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
7870 ac_header_preproc=yes
7873 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
7874 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
7875 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
7876 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
7877 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
7878 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
7879 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
7880 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
7881 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
7882 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
7883 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
7884 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
7888 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7889 $as_echo_n "checking
for $ac_header...
" >&6; }
7890 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7891 $as_echo_n "(cached
) " >&6
7893 eval "$as_ac_Header=\
$ac_header_preproc"
7895 ac_res=`eval 'as_val=${'$as_ac_Header'}
7896 $as_echo "$as_val"'`
7897 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7898 $as_echo "$ac_res" >&6; }
7901 as_val=`eval 'as_val=${'$as_ac_Header'}
7902 $as_echo "$as_val"'`
7903 if test "x
$as_val" = x""yes; then
7904 cat >>confdefs.h <<_ACEOF
7905 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7912 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
7913 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
7914 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7915 $as_echo_n "(cached
) " >&6
7917 if test "$cross_compiling" = yes; then
7918 ac_cv_func_malloc_0_nonnull=no
7920 cat >conftest.$ac_ext <<_ACEOF
7923 cat confdefs.h >>conftest.$ac_ext
7924 cat >>conftest.$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7926 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7927 # include <stdlib.h>
7935 return ! malloc (0);
7940 rm -f conftest$ac_exeext
7941 if { (ac_try="$ac_link"
7943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7944 *) ac_try_echo=$ac_try;;
7946 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7947 $as_echo "$ac_try_echo") >&5
7948 (eval "$ac_link") 2>&5
7950 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7952 { (case "(($ac_try" in
7953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7954 *) ac_try_echo=$ac_try;;
7956 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7957 $as_echo "$ac_try_echo") >&5
7958 (eval "$ac_try") 2>&5
7960 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7961 (exit $ac_status); }; }; then
7962 ac_cv_func_malloc_0_nonnull=yes
7964 $as_echo "$as_me: program exited with status
$ac_status" >&5
7965 $as_echo "$as_me: failed program was
:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7969 ac_cv_func_malloc_0_nonnull=no
7971 rm -rf conftest.dSYM
7972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7977 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
7978 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7979 if test $ac_cv_func_malloc_0_nonnull = yes; then
7981 cat >>confdefs.h <<\_ACEOF
7982 #define HAVE_MALLOC 1
7986 cat >>confdefs.h <<\_ACEOF
7987 #define HAVE_MALLOC 0
7990 case " $LIBOBJS " in
7991 *" malloc.
$ac_objext "* ) ;;
7992 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
7997 cat >>confdefs.h <<\_ACEOF
7998 #define malloc rpl_malloc
8005 { $as_echo "$as_me:$LINENO: checking
for working memcmp
" >&5
8006 $as_echo_n "checking
for working memcmp...
" >&6; }
8007 if test "${ac_cv_func_memcmp_working+set}" = set; then
8008 $as_echo_n "(cached
) " >&6
8010 if test "$cross_compiling" = yes; then
8011 ac_cv_func_memcmp_working=no
8013 cat >conftest.$ac_ext <<_ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 $ac_includes_default
8024 /* Some versions of memcmp are not 8-bit clean. */
8025 char c0 = '\100', c1 = '\200', c2 = '\201';
8026 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8029 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8030 or more and with at least one buffer not starting on a 4-byte boundary.
8031 William Lewis provided this test program. */
8036 for (i = 0; i < 4; i++)
8040 strcpy (a, "--------01111111");
8041 strcpy (b, "--------10000000");
8042 if (memcmp (a, b, 16) >= 0)
8052 rm -f conftest$ac_exeext
8053 if { (ac_try="$ac_link"
8055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8056 *) ac_try_echo=$ac_try;;
8058 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8059 $as_echo "$ac_try_echo") >&5
8060 (eval "$ac_link") 2>&5
8062 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8064 { (case "(($ac_try" in
8065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8066 *) ac_try_echo=$ac_try;;
8068 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8069 $as_echo "$ac_try_echo") >&5
8070 (eval "$ac_try") 2>&5
8072 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8073 (exit $ac_status); }; }; then
8074 ac_cv_func_memcmp_working=yes
8076 $as_echo "$as_me: program exited with status
$ac_status" >&5
8077 $as_echo "$as_me: failed program was
:" >&5
8078 sed 's/^/| /' conftest.$ac_ext >&5
8081 ac_cv_func_memcmp_working=no
8083 rm -rf conftest.dSYM
8084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8089 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
8090 $as_echo "$ac_cv_func_memcmp_working" >&6; }
8091 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
8092 *" memcmp.
$ac_objext "* ) ;;
8093 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
8100 for ac_header in stdlib.h unistd.h
8102 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8103 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8104 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8105 $as_echo_n "checking
for $ac_header...
" >&6; }
8106 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8107 $as_echo_n "(cached
) " >&6
8109 ac_res=`eval 'as_val=${'$as_ac_Header'}
8110 $as_echo "$as_val"'`
8111 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8112 $as_echo "$ac_res" >&6; }
8114 # Is the header compilable?
8115 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
8116 $as_echo_n "checking
$ac_header usability...
" >&6; }
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 $ac_includes_default
8124 #include <$ac_header>
8126 rm -f conftest.$ac_objext
8127 if { (ac_try="$ac_compile"
8129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8130 *) ac_try_echo=$ac_try;;
8132 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8133 $as_echo "$ac_try_echo") >&5
8134 (eval "$ac_compile") 2>conftest.er1
8136 grep -v '^ *+' conftest.er1 >conftest.err
8138 cat conftest.err >&5
8139 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8140 (exit $ac_status); } && {
8141 test -z "$ac_c_werror_flag" ||
8142 test ! -s conftest.err
8143 } && test -s conftest.$ac_objext; then
8144 ac_header_compiler=yes
8146 $as_echo "$as_me: failed program was
:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 ac_header_compiler=no
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8153 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
8154 $as_echo "$ac_header_compiler" >&6; }
8156 # Is the header present?
8157 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
8158 $as_echo_n "checking
$ac_header presence...
" >&6; }
8159 cat >conftest.$ac_ext <<_ACEOF
8162 cat confdefs.h >>conftest.$ac_ext
8163 cat >>conftest.$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8165 #include <$ac_header>
8167 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8170 *) ac_try_echo=$ac_try;;
8172 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8173 $as_echo "$ac_try_echo") >&5
8174 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8176 grep -v '^ *+' conftest.er1 >conftest.err
8178 cat conftest.err >&5
8179 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8180 (exit $ac_status); } >/dev/null && {
8181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8182 test ! -s conftest.err
8184 ac_header_preproc=yes
8186 $as_echo "$as_me: failed program was
:" >&5
8187 sed 's/^/| /' conftest.$ac_ext >&5
8189 ac_header_preproc=no
8192 rm -f conftest.err conftest.$ac_ext
8193 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
8194 $as_echo "$ac_header_preproc" >&6; }
8196 # So? What about this header?
8197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8199 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
8200 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
8201 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
8202 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
8203 ac_header_preproc=yes
8206 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
8207 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
8208 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
8209 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
8210 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
8211 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
8212 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
8213 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
8214 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
8215 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
8216 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
8217 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
8221 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8222 $as_echo_n "checking
for $ac_header...
" >&6; }
8223 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8224 $as_echo_n "(cached
) " >&6
8226 eval "$as_ac_Header=\
$ac_header_preproc"
8228 ac_res=`eval 'as_val=${'$as_ac_Header'}
8229 $as_echo "$as_val"'`
8230 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8231 $as_echo "$ac_res" >&6; }
8234 as_val=`eval 'as_val=${'$as_ac_Header'}
8235 $as_echo "$as_val"'`
8236 if test "x
$as_val" = x""yes; then
8237 cat >>confdefs.h <<_ACEOF
8238 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8246 for ac_func in getpagesize
8248 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8249 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8250 $as_echo_n "checking
for $ac_func...
" >&6; }
8251 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8252 $as_echo_n "(cached
) " >&6
8254 cat >conftest.$ac_ext <<_ACEOF
8257 cat confdefs.h >>conftest.$ac_ext
8258 cat >>conftest.$ac_ext <<_ACEOF
8259 /* end confdefs.h. */
8260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8262 #define $ac_func innocuous_$ac_func
8264 /* System header to define __stub macros and hopefully few prototypes,
8265 which can conflict with char $ac_func (); below.
8266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8267 <limits.h> exists even on freestanding compilers. */
8270 # include <limits.h>
8272 # include <assert.h>
8277 /* Override any GCC internal prototype to avoid an error.
8278 Use char because int might match the return type of a GCC
8279 builtin and then its argument prototype would still apply. */
8284 /* The GNU C library defines this for functions which it implements
8285 to always fail with ENOSYS. Some functions are actually named
8286 something starting with __ and the normal name is an alias. */
8287 #if defined __stub_$ac_func || defined __stub___$ac_func
8299 rm -f conftest.$ac_objext conftest$ac_exeext
8300 if { (ac_try="$ac_link"
8302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8303 *) ac_try_echo=$ac_try;;
8305 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8306 $as_echo "$ac_try_echo") >&5
8307 (eval "$ac_link") 2>conftest.er1
8309 grep -v '^ *+' conftest.er1 >conftest.err
8311 cat conftest.err >&5
8312 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8313 (exit $ac_status); } && {
8314 test -z "$ac_c_werror_flag" ||
8315 test ! -s conftest.err
8316 } && test -s conftest$ac_exeext && {
8317 test "$cross_compiling" = yes ||
8318 $as_test_x conftest$ac_exeext
8320 eval "$as_ac_var=yes"
8322 $as_echo "$as_me: failed program was
:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 eval "$as_ac_var=no
"
8328 rm -rf conftest.dSYM
8329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8330 conftest$ac_exeext conftest.$ac_ext
8332 ac_res=`eval 'as_val=${'$as_ac_var'}
8333 $as_echo "$as_val"'`
8334 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8335 $as_echo "$ac_res" >&6; }
8336 as_val=`eval 'as_val=${'$as_ac_var'}
8337 $as_echo "$as_val"'`
8338 if test "x
$as_val" = x""yes; then
8339 cat >>confdefs.h <<_ACEOF
8340 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8346 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
8347 $as_echo_n "checking
for working mmap...
" >&6; }
8348 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8349 $as_echo_n "(cached
) " >&6
8351 if test "$cross_compiling" = yes; then
8352 ac_cv_func_mmap_fixed_mapped=no
8354 cat >conftest.$ac_ext <<_ACEOF
8357 cat confdefs.h >>conftest.$ac_ext
8358 cat >>conftest.$ac_ext <<_ACEOF
8359 /* end confdefs.h. */
8360 $ac_includes_default
8361 /* malloc might have been renamed as rpl_malloc. */
8364 /* Thanks to Mike Haertel and Jim Avera for this test.
8365 Here is a matrix of mmap possibilities:
8366 mmap private not fixed
8367 mmap private fixed at somewhere currently unmapped
8368 mmap private fixed at somewhere already mapped
8369 mmap shared not fixed
8370 mmap shared fixed at somewhere currently unmapped
8371 mmap shared fixed at somewhere already mapped
8372 For private mappings, we should verify that changes cannot be read()
8373 back from the file, nor mmap's back from the file at a different
8374 address. (There have been systems where private was not correctly
8375 implemented like the infamous i386 svr4.0, and systems where the
8376 VM page cache was not coherent with the file system buffer cache
8377 like early versions of FreeBSD and possibly contemporary NetBSD.)
8378 For shared mappings, we should conversely verify that changes get
8379 propagated back to all the places they're supposed to be.
8381 Grep wants private fixed already mapped.
8382 The main things grep needs to know about mmap are:
8383 * does it exist and is it safe to write into the mmap'd area
8384 * how to use it (BSD variants) */
8387 #include <sys/mman.h>
8389 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8393 /* This mess was copied from the GNU getpagesize.h. */
8394 #ifndef HAVE_GETPAGESIZE
8395 /* Assume that all systems that can run configure have sys/param.h. */
8396 # ifndef HAVE_SYS_PARAM_H
8397 # define HAVE_SYS_PARAM_H 1
8400 # ifdef _SC_PAGESIZE
8401 # define getpagesize() sysconf(_SC_PAGESIZE)
8402 # else /* no _SC_PAGESIZE */
8403 # ifdef HAVE_SYS_PARAM_H
8404 # include <sys/param.h>
8405 # ifdef EXEC_PAGESIZE
8406 # define getpagesize() EXEC_PAGESIZE
8407 # else /* no EXEC_PAGESIZE */
8409 # define getpagesize() NBPG * CLSIZE
8412 # endif /* no CLSIZE */
8413 # else /* no NBPG */
8415 # define getpagesize() NBPC
8416 # else /* no NBPC */
8418 # define getpagesize() PAGESIZE
8419 # endif /* PAGESIZE */
8420 # endif /* no NBPC */
8421 # endif /* no NBPG */
8422 # endif /* no EXEC_PAGESIZE */
8423 # else /* no HAVE_SYS_PARAM_H */
8424 # define getpagesize() 8192 /* punt totally */
8425 # endif /* no HAVE_SYS_PARAM_H */
8426 # endif /* no _SC_PAGESIZE */
8428 #endif /* no HAVE_GETPAGESIZE */
8433 char *data, *data2, *data3;
8437 pagesize = getpagesize ();
8439 /* First, make a file with some known garbage in it. */
8440 data = (char *) malloc (pagesize);
8443 for (i = 0; i < pagesize; ++i)
8444 *(data + i) = rand ();
8446 fd = creat ("conftest.mmap
", 0600);
8449 if (write (fd, data, pagesize) != pagesize)
8453 /* Next, try to mmap the file at a fixed address which already has
8454 something else allocated at it. If we can, also make sure that
8455 we see the same garbage. */
8456 fd = open ("conftest.mmap
", O_RDWR);
8459 data2 = (char *) malloc (2 * pagesize);
8462 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8463 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8464 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8466 for (i = 0; i < pagesize; ++i)
8467 if (*(data + i) != *(data2 + i))
8470 /* Finally, make sure that changes to the mapped area do not
8471 percolate back to the file as seen by read(). (This is a bug on
8472 some variants of i386 svr4.0.) */
8473 for (i = 0; i < pagesize; ++i)
8474 *(data2 + i) = *(data2 + i) + 1;
8475 data3 = (char *) malloc (pagesize);
8478 if (read (fd, data3, pagesize) != pagesize)
8480 for (i = 0; i < pagesize; ++i)
8481 if (*(data + i) != *(data3 + i))
8487 rm -f conftest$ac_exeext
8488 if { (ac_try="$ac_link"
8490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8491 *) ac_try_echo=$ac_try;;
8493 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8494 $as_echo "$ac_try_echo") >&5
8495 (eval "$ac_link") 2>&5
8497 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8499 { (case "(($ac_try" in
8500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8501 *) ac_try_echo=$ac_try;;
8503 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8504 $as_echo "$ac_try_echo") >&5
8505 (eval "$ac_try") 2>&5
8507 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8508 (exit $ac_status); }; }; then
8509 ac_cv_func_mmap_fixed_mapped=yes
8511 $as_echo "$as_me: program exited with status
$ac_status" >&5
8512 $as_echo "$as_me: failed program was
:" >&5
8513 sed 's/^/| /' conftest.$ac_ext >&5
8516 ac_cv_func_mmap_fixed_mapped=no
8518 rm -rf conftest.dSYM
8519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8524 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
8525 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8526 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8528 cat >>confdefs.h <<\_ACEOF
8535 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
8536 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
8537 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8538 $as_echo_n "(cached
) " >&6
8540 if test "$cross_compiling" = yes; then
8541 ac_cv_func_stat_empty_string_bug=yes
8543 cat >conftest.$ac_ext <<_ACEOF
8546 cat confdefs.h >>conftest.$ac_ext
8547 cat >>conftest.$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 $ac_includes_default
8554 return stat ("", &sbuf) == 0;
8559 rm -f conftest$ac_exeext
8560 if { (ac_try="$ac_link"
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8566 $as_echo "$ac_try_echo") >&5
8567 (eval "$ac_link") 2>&5
8569 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8571 { (case "(($ac_try" in
8572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8573 *) ac_try_echo=$ac_try;;
8575 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8576 $as_echo "$ac_try_echo") >&5
8577 (eval "$ac_try") 2>&5
8579 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8580 (exit $ac_status); }; }; then
8581 ac_cv_func_stat_empty_string_bug=no
8583 $as_echo "$as_me: program exited with status
$ac_status" >&5
8584 $as_echo "$as_me: failed program was
:" >&5
8585 sed 's/^/| /' conftest.$ac_ext >&5
8588 ac_cv_func_stat_empty_string_bug=yes
8590 rm -rf conftest.dSYM
8591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8596 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
8597 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8598 if test $ac_cv_func_stat_empty_string_bug = yes; then
8599 case " $LIBOBJS " in
8600 *" stat.
$ac_objext "* ) ;;
8601 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
8606 cat >>confdefs.h <<_ACEOF
8607 #define HAVE_STAT_EMPTY_STRING_BUG 1
8612 { $as_echo "$as_me:$LINENO: checking
for working strtod
" >&5
8613 $as_echo_n "checking
for working strtod...
" >&6; }
8614 if test "${ac_cv_func_strtod+set}" = set; then
8615 $as_echo_n "(cached
) " >&6
8617 if test "$cross_compiling" = yes; then
8618 ac_cv_func_strtod=no
8620 cat >conftest.$ac_ext <<_ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8627 $ac_includes_default
8635 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8636 char *string = " +69";
8639 value = strtod (string, &term);
8640 if (value != 69 || term != (string + 4))
8645 /* Under Solaris 2.4, strtod returns the wrong value for the
8646 terminating character under some conditions. */
8647 char *string = "NaN
";
8649 strtod (string, &term);
8650 if (term != string && *(term - 1) == 0)
8657 rm -f conftest$ac_exeext
8658 if { (ac_try="$ac_link"
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8663 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8664 $as_echo "$ac_try_echo") >&5
8665 (eval "$ac_link") 2>&5
8667 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8669 { (case "(($ac_try" in
8670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8671 *) ac_try_echo=$ac_try;;
8673 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8674 $as_echo "$ac_try_echo") >&5
8675 (eval "$ac_try") 2>&5
8677 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8678 (exit $ac_status); }; }; then
8679 ac_cv_func_strtod=yes
8681 $as_echo "$as_me: program exited with status
$ac_status" >&5
8682 $as_echo "$as_me: failed program was
:" >&5
8683 sed 's/^/| /' conftest.$ac_ext >&5
8686 ac_cv_func_strtod=no
8688 rm -rf conftest.dSYM
8689 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8694 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
8695 $as_echo "$ac_cv_func_strtod" >&6; }
8696 if test $ac_cv_func_strtod = no; then
8697 case " $LIBOBJS " in
8698 *" strtod.
$ac_objext "* ) ;;
8699 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
8703 { $as_echo "$as_me:$LINENO: checking
for pow
" >&5
8704 $as_echo_n "checking
for pow...
" >&6; }
8705 if test "${ac_cv_func_pow+set}" = set; then
8706 $as_echo_n "(cached
) " >&6
8708 cat >conftest.$ac_ext <<_ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8714 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8716 #define pow innocuous_pow
8718 /* System header to define __stub macros and hopefully few prototypes,
8719 which can conflict with char pow (); below.
8720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8721 <limits.h> exists even on freestanding compilers. */
8724 # include <limits.h>
8726 # include <assert.h>
8731 /* Override any GCC internal prototype to avoid an error.
8732 Use char because int might match the return type of a GCC
8733 builtin and then its argument prototype would still apply. */
8738 /* The GNU C library defines this for functions which it implements
8739 to always fail with ENOSYS. Some functions are actually named
8740 something starting with __ and the normal name is an alias. */
8741 #if defined __stub_pow || defined __stub___pow
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8759 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8760 $as_echo "$ac_try_echo") >&5
8761 (eval "$ac_link") 2>conftest.er1
8763 grep -v '^ *+' conftest.er1 >conftest.err
8765 cat conftest.err >&5
8766 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8767 (exit $ac_status); } && {
8768 test -z "$ac_c_werror_flag" ||
8769 test ! -s conftest.err
8770 } && test -s conftest$ac_exeext && {
8771 test "$cross_compiling" = yes ||
8772 $as_test_x conftest$ac_exeext
8776 $as_echo "$as_me: failed program was
:" >&5
8777 sed 's/^/| /' conftest.$ac_ext >&5
8782 rm -rf conftest.dSYM
8783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8784 conftest$ac_exeext conftest.$ac_ext
8786 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
8787 $as_echo "$ac_cv_func_pow" >&6; }
8789 if test $ac_cv_func_pow = no; then
8790 { $as_echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
8791 $as_echo_n "checking
for pow
in -lm...
" >&6; }
8792 if test "${ac_cv_lib_m_pow+set}" = set; then
8793 $as_echo_n "(cached
) " >&6
8795 ac_check_lib_save_LIBS=$LIBS
8797 cat >conftest.$ac_ext <<_ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8804 /* Override any GCC internal prototype to avoid an error.
8805 Use char because int might match the return type of a GCC
8806 builtin and then its argument prototype would still apply. */
8819 rm -f conftest.$ac_objext conftest$ac_exeext
8820 if { (ac_try="$ac_link"
8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823 *) ac_try_echo=$ac_try;;
8825 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8826 $as_echo "$ac_try_echo") >&5
8827 (eval "$ac_link") 2>conftest.er1
8829 grep -v '^ *+' conftest.er1 >conftest.err
8831 cat conftest.err >&5
8832 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8833 (exit $ac_status); } && {
8834 test -z "$ac_c_werror_flag" ||
8835 test ! -s conftest.err
8836 } && test -s conftest$ac_exeext && {
8837 test "$cross_compiling" = yes ||
8838 $as_test_x conftest$ac_exeext
8842 $as_echo "$as_me: failed program was
:" >&5
8843 sed 's/^/| /' conftest.$ac_ext >&5
8848 rm -rf conftest.dSYM
8849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
8854 $as_echo "$ac_cv_lib_m_pow" >&6; }
8855 if test "x
$ac_cv_lib_m_pow" = x""yes; then
8858 { $as_echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
8859 $as_echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
8867 for ac_func in vprintf
8869 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8870 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
8871 $as_echo_n "checking
for $ac_func...
" >&6; }
8872 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8873 $as_echo_n "(cached
) " >&6
8875 cat >conftest.$ac_ext <<_ACEOF
8878 cat confdefs.h >>conftest.$ac_ext
8879 cat >>conftest.$ac_ext <<_ACEOF
8880 /* end confdefs.h. */
8881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8883 #define $ac_func innocuous_$ac_func
8885 /* System header to define __stub macros and hopefully few prototypes,
8886 which can conflict with char $ac_func (); below.
8887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8888 <limits.h> exists even on freestanding compilers. */
8891 # include <limits.h>
8893 # include <assert.h>
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8905 /* The GNU C library defines this for functions which it implements
8906 to always fail with ENOSYS. Some functions are actually named
8907 something starting with __ and the normal name is an alias. */
8908 #if defined __stub_$ac_func || defined __stub___$ac_func
8920 rm -f conftest.$ac_objext conftest$ac_exeext
8921 if { (ac_try="$ac_link"
8923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8924 *) ac_try_echo=$ac_try;;
8926 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8927 $as_echo "$ac_try_echo") >&5
8928 (eval "$ac_link") 2>conftest.er1
8930 grep -v '^ *+' conftest.er1 >conftest.err
8932 cat conftest.err >&5
8933 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8934 (exit $ac_status); } && {
8935 test -z "$ac_c_werror_flag" ||
8936 test ! -s conftest.err
8937 } && test -s conftest$ac_exeext && {
8938 test "$cross_compiling" = yes ||
8939 $as_test_x conftest$ac_exeext
8941 eval "$as_ac_var=yes"
8943 $as_echo "$as_me: failed program was
:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8946 eval "$as_ac_var=no
"
8949 rm -rf conftest.dSYM
8950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8951 conftest$ac_exeext conftest.$ac_ext
8953 ac_res=`eval 'as_val=${'$as_ac_var'}
8954 $as_echo "$as_val"'`
8955 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8956 $as_echo "$ac_res" >&6; }
8957 as_val=`eval 'as_val=${'$as_ac_var'}
8958 $as_echo "$as_val"'`
8959 if test "x
$as_val" = x""yes; then
8960 cat >>confdefs.h <<_ACEOF
8961 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
8964 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
8965 $as_echo_n "checking
for _doprnt...
" >&6; }
8966 if test "${ac_cv_func__doprnt+set}" = set; then
8967 $as_echo_n "(cached
) " >&6
8969 cat >conftest.$ac_ext <<_ACEOF
8972 cat confdefs.h >>conftest.$ac_ext
8973 cat >>conftest.$ac_ext <<_ACEOF
8974 /* end confdefs.h. */
8975 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8977 #define _doprnt innocuous__doprnt
8979 /* System header to define __stub macros and hopefully few prototypes,
8980 which can conflict with char _doprnt (); below.
8981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8982 <limits.h> exists even on freestanding compilers. */
8985 # include <limits.h>
8987 # include <assert.h>
8992 /* Override any GCC internal prototype to avoid an error.
8993 Use char because int might match the return type of a GCC
8994 builtin and then its argument prototype would still apply. */
8999 /* The GNU C library defines this for functions which it implements
9000 to always fail with ENOSYS. Some functions are actually named
9001 something starting with __ and the normal name is an alias. */
9002 #if defined __stub__doprnt || defined __stub____doprnt
9014 rm -f conftest.$ac_objext conftest$ac_exeext
9015 if { (ac_try="$ac_link"
9017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9020 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9021 $as_echo "$ac_try_echo") >&5
9022 (eval "$ac_link") 2>conftest.er1
9024 grep -v '^ *+' conftest.er1 >conftest.err
9026 cat conftest.err >&5
9027 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9028 (exit $ac_status); } && {
9029 test -z "$ac_c_werror_flag" ||
9030 test ! -s conftest.err
9031 } && test -s conftest$ac_exeext && {
9032 test "$cross_compiling" = yes ||
9033 $as_test_x conftest$ac_exeext
9035 ac_cv_func__doprnt=yes
9037 $as_echo "$as_me: failed program was
:" >&5
9038 sed 's/^/| /' conftest.$ac_ext >&5
9040 ac_cv_func__doprnt=no
9043 rm -rf conftest.dSYM
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9045 conftest$ac_exeext conftest.$ac_ext
9047 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
9048 $as_echo "$ac_cv_func__doprnt" >&6; }
9049 if test "x
$ac_cv_func__doprnt" = x""yes; then
9051 cat >>confdefs.h <<\_ACEOF
9052 #define HAVE_DOPRNT 1
9062 ################################################################################
9063 { $as_echo "$as_me:$LINENO: checking whether to use static linking
" >&5
9064 $as_echo_n "checking whether to use static linking...
" >&6; }
9065 # Check whether --enable-static_link was given.
9066 if test "${enable_static_link+set}" = set; then
9067 enableval=$enable_static_link; STATIC_LINK=$enableval
9072 { $as_echo "$as_me:$LINENO: result
: $STATIC_LINK" >&5
9073 $as_echo "$STATIC_LINK" >&6; }
9075 ################################################################################
9078 ################################################################################
9079 { $as_echo "$as_me:$LINENO: checking
file owner
" >&5
9080 $as_echo_n "checking
file owner...
" >&6; }
9084 # Check whether --with-user was given.
9085 if test "${with_user+set}" = set; then
9086 withval=$with_user; OWNER="$withval"
9089 { $as_echo "$as_me:$LINENO: result
: $OWNER" >&5
9090 $as_echo "$OWNER" >&6; }
9092 if test x$OWNER != x; then
9096 ################################################################################
9097 { $as_echo "$as_me:$LINENO: checking group owner
" >&5
9098 $as_echo_n "checking group owner...
" >&6; }
9101 # Check whether --with-group was given.
9102 if test "${with_group+set}" = set; then
9103 withval=$with_group; GROUP="$withval"
9106 { $as_echo "$as_me:$LINENO: result
: $GROUP" >&5
9107 $as_echo "$GROUP" >&6; }
9109 if test x$GROUP != x; then
9113 ################################################################################
9114 { $as_echo "$as_me:$LINENO: checking device node uid
" >&5
9115 $as_echo_n "checking device node uid...
" >&6; }
9118 # Check whether --with-device-uid was given.
9119 if test "${with_device_uid+set}" = set; then
9120 withval=$with_device_uid; DM_DEVICE_UID="$withval"
9125 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_UID" >&5
9126 $as_echo "$DM_DEVICE_UID" >&6; }
9128 ################################################################################
9129 { $as_echo "$as_me:$LINENO: checking device node gid
" >&5
9130 $as_echo_n "checking device node gid...
" >&6; }
9133 # Check whether --with-device-gid was given.
9134 if test "${with_device_gid+set}" = set; then
9135 withval=$with_device_gid; DM_DEVICE_GID="$withval"
9140 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_GID" >&5
9141 $as_echo "$DM_DEVICE_GID" >&6; }
9143 ################################################################################
9144 { $as_echo "$as_me:$LINENO: checking device node mode
" >&5
9145 $as_echo_n "checking device node mode...
" >&6; }
9148 # Check whether --with-device-mode was given.
9149 if test "${with_device_mode+set}" = set; then
9150 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
9152 DM_DEVICE_MODE="0600"
9155 { $as_echo "$as_me:$LINENO: result
: $DM_DEVICE_MODE" >&5
9156 $as_echo "$DM_DEVICE_MODE" >&6; }
9158 ################################################################################
9159 { $as_echo "$as_me:$LINENO: checking whether to
enable lvm1 fallback
" >&5
9160 $as_echo_n "checking whether to
enable lvm1 fallback...
" >&6; }
9161 # Check whether --enable-lvm1_fallback was given.
9162 if test "${enable_lvm1_fallback+set}" = set; then
9163 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
9168 { $as_echo "$as_me:$LINENO: result
: $LVM1_FALLBACK" >&5
9169 $as_echo "$LVM1_FALLBACK" >&6; }
9171 if test x$LVM1_FALLBACK = xyes; then
9173 cat >>confdefs.h <<\_ACEOF
9174 #define LVM1_FALLBACK 1
9179 ################################################################################
9180 { $as_echo "$as_me:$LINENO: checking whether to include support
for lvm1 metadata
" >&5
9181 $as_echo_n "checking whether to include support
for lvm1 metadata...
" >&6; }
9183 # Check whether --with-lvm1 was given.
9184 if test "${with_lvm1+set}" = set; then
9185 withval=$with_lvm1; LVM1="$withval"
9190 { $as_echo "$as_me:$LINENO: result
: $LVM1" >&5
9191 $as_echo "$LVM1" >&6; }
9193 if [ "x
$LVM1" != xnone -a "x
$LVM1" != xinternal -a "x
$LVM1" != xshared ];
9194 then { { $as_echo "$as_me:$LINENO: error
: --with-lvm1 parameter invalid
9196 $as_echo "$as_me: error
: --with-lvm1 parameter invalid
9198 { (exit 1); exit 1; }; }
9201 if test x$LVM1 = xinternal; then
9203 cat >>confdefs.h <<\_ACEOF
9204 #define LVM1_INTERNAL 1
9209 ################################################################################
9210 { $as_echo "$as_me:$LINENO: checking whether to include support
for GFS pool metadata
" >&5
9211 $as_echo_n "checking whether to include support
for GFS pool metadata...
" >&6; }
9213 # Check whether --with-pool was given.
9214 if test "${with_pool+set}" = set; then
9215 withval=$with_pool; POOL="$withval"
9220 { $as_echo "$as_me:$LINENO: result
: $POOL" >&5
9221 $as_echo "$POOL" >&6; }
9223 if [ "x
$POOL" != xnone -a "x
$POOL" != xinternal -a "x
$POOL" != xshared ];
9224 then { { $as_echo "$as_me:$LINENO: error
: --with-pool parameter invalid
9226 $as_echo "$as_me: error
: --with-pool parameter invalid
9228 { (exit 1); exit 1; }; }
9231 if test x$POOL = xinternal; then
9233 cat >>confdefs.h <<\_ACEOF
9234 #define POOL_INTERNAL 1
9239 ################################################################################
9240 { $as_echo "$as_me:$LINENO: checking whether to include support
for cluster locking
" >&5
9241 $as_echo_n "checking whether to include support
for cluster locking...
" >&6; }
9243 # Check whether --with-cluster was given.
9244 if test "${with_cluster+set}" = set; then
9245 withval=$with_cluster; CLUSTER="$withval"
9248 { $as_echo "$as_me:$LINENO: result
: $CLUSTER" >&5
9249 $as_echo "$CLUSTER" >&6; }
9251 if [ "x
$CLUSTER" != xnone -a "x
$CLUSTER" != xinternal -a "x
$CLUSTER" != xshared ];
9252 then { { $as_echo "$as_me:$LINENO: error
: --with-cluster parameter invalid
9254 $as_echo "$as_me: error
: --with-cluster parameter invalid
9256 { (exit 1); exit 1; }; }
9259 if test x$CLUSTER = xinternal; then
9261 cat >>confdefs.h <<\_ACEOF
9262 #define CLUSTER_LOCKING_INTERNAL 1
9267 ################################################################################
9268 { $as_echo "$as_me:$LINENO: checking whether to include snapshots
" >&5
9269 $as_echo_n "checking whether to include snapshots...
" >&6; }
9271 # Check whether --with-snapshots was given.
9272 if test "${with_snapshots+set}" = set; then
9273 withval=$with_snapshots; SNAPSHOTS="$withval"
9275 SNAPSHOTS="internal
"
9278 { $as_echo "$as_me:$LINENO: result
: $SNAPSHOTS" >&5
9279 $as_echo "$SNAPSHOTS" >&6; }
9281 if [ "x
$SNAPSHOTS" != xnone -a "x
$SNAPSHOTS" != xinternal -a "x
$SNAPSHOTS" != xshared ];
9282 then { { $as_echo "$as_me:$LINENO: error
: --with-snapshots parameter invalid
9284 $as_echo "$as_me: error
: --with-snapshots parameter invalid
9286 { (exit 1); exit 1; }; }
9289 if test x$SNAPSHOTS = xinternal; then
9291 cat >>confdefs.h <<\_ACEOF
9292 #define SNAPSHOT_INTERNAL 1
9297 ################################################################################
9298 { $as_echo "$as_me:$LINENO: checking whether to include mirrors
" >&5
9299 $as_echo_n "checking whether to include mirrors...
" >&6; }
9301 # Check whether --with-mirrors was given.
9302 if test "${with_mirrors+set}" = set; then
9303 withval=$with_mirrors; MIRRORS="$withval"
9308 { $as_echo "$as_me:$LINENO: result
: $MIRRORS" >&5
9309 $as_echo "$MIRRORS" >&6; }
9311 if [ "x
$MIRRORS" != xnone -a "x
$MIRRORS" != xinternal -a "x
$MIRRORS" != xshared ];
9312 then { { $as_echo "$as_me:$LINENO: error
: --with-mirrors parameter invalid
9314 $as_echo "$as_me: error
: --with-mirrors parameter invalid
9316 { (exit 1); exit 1; }; }
9319 if test x$MIRRORS = xinternal; then
9321 cat >>confdefs.h <<\_ACEOF
9322 #define MIRRORED_INTERNAL 1
9327 ################################################################################
9328 { $as_echo "$as_me:$LINENO: checking whether to
enable readline
" >&5
9329 $as_echo_n "checking whether to
enable readline...
" >&6; }
9330 # Check whether --enable-readline was given.
9331 if test "${enable_readline+set}" = set; then
9332 enableval=$enable_readline; READLINE=$enableval
9337 { $as_echo "$as_me:$LINENO: result
: $READLINE" >&5
9338 $as_echo "$READLINE" >&6; }
9340 ################################################################################
9341 { $as_echo "$as_me:$LINENO: checking whether to
enable realtime support
" >&5
9342 $as_echo_n "checking whether to
enable realtime support...
" >&6; }
9343 # Check whether --enable-realtime was given.
9344 if test "${enable_realtime+set}" = set; then
9345 enableval=$enable_realtime; REALTIME=$enableval
9348 { $as_echo "$as_me:$LINENO: result
: $REALTIME" >&5
9349 $as_echo "$REALTIME" >&6; }
9351 ################################################################################
9355 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
9356 if test -n "$ac_tool_prefix"; then
9357 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
9358 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9359 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9360 $as_echo_n "checking
for $ac_word...
" >&6; }
9361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9362 $as_echo_n "(cached
) " >&6
9366 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 test -z "$as_dir" && as_dir=.
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9376 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9377 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9388 if test -n "$PKG_CONFIG"; then
9389 { $as_echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
9390 $as_echo "$PKG_CONFIG" >&6; }
9392 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9393 $as_echo "no
" >&6; }
9398 if test -z "$ac_cv_path_PKG_CONFIG"; then
9399 ac_pt_PKG_CONFIG=$PKG_CONFIG
9400 # Extract the first word of "pkg-config
", so it can be a program name with args.
9401 set dummy pkg-config; ac_word=$2
9402 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9403 $as_echo_n "checking
for $ac_word...
" >&6; }
9404 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9405 $as_echo_n "(cached
) " >&6
9407 case $ac_pt_PKG_CONFIG in
9409 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9416 test -z "$as_dir" && as_dir=.
9417 for ac_exec_ext in '' $ac_executable_extensions; do
9418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9419 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9420 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9430 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9431 if test -n "$ac_pt_PKG_CONFIG"; then
9432 { $as_echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
9433 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9435 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9436 $as_echo "no
" >&6; }
9439 if test "x
$ac_pt_PKG_CONFIG" = x; then
9442 case $cross_compiling:$ac_tool_warned in
9444 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9445 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9446 ac_tool_warned=yes ;;
9448 PKG_CONFIG=$ac_pt_PKG_CONFIG
9451 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9455 if test -n "$PKG_CONFIG"; then
9456 _pkg_min_version=0.9.0
9457 { $as_echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
9458 $as_echo_n "checking pkg-config is
at least version
$_pkg_min_version...
" >&6; }
9459 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9460 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9461 $as_echo "yes" >&6; }
9463 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9464 $as_echo "no
" >&6; }
9471 { $as_echo "$as_me:$LINENO: checking
for PKGCONFIGINIT
" >&5
9472 $as_echo_n "checking
for PKGCONFIGINIT...
" >&6; }
9474 if test -n "$PKGCONFIGINIT_CFLAGS"; then
9475 pkg_cv_PKGCONFIGINIT_CFLAGS="$PKGCONFIGINIT_CFLAGS"
9476 elif test -n "$PKG_CONFIG"; then
9477 if test -n "$PKG_CONFIG" && \
9478 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9479 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9481 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9482 (exit $ac_status); }; then
9483 pkg_cv_PKGCONFIGINIT_CFLAGS=`$PKG_CONFIG --cflags "pkgconfiginit
" 2>/dev/null`
9490 if test -n "$PKGCONFIGINIT_LIBS"; then
9491 pkg_cv_PKGCONFIGINIT_LIBS="$PKGCONFIGINIT_LIBS"
9492 elif test -n "$PKG_CONFIG"; then
9493 if test -n "$PKG_CONFIG" && \
9494 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"pkgconfiginit
\"") >&5
9495 ($PKG_CONFIG --exists --print-errors "pkgconfiginit
") 2>&5
9497 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9498 (exit $ac_status); }; then
9499 pkg_cv_PKGCONFIGINIT_LIBS=`$PKG_CONFIG --libs "pkgconfiginit
" 2>/dev/null`
9509 if test $pkg_failed = yes; then
9511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9512 _pkg_short_errors_supported=yes
9514 _pkg_short_errors_supported=no
9516 if test $_pkg_short_errors_supported = yes; then
9517 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pkgconfiginit
" 2>&1`
9519 PKGCONFIGINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "pkgconfiginit
" 2>&1`
9521 # Put the nasty error message in config.log where it belongs
9522 echo "$PKGCONFIGINIT_PKG_ERRORS" >&5
9524 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9525 $as_echo "no
" >&6; }
9526 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9527 $as_echo "pkg-config initialized
" >&6; }
9528 elif test $pkg_failed = untried; then
9529 { $as_echo "$as_me:$LINENO: result
: pkg-config initialized
" >&5
9530 $as_echo "pkg-config initialized
" >&6; }
9532 PKGCONFIGINIT_CFLAGS=$pkg_cv_PKGCONFIGINIT_CFLAGS
9533 PKGCONFIGINIT_LIBS=$pkg_cv_PKGCONFIGINIT_LIBS
9534 { $as_echo "$as_me:$LINENO: result
: yes" >&5
9535 $as_echo "yes" >&6; }
9541 ################################################################################
9542 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon
" >&5
9543 $as_echo_n "checking whether to build cluster LVM daemon...
" >&6; }
9545 # Check whether --with-clvmd was given.
9546 if test "${with_clvmd+set}" = set; then
9547 withval=$with_clvmd; CLVMD="$withval"
9552 if test x$CLVMD = xyes; then
9555 { $as_echo "$as_me:$LINENO: result
: $CLVMD" >&5
9556 $as_echo "$CLVMD" >&6; }
9558 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9562 if test x$CLVMD != xnone && test x$PKGCONFIG_INIT != x1; then
9567 if [ `expr x"$CLVMD" : '.*gulm.*'` != 0 ]; then
9570 if [ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]; then
9573 if [ `expr x"$CLVMD" : '.*openais.*'` != 0 ]; then
9576 if [ `expr x"$CLVMD" : '.*cman.*'` != 0 ]; then
9580 if test x$BUILDGULM = xyes; then
9581 if test x$BUILDCOROSYNC = xyes || \
9582 test x$BUILDOPENAIS = xyes; then
9583 { { $as_echo "$as_me:$LINENO: error
: requested clvmd configuration is not valid
" >&5
9584 $as_echo "$as_me: error
: requested clvmd configuration is not valid
" >&2;}
9585 { (exit 1); exit 1; }; }
9594 { { $as_echo "$as_me:$LINENO: error
: bailing out
" >&5
9595 $as_echo "$as_me: error
: bailing out
" >&2;}
9596 { (exit 1); exit 1; }; }
9599 if test x$CLVMD = xall; then
9600 bailout=soft_bailout
9606 bailout=hard_bailout
9609 check_lib_no_libs() {
9616 as_ac_Lib=`$as_echo "ac_cv_lib_
$lib_no_libs_arg1''_
$lib_no_libs_arg2" | $as_tr_sh`
9617 { $as_echo "$as_me:$LINENO: checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1" >&5
9618 $as_echo_n "checking
for $lib_no_libs_arg2 in -l$lib_no_libs_arg1...
" >&6; }
9619 if { as_var=$as_ac_Lib; eval "test \"\
${$as_var+set}\" = set"; }; then
9620 $as_echo_n "(cached
) " >&6
9622 ac_check_lib_save_LIBS=$LIBS
9623 LIBS="-l$lib_no_libs_arg1 $lib_no_libs_args $LIBS"
9624 cat >conftest.$ac_ext <<_ACEOF
9627 cat confdefs.h >>conftest.$ac_ext
9628 cat >>conftest.$ac_ext <<_ACEOF
9629 /* end confdefs.h. */
9631 /* Override any GCC internal prototype to avoid an error.
9632 Use char because int might match the return type of a GCC
9633 builtin and then its argument prototype would still apply. */
9637 char $lib_no_libs_arg2 ();
9641 return $lib_no_libs_arg2 ();
9646 rm -f conftest.$ac_objext conftest$ac_exeext
9647 if { (ac_try="$ac_link"
9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9650 *) ac_try_echo=$ac_try;;
9652 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9653 $as_echo "$ac_try_echo") >&5
9654 (eval "$ac_link") 2>conftest.er1
9656 grep -v '^ *+' conftest.er1 >conftest.err
9658 cat conftest.err >&5
9659 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9660 (exit $ac_status); } && {
9661 test -z "$ac_c_werror_flag" ||
9662 test ! -s conftest.err
9663 } && test -s conftest$ac_exeext && {
9664 test "$cross_compiling" = yes ||
9665 $as_test_x conftest$ac_exeext
9667 eval "$as_ac_Lib=yes"
9669 $as_echo "$as_me: failed program was
:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9672 eval "$as_ac_Lib=no
"
9675 rm -rf conftest.dSYM
9676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LIBS=$ac_check_lib_save_LIBS
9680 ac_res=`eval 'as_val=${'$as_ac_Lib'}
9681 $as_echo "$as_val"'`
9682 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9683 $as_echo "$ac_res" >&6; }
9684 as_val=`eval 'as_val=${'$as_ac_Lib'}
9685 $as_echo "$as_val"'`
9686 if test "x
$as_val" = x""yes; then
9687 cat >>confdefs.h <<_ACEOF
9688 #define `$as_echo "HAVE_LIB
$lib_no_libs_arg1" | $as_tr_cpp` 1
9691 LIBS="-l$lib_no_libs_arg1 $LIBS"
9697 LIBS=$ac_check_lib_save_LIBS
9700 if test x$BUILDGULM = xyes; then
9703 { $as_echo "$as_me:$LINENO: checking
for CCS
" >&5
9704 $as_echo_n "checking
for CCS...
" >&6; }
9706 if test -n "$CCS_CFLAGS"; then
9707 pkg_cv_CCS_CFLAGS="$CCS_CFLAGS"
9708 elif test -n "$PKG_CONFIG"; then
9709 if test -n "$PKG_CONFIG" && \
9710 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9711 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9713 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9714 (exit $ac_status); }; then
9715 pkg_cv_CCS_CFLAGS=`$PKG_CONFIG --cflags "libccs
" 2>/dev/null`
9722 if test -n "$CCS_LIBS"; then
9723 pkg_cv_CCS_LIBS="$CCS_LIBS"
9724 elif test -n "$PKG_CONFIG"; then
9725 if test -n "$PKG_CONFIG" && \
9726 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libccs
\"") >&5
9727 ($PKG_CONFIG --exists --print-errors "libccs
") 2>&5
9729 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9730 (exit $ac_status); }; then
9731 pkg_cv_CCS_LIBS=`$PKG_CONFIG --libs "libccs
" 2>/dev/null`
9741 if test $pkg_failed = yes; then
9743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9744 _pkg_short_errors_supported=yes
9746 _pkg_short_errors_supported=no
9748 if test $_pkg_short_errors_supported = yes; then
9749 CCS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libccs
" 2>&1`
9751 CCS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libccs
" 2>&1`
9753 # Put the nasty error message in config.log where it belongs
9754 echo "$CCS_PKG_ERRORS" >&5
9756 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9757 $as_echo "no
" >&6; }
9760 for ac_header in ccs.h
9762 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9763 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9764 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9765 $as_echo_n "checking
for $ac_header...
" >&6; }
9766 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9767 $as_echo_n "(cached
) " >&6
9769 ac_res=`eval 'as_val=${'$as_ac_Header'}
9770 $as_echo "$as_val"'`
9771 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9772 $as_echo "$ac_res" >&6; }
9774 # Is the header compilable?
9775 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9776 $as_echo_n "checking
$ac_header usability...
" >&6; }
9777 cat >conftest.$ac_ext <<_ACEOF
9780 cat confdefs.h >>conftest.$ac_ext
9781 cat >>conftest.$ac_ext <<_ACEOF
9782 /* end confdefs.h. */
9783 $ac_includes_default
9784 #include <$ac_header>
9786 rm -f conftest.$ac_objext
9787 if { (ac_try="$ac_compile"
9789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9790 *) ac_try_echo=$ac_try;;
9792 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9793 $as_echo "$ac_try_echo") >&5
9794 (eval "$ac_compile") 2>conftest.er1
9796 grep -v '^ *+' conftest.er1 >conftest.err
9798 cat conftest.err >&5
9799 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9800 (exit $ac_status); } && {
9801 test -z "$ac_c_werror_flag" ||
9802 test ! -s conftest.err
9803 } && test -s conftest.$ac_objext; then
9804 ac_header_compiler=yes
9806 $as_echo "$as_me: failed program was
:" >&5
9807 sed 's/^/| /' conftest.$ac_ext >&5
9809 ac_header_compiler=no
9812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9813 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9814 $as_echo "$ac_header_compiler" >&6; }
9816 # Is the header present?
9817 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9818 $as_echo_n "checking
$ac_header presence...
" >&6; }
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9825 #include <$ac_header>
9827 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9830 *) ac_try_echo=$ac_try;;
9832 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9833 $as_echo "$ac_try_echo") >&5
9834 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9836 grep -v '^ *+' conftest.er1 >conftest.err
9838 cat conftest.err >&5
9839 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9840 (exit $ac_status); } >/dev/null && {
9841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9842 test ! -s conftest.err
9844 ac_header_preproc=yes
9846 $as_echo "$as_me: failed program was
:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9849 ac_header_preproc=no
9852 rm -f conftest.err conftest.$ac_ext
9853 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9854 $as_echo "$ac_header_preproc" >&6; }
9856 # So? What about this header?
9857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9859 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9860 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9861 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9862 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9863 ac_header_preproc=yes
9866 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9867 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9868 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9869 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9870 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9871 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9872 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9873 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9874 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9875 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9876 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9877 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9881 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9882 $as_echo_n "checking
for $ac_header...
" >&6; }
9883 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9884 $as_echo_n "(cached
) " >&6
9886 eval "$as_ac_Header=\
$ac_header_preproc"
9888 ac_res=`eval 'as_val=${'$as_ac_Header'}
9889 $as_echo "$as_val"'`
9890 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9891 $as_echo "$ac_res" >&6; }
9894 as_val=`eval 'as_val=${'$as_ac_Header'}
9895 $as_echo "$as_val"'`
9896 if test "x
$as_val" = x""yes; then
9897 cat >>confdefs.h <<_ACEOF
9898 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9907 check_lib_no_libs ccs ccs_connect
9908 if test $NOTFOUND = 0; then
9909 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
9910 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
9914 elif test $pkg_failed = untried; then
9917 for ac_header in ccs.h
9919 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9920 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9921 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
9922 $as_echo_n "checking
for $ac_header...
" >&6; }
9923 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9924 $as_echo_n "(cached
) " >&6
9926 ac_res=`eval 'as_val=${'$as_ac_Header'}
9927 $as_echo "$as_val"'`
9928 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
9929 $as_echo "$ac_res" >&6; }
9931 # Is the header compilable?
9932 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9933 $as_echo_n "checking
$ac_header usability...
" >&6; }
9934 cat >conftest.$ac_ext <<_ACEOF
9937 cat confdefs.h >>conftest.$ac_ext
9938 cat >>conftest.$ac_ext <<_ACEOF
9939 /* end confdefs.h. */
9940 $ac_includes_default
9941 #include <$ac_header>
9943 rm -f conftest.$ac_objext
9944 if { (ac_try="$ac_compile"
9946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9947 *) ac_try_echo=$ac_try;;
9949 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9950 $as_echo "$ac_try_echo") >&5
9951 (eval "$ac_compile") 2>conftest.er1
9953 grep -v '^ *+' conftest.er1 >conftest.err
9955 cat conftest.err >&5
9956 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9957 (exit $ac_status); } && {
9958 test -z "$ac_c_werror_flag" ||
9959 test ! -s conftest.err
9960 } && test -s conftest.$ac_objext; then
9961 ac_header_compiler=yes
9963 $as_echo "$as_me: failed program was
:" >&5
9964 sed 's/^/| /' conftest.$ac_ext >&5
9966 ac_header_compiler=no
9969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9970 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9971 $as_echo "$ac_header_compiler" >&6; }
9973 # Is the header present?
9974 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9975 $as_echo_n "checking
$ac_header presence...
" >&6; }
9976 cat >conftest.$ac_ext <<_ACEOF
9979 cat confdefs.h >>conftest.$ac_ext
9980 cat >>conftest.$ac_ext <<_ACEOF
9981 /* end confdefs.h. */
9982 #include <$ac_header>
9984 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9987 *) ac_try_echo=$ac_try;;
9989 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9990 $as_echo "$ac_try_echo") >&5
9991 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9993 grep -v '^ *+' conftest.er1 >conftest.err
9995 cat conftest.err >&5
9996 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9997 (exit $ac_status); } >/dev/null && {
9998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9999 test ! -s conftest.err
10001 ac_header_preproc=yes
10003 $as_echo "$as_me: failed program was
:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10006 ac_header_preproc=no
10009 rm -f conftest.err conftest.$ac_ext
10010 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10011 $as_echo "$ac_header_preproc" >&6; }
10013 # So? What about this header?
10014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10016 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10017 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10018 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10019 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10020 ac_header_preproc=yes
10023 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10024 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10025 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10026 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10027 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10028 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10029 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10030 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10031 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10032 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10033 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10034 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10038 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10039 $as_echo_n "checking
for $ac_header...
" >&6; }
10040 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10041 $as_echo_n "(cached
) " >&6
10043 eval "$as_ac_Header=\
$ac_header_preproc"
10045 ac_res=`eval 'as_val=${'$as_ac_Header'}
10046 $as_echo "$as_val"'`
10047 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10048 $as_echo "$ac_res" >&6; }
10051 as_val=`eval 'as_val=${'$as_ac_Header'}
10052 $as_echo "$as_val"'`
10053 if test "x
$as_val" = x""yes; then
10054 cat >>confdefs.h <<_ACEOF
10055 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10064 check_lib_no_libs ccs ccs_connect
10065 if test $NOTFOUND = 0; then
10066 { $as_echo "$as_me:$LINENO: result
: no pkg
for libccs
, using
-lccs" >&5
10067 $as_echo "no pkg
for libccs
, using
-lccs" >&6; }
10072 CCS_CFLAGS=$pkg_cv_CCS_CFLAGS
10073 CCS_LIBS=$pkg_cv_CCS_LIBS
10074 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10075 $as_echo "yes" >&6; }
10080 { $as_echo "$as_me:$LINENO: checking
for GULM
" >&5
10081 $as_echo_n "checking
for GULM...
" >&6; }
10083 if test -n "$GULM_CFLAGS"; then
10084 pkg_cv_GULM_CFLAGS="$GULM_CFLAGS"
10085 elif test -n "$PKG_CONFIG"; then
10086 if test -n "$PKG_CONFIG" && \
10087 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10088 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10090 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10091 (exit $ac_status); }; then
10092 pkg_cv_GULM_CFLAGS=`$PKG_CONFIG --cflags "libgulm
" 2>/dev/null`
10099 if test -n "$GULM_LIBS"; then
10100 pkg_cv_GULM_LIBS="$GULM_LIBS"
10101 elif test -n "$PKG_CONFIG"; then
10102 if test -n "$PKG_CONFIG" && \
10103 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgulm
\"") >&5
10104 ($PKG_CONFIG --exists --print-errors "libgulm
") 2>&5
10106 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10107 (exit $ac_status); }; then
10108 pkg_cv_GULM_LIBS=`$PKG_CONFIG --libs "libgulm
" 2>/dev/null`
10118 if test $pkg_failed = yes; then
10120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10121 _pkg_short_errors_supported=yes
10123 _pkg_short_errors_supported=no
10125 if test $_pkg_short_errors_supported = yes; then
10126 GULM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgulm
" 2>&1`
10128 GULM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgulm
" 2>&1`
10130 # Put the nasty error message in config.log where it belongs
10131 echo "$GULM_PKG_ERRORS" >&5
10133 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10134 $as_echo "no
" >&6; }
10137 for ac_header in libgulm.h
10139 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10140 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10141 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10142 $as_echo_n "checking
for $ac_header...
" >&6; }
10143 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10144 $as_echo_n "(cached
) " >&6
10146 ac_res=`eval 'as_val=${'$as_ac_Header'}
10147 $as_echo "$as_val"'`
10148 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10149 $as_echo "$ac_res" >&6; }
10151 # Is the header compilable?
10152 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10153 $as_echo_n "checking
$ac_header usability...
" >&6; }
10154 cat >conftest.$ac_ext <<_ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 $ac_includes_default
10161 #include <$ac_header>
10163 rm -f conftest.$ac_objext
10164 if { (ac_try="$ac_compile"
10165 case "(($ac_try" in
10166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10167 *) ac_try_echo=$ac_try;;
10169 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10170 $as_echo "$ac_try_echo") >&5
10171 (eval "$ac_compile") 2>conftest.er1
10173 grep -v '^ *+' conftest.er1 >conftest.err
10175 cat conftest.err >&5
10176 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10177 (exit $ac_status); } && {
10178 test -z "$ac_c_werror_flag" ||
10179 test ! -s conftest.err
10180 } && test -s conftest.$ac_objext; then
10181 ac_header_compiler=yes
10183 $as_echo "$as_me: failed program was
:" >&5
10184 sed 's/^/| /' conftest.$ac_ext >&5
10186 ac_header_compiler=no
10189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10190 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10191 $as_echo "$ac_header_compiler" >&6; }
10193 # Is the header present?
10194 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10195 $as_echo_n "checking
$ac_header presence...
" >&6; }
10196 cat >conftest.$ac_ext <<_ACEOF
10199 cat confdefs.h >>conftest.$ac_ext
10200 cat >>conftest.$ac_ext <<_ACEOF
10201 /* end confdefs.h. */
10202 #include <$ac_header>
10204 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10205 case "(($ac_try" in
10206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10207 *) ac_try_echo=$ac_try;;
10209 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10210 $as_echo "$ac_try_echo") >&5
10211 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10213 grep -v '^ *+' conftest.er1 >conftest.err
10215 cat conftest.err >&5
10216 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10217 (exit $ac_status); } >/dev/null && {
10218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10219 test ! -s conftest.err
10221 ac_header_preproc=yes
10223 $as_echo "$as_me: failed program was
:" >&5
10224 sed 's/^/| /' conftest.$ac_ext >&5
10226 ac_header_preproc=no
10229 rm -f conftest.err conftest.$ac_ext
10230 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10231 $as_echo "$ac_header_preproc" >&6; }
10233 # So? What about this header?
10234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10236 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10237 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10238 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10239 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10240 ac_header_preproc=yes
10243 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10244 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10245 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10246 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10247 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10248 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10249 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10250 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10251 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10252 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10253 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10254 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10258 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10259 $as_echo_n "checking
for $ac_header...
" >&6; }
10260 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10261 $as_echo_n "(cached
) " >&6
10263 eval "$as_ac_Header=\
$ac_header_preproc"
10265 ac_res=`eval 'as_val=${'$as_ac_Header'}
10266 $as_echo "$as_val"'`
10267 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10268 $as_echo "$ac_res" >&6; }
10271 as_val=`eval 'as_val=${'$as_ac_Header'}
10272 $as_echo "$as_val"'`
10273 if test "x
$as_val" = x""yes; then
10274 cat >>confdefs.h <<_ACEOF
10275 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10284 check_lib_no_libs gulm lg_core_login
10285 if test $NOTFOUND = 0; then
10286 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10287 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10291 elif test $pkg_failed = untried; then
10294 for ac_header in libgulm.h
10296 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10297 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10298 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10299 $as_echo_n "checking
for $ac_header...
" >&6; }
10300 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10301 $as_echo_n "(cached
) " >&6
10303 ac_res=`eval 'as_val=${'$as_ac_Header'}
10304 $as_echo "$as_val"'`
10305 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10306 $as_echo "$ac_res" >&6; }
10308 # Is the header compilable?
10309 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10310 $as_echo_n "checking
$ac_header usability...
" >&6; }
10311 cat >conftest.$ac_ext <<_ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 $ac_includes_default
10318 #include <$ac_header>
10320 rm -f conftest.$ac_objext
10321 if { (ac_try="$ac_compile"
10322 case "(($ac_try" in
10323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;;
10326 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10327 $as_echo "$ac_try_echo") >&5
10328 (eval "$ac_compile") 2>conftest.er1
10330 grep -v '^ *+' conftest.er1 >conftest.err
10332 cat conftest.err >&5
10333 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10334 (exit $ac_status); } && {
10335 test -z "$ac_c_werror_flag" ||
10336 test ! -s conftest.err
10337 } && test -s conftest.$ac_objext; then
10338 ac_header_compiler=yes
10340 $as_echo "$as_me: failed program was
:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10343 ac_header_compiler=no
10346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10347 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10348 $as_echo "$ac_header_compiler" >&6; }
10350 # Is the header present?
10351 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10352 $as_echo_n "checking
$ac_header presence...
" >&6; }
10353 cat >conftest.$ac_ext <<_ACEOF
10356 cat confdefs.h >>conftest.$ac_ext
10357 cat >>conftest.$ac_ext <<_ACEOF
10358 /* end confdefs.h. */
10359 #include <$ac_header>
10361 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10362 case "(($ac_try" in
10363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10364 *) ac_try_echo=$ac_try;;
10366 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10367 $as_echo "$ac_try_echo") >&5
10368 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10370 grep -v '^ *+' conftest.er1 >conftest.err
10372 cat conftest.err >&5
10373 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10374 (exit $ac_status); } >/dev/null && {
10375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10376 test ! -s conftest.err
10378 ac_header_preproc=yes
10380 $as_echo "$as_me: failed program was
:" >&5
10381 sed 's/^/| /' conftest.$ac_ext >&5
10383 ac_header_preproc=no
10386 rm -f conftest.err conftest.$ac_ext
10387 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10388 $as_echo "$ac_header_preproc" >&6; }
10390 # So? What about this header?
10391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10393 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10394 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10395 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10396 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10397 ac_header_preproc=yes
10400 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10401 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10402 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10403 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10404 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10405 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10406 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10407 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10408 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10409 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10410 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10411 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10415 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10416 $as_echo_n "checking
for $ac_header...
" >&6; }
10417 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10418 $as_echo_n "(cached
) " >&6
10420 eval "$as_ac_Header=\
$ac_header_preproc"
10422 ac_res=`eval 'as_val=${'$as_ac_Header'}
10423 $as_echo "$as_val"'`
10424 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10425 $as_echo "$ac_res" >&6; }
10428 as_val=`eval 'as_val=${'$as_ac_Header'}
10429 $as_echo "$as_val"'`
10430 if test "x
$as_val" = x""yes; then
10431 cat >>confdefs.h <<_ACEOF
10432 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10441 check_lib_no_libs gulm lg_core_login
10442 if test $NOTFOUND = 0; then
10443 { $as_echo "$as_me:$LINENO: result
: no pkg
for libgulm
, using
-lgulm" >&5
10444 $as_echo "no pkg
for libgulm
, using
-lgulm" >&6; }
10449 GULM_CFLAGS=$pkg_cv_GULM_CFLAGS
10450 GULM_LIBS=$pkg_cv_GULM_LIBS
10451 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10452 $as_echo "yes" >&6; }
10457 if test x$BUILDCMAN = xyes; then
10460 { $as_echo "$as_me:$LINENO: checking
for CMAN
" >&5
10461 $as_echo_n "checking
for CMAN...
" >&6; }
10463 if test -n "$CMAN_CFLAGS"; then
10464 pkg_cv_CMAN_CFLAGS="$CMAN_CFLAGS"
10465 elif test -n "$PKG_CONFIG"; then
10466 if test -n "$PKG_CONFIG" && \
10467 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10468 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10470 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10471 (exit $ac_status); }; then
10472 pkg_cv_CMAN_CFLAGS=`$PKG_CONFIG --cflags "libcman
" 2>/dev/null`
10479 if test -n "$CMAN_LIBS"; then
10480 pkg_cv_CMAN_LIBS="$CMAN_LIBS"
10481 elif test -n "$PKG_CONFIG"; then
10482 if test -n "$PKG_CONFIG" && \
10483 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcman
\"") >&5
10484 ($PKG_CONFIG --exists --print-errors "libcman
") 2>&5
10486 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10487 (exit $ac_status); }; then
10488 pkg_cv_CMAN_LIBS=`$PKG_CONFIG --libs "libcman
" 2>/dev/null`
10498 if test $pkg_failed = yes; then
10500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10501 _pkg_short_errors_supported=yes
10503 _pkg_short_errors_supported=no
10505 if test $_pkg_short_errors_supported = yes; then
10506 CMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcman
" 2>&1`
10508 CMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcman
" 2>&1`
10510 # Put the nasty error message in config.log where it belongs
10511 echo "$CMAN_PKG_ERRORS" >&5
10513 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10514 $as_echo "no
" >&6; }
10517 for ac_header in libcman.h
10519 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10520 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10521 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10522 $as_echo_n "checking
for $ac_header...
" >&6; }
10523 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10524 $as_echo_n "(cached
) " >&6
10526 ac_res=`eval 'as_val=${'$as_ac_Header'}
10527 $as_echo "$as_val"'`
10528 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10529 $as_echo "$ac_res" >&6; }
10531 # Is the header compilable?
10532 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10533 $as_echo_n "checking
$ac_header usability...
" >&6; }
10534 cat >conftest.$ac_ext <<_ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10540 $ac_includes_default
10541 #include <$ac_header>
10543 rm -f conftest.$ac_objext
10544 if { (ac_try="$ac_compile"
10545 case "(($ac_try" in
10546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10547 *) ac_try_echo=$ac_try;;
10549 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10550 $as_echo "$ac_try_echo") >&5
10551 (eval "$ac_compile") 2>conftest.er1
10553 grep -v '^ *+' conftest.er1 >conftest.err
10555 cat conftest.err >&5
10556 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10557 (exit $ac_status); } && {
10558 test -z "$ac_c_werror_flag" ||
10559 test ! -s conftest.err
10560 } && test -s conftest.$ac_objext; then
10561 ac_header_compiler=yes
10563 $as_echo "$as_me: failed program was
:" >&5
10564 sed 's/^/| /' conftest.$ac_ext >&5
10566 ac_header_compiler=no
10569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10570 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10571 $as_echo "$ac_header_compiler" >&6; }
10573 # Is the header present?
10574 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10575 $as_echo_n "checking
$ac_header presence...
" >&6; }
10576 cat >conftest.$ac_ext <<_ACEOF
10579 cat confdefs.h >>conftest.$ac_ext
10580 cat >>conftest.$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 #include <$ac_header>
10584 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10585 case "(($ac_try" in
10586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10587 *) ac_try_echo=$ac_try;;
10589 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10590 $as_echo "$ac_try_echo") >&5
10591 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10593 grep -v '^ *+' conftest.er1 >conftest.err
10595 cat conftest.err >&5
10596 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10597 (exit $ac_status); } >/dev/null && {
10598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10599 test ! -s conftest.err
10601 ac_header_preproc=yes
10603 $as_echo "$as_me: failed program was
:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10606 ac_header_preproc=no
10609 rm -f conftest.err conftest.$ac_ext
10610 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10611 $as_echo "$ac_header_preproc" >&6; }
10613 # So? What about this header?
10614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10616 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10617 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10618 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10619 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10620 ac_header_preproc=yes
10623 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10624 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10625 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10626 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10627 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10628 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10629 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10630 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10631 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10632 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10633 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10634 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10638 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10639 $as_echo_n "checking
for $ac_header...
" >&6; }
10640 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10641 $as_echo_n "(cached
) " >&6
10643 eval "$as_ac_Header=\
$ac_header_preproc"
10645 ac_res=`eval 'as_val=${'$as_ac_Header'}
10646 $as_echo "$as_val"'`
10647 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10648 $as_echo "$ac_res" >&6; }
10651 as_val=`eval 'as_val=${'$as_ac_Header'}
10652 $as_echo "$as_val"'`
10653 if test "x
$as_val" = x""yes; then
10654 cat >>confdefs.h <<_ACEOF
10655 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10664 check_lib_no_libs cman cman_init
10665 if test $NOTFOUND = 0; then
10666 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10667 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10671 elif test $pkg_failed = untried; then
10674 for ac_header in libcman.h
10676 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
10677 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10678 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10679 $as_echo_n "checking
for $ac_header...
" >&6; }
10680 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10681 $as_echo_n "(cached
) " >&6
10683 ac_res=`eval 'as_val=${'$as_ac_Header'}
10684 $as_echo "$as_val"'`
10685 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10686 $as_echo "$ac_res" >&6; }
10688 # Is the header compilable?
10689 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
10690 $as_echo_n "checking
$ac_header usability...
" >&6; }
10691 cat >conftest.$ac_ext <<_ACEOF
10694 cat confdefs.h >>conftest.$ac_ext
10695 cat >>conftest.$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 $ac_includes_default
10698 #include <$ac_header>
10700 rm -f conftest.$ac_objext
10701 if { (ac_try="$ac_compile"
10702 case "(($ac_try" in
10703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10704 *) ac_try_echo=$ac_try;;
10706 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10707 $as_echo "$ac_try_echo") >&5
10708 (eval "$ac_compile") 2>conftest.er1
10710 grep -v '^ *+' conftest.er1 >conftest.err
10712 cat conftest.err >&5
10713 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10714 (exit $ac_status); } && {
10715 test -z "$ac_c_werror_flag" ||
10716 test ! -s conftest.err
10717 } && test -s conftest.$ac_objext; then
10718 ac_header_compiler=yes
10720 $as_echo "$as_me: failed program was
:" >&5
10721 sed 's/^/| /' conftest.$ac_ext >&5
10723 ac_header_compiler=no
10726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10727 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
10728 $as_echo "$ac_header_compiler" >&6; }
10730 # Is the header present?
10731 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
10732 $as_echo_n "checking
$ac_header presence...
" >&6; }
10733 cat >conftest.$ac_ext <<_ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10739 #include <$ac_header>
10741 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10742 case "(($ac_try" in
10743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10744 *) ac_try_echo=$ac_try;;
10746 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10747 $as_echo "$ac_try_echo") >&5
10748 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10750 grep -v '^ *+' conftest.er1 >conftest.err
10752 cat conftest.err >&5
10753 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10754 (exit $ac_status); } >/dev/null && {
10755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10756 test ! -s conftest.err
10758 ac_header_preproc=yes
10760 $as_echo "$as_me: failed program was
:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10763 ac_header_preproc=no
10766 rm -f conftest.err conftest.$ac_ext
10767 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
10768 $as_echo "$ac_header_preproc" >&6; }
10770 # So? What about this header?
10771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10773 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
10774 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
10775 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
10776 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
10777 ac_header_preproc=yes
10780 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
10781 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
10782 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
10783 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
10784 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
10785 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
10786 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
10787 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
10788 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
10789 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
10790 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
10791 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
10795 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
10796 $as_echo_n "checking
for $ac_header...
" >&6; }
10797 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
10798 $as_echo_n "(cached
) " >&6
10800 eval "$as_ac_Header=\
$ac_header_preproc"
10802 ac_res=`eval 'as_val=${'$as_ac_Header'}
10803 $as_echo "$as_val"'`
10804 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
10805 $as_echo "$ac_res" >&6; }
10808 as_val=`eval 'as_val=${'$as_ac_Header'}
10809 $as_echo "$as_val"'`
10810 if test "x
$as_val" = x""yes; then
10811 cat >>confdefs.h <<_ACEOF
10812 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
10821 check_lib_no_libs cman cman_init
10822 if test $NOTFOUND = 0; then
10823 { $as_echo "$as_me:$LINENO: result
: no pkg
for libcman
, using
-lcman" >&5
10824 $as_echo "no pkg
for libcman
, using
-lcman" >&6; }
10829 CMAN_CFLAGS=$pkg_cv_CMAN_CFLAGS
10830 CMAN_LIBS=$pkg_cv_CMAN_LIBS
10831 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10832 $as_echo "yes" >&6; }
10839 if test x$BUILDCOROSYNC = xyes || \
10840 test x$BUILDOPENAIS = xyes; then
10843 { $as_echo "$as_me:$LINENO: checking
for COROSYNC
" >&5
10844 $as_echo_n "checking
for COROSYNC...
" >&6; }
10846 if test -n "$COROSYNC_CFLAGS"; then
10847 pkg_cv_COROSYNC_CFLAGS="$COROSYNC_CFLAGS"
10848 elif test -n "$PKG_CONFIG"; then
10849 if test -n "$PKG_CONFIG" && \
10850 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10851 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10853 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10854 (exit $ac_status); }; then
10855 pkg_cv_COROSYNC_CFLAGS=`$PKG_CONFIG --cflags "corosync
" 2>/dev/null`
10862 if test -n "$COROSYNC_LIBS"; then
10863 pkg_cv_COROSYNC_LIBS="$COROSYNC_LIBS"
10864 elif test -n "$PKG_CONFIG"; then
10865 if test -n "$PKG_CONFIG" && \
10866 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"corosync
\"") >&5
10867 ($PKG_CONFIG --exists --print-errors "corosync
") 2>&5
10869 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10870 (exit $ac_status); }; then
10871 pkg_cv_COROSYNC_LIBS=`$PKG_CONFIG --libs "corosync
" 2>/dev/null`
10881 if test $pkg_failed = yes; then
10883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10884 _pkg_short_errors_supported=yes
10886 _pkg_short_errors_supported=no
10888 if test $_pkg_short_errors_supported = yes; then
10889 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "corosync
" 2>&1`
10891 COROSYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "corosync
" 2>&1`
10893 # Put the nasty error message in config.log where it belongs
10894 echo "$COROSYNC_PKG_ERRORS" >&5
10896 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10897 $as_echo "no
" >&6; }
10899 elif test $pkg_failed = untried; then
10902 COROSYNC_CFLAGS=$pkg_cv_COROSYNC_CFLAGS
10903 COROSYNC_LIBS=$pkg_cv_COROSYNC_LIBS
10904 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10905 $as_echo "yes" >&6; }
10911 if test x$BUILDCOROSYNC = xyes; then
10914 { $as_echo "$as_me:$LINENO: checking
for QUORUM
" >&5
10915 $as_echo_n "checking
for QUORUM...
" >&6; }
10917 if test -n "$QUORUM_CFLAGS"; then
10918 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
10919 elif test -n "$PKG_CONFIG"; then
10920 if test -n "$PKG_CONFIG" && \
10921 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10922 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10924 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10925 (exit $ac_status); }; then
10926 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum
" 2>/dev/null`
10933 if test -n "$QUORUM_LIBS"; then
10934 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
10935 elif test -n "$PKG_CONFIG"; then
10936 if test -n "$PKG_CONFIG" && \
10937 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libquorum
\"") >&5
10938 ($PKG_CONFIG --exists --print-errors "libquorum
") 2>&5
10940 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10941 (exit $ac_status); }; then
10942 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum
" 2>/dev/null`
10952 if test $pkg_failed = yes; then
10954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10955 _pkg_short_errors_supported=yes
10957 _pkg_short_errors_supported=no
10959 if test $_pkg_short_errors_supported = yes; then
10960 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum
" 2>&1`
10962 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum
" 2>&1`
10964 # Put the nasty error message in config.log where it belongs
10965 echo "$QUORUM_PKG_ERRORS" >&5
10967 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10968 $as_echo "no
" >&6; }
10970 elif test $pkg_failed = untried; then
10973 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
10974 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
10975 { $as_echo "$as_me:$LINENO: result
: yes" >&5
10976 $as_echo "yes" >&6; }
10983 if test x$BUILDOPENAIS = xyes; then
10986 { $as_echo "$as_me:$LINENO: checking
for SALCK
" >&5
10987 $as_echo_n "checking
for SALCK...
" >&6; }
10989 if test -n "$SALCK_CFLAGS"; then
10990 pkg_cv_SALCK_CFLAGS="$SALCK_CFLAGS"
10991 elif test -n "$PKG_CONFIG"; then
10992 if test -n "$PKG_CONFIG" && \
10993 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
10994 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
10996 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10997 (exit $ac_status); }; then
10998 pkg_cv_SALCK_CFLAGS=`$PKG_CONFIG --cflags "libSaLck
" 2>/dev/null`
11005 if test -n "$SALCK_LIBS"; then
11006 pkg_cv_SALCK_LIBS="$SALCK_LIBS"
11007 elif test -n "$PKG_CONFIG"; then
11008 if test -n "$PKG_CONFIG" && \
11009 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaLck
\"") >&5
11010 ($PKG_CONFIG --exists --print-errors "libSaLck
") 2>&5
11012 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11013 (exit $ac_status); }; then
11014 pkg_cv_SALCK_LIBS=`$PKG_CONFIG --libs "libSaLck
" 2>/dev/null`
11024 if test $pkg_failed = yes; then
11026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11027 _pkg_short_errors_supported=yes
11029 _pkg_short_errors_supported=no
11031 if test $_pkg_short_errors_supported = yes; then
11032 SALCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaLck
" 2>&1`
11034 SALCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaLck
" 2>&1`
11036 # Put the nasty error message in config.log where it belongs
11037 echo "$SALCK_PKG_ERRORS" >&5
11039 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11040 $as_echo "no
" >&6; }
11042 elif test $pkg_failed = untried; then
11045 SALCK_CFLAGS=$pkg_cv_SALCK_CFLAGS
11046 SALCK_LIBS=$pkg_cv_SALCK_LIBS
11047 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11048 $as_echo "yes" >&6; }
11056 if test x$CHECKCONFDB = xyes; then
11059 { $as_echo "$as_me:$LINENO: checking
for CONFDB
" >&5
11060 $as_echo_n "checking
for CONFDB...
" >&6; }
11062 if test -n "$CONFDB_CFLAGS"; then
11063 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
11064 elif test -n "$PKG_CONFIG"; then
11065 if test -n "$PKG_CONFIG" && \
11066 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11067 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11069 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11070 (exit $ac_status); }; then
11071 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb
" 2>/dev/null`
11078 if test -n "$CONFDB_LIBS"; then
11079 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
11080 elif test -n "$PKG_CONFIG"; then
11081 if test -n "$PKG_CONFIG" && \
11082 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libconfdb
\"") >&5
11083 ($PKG_CONFIG --exists --print-errors "libconfdb
") 2>&5
11085 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11086 (exit $ac_status); }; then
11087 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb
" 2>/dev/null`
11097 if test $pkg_failed = yes; then
11099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11100 _pkg_short_errors_supported=yes
11102 _pkg_short_errors_supported=no
11104 if test $_pkg_short_errors_supported = yes; then
11105 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb
" 2>&1`
11107 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb
" 2>&1`
11109 # Put the nasty error message in config.log where it belongs
11110 echo "$CONFDB_PKG_ERRORS" >&5
11112 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11113 $as_echo "no
" >&6; }
11115 elif test $pkg_failed = untried; then
11118 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
11119 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
11120 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11121 $as_echo "yes" >&6; }
11126 for ac_header in corosync/confdb.h
11128 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11129 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11130 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11131 $as_echo_n "checking
for $ac_header...
" >&6; }
11132 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11133 $as_echo_n "(cached
) " >&6
11135 ac_res=`eval 'as_val=${'$as_ac_Header'}
11136 $as_echo "$as_val"'`
11137 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11138 $as_echo "$ac_res" >&6; }
11140 # Is the header compilable?
11141 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11142 $as_echo_n "checking
$ac_header usability...
" >&6; }
11143 cat >conftest.$ac_ext <<_ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149 $ac_includes_default
11150 #include <$ac_header>
11152 rm -f conftest.$ac_objext
11153 if { (ac_try="$ac_compile"
11154 case "(($ac_try" in
11155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11156 *) ac_try_echo=$ac_try;;
11158 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11159 $as_echo "$ac_try_echo") >&5
11160 (eval "$ac_compile") 2>conftest.er1
11162 grep -v '^ *+' conftest.er1 >conftest.err
11164 cat conftest.err >&5
11165 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11166 (exit $ac_status); } && {
11167 test -z "$ac_c_werror_flag" ||
11168 test ! -s conftest.err
11169 } && test -s conftest.$ac_objext; then
11170 ac_header_compiler=yes
11172 $as_echo "$as_me: failed program was
:" >&5
11173 sed 's/^/| /' conftest.$ac_ext >&5
11175 ac_header_compiler=no
11178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11179 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11180 $as_echo "$ac_header_compiler" >&6; }
11182 # Is the header present?
11183 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11184 $as_echo_n "checking
$ac_header presence...
" >&6; }
11185 cat >conftest.$ac_ext <<_ACEOF
11188 cat confdefs.h >>conftest.$ac_ext
11189 cat >>conftest.$ac_ext <<_ACEOF
11190 /* end confdefs.h. */
11191 #include <$ac_header>
11193 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11194 case "(($ac_try" in
11195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11196 *) ac_try_echo=$ac_try;;
11198 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11199 $as_echo "$ac_try_echo") >&5
11200 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11202 grep -v '^ *+' conftest.er1 >conftest.err
11204 cat conftest.err >&5
11205 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11206 (exit $ac_status); } >/dev/null && {
11207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11208 test ! -s conftest.err
11210 ac_header_preproc=yes
11212 $as_echo "$as_me: failed program was
:" >&5
11213 sed 's/^/| /' conftest.$ac_ext >&5
11215 ac_header_preproc=no
11218 rm -f conftest.err conftest.$ac_ext
11219 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11220 $as_echo "$ac_header_preproc" >&6; }
11222 # So? What about this header?
11223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11225 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11226 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11227 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11228 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11229 ac_header_preproc=yes
11232 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11233 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11234 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11235 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11236 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11237 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11238 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11239 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11240 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11241 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11242 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11243 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11247 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11248 $as_echo_n "checking
for $ac_header...
" >&6; }
11249 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11250 $as_echo_n "(cached
) " >&6
11252 eval "$as_ac_Header=\
$ac_header_preproc"
11254 ac_res=`eval 'as_val=${'$as_ac_Header'}
11255 $as_echo "$as_val"'`
11256 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11257 $as_echo "$ac_res" >&6; }
11260 as_val=`eval 'as_val=${'$as_ac_Header'}
11261 $as_echo "$as_val"'`
11262 if test "x
$as_val" = x""yes; then
11263 cat >>confdefs.h <<_ACEOF
11264 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11274 if test x$HAVE_CONFDB != xyes && \
11275 test x$HAVE_CONFDB_H = xyes; then
11276 check_lib_no_libs confdb confdb_initialize
11277 { $as_echo "$as_me:$LINENO: result
: no pkg
for confdb
, using
-lconfdb" >&5
11278 $as_echo "no pkg
for confdb
, using
-lconfdb" >&6; }
11279 CONFDB_LIBS="-lconfdb"
11283 if test x$BUILDCOROSYNC = xyes && \
11284 test x$HAVE_CONFDB != xyes &&
11285 test x$CLVMD != xall; then
11286 { { $as_echo "$as_me:$LINENO: error
: bailing out... confdb library is required
" >&5
11287 $as_echo "$as_me: error
: bailing out... confdb library is required
" >&2;}
11288 { (exit 1); exit 1; }; }
11292 if test x$CHECKCPG = xyes; then
11295 { $as_echo "$as_me:$LINENO: checking
for CPG
" >&5
11296 $as_echo_n "checking
for CPG...
" >&6; }
11298 if test -n "$CPG_CFLAGS"; then
11299 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11300 elif test -n "$PKG_CONFIG"; then
11301 if test -n "$PKG_CONFIG" && \
11302 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11303 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11305 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11306 (exit $ac_status); }; then
11307 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg
" 2>/dev/null`
11314 if test -n "$CPG_LIBS"; then
11315 pkg_cv_CPG_LIBS="$CPG_LIBS"
11316 elif test -n "$PKG_CONFIG"; then
11317 if test -n "$PKG_CONFIG" && \
11318 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libcpg
\"") >&5
11319 ($PKG_CONFIG --exists --print-errors "libcpg
") 2>&5
11321 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11322 (exit $ac_status); }; then
11323 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg
" 2>/dev/null`
11333 if test $pkg_failed = yes; then
11335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11336 _pkg_short_errors_supported=yes
11338 _pkg_short_errors_supported=no
11340 if test $_pkg_short_errors_supported = yes; then
11341 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg
" 2>&1`
11343 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg
" 2>&1`
11345 # Put the nasty error message in config.log where it belongs
11346 echo "$CPG_PKG_ERRORS" >&5
11348 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11349 $as_echo "no
" >&6; }
11351 elif test $pkg_failed = untried; then
11354 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
11355 CPG_LIBS=$pkg_cv_CPG_LIBS
11356 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11357 $as_echo "yes" >&6; }
11362 if test x$CHECKDLM = xyes; then
11365 { $as_echo "$as_me:$LINENO: checking
for DLM
" >&5
11366 $as_echo_n "checking
for DLM...
" >&6; }
11368 if test -n "$DLM_CFLAGS"; then
11369 pkg_cv_DLM_CFLAGS="$DLM_CFLAGS"
11370 elif test -n "$PKG_CONFIG"; then
11371 if test -n "$PKG_CONFIG" && \
11372 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11373 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11375 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11376 (exit $ac_status); }; then
11377 pkg_cv_DLM_CFLAGS=`$PKG_CONFIG --cflags "libdlm
" 2>/dev/null`
11384 if test -n "$DLM_LIBS"; then
11385 pkg_cv_DLM_LIBS="$DLM_LIBS"
11386 elif test -n "$PKG_CONFIG"; then
11387 if test -n "$PKG_CONFIG" && \
11388 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdlm
\"") >&5
11389 ($PKG_CONFIG --exists --print-errors "libdlm
") 2>&5
11391 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11392 (exit $ac_status); }; then
11393 pkg_cv_DLM_LIBS=`$PKG_CONFIG --libs "libdlm
" 2>/dev/null`
11403 if test $pkg_failed = yes; then
11405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11406 _pkg_short_errors_supported=yes
11408 _pkg_short_errors_supported=no
11410 if test $_pkg_short_errors_supported = yes; then
11411 DLM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdlm
" 2>&1`
11413 DLM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdlm
" 2>&1`
11415 # Put the nasty error message in config.log where it belongs
11416 echo "$DLM_PKG_ERRORS" >&5
11418 { $as_echo "$as_me:$LINENO: result
: no
" >&5
11419 $as_echo "no
" >&6; }
11422 for ac_header in libdlm.h
11424 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11425 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11426 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11427 $as_echo_n "checking
for $ac_header...
" >&6; }
11428 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11429 $as_echo_n "(cached
) " >&6
11431 ac_res=`eval 'as_val=${'$as_ac_Header'}
11432 $as_echo "$as_val"'`
11433 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11434 $as_echo "$ac_res" >&6; }
11436 # Is the header compilable?
11437 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11438 $as_echo_n "checking
$ac_header usability...
" >&6; }
11439 cat >conftest.$ac_ext <<_ACEOF
11442 cat confdefs.h >>conftest.$ac_ext
11443 cat >>conftest.$ac_ext <<_ACEOF
11444 /* end confdefs.h. */
11445 $ac_includes_default
11446 #include <$ac_header>
11448 rm -f conftest.$ac_objext
11449 if { (ac_try="$ac_compile"
11450 case "(($ac_try" in
11451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11454 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11455 $as_echo "$ac_try_echo") >&5
11456 (eval "$ac_compile") 2>conftest.er1
11458 grep -v '^ *+' conftest.er1 >conftest.err
11460 cat conftest.err >&5
11461 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest.$ac_objext; then
11466 ac_header_compiler=yes
11468 $as_echo "$as_me: failed program was
:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11471 ac_header_compiler=no
11474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11475 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11476 $as_echo "$ac_header_compiler" >&6; }
11478 # Is the header present?
11479 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11480 $as_echo_n "checking
$ac_header presence...
" >&6; }
11481 cat >conftest.$ac_ext <<_ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 #include <$ac_header>
11489 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11490 case "(($ac_try" in
11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11494 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11495 $as_echo "$ac_try_echo") >&5
11496 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11498 grep -v '^ *+' conftest.er1 >conftest.err
11500 cat conftest.err >&5
11501 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11502 (exit $ac_status); } >/dev/null && {
11503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11504 test ! -s conftest.err
11506 ac_header_preproc=yes
11508 $as_echo "$as_me: failed program was
:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 ac_header_preproc=no
11514 rm -f conftest.err conftest.$ac_ext
11515 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11516 $as_echo "$ac_header_preproc" >&6; }
11518 # So? What about this header?
11519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11521 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11522 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11523 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11524 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11525 ac_header_preproc=yes
11528 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11529 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11530 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11531 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11532 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11533 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11534 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11535 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11536 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11537 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11538 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11539 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11543 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11544 $as_echo_n "checking
for $ac_header...
" >&6; }
11545 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11546 $as_echo_n "(cached
) " >&6
11548 eval "$as_ac_Header=\
$ac_header_preproc"
11550 ac_res=`eval 'as_val=${'$as_ac_Header'}
11551 $as_echo "$as_val"'`
11552 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11553 $as_echo "$ac_res" >&6; }
11556 as_val=`eval 'as_val=${'$as_ac_Header'}
11557 $as_echo "$as_val"'`
11558 if test "x
$as_val" = x""yes; then
11559 cat >>confdefs.h <<_ACEOF
11560 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11569 check_lib_no_libs dlm dlm_lock -lpthread
11570 if test $NOTFOUND = 0; then
11571 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11572 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11573 DLM_LIBS="-ldlm -lpthread"
11576 elif test $pkg_failed = untried; then
11579 for ac_header in libdlm.h
11581 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11582 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11583 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11584 $as_echo_n "checking
for $ac_header...
" >&6; }
11585 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11586 $as_echo_n "(cached
) " >&6
11588 ac_res=`eval 'as_val=${'$as_ac_Header'}
11589 $as_echo "$as_val"'`
11590 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11591 $as_echo "$ac_res" >&6; }
11593 # Is the header compilable?
11594 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11595 $as_echo_n "checking
$ac_header usability...
" >&6; }
11596 cat >conftest.$ac_ext <<_ACEOF
11599 cat confdefs.h >>conftest.$ac_ext
11600 cat >>conftest.$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11602 $ac_includes_default
11603 #include <$ac_header>
11605 rm -f conftest.$ac_objext
11606 if { (ac_try="$ac_compile"
11607 case "(($ac_try" in
11608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11609 *) ac_try_echo=$ac_try;;
11611 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11612 $as_echo "$ac_try_echo") >&5
11613 (eval "$ac_compile") 2>conftest.er1
11615 grep -v '^ *+' conftest.er1 >conftest.err
11617 cat conftest.err >&5
11618 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11619 (exit $ac_status); } && {
11620 test -z "$ac_c_werror_flag" ||
11621 test ! -s conftest.err
11622 } && test -s conftest.$ac_objext; then
11623 ac_header_compiler=yes
11625 $as_echo "$as_me: failed program was
:" >&5
11626 sed 's/^/| /' conftest.$ac_ext >&5
11628 ac_header_compiler=no
11631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11632 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11633 $as_echo "$ac_header_compiler" >&6; }
11635 # Is the header present?
11636 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11637 $as_echo_n "checking
$ac_header presence...
" >&6; }
11638 cat >conftest.$ac_ext <<_ACEOF
11641 cat confdefs.h >>conftest.$ac_ext
11642 cat >>conftest.$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11644 #include <$ac_header>
11646 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11647 case "(($ac_try" in
11648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11649 *) ac_try_echo=$ac_try;;
11651 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11652 $as_echo "$ac_try_echo") >&5
11653 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11655 grep -v '^ *+' conftest.er1 >conftest.err
11657 cat conftest.err >&5
11658 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11659 (exit $ac_status); } >/dev/null && {
11660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11661 test ! -s conftest.err
11663 ac_header_preproc=yes
11665 $as_echo "$as_me: failed program was
:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11668 ac_header_preproc=no
11671 rm -f conftest.err conftest.$ac_ext
11672 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11673 $as_echo "$ac_header_preproc" >&6; }
11675 # So? What about this header?
11676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11678 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11679 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11680 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11681 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11682 ac_header_preproc=yes
11685 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11686 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11687 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11688 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11689 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11690 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11691 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11692 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11693 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11694 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11695 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11696 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11700 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
11701 $as_echo_n "checking
for $ac_header...
" >&6; }
11702 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11703 $as_echo_n "(cached
) " >&6
11705 eval "$as_ac_Header=\
$ac_header_preproc"
11707 ac_res=`eval 'as_val=${'$as_ac_Header'}
11708 $as_echo "$as_val"'`
11709 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
11710 $as_echo "$ac_res" >&6; }
11713 as_val=`eval 'as_val=${'$as_ac_Header'}
11714 $as_echo "$as_val"'`
11715 if test "x
$as_val" = x""yes; then
11716 cat >>confdefs.h <<_ACEOF
11717 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11726 check_lib_no_libs dlm dlm_lock -lpthread
11727 if test $NOTFOUND = 0; then
11728 { $as_echo "$as_me:$LINENO: result
: no pkg
for libdlm
, using
-ldlm" >&5
11729 $as_echo "no pkg
for libdlm
, using
-ldlm" >&6; }
11730 DLM_LIBS="-ldlm -lpthread"
11734 DLM_CFLAGS=$pkg_cv_DLM_CFLAGS
11735 DLM_LIBS=$pkg_cv_DLM_LIBS
11736 { $as_echo "$as_me:$LINENO: result
: yes" >&5
11737 $as_echo "yes" >&6; }
11742 if test x$CLVMD = xall; then
11744 if test x$HAVE_CCS = xyes && \
11745 test x$HAVE_GULM = xyes; then
11746 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd gulm cluster manager
" >&5
11747 $as_echo "Enabling clvmd gulm cluster manager
" >&6; }
11748 CLVMD="$CLVMD,gulm
"
11750 if test x$HAVE_CMAN = xyes && \
11751 test x$HAVE_DLM = xyes; then
11752 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd cman cluster manager
" >&5
11753 $as_echo "Enabling clvmd cman cluster manager
" >&6; }
11754 CLVMD="$CLVMD,cman
"
11756 if test x$HAVE_COROSYNC = xyes && \
11757 test x$HAVE_QUORUM = xyes && \
11758 test x$HAVE_CPG = xyes && \
11759 test x$HAVE_DLM = xyes && \
11760 test x$HAVE_CONFDB = xyes; then
11761 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd corosync cluster manager
" >&5
11762 $as_echo "Enabling clvmd corosync cluster manager
" >&6; }
11763 CLVMD="$CLVMD,corosync
"
11765 if test x$HAVE_COROSYNC = xyes && \
11766 test x$HAVE_CPG = xyes && \
11767 test x$HAVE_SALCK = xyes; then
11768 { $as_echo "$as_me:$LINENO: result
: Enabling clvmd openais cluster manager
" >&5
11769 $as_echo "Enabling clvmd openais cluster manager
" >&6; }
11770 CLVMD="$CLVMD,openais
"
11772 if test x$CLVMD = xnone; then
11773 { $as_echo "$as_me:$LINENO: result
: Disabling clvmd build. No cluster manager detected.
" >&5
11774 $as_echo "Disabling clvmd build. No cluster manager detected.
" >&6; }
11778 ################################################################################
11779 { $as_echo "$as_me:$LINENO: checking whether to build cluster mirror log daemon
" >&5
11780 $as_echo_n "checking whether to build cluster mirror log daemon...
" >&6; }
11781 # Check whether --enable-cmirrord was given.
11782 if test "${enable_cmirrord+set}" = set; then
11783 enableval=$enable_cmirrord; CMIRRORD=$enableval
11788 { $as_echo "$as_me:$LINENO: result
: $CMIRRORD" >&5
11789 $as_echo "$CMIRRORD" >&6; }
11791 BUILD_CMIRRORD=$CMIRRORD
11793 ################################################################################
11796 if test "x
$BUILD_CMIRRORD" = xyes; then
11798 # Check whether --with-cmirrord-pidfile was given.
11799 if test "${with_cmirrord_pidfile+set}" = set; then
11800 withval=$with_cmirrord_pidfile; cat >>confdefs.h <<_ACEOF
11801 #define CMIRRORD_PIDFILE "$withval"
11805 cat >>confdefs.h <<_ACEOF
11806 #define CMIRRORD_PIDFILE "/var
/run
/cmirrord.pid
"
11813 ################################################################################
11814 if [ "x
$BUILD_CMIRRORD" = xyes ]; then
11815 if test x$PKGCONFIG_INIT != x1; then
11820 { $as_echo "$as_me:$LINENO: checking
for SACKPT
" >&5
11821 $as_echo_n "checking
for SACKPT...
" >&6; }
11823 if test -n "$SACKPT_CFLAGS"; then
11824 pkg_cv_SACKPT_CFLAGS="$SACKPT_CFLAGS"
11825 elif test -n "$PKG_CONFIG"; then
11826 if test -n "$PKG_CONFIG" && \
11827 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11828 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11830 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11831 (exit $ac_status); }; then
11832 pkg_cv_SACKPT_CFLAGS=`$PKG_CONFIG --cflags "libSaCkpt
" 2>/dev/null`
11839 if test -n "$SACKPT_LIBS"; then
11840 pkg_cv_SACKPT_LIBS="$SACKPT_LIBS"
11841 elif test -n "$PKG_CONFIG"; then
11842 if test -n "$PKG_CONFIG" && \
11843 { ($as_echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libSaCkpt
\"") >&5
11844 ($PKG_CONFIG --exists --print-errors "libSaCkpt
") 2>&5
11846 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11847 (exit $ac_status); }; then
11848 pkg_cv_SACKPT_LIBS=`$PKG_CONFIG --libs "libSaCkpt
" 2>/dev/null`
11858 if test $pkg_failed = yes; then
11860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11861 _pkg_short_errors_supported=yes
11863 _pkg_short_errors_supported=no
11865 if test $_pkg_short_errors_supported = yes; then
11866 SACKPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libSaCkpt
" 2>&1`
11868 SACKPT_PKG_ERRORS=`$PKG_CONFIG --print-errors "libSaCkpt
" 2>&1`
11870 # Put the nasty error message in config.log where it belongs
11871 echo "$SACKPT_PKG_ERRORS" >&5
11873 { { $as_echo "$as_me:$LINENO: error
: Package requirements
(libSaCkpt
) were not met
:
11877 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11878 installed software
in a non-standard prefix.
11880 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11881 and SACKPT_LIBS to avoid the need to call pkg-config.
11882 See the pkg-config man page
for more details.
11884 $as_echo "$as_me: error
: Package requirements
(libSaCkpt
) were not met
:
11888 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
11889 installed software
in a non-standard prefix.
11891 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11892 and SACKPT_LIBS to avoid the need to call pkg-config.
11893 See the pkg-config man page
for more details.
11895 { (exit 1); exit 1; }; }
11896 elif test $pkg_failed = untried; then
11897 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11899 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11900 is in your PATH or set the PKG_CONFIG environment variable to the full
11901 path to pkg-config.
11903 Alternatively, you may set the environment variables SACKPT_CFLAGS
11904 and SACKPT_LIBS to avoid the need to call pkg-config.
11905 See the pkg-config man page for more details.
11907 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11908 See \`config.log' for more details.
" >&5
11909 $as_echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
11910 is
in your PATH or
set the PKG_CONFIG environment variable to the full
11911 path to pkg-config.
11913 Alternatively
, you may
set the environment variables SACKPT_CFLAGS
11914 and SACKPT_LIBS to avoid the need to call pkg-config.
11915 See the pkg-config man page
for more details.
11917 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
11918 See \
`config.log' for more details." >&2;}
11919 { (exit 1); exit 1; }; }; }
11921 SACKPT_CFLAGS=$pkg_cv_SACKPT_CFLAGS
11922 SACKPT_LIBS=$pkg_cv_SACKPT_LIBS
11923 { $as_echo "$as_me:$LINENO: result: yes" >&5
11924 $as_echo "yes" >&6; }
11927 if test x$HAVE_CPG != xyes; then
11930 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
11931 $as_echo_n "checking for CPG... " >&6; }
11933 if test -n "$CPG_CFLAGS"; then
11934 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
11935 elif test -n "$PKG_CONFIG"; then
11936 if test -n "$PKG_CONFIG" && \
11937 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11938 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; then
11942 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
11949 if test -n "$CPG_LIBS"; then
11950 pkg_cv_CPG_LIBS="$CPG_LIBS"
11951 elif test -n "$PKG_CONFIG"; then
11952 if test -n "$PKG_CONFIG" && \
11953 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
11954 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
11956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; then
11958 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
11968 if test $pkg_failed = yes; then
11970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11971 _pkg_short_errors_supported=yes
11973 _pkg_short_errors_supported=no
11975 if test $_pkg_short_errors_supported = yes; then
11976 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
11978 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
11980 # Put the nasty error message in config.log where it belongs
11981 echo "$CPG_PKG_ERRORS" >&5
11983 { { $as_echo "$as_me:$LINENO: error: Package requirements (libcpg) were not met:
11987 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11988 installed software in a non-standard prefix.
11990 Alternatively, you may set the environment variables CPG_CFLAGS
11991 and CPG_LIBS to avoid the need to call pkg-config.
11992 See the pkg-config man page for more details.
11994 $as_echo "$as_me: error: Package requirements (libcpg) were not met:
11998 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11999 installed software in a non-standard prefix.
12001 Alternatively, you may set the environment variables CPG_CFLAGS
12002 and CPG_LIBS to avoid the need to call pkg-config.
12003 See the pkg-config man page for more details.
12005 { (exit 1); exit 1; }; }
12006 elif test $pkg_failed = untried; then
12007 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12009 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
12010 is
in your PATH or
set the PKG_CONFIG environment variable to the full
12011 path to pkg-config.
12013 Alternatively
, you may
set the environment variables CPG_CFLAGS
12014 and CPG_LIBS to avoid the need to call pkg-config.
12015 See the pkg-config man page
for more details.
12017 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
12018 See \
`config.log' for more details." >&5
12019 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12020 is in your PATH or set the PKG_CONFIG environment variable to the full
12021 path to pkg-config.
12023 Alternatively, you may set the environment variables CPG_CFLAGS
12024 and CPG_LIBS to avoid the need to call pkg-config.
12025 See the pkg-config man page for more details.
12027 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12028 See \`config.log
' for more details." >&2;}
12029 { (exit 1); exit 1; }; }; }
12031 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
12032 CPG_LIBS=$pkg_cv_CPG_LIBS
12033 { $as_echo "$as_me:$LINENO: result: yes" >&5
12034 $as_echo "yes" >&6; }
12040 ################################################################################
12041 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
12042 $as_echo_n "checking whether to enable debugging... " >&6; }
12043 # Check whether --enable-debug was given.
12044 if test "${enable_debug+set}" = set; then
12045 enableval=$enable_debug; DEBUG=$enableval
12050 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
12051 $as_echo "$DEBUG" >&6; }
12053 if test x$DEBUG = xyes; then
12059 ################################################################################
12060 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
12061 $as_echo_n "checking for C optimisation flag... " >&6; }
12063 # Check whether --with-optimisation was given.
12064 if test "${with_optimisation+set}" = set; then
12065 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
12068 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
12069 $as_echo "$COPTIMISE_FLAG" >&6; }
12071 ################################################################################
12072 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
12073 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
12074 # Check whether --enable-profiling was given.
12075 if test "${enable_profiling+set}" = set; then
12076 enableval=$enable_profiling; PROFILING=$enableval
12081 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
12082 $as_echo "$PROFILING" >&6; }
12084 if test "x$PROFILING" = xyes; then
12085 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
12086 # Extract the first word of "lcov", so it can be a program name with args.
12087 set dummy lcov; ac_word=$2
12088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12089 $as_echo_n "checking for $ac_word... " >&6; }
12090 if test "${ac_cv_path_LCOV+set}" = set; then
12091 $as_echo_n "(cached) " >&6
12095 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
12098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12099 for as_dir in $PATH
12102 test -z "$as_dir" && as_dir=.
12103 for ac_exec_ext in '' $ac_executable_extensions; do
12104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12105 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
12106 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12113 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
12117 LCOV=$ac_cv_path_LCOV
12118 if test -n "$LCOV"; then
12119 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
12120 $as_echo "$LCOV" >&6; }
12122 { $as_echo "$as_me:$LINENO: result: no" >&5
12123 $as_echo "no" >&6; }
12127 # Extract the first word of "genhtml", so it can be a program name with args.
12128 set dummy genhtml; ac_word=$2
12129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12130 $as_echo_n "checking for $ac_word... " >&6; }
12131 if test "${ac_cv_path_GENHTML+set}" = set; then
12132 $as_echo_n "(cached) " >&6
12136 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
12139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12140 for as_dir in $PATH
12143 test -z "$as_dir" && as_dir=.
12144 for ac_exec_ext in '' $ac_executable_extensions; do
12145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12146 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
12147 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12154 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
12158 GENHTML=$ac_cv_path_GENHTML
12159 if test -n "$GENHTML"; then
12160 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
12161 $as_echo "$GENHTML" >&6; }
12163 { $as_echo "$as_me:$LINENO: result: no" >&5
12164 $as_echo "no" >&6; }
12168 if test "$LCOV" = no -o "$GENHTML" = no ; then
12169 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
12170 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
12171 { (exit 1); exit 1; }; }
12175 ################################################################################
12176 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
12177 $as_echo_n "checking whether to use device-mapper... " >&6; }
12178 # Check whether --enable-devmapper was given.
12179 if test "${enable_devmapper+set}" = set; then
12180 enableval=$enable_devmapper; DEVMAPPER=$enableval
12183 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
12184 $as_echo "$DEVMAPPER" >&6; }
12186 if test x$DEVMAPPER = xyes; then
12188 cat >>confdefs.h <<\_ACEOF
12189 #define DEVMAPPER_SUPPORT 1
12194 ################################################################################
12195 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
12196 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
12197 # Check whether --enable-udev_sync was given.
12198 if test "${enable_udev_sync+set}" = set; then
12199 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
12204 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
12205 $as_echo "$UDEV_SYNC" >&6; }
12207 if test x$UDEV_SYNC = xyes; then
12209 cat >>confdefs.h <<\_ACEOF
12210 #define UDEV_SYNC_SUPPORT 1
12215 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
12216 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
12217 # Check whether --enable-udev_rules was given.
12218 if test "${enable_udev_rules+set}" = set; then
12219 enableval=$enable_udev_rules; UDEV_RULES=$enableval
12221 UDEV_RULES=$UDEV_SYNC
12224 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
12225 $as_echo "$UDEV_RULES" >&6; }
12227 ################################################################################
12229 if test x$UDEV_SYNC = xyes; then
12230 { $as_echo "$as_me:$LINENO: checking for udev_queue_get_udev_is_active in -ludev" >&5
12231 $as_echo_n "checking for udev_queue_get_udev_is_active in -ludev... " >&6; }
12232 if test "${ac_cv_lib_udev_udev_queue_get_udev_is_active+set}" = set; then
12233 $as_echo_n "(cached) " >&6
12235 ac_check_lib_save_LIBS=$LIBS
12236 LIBS="-ludev $LIBS"
12237 cat >conftest.$ac_ext <<_ACEOF
12240 cat confdefs.h >>conftest.$ac_ext
12241 cat >>conftest.$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12250 char udev_queue_get_udev_is_active ();
12254 return udev_queue_get_udev_is_active ();
12259 rm -f conftest.$ac_objext conftest$ac_exeext
12260 if { (ac_try="$ac_link"
12261 case "(($ac_try" in
12262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12263 *) ac_try_echo=$ac_try;;
12265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12266 $as_echo "$ac_try_echo") >&5
12267 (eval "$ac_link") 2>conftest.er1
12269 grep -v '^
*+' conftest.er1 >conftest.err
12271 cat conftest.err >&5
12272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } && {
12274 test -z "$ac_c_werror_flag" ||
12275 test ! -s conftest.err
12276 } && test -s conftest$ac_exeext && {
12277 test "$cross_compiling" = yes ||
12278 $as_test_x conftest$ac_exeext
12280 ac_cv_lib_udev_udev_queue_get_udev_is_active=yes
12282 $as_echo "$as_me: failed program was:" >&5
12283 sed 's
/^
/|
/' conftest.$ac_ext >&5
12285 ac_cv_lib_udev_udev_queue_get_udev_is_active=no
12288 rm -rf conftest.dSYM
12289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_udev_udev_queue_get_udev_is_active" >&5
12294 $as_echo "$ac_cv_lib_udev_udev_queue_get_udev_is_active" >&6; }
12295 if test "x$ac_cv_lib_udev_udev_queue_get_udev_is_active" = x""yes; then
12296 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=yes
12298 HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE=no
12302 if test x$HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE = xyes; then
12304 cat >>confdefs.h <<\_ACEOF
12305 #define HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE 1
12308 LIBS="-ludev $LIBS"
12312 ################################################################################
12313 # Check whether --enable-compat was given.
12314 if test "${enable_compat+set}" = set; then
12315 enableval=$enable_compat; DM_COMPAT=$enableval
12321 ################################################################################
12322 # Check whether --enable-units-compat was given.
12323 if test "${enable_units_compat+set}" = set; then
12324 enableval=$enable_units_compat; UNITS_COMPAT=$enableval
12330 if test x$UNITS_COMPAT = xyes; then
12332 cat >>confdefs.h <<\_ACEOF
12333 #define DEFAULT_SI_UNIT_CONSISTENCY 0
12338 ################################################################################
12339 # Check whether --enable-ioctl was given.
12340 if test "${enable_ioctl+set}" = set; then
12341 enableval=$enable_ioctl; DM_IOCTLS=$enableval
12345 ################################################################################
12346 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
12347 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
12348 # Check whether --enable-o_direct was given.
12349 if test "${enable_o_direct+set}" = set; then
12350 enableval=$enable_o_direct; ODIRECT=$enableval
12353 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
12354 $as_echo "$ODIRECT" >&6; }
12356 if test x$ODIRECT = xyes; then
12358 cat >>confdefs.h <<\_ACEOF
12359 #define O_DIRECT_SUPPORT 1
12364 ################################################################################
12365 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
12366 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
12367 # Check whether --enable-applib was given.
12368 if test "${enable_applib+set}" = set; then
12369 enableval=$enable_applib; APPLIB=$enableval
12374 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
12375 $as_echo "$APPLIB" >&6; }
12377 test x$APPLIB = xyes \
12378 && LVM2APP_LIB=-llvm2app \
12381 ################################################################################
12382 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
12383 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
12384 # Check whether --enable-cmdlib was given.
12385 if test "${enable_cmdlib+set}" = set; then
12386 enableval=$enable_cmdlib; CMDLIB=$enableval
12391 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
12392 $as_echo "$CMDLIB" >&6; }
12394 test x$CMDLIB = xyes \
12395 && LVM2CMD_LIB=-llvm2cmd \
12398 ################################################################################
12399 # Check whether --enable-pkgconfig was given.
12400 if test "${enable_pkgconfig+set}" = set; then
12401 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
12407 ################################################################################
12408 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
12409 $as_echo_n "checking whether to install fsadm... " >&6; }
12410 # Check whether --enable-fsadm was given.
12411 if test "${enable_fsadm+set}" = set; then
12412 enableval=$enable_fsadm; FSADM=$enableval
12415 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
12416 $as_echo "$FSADM" >&6; }
12418 ################################################################################
12419 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
12420 $as_echo_n "checking whether to use dmeventd... " >&6; }
12421 # Check whether --enable-dmeventd was given.
12422 if test "${enable_dmeventd+set}" = set; then
12423 enableval=$enable_dmeventd; DMEVENTD=$enableval
12426 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
12427 $as_echo "$DMEVENTD" >&6; }
12429 BUILD_DMEVENTD=$DMEVENTD
12431 if test x$DMEVENTD = xyes; then
12432 if test x$MIRRORS != xinternal; then
12433 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
12435 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
12437 { (exit 1); exit 1; }; }
12439 if test x$CMDLIB = xno; then
12440 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12442 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
12444 { (exit 1); exit 1; }; }
12448 if test x$DMEVENTD = xyes; then
12450 cat >>confdefs.h <<\_ACEOF
12456 ################################################################################
12458 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
12459 $as_echo_n "checking for getline in -lc... " >&6; }
12460 if test "${ac_cv_lib_c_getline+set}" = set; then
12461 $as_echo_n "(cached) " >&6
12463 ac_check_lib_save_LIBS=$LIBS
12465 cat >conftest.$ac_ext <<_ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12487 rm -f conftest.$ac_objext conftest$ac_exeext
12488 if { (ac_try="$ac_link"
12489 case "(($ac_try" in
12490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12491 *) ac_try_echo=$ac_try;;
12493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12494 $as_echo "$ac_try_echo") >&5
12495 (eval "$ac_link") 2>conftest.er1
12497 grep -v '^
*+' conftest.er1 >conftest.err
12499 cat conftest.err >&5
12500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } && {
12502 test -z "$ac_c_werror_flag" ||
12503 test ! -s conftest.err
12504 } && test -s conftest$ac_exeext && {
12505 test "$cross_compiling" = yes ||
12506 $as_test_x conftest$ac_exeext
12508 ac_cv_lib_c_getline=yes
12510 $as_echo "$as_me: failed program was:" >&5
12511 sed 's
/^
/|
/' conftest.$ac_ext >&5
12513 ac_cv_lib_c_getline=no
12516 rm -rf conftest.dSYM
12517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12518 conftest$ac_exeext conftest.$ac_ext
12519 LIBS=$ac_check_lib_save_LIBS
12521 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
12522 $as_echo "$ac_cv_lib_c_getline" >&6; }
12523 if test "x$ac_cv_lib_c_getline" = x""yes; then
12525 cat >>confdefs.h <<\_ACEOF
12526 #define HAVE_GETLINE 1
12532 ################################################################################
12534 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
12535 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
12536 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
12537 $as_echo_n "(cached) " >&6
12539 ac_check_lib_save_LIBS=$LIBS
12541 cat >conftest.$ac_ext <<_ACEOF
12544 cat confdefs.h >>conftest.$ac_ext
12545 cat >>conftest.$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12554 char canonicalize_file_name ();
12558 return canonicalize_file_name ();
12563 rm -f conftest.$ac_objext conftest$ac_exeext
12564 if { (ac_try="$ac_link"
12565 case "(($ac_try" in
12566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12567 *) ac_try_echo=$ac_try;;
12569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12570 $as_echo "$ac_try_echo") >&5
12571 (eval "$ac_link") 2>conftest.er1
12573 grep -v '^
*+' conftest.er1 >conftest.err
12575 cat conftest.err >&5
12576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } && {
12578 test -z "$ac_c_werror_flag" ||
12579 test ! -s conftest.err
12580 } && test -s conftest$ac_exeext && {
12581 test "$cross_compiling" = yes ||
12582 $as_test_x conftest$ac_exeext
12584 ac_cv_lib_c_canonicalize_file_name=yes
12586 $as_echo "$as_me: failed program was:" >&5
12587 sed 's
/^
/|
/' conftest.$ac_ext >&5
12589 ac_cv_lib_c_canonicalize_file_name=no
12592 rm -rf conftest.dSYM
12593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12594 conftest$ac_exeext conftest.$ac_ext
12595 LIBS=$ac_check_lib_save_LIBS
12597 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
12598 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
12599 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
12601 cat >>confdefs.h <<\_ACEOF
12602 #define HAVE_CANONICALIZE_FILE_NAME 1
12608 ################################################################################
12609 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
12610 then exec_prefix="";
12613 ################################################################################
12614 if test x$READLINE != xno; then
12615 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
12616 $as_echo_n "checking for library containing tgetent... " >&6; }
12617 if test "${ac_cv_search_tgetent+set}" = set; then
12618 $as_echo_n "(cached) " >&6
12620 ac_func_search_save_LIBS=$LIBS
12621 cat >conftest.$ac_ext <<_ACEOF
12624 cat confdefs.h >>conftest.$ac_ext
12625 cat >>conftest.$ac_ext <<_ACEOF
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12643 for ac_lib in '' tinfo ncurses curses termcap termlib; do
12644 if test -z "$ac_lib"; then
12645 ac_res="none required"
12648 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12650 rm -f conftest.$ac_objext conftest$ac_exeext
12651 if { (ac_try="$ac_link"
12652 case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12657 $as_echo "$ac_try_echo") >&5
12658 (eval "$ac_link") 2>conftest.er1
12660 grep -v '^
*+' conftest.er1 >conftest.err
12662 cat conftest.err >&5
12663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } && {
12665 test -z "$ac_c_werror_flag" ||
12666 test ! -s conftest.err
12667 } && test -s conftest$ac_exeext && {
12668 test "$cross_compiling" = yes ||
12669 $as_test_x conftest$ac_exeext
12671 ac_cv_search_tgetent=$ac_res
12673 $as_echo "$as_me: failed program was:" >&5
12674 sed 's
/^
/|
/' conftest.$ac_ext >&5
12679 rm -rf conftest.dSYM
12680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12682 if test "${ac_cv_search_tgetent+set}" = set; then
12686 if test "${ac_cv_search_tgetent+set}" = set; then
12689 ac_cv_search_tgetent=no
12691 rm conftest.$ac_ext
12692 LIBS=$ac_func_search_save_LIBS
12694 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
12695 $as_echo "$ac_cv_search_tgetent" >&6; }
12696 ac_res=$ac_cv_search_tgetent
12697 if test "$ac_res" != no; then
12698 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12704 test x$READLINE:$tg_found = xyes:no &&
12705 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
12706 --enable-readline option (which is enabled by default). Either disable readline
12707 support with --disable-readline or download and install termcap from:
12708 ftp.gnu.org/gnu/termcap
12709 Note: if you are using precompiled packages you will also need the development
12710 package as well (which may be called termcap-devel or something similar).
12711 Note: (n)curses also seems to work as a substitute for termcap. This was
12712 not found either - but you could try installing that as well.
12714 $as_echo "$as_me: error: termcap could not be found which is required for the
12715 --enable-readline option (which is enabled by default). Either disable readline
12716 support with --disable-readline or download and install termcap from:
12717 ftp.gnu.org/gnu/termcap
12718 Note: if you are using precompiled packages you will also need the development
12719 package as well (which may be called termcap-devel or something similar).
12720 Note: (n)curses also seems to work as a substitute for termcap. This was
12721 not found either - but you could try installing that as well.
12723 { (exit 1); exit 1; }; }
12726 ################################################################################
12727 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12728 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12729 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12730 $as_echo_n "(cached) " >&6
12732 ac_check_lib_save_LIBS=$LIBS
12734 cat >conftest.$ac_ext <<_ACEOF
12737 cat confdefs.h >>conftest.$ac_ext
12738 cat >>conftest.$ac_ext <<_ACEOF
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12756 rm -f conftest.$ac_objext conftest$ac_exeext
12757 if { (ac_try="$ac_link"
12758 case "(($ac_try" in
12759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12760 *) ac_try_echo=$ac_try;;
12762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12763 $as_echo "$ac_try_echo") >&5
12764 (eval "$ac_link") 2>conftest.er1
12766 grep -v '^
*+' conftest.er1 >conftest.err
12768 cat conftest.err >&5
12769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } && {
12771 test -z "$ac_c_werror_flag" ||
12772 test ! -s conftest.err
12773 } && test -s conftest$ac_exeext && {
12774 test "$cross_compiling" = yes ||
12775 $as_test_x conftest$ac_exeext
12777 ac_cv_lib_dl_dlopen=yes
12779 $as_echo "$as_me: failed program was:" >&5
12780 sed 's
/^
/|
/' conftest.$ac_ext >&5
12782 ac_cv_lib_dl_dlopen=no
12785 rm -rf conftest.dSYM
12786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12791 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12792 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12799 if [ "x$HAVE_LIBDL" = xyes ]; then
12801 cat >>confdefs.h <<\_ACEOF
12802 #define HAVE_LIBDL 1
12810 ################################################################################
12811 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
12812 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
12813 \) -a "x$STATIC_LINK" = xyes ];
12814 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared
' when building statically
12816 $as_echo "$as_me: error: Features cannot be 'shared
' when building statically
12818 { (exit 1); exit 1; }; }
12821 ################################################################################
12822 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
12823 $as_echo_n "checking whether to enable selinux support... " >&6; }
12824 # Check whether --enable-selinux was given.
12825 if test "${enable_selinux+set}" = set; then
12826 enableval=$enable_selinux; SELINUX=$enableval
12829 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
12830 $as_echo "$SELINUX" >&6; }
12832 ################################################################################
12833 if test x$SELINUX = xyes; then
12834 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
12835 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
12836 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
12837 $as_echo_n "(cached) " >&6
12839 ac_check_lib_save_LIBS=$LIBS
12840 LIBS="-lsepol $LIBS"
12841 cat >conftest.$ac_ext <<_ACEOF
12844 cat confdefs.h >>conftest.$ac_ext
12845 cat >>conftest.$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12848 /* Override any GCC internal prototype to avoid an error.
12849 Use char because int might match the return type of a GCC
12850 builtin and then its argument prototype would still apply. */
12854 char sepol_check_context ();
12858 return sepol_check_context ();
12863 rm -f conftest.$ac_objext conftest$ac_exeext
12864 if { (ac_try="$ac_link"
12865 case "(($ac_try" in
12866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12867 *) ac_try_echo=$ac_try;;
12869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12870 $as_echo "$ac_try_echo") >&5
12871 (eval "$ac_link") 2>conftest.er1
12873 grep -v '^
*+' conftest.er1 >conftest.err
12875 cat conftest.err >&5
12876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); } && {
12878 test -z "$ac_c_werror_flag" ||
12879 test ! -s conftest.err
12880 } && test -s conftest$ac_exeext && {
12881 test "$cross_compiling" = yes ||
12882 $as_test_x conftest$ac_exeext
12884 ac_cv_lib_sepol_sepol_check_context=yes
12886 $as_echo "$as_me: failed program was:" >&5
12887 sed 's
/^
/|
/' conftest.$ac_ext >&5
12889 ac_cv_lib_sepol_sepol_check_context=no
12892 rm -rf conftest.dSYM
12893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12897 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
12898 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
12899 if test "x$ac_cv_lib_sepol_sepol_check_context" = x""yes; then
12906 if test x$HAVE_SEPOL = xyes; then
12908 cat >>confdefs.h <<\_ACEOF
12909 #define HAVE_SEPOL 1
12912 SELINUX_LIBS="-lsepol $SELINUX_LIBS"
12915 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
12916 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
12917 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
12918 $as_echo_n "(cached) " >&6
12920 ac_check_lib_save_LIBS=$LIBS
12921 LIBS="-lselinux $LIBS"
12922 cat >conftest.$ac_ext <<_ACEOF
12925 cat confdefs.h >>conftest.$ac_ext
12926 cat >>conftest.$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12935 char is_selinux_enabled ();
12939 return is_selinux_enabled ();
12944 rm -f conftest.$ac_objext conftest$ac_exeext
12945 if { (ac_try="$ac_link"
12946 case "(($ac_try" in
12947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12948 *) ac_try_echo=$ac_try;;
12950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12951 $as_echo "$ac_try_echo") >&5
12952 (eval "$ac_link") 2>conftest.er1
12954 grep -v '^
*+' conftest.er1 >conftest.err
12956 cat conftest.err >&5
12957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } && {
12959 test -z "$ac_c_werror_flag" ||
12960 test ! -s conftest.err
12961 } && test -s conftest$ac_exeext && {
12962 test "$cross_compiling" = yes ||
12963 $as_test_x conftest$ac_exeext
12965 ac_cv_lib_selinux_is_selinux_enabled=yes
12967 $as_echo "$as_me: failed program was:" >&5
12968 sed 's
/^
/|
/' conftest.$ac_ext >&5
12970 ac_cv_lib_selinux_is_selinux_enabled=no
12973 rm -rf conftest.dSYM
12974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12975 conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_check_lib_save_LIBS
12978 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
12979 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
12980 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
12987 if test x$HAVE_SELINUX = xyes; then
12989 cat >>confdefs.h <<\_ACEOF
12990 #define HAVE_SELINUX 1
12993 SELINUX_LIBS="-lselinux $SELINUX_LIBS"
12995 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
12996 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
12998 LIBS="$SELINUX_LIBS $LIBS"
13000 # With --enable-static_link and selinux enabled, linking
13001 # fails on at least Debian unstable due to unsatisfied references
13002 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
13003 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
13004 lvm_saved_libs=$LIBS
13005 LIBS="$LIBS -static"
13006 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
13007 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
13008 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13009 $as_echo_n "(cached) " >&6
13011 ac_func_search_save_LIBS=$LIBS
13012 cat >conftest.$ac_ext <<_ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13025 char pthread_mutex_lock ();
13029 return pthread_mutex_lock ();
13034 for ac_lib in '' pthread; do
13035 if test -z "$ac_lib"; then
13036 ac_res="none required"
13039 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13041 rm -f conftest.$ac_objext conftest$ac_exeext
13042 if { (ac_try="$ac_link"
13043 case "(($ac_try" in
13044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13045 *) ac_try_echo=$ac_try;;
13047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13048 $as_echo "$ac_try_echo") >&5
13049 (eval "$ac_link") 2>conftest.er1
13051 grep -v '^
*+' conftest.er1 >conftest.err
13053 cat conftest.err >&5
13054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } && {
13056 test -z "$ac_c_werror_flag" ||
13057 test ! -s conftest.err
13058 } && test -s conftest$ac_exeext && {
13059 test "$cross_compiling" = yes ||
13060 $as_test_x conftest$ac_exeext
13062 ac_cv_search_pthread_mutex_lock=$ac_res
13064 $as_echo "$as_me: failed program was:" >&5
13065 sed 's
/^
/|
/' conftest.$ac_ext >&5
13070 rm -rf conftest.dSYM
13071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13073 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13077 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
13080 ac_cv_search_pthread_mutex_lock=no
13082 rm conftest.$ac_ext
13083 LIBS=$ac_func_search_save_LIBS
13085 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
13086 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
13087 ac_res=$ac_cv_search_pthread_mutex_lock
13088 if test "$ac_res" != no; then
13089 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13090 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
13091 LIB_PTHREAD=-lpthread
13094 LIBS=$lvm_saved_libs
13098 ################################################################################
13099 if test x$REALTIME = xyes; then
13100 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
13101 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13102 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
13103 $as_echo_n "(cached) " >&6
13105 ac_check_lib_save_LIBS=$LIBS
13107 cat >conftest.$ac_ext <<_ACEOF
13110 cat confdefs.h >>conftest.$ac_ext
13111 cat >>conftest.$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13120 char clock_gettime ();
13124 return clock_gettime ();
13129 rm -f conftest.$ac_objext conftest$ac_exeext
13130 if { (ac_try="$ac_link"
13131 case "(($ac_try" in
13132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13133 *) ac_try_echo=$ac_try;;
13135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13136 $as_echo "$ac_try_echo") >&5
13137 (eval "$ac_link") 2>conftest.er1
13139 grep -v '^
*+' conftest.er1 >conftest.err
13141 cat conftest.err >&5
13142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } && {
13144 test -z "$ac_c_werror_flag" ||
13145 test ! -s conftest.err
13146 } && test -s conftest$ac_exeext && {
13147 test "$cross_compiling" = yes ||
13148 $as_test_x conftest$ac_exeext
13150 ac_cv_lib_rt_clock_gettime=yes
13152 $as_echo "$as_me: failed program was:" >&5
13153 sed 's
/^
/|
/' conftest.$ac_ext >&5
13155 ac_cv_lib_rt_clock_gettime=no
13158 rm -rf conftest.dSYM
13159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13160 conftest$ac_exeext conftest.$ac_ext
13161 LIBS=$ac_check_lib_save_LIBS
13163 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
13164 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13165 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
13172 if test x$HAVE_REALTIME = xyes; then
13174 cat >>confdefs.h <<\_ACEOF
13175 #define HAVE_REALTIME 1
13180 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
13181 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
13185 ################################################################################
13187 for ac_header in getopt.h
13189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13191 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13192 $as_echo_n "checking for $ac_header... " >&6; }
13193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13194 $as_echo_n "(cached) " >&6
13196 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13197 $as_echo "$as_val"'`
13198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13199 $as_echo "$ac_res" >&6; }
13201 # Is the header compilable?
13202 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13203 $as_echo_n "checking $ac_header usability... " >&6; }
13204 cat >conftest.$ac_ext <<_ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 $ac_includes_default
13211 #include <$ac_header>
13213 rm -f conftest.$ac_objext
13214 if { (ac_try="$ac_compile"
13215 case "(($ac_try" in
13216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13217 *) ac_try_echo=$ac_try;;
13219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13220 $as_echo "$ac_try_echo") >&5
13221 (eval "$ac_compile") 2>conftest.er1
13223 grep -v '^
*+' conftest.er1 >conftest.err
13225 cat conftest.err >&5
13226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } && {
13228 test -z "$ac_c_werror_flag" ||
13229 test ! -s conftest.err
13230 } && test -s conftest.$ac_objext; then
13231 ac_header_compiler=yes
13233 $as_echo "$as_me: failed program was:" >&5
13234 sed 's
/^
/|
/' conftest.$ac_ext >&5
13236 ac_header_compiler=no
13239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13240 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13241 $as_echo "$ac_header_compiler" >&6; }
13243 # Is the header present?
13244 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13245 $as_echo_n "checking $ac_header presence... " >&6; }
13246 cat >conftest.$ac_ext <<_ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13252 #include <$ac_header>
13254 if { (ac_try="$ac_cpp conftest.$ac_ext"
13255 case "(($ac_try" in
13256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13257 *) ac_try_echo=$ac_try;;
13259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13260 $as_echo "$ac_try_echo") >&5
13261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13263 grep -v '^
*+' conftest.er1 >conftest.err
13265 cat conftest.err >&5
13266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } >/dev/null && {
13268 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13269 test ! -s conftest.err
13271 ac_header_preproc=yes
13273 $as_echo "$as_me: failed program was:" >&5
13274 sed 's
/^
/|
/' conftest.$ac_ext >&5
13276 ac_header_preproc=no
13279 rm -f conftest.err conftest.$ac_ext
13280 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13281 $as_echo "$ac_header_preproc" >&6; }
13283 # So? What about this header?
13284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13287 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13289 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13290 ac_header_preproc=yes
13293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13294 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13296 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13298 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13300 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13302 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13304 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13309 $as_echo_n "checking for $ac_header... " >&6; }
13310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13311 $as_echo_n "(cached) " >&6
13313 eval "$as_ac_Header=\$ac_header_preproc"
13315 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13316 $as_echo "$as_val"'`
13317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13318 $as_echo "$ac_res" >&6; }
13321 as_val=`eval 'as_val
=${'$as_ac_Header'}
13322 $as_echo "$as_val"'`
13323 if test "x$as_val" = x""yes; then
13324 cat >>confdefs.h <<_ACEOF
13325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13328 cat >>confdefs.h <<\_ACEOF
13329 #define HAVE_GETOPTLONG 1
13337 ################################################################################
13338 if test x$READLINE != xno; then
13341 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
13342 $as_echo_n "checking for readline in -lreadline... " >&6; }
13343 if test "${ac_cv_lib_readline_readline+set}" = set; then
13344 $as_echo_n "(cached) " >&6
13346 ac_check_lib_save_LIBS=$LIBS
13347 LIBS="-lreadline $LIBS"
13348 cat >conftest.$ac_ext <<_ACEOF
13351 cat confdefs.h >>conftest.$ac_ext
13352 cat >>conftest.$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13365 return readline ();
13370 rm -f conftest.$ac_objext conftest$ac_exeext
13371 if { (ac_try="$ac_link"
13372 case "(($ac_try" in
13373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13374 *) ac_try_echo=$ac_try;;
13376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13377 $as_echo "$ac_try_echo") >&5
13378 (eval "$ac_link") 2>conftest.er1
13380 grep -v '^
*+' conftest.er1 >conftest.err
13382 cat conftest.err >&5
13383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } && {
13385 test -z "$ac_c_werror_flag" ||
13386 test ! -s conftest.err
13387 } && test -s conftest$ac_exeext && {
13388 test "$cross_compiling" = yes ||
13389 $as_test_x conftest$ac_exeext
13391 ac_cv_lib_readline_readline=yes
13393 $as_echo "$as_me: failed program was:" >&5
13394 sed 's
/^
/|
/' conftest.$ac_ext >&5
13396 ac_cv_lib_readline_readline=no
13399 rm -rf conftest.dSYM
13400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13401 conftest$ac_exeext conftest.$ac_ext
13402 LIBS=$ac_check_lib_save_LIBS
13404 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
13405 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13406 if test "x$ac_cv_lib_readline_readline" = x""yes; then
13407 cat >>confdefs.h <<_ACEOF
13408 #define HAVE_LIBREADLINE 1
13411 LIBS="-lreadline $LIBS"
13417 test x$READLINE:$rl_found = xyes:no &&
13418 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
13419 --enable-readline option (which is enabled by default). Either disable readline
13420 support with --disable-readline or download and install readline from:
13421 ftp.gnu.org/gnu/readline
13422 Note: if you are using precompiled packages you will also need the development
13423 package as well (which may be called readline-devel or something similar).
13425 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
13426 --enable-readline option (which is enabled by default). Either disable readline
13427 support with --disable-readline or download and install readline from:
13428 ftp.gnu.org/gnu/readline
13429 Note: if you are using precompiled packages you will also need the development
13430 package as well (which may be called readline-devel or something similar).
13432 { (exit 1); exit 1; }; }
13433 if test $rl_found = yes; then
13435 for ac_func in rl_completion_matches
13437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13438 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13439 $as_echo_n "checking for $ac_func... " >&6; }
13440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13441 $as_echo_n "(cached) " >&6
13443 cat >conftest.$ac_ext <<_ACEOF
13446 cat confdefs.h >>conftest.$ac_ext
13447 cat >>conftest.$ac_ext <<_ACEOF
13448 /* end confdefs.h. */
13449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13451 #define $ac_func innocuous_$ac_func
13453 /* System header to define __stub macros and hopefully few prototypes,
13454 which can conflict with char $ac_func (); below.
13455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13456 <limits.h> exists even on freestanding compilers. */
13459 # include <limits.h>
13461 # include <assert.h>
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13473 /* The GNU C library defines this for functions which it implements
13474 to always fail with ENOSYS. Some functions are actually named
13475 something starting with __ and the normal name is an alias. */
13476 #if defined __stub_$ac_func || defined __stub___$ac_func
13483 return $ac_func ();
13488 rm -f conftest.$ac_objext conftest$ac_exeext
13489 if { (ac_try="$ac_link"
13490 case "(($ac_try" in
13491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13492 *) ac_try_echo=$ac_try;;
13494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13495 $as_echo "$ac_try_echo") >&5
13496 (eval "$ac_link") 2>conftest.er1
13498 grep -v '^
*+' conftest.er1 >conftest.err
13500 cat conftest.err >&5
13501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } && {
13503 test -z "$ac_c_werror_flag" ||
13504 test ! -s conftest.err
13505 } && test -s conftest$ac_exeext && {
13506 test "$cross_compiling" = yes ||
13507 $as_test_x conftest$ac_exeext
13509 eval "$as_ac_var=yes"
13511 $as_echo "$as_me: failed program was:" >&5
13512 sed 's
/^
/|
/' conftest.$ac_ext >&5
13514 eval "$as_ac_var=no"
13517 rm -rf conftest.dSYM
13518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13519 conftest$ac_exeext conftest.$ac_ext
13521 ac_res=`eval 'as_val
=${'$as_ac_var'}
13522 $as_echo "$as_val"'`
13523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13524 $as_echo "$ac_res" >&6; }
13525 as_val=`eval 'as_val
=${'$as_ac_var'}
13526 $as_echo "$as_val"'`
13527 if test "x$as_val" = x""yes; then
13528 cat >>confdefs.h <<_ACEOF
13529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13536 cat >>confdefs.h <<\_ACEOF
13537 #define READLINE_SUPPORT 1
13543 ################################################################################
13544 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
13545 $as_echo_n "checking whether to enable internationalisation... " >&6; }
13546 # Check whether --enable-nls was given.
13547 if test "${enable_nls+set}" = set; then
13548 enableval=$enable_nls; INTL=$enableval
13553 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
13554 $as_echo "$INTL" >&6; }
13556 if test x$INTL = xyes; then
13557 # FIXME - Move this - can be device-mapper too
13558 INTL_PACKAGE="lvm2"
13559 # Extract the first word of "msgfmt", so it can be a program name with args.
13560 set dummy msgfmt; ac_word=$2
13561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13562 $as_echo_n "checking for $ac_word... " >&6; }
13563 if test "${ac_cv_path_MSGFMT+set}" = set; then
13564 $as_echo_n "(cached) " >&6
13568 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13572 for as_dir in $PATH
13575 test -z "$as_dir" && as_dir=.
13576 for ac_exec_ext in '' $ac_executable_extensions; do
13577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13578 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13579 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13589 MSGFMT=$ac_cv_path_MSGFMT
13590 if test -n "$MSGFMT"; then
13591 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13592 $as_echo "$MSGFMT" >&6; }
13594 { $as_echo "$as_me:$LINENO: result: no" >&5
13595 $as_echo "no" >&6; }
13599 if [ "x$MSGFMT" == x ];
13600 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
13602 $as_echo "$as_me: error: msgfmt not found in path $PATH
13604 { (exit 1); exit 1; }; }
13608 # Check whether --with-localedir was given.
13609 if test "${with_localedir+set}" = set; then
13610 withval=$with_localedir; LOCALEDIR="$withval"
13612 LOCALEDIR='${prefix}/share
/locale
'
13617 ################################################################################
13619 # Check whether --with-confdir was given.
13620 if test "${with_confdir+set}" = set; then
13621 withval=$with_confdir; CONFDIR="$withval"
13628 # Check whether --with-staticdir was given.
13629 if test "${with_staticdir+set}" = set; then
13630 withval=$with_staticdir; STATICDIR="$withval"
13632 STATICDIR='${exec_prefix}/sbin
'
13637 # Check whether --with-usrlibdir was given.
13638 if test "${with_usrlibdir+set}" = set; then
13639 withval=$with_usrlibdir; usrlibdir="$withval"
13641 usrlibdir='${prefix}/lib
'
13646 # Check whether --with-usrsbindir was given.
13647 if test "${with_usrsbindir+set}" = set; then
13648 withval=$with_usrsbindir; usrsbindir="$withval"
13650 usrsbindir='${prefix}/sbin
'
13654 ################################################################################
13656 # Check whether --with-udev_prefix was given.
13657 if test "${with_udev_prefix+set}" = set; then
13658 withval=$with_udev_prefix; udev_prefix="$withval"
13660 udev_prefix='${exec_prefix}'
13665 # Check whether --with-udevdir was given.
13666 if test "${with_udevdir+set}" = set; then
13667 withval=$with_udevdir; udevdir="$withval"
13669 udevdir='${udev_prefix}/lib
/udev
/rules.d
'
13673 ################################################################################
13674 if test x$READLINE = xyes; then
13677 for ac_header in readline/readline.h readline/history.h
13679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13681 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13682 $as_echo_n "checking for $ac_header... " >&6; }
13683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13684 $as_echo_n "(cached) " >&6
13686 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13687 $as_echo "$as_val"'`
13688 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13689 $as_echo "$ac_res" >&6; }
13691 # Is the header compilable?
13692 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13693 $as_echo_n "checking $ac_header usability... " >&6; }
13694 cat >conftest.$ac_ext <<_ACEOF
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h. */
13700 $ac_includes_default
13701 #include <$ac_header>
13703 rm -f conftest.$ac_objext
13704 if { (ac_try="$ac_compile"
13705 case "(($ac_try" in
13706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13707 *) ac_try_echo=$ac_try;;
13709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13710 $as_echo "$ac_try_echo") >&5
13711 (eval "$ac_compile") 2>conftest.er1
13713 grep -v '^
*+' conftest.er1 >conftest.err
13715 cat conftest.err >&5
13716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } && {
13718 test -z "$ac_c_werror_flag" ||
13719 test ! -s conftest.err
13720 } && test -s conftest.$ac_objext; then
13721 ac_header_compiler=yes
13723 $as_echo "$as_me: failed program was:" >&5
13724 sed 's
/^
/|
/' conftest.$ac_ext >&5
13726 ac_header_compiler=no
13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13730 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13731 $as_echo "$ac_header_compiler" >&6; }
13733 # Is the header present?
13734 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13735 $as_echo_n "checking $ac_header presence... " >&6; }
13736 cat >conftest.$ac_ext <<_ACEOF
13739 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF
13741 /* end confdefs.h. */
13742 #include <$ac_header>
13744 if { (ac_try="$ac_cpp conftest.$ac_ext"
13745 case "(($ac_try" in
13746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13747 *) ac_try_echo=$ac_try;;
13749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13750 $as_echo "$ac_try_echo") >&5
13751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13753 grep -v '^
*+' conftest.er1 >conftest.err
13755 cat conftest.err >&5
13756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } >/dev/null && {
13758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13759 test ! -s conftest.err
13761 ac_header_preproc=yes
13763 $as_echo "$as_me: failed program was:" >&5
13764 sed 's
/^
/|
/' conftest.$ac_ext >&5
13766 ac_header_preproc=no
13769 rm -f conftest.err conftest.$ac_ext
13770 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13771 $as_echo "$ac_header_preproc" >&6; }
13773 # So? What about this header?
13774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13777 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13779 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13780 ac_header_preproc=yes
13783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13784 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13786 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13788 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13790 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13792 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13794 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13798 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13799 $as_echo_n "checking for $ac_header... " >&6; }
13800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13801 $as_echo_n "(cached) " >&6
13803 eval "$as_ac_Header=\$ac_header_preproc"
13805 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13806 $as_echo "$as_val"'`
13807 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13808 $as_echo "$ac_res" >&6; }
13811 as_val=`eval 'as_val
=${'$as_ac_Header'}
13812 $as_echo "$as_val"'`
13813 if test "x$as_val" = x""yes; then
13814 cat >>confdefs.h <<_ACEOF
13815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13819 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13820 $as_echo "$as_me: error: bailing out" >&2;}
13821 { (exit 1); exit 1; }; }
13828 if test x$CLVMD != xnone; then
13839 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
13841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13843 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 $as_echo_n "checking for $ac_header... " >&6; }
13845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13846 $as_echo_n "(cached) " >&6
13848 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13849 $as_echo "$as_val"'`
13850 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13851 $as_echo "$ac_res" >&6; }
13853 # Is the header compilable?
13854 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13855 $as_echo_n "checking $ac_header usability... " >&6; }
13856 cat >conftest.$ac_ext <<_ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862 $ac_includes_default
13863 #include <$ac_header>
13865 rm -f conftest.$ac_objext
13866 if { (ac_try="$ac_compile"
13867 case "(($ac_try" in
13868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13872 $as_echo "$ac_try_echo") >&5
13873 (eval "$ac_compile") 2>conftest.er1
13875 grep -v '^
*+' conftest.er1 >conftest.err
13877 cat conftest.err >&5
13878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } && {
13880 test -z "$ac_c_werror_flag" ||
13881 test ! -s conftest.err
13882 } && test -s conftest.$ac_objext; then
13883 ac_header_compiler=yes
13885 $as_echo "$as_me: failed program was:" >&5
13886 sed 's
/^
/|
/' conftest.$ac_ext >&5
13888 ac_header_compiler=no
13891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13892 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13893 $as_echo "$ac_header_compiler" >&6; }
13895 # Is the header present?
13896 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13897 $as_echo_n "checking $ac_header presence... " >&6; }
13898 cat >conftest.$ac_ext <<_ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <$ac_header>
13906 if { (ac_try="$ac_cpp conftest.$ac_ext"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13912 $as_echo "$ac_try_echo") >&5
13913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13915 grep -v '^
*+' conftest.er1 >conftest.err
13917 cat conftest.err >&5
13918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); } >/dev/null && {
13920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13921 test ! -s conftest.err
13923 ac_header_preproc=yes
13925 $as_echo "$as_me: failed program was:" >&5
13926 sed 's
/^
/|
/' conftest.$ac_ext >&5
13928 ac_header_preproc=no
13931 rm -f conftest.err conftest.$ac_ext
13932 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13933 $as_echo "$ac_header_preproc" >&6; }
13935 # So? What about this header?
13936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13939 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
13941 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
13942 ac_header_preproc=yes
13945 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13946 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13947 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13948 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13949 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13950 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13952 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
13954 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
13955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13956 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13960 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13961 $as_echo_n "checking for $ac_header... " >&6; }
13962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13963 $as_echo_n "(cached) " >&6
13965 eval "$as_ac_Header=\$ac_header_preproc"
13967 ac_res=`eval 'as_val
=${'$as_ac_Header'}
13968 $as_echo "$as_val"'`
13969 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13970 $as_echo "$ac_res" >&6; }
13973 as_val=`eval 'as_val
=${'$as_ac_Header'}
13974 $as_echo "$as_val"'`
13975 if test "x$as_val" = x""yes; then
13976 cat >>confdefs.h <<_ACEOF
13977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13981 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
13982 $as_echo "$as_me: error: bailing out" >&2;}
13983 { (exit 1); exit 1; }; }
13993 for ac_func in dup2 getmntent memmove select socket
13995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13996 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13997 $as_echo_n "checking for $ac_func... " >&6; }
13998 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13999 $as_echo_n "(cached) " >&6
14001 cat >conftest.$ac_ext <<_ACEOF
14004 cat confdefs.h >>conftest.$ac_ext
14005 cat >>conftest.$ac_ext <<_ACEOF
14006 /* end confdefs.h. */
14007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14009 #define $ac_func innocuous_$ac_func
14011 /* System header to define __stub macros and hopefully few prototypes,
14012 which can conflict with char $ac_func (); below.
14013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14014 <limits.h> exists even on freestanding compilers. */
14017 # include <limits.h>
14019 # include <assert.h>
14024 /* Override any GCC internal prototype to avoid an error.
14025 Use char because int might match the return type of a GCC
14026 builtin and then its argument prototype would still apply. */
14031 /* The GNU C library defines this for functions which it implements
14032 to always fail with ENOSYS. Some functions are actually named
14033 something starting with __ and the normal name is an alias. */
14034 #if defined __stub_$ac_func || defined __stub___$ac_func
14041 return $ac_func ();
14046 rm -f conftest.$ac_objext conftest$ac_exeext
14047 if { (ac_try="$ac_link"
14048 case "(($ac_try" in
14049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14050 *) ac_try_echo=$ac_try;;
14052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14053 $as_echo "$ac_try_echo") >&5
14054 (eval "$ac_link") 2>conftest.er1
14056 grep -v '^
*+' conftest.er1 >conftest.err
14058 cat conftest.err >&5
14059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); } && {
14061 test -z "$ac_c_werror_flag" ||
14062 test ! -s conftest.err
14063 } && test -s conftest$ac_exeext && {
14064 test "$cross_compiling" = yes ||
14065 $as_test_x conftest$ac_exeext
14067 eval "$as_ac_var=yes"
14069 $as_echo "$as_me: failed program was:" >&5
14070 sed 's
/^
/|
/' conftest.$ac_ext >&5
14072 eval "$as_ac_var=no"
14075 rm -rf conftest.dSYM
14076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14077 conftest$ac_exeext conftest.$ac_ext
14079 ac_res=`eval 'as_val
=${'$as_ac_var'}
14080 $as_echo "$as_val"'`
14081 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14082 $as_echo "$ac_res" >&6; }
14083 as_val=`eval 'as_val
=${'$as_ac_var'}
14084 $as_echo "$as_val"'`
14085 if test "x$as_val" = x""yes; then
14086 cat >>confdefs.h <<_ACEOF
14087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14091 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14092 $as_echo "$as_me: error: bailing out" >&2;}
14093 { (exit 1); exit 1; }; }
14097 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
14098 # -lseq on Dynix/PTX, -lgen on Unixware.
14099 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
14100 $as_echo_n "checking for library containing getmntent... " >&6; }
14101 if test "${ac_cv_search_getmntent+set}" = set; then
14102 $as_echo_n "(cached) " >&6
14104 ac_func_search_save_LIBS=$LIBS
14105 cat >conftest.$ac_ext <<_ACEOF
14108 cat confdefs.h >>conftest.$ac_ext
14109 cat >>conftest.$ac_ext <<_ACEOF
14110 /* end confdefs.h. */
14112 /* Override any GCC internal prototype to avoid an error.
14113 Use char because int might match the return type of a GCC
14114 builtin and then its argument prototype would still apply. */
14122 return getmntent ();
14127 for ac_lib in '' sun seq gen; do
14128 if test -z "$ac_lib"; then
14129 ac_res="none required"
14132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14134 rm -f conftest.$ac_objext conftest$ac_exeext
14135 if { (ac_try="$ac_link"
14136 case "(($ac_try" in
14137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14138 *) ac_try_echo=$ac_try;;
14140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14141 $as_echo "$ac_try_echo") >&5
14142 (eval "$ac_link") 2>conftest.er1
14144 grep -v '^
*+' conftest.er1 >conftest.err
14146 cat conftest.err >&5
14147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); } && {
14149 test -z "$ac_c_werror_flag" ||
14150 test ! -s conftest.err
14151 } && test -s conftest$ac_exeext && {
14152 test "$cross_compiling" = yes ||
14153 $as_test_x conftest$ac_exeext
14155 ac_cv_search_getmntent=$ac_res
14157 $as_echo "$as_me: failed program was:" >&5
14158 sed 's
/^
/|
/' conftest.$ac_ext >&5
14163 rm -rf conftest.dSYM
14164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14166 if test "${ac_cv_search_getmntent+set}" = set; then
14170 if test "${ac_cv_search_getmntent+set}" = set; then
14173 ac_cv_search_getmntent=no
14175 rm conftest.$ac_ext
14176 LIBS=$ac_func_search_save_LIBS
14178 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
14179 $as_echo "$ac_cv_search_getmntent" >&6; }
14180 ac_res=$ac_cv_search_getmntent
14181 if test "$ac_res" != no; then
14182 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14183 ac_cv_func_getmntent=yes
14185 cat >>confdefs.h <<\_ACEOF
14186 #define HAVE_GETMNTENT 1
14190 ac_cv_func_getmntent=no
14197 for ac_header in sys/select.h sys/socket.h
14199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14200 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14201 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14202 $as_echo_n "checking for $ac_header... " >&6; }
14203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14204 $as_echo_n "(cached) " >&6
14206 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14207 $as_echo "$as_val"'`
14208 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14209 $as_echo "$ac_res" >&6; }
14211 # Is the header compilable?
14212 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14213 $as_echo_n "checking $ac_header usability... " >&6; }
14214 cat >conftest.$ac_ext <<_ACEOF
14217 cat confdefs.h >>conftest.$ac_ext
14218 cat >>conftest.$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14220 $ac_includes_default
14221 #include <$ac_header>
14223 rm -f conftest.$ac_objext
14224 if { (ac_try="$ac_compile"
14225 case "(($ac_try" in
14226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14227 *) ac_try_echo=$ac_try;;
14229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14230 $as_echo "$ac_try_echo") >&5
14231 (eval "$ac_compile") 2>conftest.er1
14233 grep -v '^
*+' conftest.er1 >conftest.err
14235 cat conftest.err >&5
14236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } && {
14238 test -z "$ac_c_werror_flag" ||
14239 test ! -s conftest.err
14240 } && test -s conftest.$ac_objext; then
14241 ac_header_compiler=yes
14243 $as_echo "$as_me: failed program was:" >&5
14244 sed 's
/^
/|
/' conftest.$ac_ext >&5
14246 ac_header_compiler=no
14249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14250 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14251 $as_echo "$ac_header_compiler" >&6; }
14253 # Is the header present?
14254 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14255 $as_echo_n "checking $ac_header presence... " >&6; }
14256 cat >conftest.$ac_ext <<_ACEOF
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262 #include <$ac_header>
14264 if { (ac_try="$ac_cpp conftest.$ac_ext"
14265 case "(($ac_try" in
14266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14267 *) ac_try_echo=$ac_try;;
14269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14270 $as_echo "$ac_try_echo") >&5
14271 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14273 grep -v '^
*+' conftest.er1 >conftest.err
14275 cat conftest.err >&5
14276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } >/dev/null && {
14278 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14279 test ! -s conftest.err
14281 ac_header_preproc=yes
14283 $as_echo "$as_me: failed program was:" >&5
14284 sed 's
/^
/|
/' conftest.$ac_ext >&5
14286 ac_header_preproc=no
14289 rm -f conftest.err conftest.$ac_ext
14290 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14291 $as_echo "$ac_header_preproc" >&6; }
14293 # So? What about this header?
14294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14297 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14299 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14300 ac_header_preproc=yes
14303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14304 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14306 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14308 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14309 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14310 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14311 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14312 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14314 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14318 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14319 $as_echo_n "checking for $ac_header... " >&6; }
14320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14321 $as_echo_n "(cached) " >&6
14323 eval "$as_ac_Header=\$ac_header_preproc"
14325 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14326 $as_echo "$as_val"'`
14327 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14328 $as_echo "$ac_res" >&6; }
14331 as_val=`eval 'as_val
=${'$as_ac_Header'}
14332 $as_echo "$as_val"'`
14333 if test "x$as_val" = x""yes; then
14334 cat >>confdefs.h <<_ACEOF
14335 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14342 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
14343 $as_echo_n "checking types of arguments for select... " >&6; }
14344 if test "${ac_cv_func_select_args+set}" = set; then
14345 $as_echo_n "(cached) " >&6
14347 for ac_arg234 in 'fd_set
*' 'int
*' 'void
*'; do
14348 for ac_arg1 in 'int
' 'size_t
' 'unsigned long int
' 'unsigned int
'; do
14349 for ac_arg5 in 'struct timeval
*' 'const struct timeval
*'; do
14350 cat >conftest.$ac_ext <<_ACEOF
14353 cat confdefs.h >>conftest.$ac_ext
14354 cat >>conftest.$ac_ext <<_ACEOF
14355 /* end confdefs.h. */
14356 $ac_includes_default
14357 #ifdef HAVE_SYS_SELECT_H
14358 # include <sys/select.h>
14360 #ifdef HAVE_SYS_SOCKET_H
14361 # include <sys/socket.h>
14367 extern int select ($ac_arg1,
14368 $ac_arg234, $ac_arg234, $ac_arg234,
14374 rm -f conftest.$ac_objext
14375 if { (ac_try="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14381 $as_echo "$ac_try_echo") >&5
14382 (eval "$ac_compile") 2>conftest.er1
14384 grep -v '^
*+' conftest.er1 >conftest.err
14386 cat conftest.err >&5
14387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } && {
14389 test -z "$ac_c_werror_flag" ||
14390 test ! -s conftest.err
14391 } && test -s conftest.$ac_objext; then
14392 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
14394 $as_echo "$as_me: failed program was:" >&5
14395 sed 's
/^
/|
/' conftest.$ac_ext >&5
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14404 # Provide a safe default value.
14405 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
14408 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
14409 $as_echo "$ac_cv_func_select_args" >&6; }
14410 ac_save_IFS=$IFS; IFS=','
14411 set dummy `echo "$ac_cv_func_select_args" | sed 's
/\
*/\
*/g
'`
14415 cat >>confdefs.h <<_ACEOF
14416 #define SELECT_TYPE_ARG1 $1
14420 cat >>confdefs.h <<_ACEOF
14421 #define SELECT_TYPE_ARG234 ($2)
14425 cat >>confdefs.h <<_ACEOF
14426 #define SELECT_TYPE_ARG5 ($3)
14433 if test x$CLUSTER != xnone; then
14436 for ac_header in sys/socket.h sys/un.h
14438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14440 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14441 $as_echo_n "checking for $ac_header... " >&6; }
14442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14443 $as_echo_n "(cached) " >&6
14445 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14446 $as_echo "$as_val"'`
14447 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14448 $as_echo "$ac_res" >&6; }
14450 # Is the header compilable?
14451 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14452 $as_echo_n "checking $ac_header usability... " >&6; }
14453 cat >conftest.$ac_ext <<_ACEOF
14456 cat confdefs.h >>conftest.$ac_ext
14457 cat >>conftest.$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 $ac_includes_default
14460 #include <$ac_header>
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14469 $as_echo "$ac_try_echo") >&5
14470 (eval "$ac_compile") 2>conftest.er1
14472 grep -v '^
*+' conftest.er1 >conftest.err
14474 cat conftest.err >&5
14475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_c_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest.$ac_objext; then
14480 ac_header_compiler=yes
14482 $as_echo "$as_me: failed program was:" >&5
14483 sed 's
/^
/|
/' conftest.$ac_ext >&5
14485 ac_header_compiler=no
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14490 $as_echo "$ac_header_compiler" >&6; }
14492 # Is the header present?
14493 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14494 $as_echo_n "checking $ac_header presence... " >&6; }
14495 cat >conftest.$ac_ext <<_ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 #include <$ac_header>
14503 if { (ac_try="$ac_cpp conftest.$ac_ext"
14504 case "(($ac_try" in
14505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14506 *) ac_try_echo=$ac_try;;
14508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14509 $as_echo "$ac_try_echo") >&5
14510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14512 grep -v '^
*+' conftest.er1 >conftest.err
14514 cat conftest.err >&5
14515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } >/dev/null && {
14517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14518 test ! -s conftest.err
14520 ac_header_preproc=yes
14522 $as_echo "$as_me: failed program was:" >&5
14523 sed 's
/^
/|
/' conftest.$ac_ext >&5
14525 ac_header_preproc=no
14528 rm -f conftest.err conftest.$ac_ext
14529 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14530 $as_echo "$ac_header_preproc" >&6; }
14532 # So? What about this header?
14533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14536 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14538 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14539 ac_header_preproc=yes
14542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14543 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14545 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14547 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14549 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14551 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14553 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14557 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14558 $as_echo_n "checking for $ac_header... " >&6; }
14559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14560 $as_echo_n "(cached) " >&6
14562 eval "$as_ac_Header=\$ac_header_preproc"
14564 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14565 $as_echo "$as_val"'`
14566 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14567 $as_echo "$ac_res" >&6; }
14570 as_val=`eval 'as_val
=${'$as_ac_Header'}
14571 $as_echo "$as_val"'`
14572 if test "x$as_val" = x""yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14578 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14579 $as_echo "$as_me: error: bailing out" >&2;}
14580 { (exit 1); exit 1; }; }
14586 for ac_func in socket
14588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14589 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14590 $as_echo_n "checking for $ac_func... " >&6; }
14591 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14592 $as_echo_n "(cached) " >&6
14594 cat >conftest.$ac_ext <<_ACEOF
14597 cat confdefs.h >>conftest.$ac_ext
14598 cat >>conftest.$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14602 #define $ac_func innocuous_$ac_func
14604 /* System header to define __stub macros and hopefully few prototypes,
14605 which can conflict with char $ac_func (); below.
14606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14607 <limits.h> exists even on freestanding compilers. */
14610 # include <limits.h>
14612 # include <assert.h>
14617 /* Override any GCC internal prototype to avoid an error.
14618 Use char because int might match the return type of a GCC
14619 builtin and then its argument prototype would still apply. */
14624 /* The GNU C library defines this for functions which it implements
14625 to always fail with ENOSYS. Some functions are actually named
14626 something starting with __ and the normal name is an alias. */
14627 #if defined __stub_$ac_func || defined __stub___$ac_func
14634 return $ac_func ();
14639 rm -f conftest.$ac_objext conftest$ac_exeext
14640 if { (ac_try="$ac_link"
14641 case "(($ac_try" in
14642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14643 *) ac_try_echo=$ac_try;;
14645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14646 $as_echo "$ac_try_echo") >&5
14647 (eval "$ac_link") 2>conftest.er1
14649 grep -v '^
*+' conftest.er1 >conftest.err
14651 cat conftest.err >&5
14652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_c_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest$ac_exeext && {
14657 test "$cross_compiling" = yes ||
14658 $as_test_x conftest$ac_exeext
14660 eval "$as_ac_var=yes"
14662 $as_echo "$as_me: failed program was:" >&5
14663 sed 's
/^
/|
/' conftest.$ac_ext >&5
14665 eval "$as_ac_var=no"
14668 rm -rf conftest.dSYM
14669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14670 conftest$ac_exeext conftest.$ac_ext
14672 ac_res=`eval 'as_val
=${'$as_ac_var'}
14673 $as_echo "$as_val"'`
14674 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14675 $as_echo "$ac_res" >&6; }
14676 as_val=`eval 'as_val
=${'$as_ac_var'}
14677 $as_echo "$as_val"'`
14678 if test "x$as_val" = x""yes; then
14679 cat >>confdefs.h <<_ACEOF
14680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14684 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14685 $as_echo "$as_me: error: bailing out" >&2;}
14686 { (exit 1); exit 1; }; }
14692 if test x$HAVE_LIBDL = xyes; then
14694 for ac_header in dlfcn.h
14696 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14698 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14699 $as_echo_n "checking for $ac_header... " >&6; }
14700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14701 $as_echo_n "(cached) " >&6
14703 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14704 $as_echo "$as_val"'`
14705 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14706 $as_echo "$ac_res" >&6; }
14708 # Is the header compilable?
14709 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14710 $as_echo_n "checking $ac_header usability... " >&6; }
14711 cat >conftest.$ac_ext <<_ACEOF
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 $ac_includes_default
14718 #include <$ac_header>
14720 rm -f conftest.$ac_objext
14721 if { (ac_try="$ac_compile"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14727 $as_echo "$ac_try_echo") >&5
14728 (eval "$ac_compile") 2>conftest.er1
14730 grep -v '^
*+' conftest.er1 >conftest.err
14732 cat conftest.err >&5
14733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } && {
14735 test -z "$ac_c_werror_flag" ||
14736 test ! -s conftest.err
14737 } && test -s conftest.$ac_objext; then
14738 ac_header_compiler=yes
14740 $as_echo "$as_me: failed program was:" >&5
14741 sed 's
/^
/|
/' conftest.$ac_ext >&5
14743 ac_header_compiler=no
14746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14748 $as_echo "$ac_header_compiler" >&6; }
14750 # Is the header present?
14751 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14752 $as_echo_n "checking $ac_header presence... " >&6; }
14753 cat >conftest.$ac_ext <<_ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14759 #include <$ac_header>
14761 if { (ac_try="$ac_cpp conftest.$ac_ext"
14762 case "(($ac_try" in
14763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14764 *) ac_try_echo=$ac_try;;
14766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14767 $as_echo "$ac_try_echo") >&5
14768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14770 grep -v '^
*+' conftest.er1 >conftest.err
14772 cat conftest.err >&5
14773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } >/dev/null && {
14775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14776 test ! -s conftest.err
14778 ac_header_preproc=yes
14780 $as_echo "$as_me: failed program was:" >&5
14781 sed 's
/^
/|
/' conftest.$ac_ext >&5
14783 ac_header_preproc=no
14786 rm -f conftest.err conftest.$ac_ext
14787 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14788 $as_echo "$ac_header_preproc" >&6; }
14790 # So? What about this header?
14791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14794 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14796 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14797 ac_header_preproc=yes
14800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14801 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14803 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14805 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14807 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14809 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14811 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14815 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14816 $as_echo_n "checking for $ac_header... " >&6; }
14817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14818 $as_echo_n "(cached) " >&6
14820 eval "$as_ac_Header=\$ac_header_preproc"
14822 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14823 $as_echo "$as_val"'`
14824 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14825 $as_echo "$ac_res" >&6; }
14828 as_val=`eval 'as_val
=${'$as_ac_Header'}
14829 $as_echo "$as_val"'`
14830 if test "x$as_val" = x""yes; then
14831 cat >>confdefs.h <<_ACEOF
14832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14836 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14837 $as_echo "$as_me: error: bailing out" >&2;}
14838 { (exit 1); exit 1; }; }
14845 if test x$INTL = xyes; then
14847 for ac_header in libintl.h
14849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14851 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14852 $as_echo_n "checking for $ac_header... " >&6; }
14853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14854 $as_echo_n "(cached) " >&6
14856 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14857 $as_echo "$as_val"'`
14858 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14859 $as_echo "$ac_res" >&6; }
14861 # Is the header compilable?
14862 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14863 $as_echo_n "checking $ac_header usability... " >&6; }
14864 cat >conftest.$ac_ext <<_ACEOF
14867 cat confdefs.h >>conftest.$ac_ext
14868 cat >>conftest.$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14870 $ac_includes_default
14871 #include <$ac_header>
14873 rm -f conftest.$ac_objext
14874 if { (ac_try="$ac_compile"
14875 case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14877 *) ac_try_echo=$ac_try;;
14879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14880 $as_echo "$ac_try_echo") >&5
14881 (eval "$ac_compile") 2>conftest.er1
14883 grep -v '^
*+' conftest.er1 >conftest.err
14885 cat conftest.err >&5
14886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } && {
14888 test -z "$ac_c_werror_flag" ||
14889 test ! -s conftest.err
14890 } && test -s conftest.$ac_objext; then
14891 ac_header_compiler=yes
14893 $as_echo "$as_me: failed program was:" >&5
14894 sed 's
/^
/|
/' conftest.$ac_ext >&5
14896 ac_header_compiler=no
14899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14900 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14901 $as_echo "$ac_header_compiler" >&6; }
14903 # Is the header present?
14904 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14905 $as_echo_n "checking $ac_header presence... " >&6; }
14906 cat >conftest.$ac_ext <<_ACEOF
14909 cat confdefs.h >>conftest.$ac_ext
14910 cat >>conftest.$ac_ext <<_ACEOF
14911 /* end confdefs.h. */
14912 #include <$ac_header>
14914 if { (ac_try="$ac_cpp conftest.$ac_ext"
14915 case "(($ac_try" in
14916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14917 *) ac_try_echo=$ac_try;;
14919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14920 $as_echo "$ac_try_echo") >&5
14921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14923 grep -v '^
*+' conftest.er1 >conftest.err
14925 cat conftest.err >&5
14926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } >/dev/null && {
14928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14931 ac_header_preproc=yes
14933 $as_echo "$as_me: failed program was:" >&5
14934 sed 's
/^
/|
/' conftest.$ac_ext >&5
14936 ac_header_preproc=no
14939 rm -f conftest.err conftest.$ac_ext
14940 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14941 $as_echo "$ac_header_preproc" >&6; }
14943 # So? What about this header?
14944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14947 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
14949 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
14950 ac_header_preproc=yes
14953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14954 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14956 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14958 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14960 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
14962 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
14963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14964 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14968 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14969 $as_echo_n "checking for $ac_header... " >&6; }
14970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14971 $as_echo_n "(cached) " >&6
14973 eval "$as_ac_Header=\$ac_header_preproc"
14975 ac_res=`eval 'as_val
=${'$as_ac_Header'}
14976 $as_echo "$as_val"'`
14977 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14978 $as_echo "$ac_res" >&6; }
14981 as_val=`eval 'as_val
=${'$as_ac_Header'}
14982 $as_echo "$as_val"'`
14983 if test "x$as_val" = x""yes; then
14984 cat >>confdefs.h <<_ACEOF
14985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14989 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
14990 $as_echo "$as_me: error: bailing out" >&2;}
14991 { (exit 1); exit 1; }; }
14998 if test x$HAVE_SELINUX = xyes; then
15000 for ac_header in selinux/selinux.h
15002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15004 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15005 $as_echo_n "checking for $ac_header... " >&6; }
15006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15007 $as_echo_n "(cached) " >&6
15009 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15010 $as_echo "$as_val"'`
15011 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15012 $as_echo "$ac_res" >&6; }
15014 # Is the header compilable?
15015 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15016 $as_echo_n "checking $ac_header usability... " >&6; }
15017 cat >conftest.$ac_ext <<_ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 $ac_includes_default
15024 #include <$ac_header>
15026 rm -f conftest.$ac_objext
15027 if { (ac_try="$ac_compile"
15028 case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15033 $as_echo "$ac_try_echo") >&5
15034 (eval "$ac_compile") 2>conftest.er1
15036 grep -v '^
*+' conftest.er1 >conftest.err
15038 cat conftest.err >&5
15039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } && {
15041 test -z "$ac_c_werror_flag" ||
15042 test ! -s conftest.err
15043 } && test -s conftest.$ac_objext; then
15044 ac_header_compiler=yes
15046 $as_echo "$as_me: failed program was:" >&5
15047 sed 's
/^
/|
/' conftest.$ac_ext >&5
15049 ac_header_compiler=no
15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15054 $as_echo "$ac_header_compiler" >&6; }
15056 # Is the header present?
15057 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15058 $as_echo_n "checking $ac_header presence... " >&6; }
15059 cat >conftest.$ac_ext <<_ACEOF
15062 cat confdefs.h >>conftest.$ac_ext
15063 cat >>conftest.$ac_ext <<_ACEOF
15064 /* end confdefs.h. */
15065 #include <$ac_header>
15067 if { (ac_try="$ac_cpp conftest.$ac_ext"
15068 case "(($ac_try" in
15069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15070 *) ac_try_echo=$ac_try;;
15072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15073 $as_echo "$ac_try_echo") >&5
15074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15076 grep -v '^
*+' conftest.er1 >conftest.err
15078 cat conftest.err >&5
15079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); } >/dev/null && {
15081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15082 test ! -s conftest.err
15084 ac_header_preproc=yes
15086 $as_echo "$as_me: failed program was:" >&5
15087 sed 's
/^
/|
/' conftest.$ac_ext >&5
15089 ac_header_preproc=no
15092 rm -f conftest.err conftest.$ac_ext
15093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15094 $as_echo "$ac_header_preproc" >&6; }
15096 # So? What about this header?
15097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15100 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15102 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15103 ac_header_preproc=yes
15106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15107 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15109 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15111 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15113 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15115 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15117 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15121 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15122 $as_echo_n "checking for $ac_header... " >&6; }
15123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15124 $as_echo_n "(cached) " >&6
15126 eval "$as_ac_Header=\$ac_header_preproc"
15128 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15129 $as_echo "$as_val"'`
15130 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15131 $as_echo "$ac_res" >&6; }
15134 as_val=`eval 'as_val
=${'$as_ac_Header'}
15135 $as_echo "$as_val"'`
15136 if test "x$as_val" = x""yes; then
15137 cat >>confdefs.h <<_ACEOF
15138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15142 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15143 $as_echo "$as_me: error: bailing out" >&2;}
15144 { (exit 1); exit 1; }; }
15151 if test x$UDEV_SYNC = xyes; then
15154 for ac_header in sys/ipc.h sys/sem.h
15156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15158 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15159 $as_echo_n "checking for $ac_header... " >&6; }
15160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15161 $as_echo_n "(cached) " >&6
15163 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15164 $as_echo "$as_val"'`
15165 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15166 $as_echo "$ac_res" >&6; }
15168 # Is the header compilable?
15169 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15170 $as_echo_n "checking $ac_header usability... " >&6; }
15171 cat >conftest.$ac_ext <<_ACEOF
15174 cat confdefs.h >>conftest.$ac_ext
15175 cat >>conftest.$ac_ext <<_ACEOF
15176 /* end confdefs.h. */
15177 $ac_includes_default
15178 #include <$ac_header>
15180 rm -f conftest.$ac_objext
15181 if { (ac_try="$ac_compile"
15182 case "(($ac_try" in
15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15187 $as_echo "$ac_try_echo") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15190 grep -v '^
*+' conftest.er1 >conftest.err
15192 cat conftest.err >&5
15193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 ac_header_compiler=yes
15200 $as_echo "$as_me: failed program was:" >&5
15201 sed 's
/^
/|
/' conftest.$ac_ext >&5
15203 ac_header_compiler=no
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15207 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15208 $as_echo "$ac_header_compiler" >&6; }
15210 # Is the header present?
15211 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15212 $as_echo_n "checking $ac_header presence... " >&6; }
15213 cat >conftest.$ac_ext <<_ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 #include <$ac_header>
15221 if { (ac_try="$ac_cpp conftest.$ac_ext"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15227 $as_echo "$ac_try_echo") >&5
15228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15230 grep -v '^
*+' conftest.er1 >conftest.err
15232 cat conftest.err >&5
15233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } >/dev/null && {
15235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15236 test ! -s conftest.err
15238 ac_header_preproc=yes
15240 $as_echo "$as_me: failed program was:" >&5
15241 sed 's
/^
/|
/' conftest.$ac_ext >&5
15243 ac_header_preproc=no
15246 rm -f conftest.err conftest.$ac_ext
15247 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15248 $as_echo "$ac_header_preproc" >&6; }
15250 # So? What about this header?
15251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15254 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
15256 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
15257 ac_header_preproc=yes
15260 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15261 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15263 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15265 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15267 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
15269 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
15270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15271 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15275 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15276 $as_echo_n "checking for $ac_header... " >&6; }
15277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15278 $as_echo_n "(cached) " >&6
15280 eval "$as_ac_Header=\$ac_header_preproc"
15282 ac_res=`eval 'as_val
=${'$as_ac_Header'}
15283 $as_echo "$as_val"'`
15284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15285 $as_echo "$ac_res" >&6; }
15288 as_val=`eval 'as_val
=${'$as_ac_Header'}
15289 $as_echo "$as_val"'`
15290 if test "x$as_val" = x""yes; then
15291 cat >>confdefs.h <<_ACEOF
15292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15296 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
15297 $as_echo "$as_me: error: bailing out" >&2;}
15298 { (exit 1); exit 1; }; }
15305 ################################################################################
15306 # Extract the first word of "modprobe", so it can be a program name with args.
15307 set dummy modprobe; ac_word=$2
15308 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15309 $as_echo_n "checking for $ac_word... " >&6; }
15310 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
15311 $as_echo_n "(cached) " >&6
15313 case $MODPROBE_CMD in
15315 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
15318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15319 for as_dir in $PATH
15322 test -z "$as_dir" && as_dir=.
15323 for ac_exec_ext in '' $ac_executable_extensions; do
15324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15325 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
15326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15336 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
15337 if test -n "$MODPROBE_CMD"; then
15338 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
15339 $as_echo "$MODPROBE_CMD" >&6; }
15341 { $as_echo "$as_me:$LINENO: result: no" >&5
15342 $as_echo "no" >&6; }
15347 if test x$MODPROBE_CMD != x; then
15349 cat >>confdefs.h <<_ACEOF
15350 #define MODPROBE_CMD "$MODPROBE_CMD"
15355 ################################################################################
15358 if test "$BUILD_DMEVENTD" = yes; then
15360 # Check whether --with-dmeventd-pidfile was given.
15361 if test "${with_dmeventd_pidfile+set}" = set; then
15362 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
15363 #define DMEVENTD_PIDFILE "$withval"
15367 cat >>confdefs.h <<_ACEOF
15368 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
15377 if test "$BUILD_DMEVENTD" = yes; then
15378 dmeventd_prefix="$exec_prefix"
15379 if test "x$dmeventd_prefix" = "xNONE"; then
15380 dmeventd_prefix="$prefix"
15382 if test "x$dmeventd_prefix" = "xNONE"; then
15386 # Check whether --with-dmeventd-path was given.
15387 if test "${with_dmeventd_path+set}" = set; then
15388 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
15389 #define DMEVENTD_PATH "$withval"
15393 cat >>confdefs.h <<_ACEOF
15394 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
15401 ################################################################################
15402 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
15403 $as_echo_n "checking for kernel interface choice... " >&6; }
15405 # Check whether --with-interface was given.
15406 if test "${with_interface+set}" = set; then
15407 withval=$with_interface; interface="$withval"
15412 if [ "x$interface" != xioctl ];
15414 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
15415 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
15416 { (exit 1); exit 1; }; }
15418 { $as_echo "$as_me:$LINENO: result: $interface" >&5
15419 $as_echo "$interface" >&6; }
15421 ################################################################################
15422 DM_LIB_VERSION="\"`cat "$srcdir"/VERSION_DM 2>/dev/null || echo Unknown`\""
15424 cat >>confdefs.h <<_ACEOF
15425 #define DM_LIB_VERSION $DM_LIB_VERSION
15429 DM_LIB_PATCHLEVEL=`cat "$srcdir"/VERSION_DM | $AWK -F '[-.
]' '{printf "%s.%s.%s",$1,$2,$3}'`
15431 LVM_VERSION="\"`cat "$srcdir"/VERSION 2>/dev/null || echo Unknown`\""
15433 VER=`cat "$srcdir"/VERSION`
15434 LVM_RELEASE_DATE="\"`echo $VER | $SED 's
/.
* (//;s
/).
*//'`\""
15435 VER=`echo "$VER" | $AWK '{print
$1}'`
15436 LVM_RELEASE="\"`echo "$VER" | $AWK -F '-' '{print
$2}'`\""
15437 VER=`echo "$VER" | $AWK -F '-' '{print
$1}'`
15438 LVM_MAJOR=`echo "$VER" | $AWK -F '.
' '{print
$1}'`
15439 LVM_MINOR=`echo "$VER" | $AWK -F '.
' '{print
$2}'`
15440 LVM_PATCHLEVEL=`echo "$VER" | $AWK -F '[(.
]' '{print
$3}'`
15441 LVM_LIBAPI=`echo "$VER" | $AWK -F '[()]' '{print
$2}'`
15443 ################################################################################
15528 ################################################################################
15529 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/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/lvm2_monitoring_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile"
15531 cat >confcache <<\_ACEOF
15532 # This file is a shell script that caches the results of configure
15533 # tests run on this system so they can be shared between configure
15534 # scripts and configure runs, see configure's option
--config-cache.
15535 # It is not useful on other systems. If it contains results you don't
15536 # want to keep, you may remove or edit it.
15538 # config.status only pays attention to the cache file if you give it
15539 # the --recheck option to rerun configure.
15541 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15542 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15543 # following values.
15547 # The following way of writing the cache mishandles newlines in values,
15548 # but we know of no workaround that is simple, portable, and efficient.
15549 # So, we kill variables containing newlines.
15550 # Ultrix sh set writes to stderr and can't be redirected directly,
15551 # and sets the high bit in the cache file unless we assign to the vars.
15553 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15554 eval ac_val
=\$
$ac_var
15558 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15562 _ | IFS | as_nl
) ;; #(
15563 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15564 *) $as_unset $ac_var ;;
15570 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15571 *${as_nl}ac_space
=\
*)
15572 # `set' does not quote correctly, so add quotes (double-quote
15573 # substitution turns \\\\ into \\, and sed turns \\ into \).
15576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15579 # `set' quotes correctly as required by POSIX, so do not add quotes.
15580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15591 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15593 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15594 if test -w "$cache_file"; then
15595 test "x$cache_file" != "x/dev/null" &&
15596 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15597 $as_echo "$as_me: updating cache $cache_file" >&6;}
15598 cat confcache
>$cache_file
15600 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15606 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15607 # Let make expand exec_prefix.
15608 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15610 DEFS
=-DHAVE_CONFIG_H
15614 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15615 # 1. Remove the extension, and $U if already installed.
15616 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15617 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15618 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15619 # will be set to the directory where LIBOBJS objects are built.
15620 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15621 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15623 LIBOBJS
=$ac_libobjs
15625 LTLIBOBJS
=$ac_ltlibobjs
15629 : ${CONFIG_STATUS=./config.status}
15631 ac_clean_files_save
=$ac_clean_files
15632 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15633 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15634 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15635 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15637 # Generated by $as_me.
15638 # Run this file to recreate the current configuration.
15639 # Compiler output produced by configure, useful for debugging
15640 # configure, is in config.log if it exists.
15643 ac_cs_recheck=false
15645 SHELL=\${CONFIG_SHELL-$SHELL}
15648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15649 ## --------------------- ##
15650 ## M4sh Initialization. ##
15651 ## --------------------- ##
15653 # Be more Bourne compatible
15654 DUALCASE
=1; export DUALCASE
# for MKS sh
15655 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15658 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15659 # is contrary to our usage. Disable this feature.
15660 alias -g '${1+"$@"}'='"$@"'
15661 setopt NO_GLOB_SUBST
15663 case `(set -o) 2>/dev/null` in
15664 *posix
*) set -o posix
;;
15673 # Avoid depending upon Character Ranges.
15674 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15675 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15676 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15677 as_cr_digits
='0123456789'
15678 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15683 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15684 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15685 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15686 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15687 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15688 as_echo='printf %s
\n'
15689 as_echo_n='printf %s
'
15691 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15692 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15693 as_echo_n='/usr
/ucb
/echo -n'
15695 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15696 as_echo_n_body='eval
15700 expr "X$arg" : "X\\(.*\\)$as_nl";
15701 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15703 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15705 export as_echo_n_body
15706 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15708 export as_echo_body
15709 as_echo='sh
-c $as_echo_body as_echo
'
15712 # The user is always right.
15713 if test "${PATH_SEPARATOR+set}" != set; then
15715 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15716 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15721 # Support unset when possible.
15722 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15730 # We need space, tab and new line, in precisely that order. Quoting is
15731 # there to prevent editors from complaining about space-tab.
15732 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15733 # splitting by setting IFS to empty value.)
15736 # Find who we are. Look in the path if we contain no directory separator.
15738 *[\\/]* ) as_myself=$0 ;;
15739 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15740 for as_dir in $PATH
15743 test -z "$as_dir" && as_dir=.
15744 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15750 # We did not find ourselves, most probably we were run as `sh COMMAND'
15751 # in which case we are not to be found in the path.
15752 if test "x$as_myself" = x
; then
15755 if test ! -f "$as_myself"; then
15756 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15757 { (exit 1); exit 1; }
15760 # Work around bugs in pre-3.0 UWIN ksh.
15761 for as_var
in ENV MAIL MAILPATH
15762 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15774 # Required to use basename.
15775 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15776 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15782 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15783 as_basename
=basename
15789 # Name of the executable.
15790 as_me
=`$as_basename -- "$0" ||
15791 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15792 X"$0" : 'X\(//\)$' \| \
15793 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15795 sed '/^.*\/\([^/][^/]*\)\/*$/{
15814 as_lineno_1
=$LINENO
15815 as_lineno_2
=$LINENO
15816 test "x$as_lineno_1" != "x$as_lineno_2" &&
15817 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15819 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15820 # uniformly replaced by the line number. The first 'sed' inserts a
15821 # line-number line after each line using $LINENO; the second 'sed'
15822 # does the real work. The second script uses 'N' to pair each
15823 # line-number line with the line containing $LINENO, and appends
15824 # trailing '-' during substitution so that $LINENO is not a special
15825 # case at line end.
15826 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15827 # scripts with optimization help from Paolo Bonzini. Blame Lee
15828 # E. McMahon (1931-1989) for sed's syntax. :-)
15840 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15843 ' >$as_me.lineno
&&
15844 chmod +x
"$as_me.lineno" ||
15845 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15846 { (exit 1); exit 1; }; }
15848 # Don't try to exec as it changes $[0], causing all sort of problems
15849 # (the dirname of $[0] is not the place where we might find the
15850 # original and so on. Autoconf is especially sensitive to this).
15851 .
"./$as_me.lineno"
15852 # Exit status is that of the last command.
15857 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15863 ECHO_C
= ECHO_N
= ECHO_T
=
15864 case `echo -n x` in
15866 case `echo 'x\c'` in
15867 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15873 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15874 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15880 rm -f conf$$ conf$$.exe conf$$.
file
15881 if test -d conf$$.dir
; then
15882 rm -f conf$$.dir
/conf$$.
file
15885 mkdir conf$$.dir
2>/dev
/null
15887 if (echo >conf$$.
file) 2>/dev
/null
; then
15888 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15890 # ... but there are two gotchas:
15891 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15892 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15893 # In both cases, we have to default to `cp -p'.
15894 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15896 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15904 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15905 rmdir conf$$.dir
2>/dev
/null
15907 if mkdir
-p .
2>/dev
/null
; then
15910 test -d .
/-p && rmdir .
/-p
15914 if test -x / >/dev
/null
2>&1; then
15915 as_test_x
='test -x'
15917 if ls -dL / >/dev
/null
2>&1; then
15924 if test -d "$1"; then
15930 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15931 ???[sx]*):;;*)false;;esac;fi
15935 as_executable_p
=$as_test_x
15937 # Sed expression to map a string onto a valid CPP name.
15938 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15940 # Sed expression to map a string onto a valid variable name.
15941 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15946 # Save the log message, to keep $[0] and so on meaningful, and to
15947 # report actual input values of CONFIG_FILES etc. instead of their
15948 # values after options handling.
15950 This file was extended by $as_me, which was
15951 generated by GNU Autoconf 2.63. Invocation command line was
15953 CONFIG_FILES = $CONFIG_FILES
15954 CONFIG_HEADERS = $CONFIG_HEADERS
15955 CONFIG_LINKS = $CONFIG_LINKS
15956 CONFIG_COMMANDS = $CONFIG_COMMANDS
15959 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15964 case $ac_config_files in *"
15965 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15968 case $ac_config_headers in *"
15969 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15974 # Files that config.status was made for.
15975 config_files="$ac_config_files"
15976 config_headers="$ac_config_headers"
15980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15982 \`$as_me' instantiates files from templates according to the
15983 current configuration.
15985 Usage: $0 [OPTION]... [FILE]...
15987 -h, --help print this help, then exit
15988 -V, --version print version number and configuration settings, then exit
15989 -q, --quiet, --silent
15990 do not print progress messages
15991 -d, --debug don't remove temporary files
15992 --recheck update $as_me by reconfiguring in the same conditions
15993 --file=FILE[:TEMPLATE]
15994 instantiate the configuration file FILE
15995 --header=FILE[:TEMPLATE]
15996 instantiate the configuration header FILE
15998 Configuration files:
16001 Configuration headers:
16004 Report bugs to <bug-autoconf@gnu.org>."
16007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16010 configured by $0, generated by GNU Autoconf 2.63,
16011 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16013 Copyright (C) 2008 Free Software Foundation, Inc.
16014 This config.status script is free software; the Free Software Foundation
16015 gives unlimited permission to copy, distribute and modify it."
16022 test -n "\$AWK" || AWK=awk
16025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16026 # The default lists apply if the user does not specify any file.
16032 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16033 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16044 # Handling of the options.
16045 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16047 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16048 $as_echo "$ac_cs_version"; exit ;;
16049 --debug |
--debu |
--deb |
--de |
--d |
-d )
16051 --file |
--fil |
--fi |
--f )
16054 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16056 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16057 ac_need_defaults
=false
;;
16058 --header |
--heade |
--head |
--hea )
16061 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16063 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16064 ac_need_defaults
=false
;;
16066 # Conflict between --help and --header
16067 { $as_echo "$as_me: error: ambiguous option: $1
16068 Try \`$0 --help' for more information." >&2
16069 { (exit 1); exit 1; }; };;
16070 --help |
--hel |
-h )
16071 $as_echo "$ac_cs_usage"; exit ;;
16072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16073 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16076 # This is an error.
16077 -*) { $as_echo "$as_me: error: unrecognized option: $1
16078 Try \`$0 --help' for more information." >&2
16079 { (exit 1); exit 1; }; } ;;
16081 *) ac_config_targets
="$ac_config_targets $1"
16082 ac_need_defaults
=false
;;
16088 ac_configure_extra_args
=
16090 if $ac_cs_silent; then
16092 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 if \$ac_cs_recheck; then
16098 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16101 CONFIG_SHELL='$SHELL'
16102 export CONFIG_SHELL
16107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16112 ## Running $as_me. ##
16118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16123 # Handling of arguments.
16124 for ac_config_target
in $ac_config_targets
16126 case $ac_config_target in
16127 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
16128 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16129 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
16130 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
16131 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
16132 "daemons/cmirrord/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
16133 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
16134 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
16135 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
16136 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
16137 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
16138 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16139 "include/.symlinks") CONFIG_FILES
="$CONFIG_FILES include/.symlinks" ;;
16140 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16141 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
16142 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
16143 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
16144 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
16145 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
16146 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
16147 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
16148 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
16149 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
16150 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
16151 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
16152 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
16153 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
16154 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
16155 "scripts/lvm2_monitoring_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/lvm2_monitoring_init_red_hat" ;;
16156 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
16157 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
16158 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
16159 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
16160 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
16162 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16163 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16164 { (exit 1); exit 1; }; };;
16169 # If the user did not use the arguments to specify the items to instantiate,
16170 # then the envvar interface is used. Set only those that are not.
16171 # We use the long form for the default assignment because of an extremely
16172 # bizarre bug on SunOS 4.1.3.
16173 if $ac_need_defaults; then
16174 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16175 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16178 # Have a temporary directory for convenience. Make it in the build tree
16179 # simply because there is no reason against having it here, and in addition,
16180 # creating and moving files from /tmp can sometimes cause problems.
16181 # Hook for its removal unless debugging.
16182 # Note that there is a small window in which the directory will not be cleaned:
16183 # after its creation but before its name has been assigned to `$tmp'.
16187 trap 'exit_status=$?
16188 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16190 trap '{ (exit 1); exit 1; }' 1 2 13 15
16192 # Create a (secure) tmp directory for tmp files.
16195 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16196 test -n "$tmp" && test -d "$tmp"
16199 tmp
=.
/conf$$
-$RANDOM
16200 (umask 077 && mkdir
"$tmp")
16203 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16204 { (exit 1); exit 1; }
16207 # Set up the scripts for CONFIG_FILES section.
16208 # No need to generate them if there are no CONFIG_FILES.
16209 # This happens for instance with `./config.status config.h'.
16210 if test -n "$CONFIG_FILES"; then
16214 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16215 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16218 ac_cs_awk_cr
=$ac_cr
16221 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16226 echo "cat >conf$$subs.awk <<_ACEOF" &&
16227 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16229 } >conf$$subs.sh ||
16230 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16231 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16232 { (exit 1); exit 1; }; }
16233 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16235 for ac_last_try in false false false false false :; do
16236 . ./conf$$subs.sh ||
16237 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16238 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16239 { (exit 1); exit 1; }; }
16241 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16242 if test $ac_delim_n = $ac_delim_num; then
16244 elif $ac_last_try; then
16245 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
16246 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
16247 { (exit 1); exit 1; }; }
16249 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16252 rm -f conf$$subs.sh
16254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16255 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16259 s/^/S["/; s
/!.
*/"]=/
16269 s/\(.\{148\}\).*/\1/
16271 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16276 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16283 s/\(.\{148\}\).*/\1/
16285 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16289 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16294 ' <conf$$subs.awk | sed '
16299 ' >>$CONFIG_STATUS || ac_write_fail=1
16300 rm -f conf$$subs.awk
16301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16303 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16304 for (key in S) S_is_set[key] = 1
16310 nfields = split(line, field, "@
")
16312 len = length(field[1])
16313 for (i = 2; i < nfields; i++) {
16315 keylen = length(key)
16316 if (S_is_set[key]) {
16318 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16319 len += length(value) + length(field[++i])
16330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16331 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16332 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16335 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16336 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
16337 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
16338 { (exit 1); exit 1; }; }
16341 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16342 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16343 # trailing colons and then remove the whole line if VPATH becomes empty
16344 # (actually we leave an empty line to preserve line numbers).
16345 if test "x
$srcdir" = x.; then
16346 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16347 s/:*\$(srcdir):*/:/
16348 s/:*\${srcdir}:*/:/
16350 s/^\([^=]*=[ ]*\):*/\1/
16356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16357 fi # test -n "$CONFIG_FILES"
16359 # Set up the scripts for CONFIG_HEADERS section.
16360 # No need to generate them if there are no CONFIG_HEADERS.
16361 # This happens for instance with `./config.status Makefile'.
16362 if test -n "$CONFIG_HEADERS"; then
16363 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16367 # Transform confdefs.h into an awk script `defines.awk', embedded as
16368 # here-document in config.status, that substitutes the proper values into
16369 # config.h.in to produce config.h.
16371 # Create a delimiter string that does not exist in confdefs.h, to ease
16372 # handling of long lines.
16374 for ac_last_try in false false :; do
16375 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16376 if test -z "$ac_t"; then
16378 elif $ac_last_try; then
16379 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
16380 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
16381 { (exit 1); exit 1; }; }
16383 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16387 # For the awk script, D is an array of macro values keyed by name,
16388 # likewise P contains macro parameters if any. Preserve backslash
16389 # newline sequences.
16391 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16393 s/.\{148\}/&'"$ac_delim"'/g
16396 s/^[ ]*#[ ]*define[ ][ ]*/ /
16403 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16405 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16409 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16410 D["\
1"]=" \
3\\\\\\n
"\\/p
16412 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16417 s/.\{148\}/&'"$ac_delim"'/g
16422 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16425 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16427 ' <confdefs.h | sed '
16428 s/'"$ac_delim"'/"\\\
16429 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16432 for (key in D) D_is_set[key] = 1
16435 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16437 split(line, arg, " ")
16438 if (arg[1] == "#") {
16442 defundef
= substr
(arg
[1], 2)
16445 split(mac1
, mac2
, "(") #)
16447 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16448 if (D_is_set
[macro
]) {
16449 # Preserve the white space surrounding the "#".
16450 print prefix
"define", macro P
[macro
] D
[macro
]
16453 # Replace #undef with comments. This is necessary, for example,
16454 # in the case of _POSIX_SOURCE, which is predefined and required
16455 # on some systems where configure will not decide to define it.
16456 if (defundef
== "undef") {
16457 print
"/*", prefix defundef
, macro
, "*/"
16465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16466 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16467 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16468 { (exit 1); exit 1; }; }
16469 fi # test -n "$CONFIG_HEADERS"
16472 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16477 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16479 case $ac_mode$ac_tag in
16481 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16482 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16483 { (exit 1); exit 1; }; };;
16484 :[FH
]-) ac_tag
=-:-;;
16485 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16502 -) ac_f
="$tmp/stdin";;
16503 *) # Look for the file first in the build tree, then in the source tree
16504 # (if the path is not absolute). The absolute path cannot be DOS-style,
16505 # because $ac_f cannot contain `:'.
16509 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16511 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16512 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16513 { (exit 1); exit 1; }; };;
16515 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16516 ac_file_inputs
="$ac_file_inputs '$ac_f'"
16519 # Let's still pretend it is `configure' which instantiates (i.e., don't
16520 # use $as_me), people would be surprised to read:
16521 # /* config.h. Generated by config.status. */
16522 configure_input
='Generated from '`
16523 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16525 if test x
"$ac_file" != x-
; then
16526 configure_input
="$ac_file. $configure_input"
16527 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16528 $as_echo "$as_me: creating $ac_file" >&6;}
16530 # Neutralize special characters interpreted by sed in replacement strings.
16531 case $configure_input in #(
16532 *\
&* |
*\|
* |
*\\* )
16533 ac_sed_conf_input
=`$as_echo "$configure_input" |
16534 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16535 *) ac_sed_conf_input
=$configure_input;;
16539 *:-:* |
*:-) cat >"$tmp/stdin" \
16540 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16541 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16542 { (exit 1); exit 1; }; } ;;
16547 ac_dir
=`$as_dirname -- "$ac_file" ||
16548 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16549 X"$ac_file" : 'X\(//\)[^/]' \| \
16550 X"$ac_file" : 'X\(//\)$' \| \
16551 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16552 $as_echo X"$ac_file" |
16553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16557 /^X\(\/\/\)[^/].*/{
16572 -*) as_dir
=.
/$as_dir;;
16574 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16578 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16579 *) as_qdir
=$as_dir;;
16581 as_dirs
="'$as_qdir' $as_dirs"
16582 as_dir
=`$as_dirname -- "$as_dir" ||
16583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16584 X"$as_dir" : 'X\(//\)[^/]' \| \
16585 X"$as_dir" : 'X\(//\)$' \| \
16586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16587 $as_echo X"$as_dir" |
16588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16592 /^X\(\/\/\)[^/].*/{
16605 test -d "$as_dir" && break
16607 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16608 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16609 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16610 { (exit 1); exit 1; }; }; }
16614 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16616 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16617 # A ".." for each directory in $ac_dir_suffix.
16618 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16619 case $ac_top_builddir_sub in
16620 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16621 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16624 ac_abs_top_builddir
=$ac_pwd
16625 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16626 # for backward compatibility:
16627 ac_top_builddir
=$ac_top_build_prefix
16630 .
) # We are building in place.
16632 ac_top_srcdir
=$ac_top_builddir_sub
16633 ac_abs_top_srcdir
=$ac_pwd ;;
16634 [\\/]* | ?
:[\\/]* ) # Absolute name.
16635 ac_srcdir
=$srcdir$ac_dir_suffix;
16636 ac_top_srcdir
=$srcdir
16637 ac_abs_top_srcdir
=$srcdir ;;
16638 *) # Relative name.
16639 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16640 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16641 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16643 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16653 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16654 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16656 ac_MKDIR_P
=$MKDIR_P
16658 [\\/$
]* | ?
:[\\/]* ) ;;
16659 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16664 # If the template does not know about datarootdir, expand it.
16665 # FIXME: This hack should be removed a few years after 2.60.
16666 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16679 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16680 *datarootdir
*) ac_datarootdir_seen
=yes;;
16681 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16682 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16683 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16686 ac_datarootdir_hack='
16687 s&@datadir@&$datadir&g
16688 s&@docdir@&$docdir&g
16689 s&@infodir@&$infodir&g
16690 s&@localedir@&$localedir&g
16691 s&@mandir@&$mandir&g
16692 s&\\\${datarootdir}&$datarootdir&g' ;;
16696 # Neutralize VPATH when `$srcdir' = `.'.
16697 # Shell code in configure.ac might set extrasub.
16698 # FIXME: do we really want to maintain this feature?
16699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16700 ac_sed_extra="$ac_vpsub
16703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16705 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16706 s|@configure_input@|
$ac_sed_conf_input|
;t t
16707 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16708 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16709 s
&@srcdir@
&$ac_srcdir&;t t
16710 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16711 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16712 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16713 s
&@builddir@
&$ac_builddir&;t t
16714 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16715 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16716 s
&@INSTALL@
&$ac_INSTALL&;t t
16717 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16718 $ac_datarootdir_hack
16720 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16721 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
16722 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
16723 { (exit 1); exit 1; }; }
16725 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16726 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16727 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16728 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16729 which seems to be undefined. Please make sure it is defined." >&5
16730 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16731 which seems to be undefined. Please make sure it is defined." >&2;}
16735 -) cat "$tmp/out" && rm -f "$tmp/out";;
16736 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16738 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16739 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16740 { (exit 1); exit 1; }; }
16746 if test x"$ac_file" != x-; then
16748 $as_echo "/* $configure_input */" \
16749 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16750 } >"$tmp/config.h" \
16751 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16752 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16753 { (exit 1); exit 1; }; }
16754 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16755 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16756 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16759 mv "$tmp/config.h" "$ac_file" \
16760 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16761 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16762 { (exit 1); exit 1; }; }
16765 $as_echo "/* $configure_input */" \
16766 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16767 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16768 $as_echo "$as_me: error: could not create -" >&2;}
16769 { (exit 1); exit 1; }; }
16779 { (exit 0); exit 0; }
16781 chmod +x $CONFIG_STATUS
16782 ac_clean_files=$ac_clean_files_save
16784 test $ac_write_fail = 0 ||
16785 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
16786 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
16787 { (exit 1); exit 1; }; }
16790 # configure is writing to config.log, and then calls config.status.
16791 # config.status does its own redirection, appending to config.log.
16792 # Unfortunately, on DOS this fails, as config.log is still kept open
16793 # by configure, so config.status won't be able to
write to it
; its
16794 # output is simply discarded. So we exec the FD to /dev/null,
16795 # effectively closing config.log, so it can be properly (re)opened and
16796 # appended to by config.status. When coming back to configure, we
16797 # need to make the FD available again.
16798 if test "$no_create" != yes; then
16800 ac_config_status_args
=
16801 test "$silent" = yes &&
16802 ac_config_status_args
="$ac_config_status_args --quiet"
16804 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16806 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16807 # would make configure fail if this is the last instruction.
16808 $ac_cs_success ||
{ (exit 1); exit 1; }
16810 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16811 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16812 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16816 if test x
$ODIRECT != xyes
; then
16817 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
16818 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}