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
774 program_transform_name
786 enable_option_checking
824 with_dmeventd_pidfile
828 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 ac_unrecognized_opts
=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
953 { (exit 1); exit 1; }; }
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
980 { (exit 1); exit 1; }; }
981 ac_useropt_orig
=$ac_useropt
982 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep
=', ';;
990 eval enable_
$ac_useropt=\
$ac_optarg ;;
992 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
993 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
994 |
--exec |
--exe |
--ex)
995 ac_prev
=exec_prefix
;;
996 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
997 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
998 |
--exec=* |
--exe=* |
--ex=*)
999 exec_prefix
=$ac_optarg ;;
1001 -gas |
--gas |
--ga |
--g)
1002 # Obsolete; use --with-gas.
1005 -help |
--help |
--hel |
--he |
-h)
1006 ac_init_help
=long
;;
1007 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1008 ac_init_help
=recursive
;;
1009 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1010 ac_init_help
=short
;;
1012 -host |
--host |
--hos |
--ho)
1013 ac_prev
=host_alias
;;
1014 -host=* |
--host=* |
--hos=* |
--ho=*)
1015 host_alias
=$ac_optarg ;;
1017 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1019 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1021 htmldir
=$ac_optarg ;;
1023 -includedir |
--includedir |
--includedi |
--included |
--include \
1024 |
--includ |
--inclu |
--incl |
--inc)
1025 ac_prev
=includedir
;;
1026 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1027 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1028 includedir
=$ac_optarg ;;
1030 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1032 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1033 infodir
=$ac_optarg ;;
1035 -libdir |
--libdir |
--libdi |
--libd)
1037 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1038 libdir
=$ac_optarg ;;
1040 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1041 |
--libexe |
--libex |
--libe)
1042 ac_prev
=libexecdir
;;
1043 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1044 |
--libexe=* |
--libex=* |
--libe=*)
1045 libexecdir
=$ac_optarg ;;
1047 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1048 ac_prev
=localedir
;;
1049 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1050 localedir
=$ac_optarg ;;
1052 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1053 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1054 ac_prev
=localstatedir
;;
1055 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1056 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1057 localstatedir
=$ac_optarg ;;
1059 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1061 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1062 mandir
=$ac_optarg ;;
1064 -nfp |
--nfp |
--nf)
1065 # Obsolete; use --without-fp.
1068 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1069 |
--no-cr |
--no-c |
-n)
1072 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1073 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1076 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1077 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1078 |
--oldin |
--oldi |
--old |
--ol |
--o)
1079 ac_prev
=oldincludedir
;;
1080 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1081 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1082 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1083 oldincludedir
=$ac_optarg ;;
1085 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1087 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1088 prefix
=$ac_optarg ;;
1090 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1091 |
--program-pre |
--program-pr |
--program-p)
1092 ac_prev
=program_prefix
;;
1093 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1094 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1095 program_prefix
=$ac_optarg ;;
1097 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1098 |
--program-suf |
--program-su |
--program-s)
1099 ac_prev
=program_suffix
;;
1100 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1101 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1102 program_suffix
=$ac_optarg ;;
1104 -program-transform-name |
--program-transform-name \
1105 |
--program-transform-nam |
--program-transform-na \
1106 |
--program-transform-n |
--program-transform- \
1107 |
--program-transform |
--program-transfor \
1108 |
--program-transfo |
--program-transf \
1109 |
--program-trans |
--program-tran \
1110 |
--progr-tra |
--program-tr |
--program-t)
1111 ac_prev
=program_transform_name
;;
1112 -program-transform-name=* |
--program-transform-name=* \
1113 |
--program-transform-nam=* |
--program-transform-na=* \
1114 |
--program-transform-n=* |
--program-transform-=* \
1115 |
--program-transform=* |
--program-transfor=* \
1116 |
--program-transfo=* |
--program-transf=* \
1117 |
--program-trans=* |
--program-tran=* \
1118 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1119 program_transform_name
=$ac_optarg ;;
1121 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1123 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1124 pdfdir
=$ac_optarg ;;
1126 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1128 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1131 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1132 |
-silent |
--silent |
--silen |
--sile |
--sil)
1135 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1137 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1139 sbindir
=$ac_optarg ;;
1141 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1142 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1143 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1145 ac_prev
=sharedstatedir
;;
1146 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1147 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1148 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1150 sharedstatedir
=$ac_optarg ;;
1152 -site |
--site |
--sit)
1154 -site=* |
--site=* |
--sit=*)
1157 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1159 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1160 srcdir
=$ac_optarg ;;
1162 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1163 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1164 ac_prev
=sysconfdir
;;
1165 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1166 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1167 sysconfdir
=$ac_optarg ;;
1169 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1170 ac_prev
=target_alias
;;
1171 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1172 target_alias
=$ac_optarg ;;
1174 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1177 -version |
--version |
--versio |
--versi |
--vers |
-V)
1178 ac_init_version
=: ;;
1181 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1184 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=\
$ac_optarg ;;
1197 -without-* |
--without-*)
1198 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1202 { (exit 1); exit 1; }; }
1203 ac_useropt_orig
=$ac_useropt
1204 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1209 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210 ac_unrecognized_sep
=', ';;
1212 eval with_
$ac_useropt=no
;;
1215 # Obsolete; use --with-x.
1218 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1219 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1220 ac_prev
=x_includes
;;
1221 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1222 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1223 x_includes
=$ac_optarg ;;
1225 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1226 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1227 ac_prev
=x_libraries
;;
1228 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1229 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1230 x_libraries
=$ac_optarg ;;
1232 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1233 Try \`$0 --help' for more information." >&2
1234 { (exit 1); exit 1; }; }
1238 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1241 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1242 { (exit 1); exit 1; }; }
1243 eval $ac_envvar=\
$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1250 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 if test -n "$ac_prev"; then
1258 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1259 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1260 { (exit 1); exit 1; }; }
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1266 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1267 { (exit 1); exit 1; }; } ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val
=\$
$ac_var
1279 # Remove trailing slashes.
1282 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\
$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$as_myself" : 'X\(//\)[^/]' \| \
1335 X"$as_myself" : 'X\(//\)$' \| \
1336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures this package to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1456 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1460 if test -n "$ac_init_help"; then
1465 --disable-option-checking ignore unrecognized
--enable/--with options
1466 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1467 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1468 --enable-static_link Use this to link the tools to their libraries
1469 statically. Default is dynamic linking
1470 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1471 device-mapper is missing from the kernel
1472 --disable-readline Disable readline support
1473 --disable-realtime Disable realtime
clock support
1474 --enable-debug Enable debugging
1475 --enable-profiling Gather gcov profiling data
1476 --disable-devmapper Disable LVM2 device-mapper interaction
1477 --enable-udev_sync Enable synchronisation with udev processing
1478 --enable-udev_rules Install rule files needed
for udev synchronisation
1479 --enable-compat Enable support
for old device-mapper versions
1480 --disable-driver Disable calls to device-mapper
in the kernel
1481 --disable-o_direct Disable O_DIRECT
1482 --enable-applib Build application library
1483 --enable-cmdlib Build shared
command library
1484 --enable-pkgconfig Install pkgconfig support
1485 --enable-fsadm Enable fsadm
1486 --enable-dmeventd Enable the device-mapper event daemon
1487 --disable-selinux Disable selinux support
1488 --enable-nls Enable Native Language Support
1491 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1492 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1493 --with-user=USER Set the owner of installed files
[USER
=root
]
1494 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1495 --with-device-uid=UID Set the owner used
for new device nodes
[UID
=0]
1496 --with-device-gid=UID Set the group used
for new device nodes
[GID
=0]
1497 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1498 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1500 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1502 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1504 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1506 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1508 --with-clvmd=TYPE Build cluster LVM Daemon
: cman
/gulm
/corosync
/none
/all
1510 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1511 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1512 --with-confdir=DIR Configuration files
in DIR
[/etc
]
1513 --with-staticdir=DIR Static binary
in DIR
[EPREFIX
/sbin
]
1514 --with-usrlibdir=DIR
1515 --with-usrsbindir=DIR
1516 --with-udev-prefix=UPREFIX Install udev rule files
in UPREFIX
[EPREFIX
]
1517 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1518 --with-dmeventd-path=PATH dmeventd path
[EPREFIX
/sbin
/dmeventd
]
1519 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1521 Some influential environment variables
:
1522 CC C compiler
command
1523 CFLAGS C compiler flags
1524 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1525 nonstandard directory
<lib dir
>
1526 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1527 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1528 you have headers
in a nonstandard directory
<include dir
>
1530 PKG_CONFIG path to pkg-config utility
1532 C compiler flags
for QUORUM
, overriding pkg-config
1533 QUORUM_LIBS linker flags
for QUORUM
, overriding pkg-config
1535 C compiler flags
for CONFDB
, overriding pkg-config
1536 CONFDB_LIBS linker flags
for CONFDB
, overriding pkg-config
1537 CPG_CFLAGS C compiler flags
for CPG
, overriding pkg-config
1538 CPG_LIBS linker flags
for CPG
, overriding pkg-config
1540 Use these variables to override the choices made by
`configure' or to help
1541 it to find libraries and programs with nonstandard names/locations.
1547 if test "$ac_init_help" = "recursive"; then
1548 # If there are subdirs, report their specific --help.
1549 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1550 test -d "$ac_dir" ||
1551 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1559 # A ".." for each directory in $ac_dir_suffix.
1560 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1561 case $ac_top_builddir_sub in
1562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566 ac_abs_top_builddir=$ac_pwd
1567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568 # for backward compatibility:
1569 ac_top_builddir=$ac_top_build_prefix
1572 .) # We are building in place.
1574 ac_top_srcdir=$ac_top_builddir_sub
1575 ac_abs_top_srcdir=$ac_pwd ;;
1576 [\\/]* | ?:[\\/]* ) # Absolute name.
1577 ac_srcdir=$srcdir$ac_dir_suffix;
1578 ac_top_srcdir=$srcdir
1579 ac_abs_top_srcdir=$srcdir ;;
1581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582 ac_top_srcdir=$ac_top_build_prefix$srcdir
1583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1587 cd "$ac_dir" || { ac_status=$?; continue; }
1588 # Check for guested configure.
1589 if test -f "$ac_srcdir/configure.gnu"; then
1591 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592 elif test -f "$ac_srcdir/configure"; then
1594 $SHELL "$ac_srcdir/configure" --help=recursive
1596 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1598 cd "$ac_pwd" || { ac_status=$?; break; }
1602 test -n "$ac_init_help" && exit $ac_status
1603 if $ac_init_version; then
1606 generated by GNU Autoconf 2.63
1608 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1609 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1610 This configure script is free software; the Free Software Foundation
1611 gives unlimited permission to copy, distribute and modify it.
1615 cat >config.log <<_ACEOF
1616 This file contains any messages produced by compilers while
1617 running configure, to aid debugging if configure makes a mistake.
1619 It was created by $as_me, which was
1620 generated by GNU Autoconf 2.63. Invocation command line was
1632 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1633 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1634 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1635 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1636 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1638 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1639 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1641 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1642 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1643 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1644 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1645 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1646 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1647 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 $as_echo "PATH: $as_dir"
1672 # Keep a trace of the command line.
1673 # Strip out --no-create and --no-recursion so they do not pile up.
1674 # Strip out --silent because we don't want to record it for future runs.
1675 # Also quote any args containing shell meta-characters.
1676 # Make two passes to allow for proper duplicate-argument suppression.
1680 ac_must_keep_next=false
1686 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1688 | -silent | --silent | --silen | --sile | --sil)
1691 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1694 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1696 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1697 if test $ac_must_keep_next = true; then
1698 ac_must_keep_next=false # Got value, back to normal.
1701 *=* | --config-cache | -C | -disable-* | --disable-* \
1702 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1703 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1704 | -with-* | --with-* | -without-* | --without-* | --x)
1705 case "$ac_configure_args0 " in
1706 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1709 -* ) ac_must_keep_next=true ;;
1712 ac_configure_args="$ac_configure_args '$ac_arg'"
1717 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1718 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1720 # When interrupted or exit'd, cleanup temporary files, and complete
1721 # config.log. We remove comments because anyway the quotes in there
1722 # would cause problems or look ugly.
1723 # WARNING: Use '\'' to represent an apostrophe within the trap.
1724 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1725 trap 'exit_status=$?
1726 # Save into config.log some information that might help in debugging.
1731 ## ---------------- ##
1732 ## Cache variables. ##
1733 ## ---------------- ##
1736 # The following way of writing the cache mishandles newlines in values,
1738 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1739 eval ac_val=\$$ac_var
1743 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1747 _ | IFS | as_nl) ;; #(
1748 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1749 *) $as_unset $ac_var ;;
1754 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1755 *${as_nl}ac_space=\ *)
1757 "s/'\''/'\''\\\\'\'''\''/g;
1758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1769 ## ----------------- ##
1770 ## Output variables. ##
1771 ## ----------------- ##
1774 for ac_var in $ac_subst_vars
1776 eval ac_val=\$$ac_var
1778 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1780 $as_echo "$ac_var='\''$ac_val'\''"
1784 if test -n "$ac_subst_files"; then
1786 ## ------------------- ##
1787 ## File substitutions. ##
1788 ## ------------------- ##
1791 for ac_var in $ac_subst_files
1793 eval ac_val=\$$ac_var
1795 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1797 $as_echo "$ac_var='\''$ac_val'\''"
1802 if test -s confdefs.h; then
1812 test "$ac_signal" != 0 &&
1813 $as_echo "$as_me: caught signal $ac_signal"
1814 $as_echo "$as_me: exit $exit_status"
1816 rm -f core *.core core.conftest.* &&
1817 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1820 for ac_signal in 1 2 13 15; do
1821 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1825 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1826 rm -f -r conftest* confdefs.h
1828 # Predefined preprocessor variables.
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE_NAME "$PACKAGE_NAME"
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_STRING "$PACKAGE_STRING"
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1855 # Let the site file select an alternate cache file if it wants to.
1856 # Prefer an explicitly selected file to automatically selected ones.
1859 if test -n "$CONFIG_SITE"; then
1860 ac_site_file1=$CONFIG_SITE
1861 elif test "x$prefix" != xNONE; then
1862 ac_site_file1=$prefix/share/config.site
1863 ac_site_file2=$prefix/etc/config.site
1865 ac_site_file1=$ac_default_prefix/share/config.site
1866 ac_site_file2=$ac_default_prefix/etc/config.site
1868 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1870 test "x$ac_site_file" = xNONE && continue
1871 if test -r "$ac_site_file"; then
1872 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1873 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1874 sed 's/^/| /' "$ac_site_file" >&5
1879 if test -r "$cache_file"; then
1880 # Some versions of bash will fail to source /dev/null (special
1881 # files actually), so we avoid doing that.
1882 if test -f "$cache_file"; then
1883 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1884 $as_echo "$as_me: loading cache $cache_file" >&6;}
1886 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1887 *) . "./$cache_file";;
1891 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1892 $as_echo "$as_me: creating cache $cache_file" >&6;}
1896 # Check that the precious variables saved in the cache have kept the same
1898 ac_cache_corrupted=false
1899 for ac_var in $ac_precious_vars; do
1900 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1901 eval ac_new_set=\$ac_env_${ac_var}_set
1902 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1903 eval ac_new_val=\$ac_env_${ac_var}_value
1904 case $ac_old_set,$ac_new_set in
1906 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1907 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1908 ac_cache_corrupted=: ;;
1910 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1911 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1912 ac_cache_corrupted=: ;;
1915 if test "x$ac_old_val" != "x$ac_new_val"; then
1916 # differences in whitespace do not lead to failure.
1917 ac_old_val_w=`echo x
$ac_old_val`
1918 ac_new_val_w=`echo x
$ac_new_val`
1919 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1920 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1921 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1922 ac_cache_corrupted=:
1924 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1925 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1926 eval $ac_var=\$ac_old_val
1928 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1929 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1930 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1931 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1934 # Pass precious variables to config.status.
1935 if test "$ac_new_set" = set; then
1937 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1938 *) ac_arg=$ac_var=$ac_new_val ;;
1940 case " $ac_configure_args " in
1941 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1942 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1946 if $ac_cache_corrupted; then
1947 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1949 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1950 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1951 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1952 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1953 { (exit 1); exit 1; }; }
1973 ac_cpp='$CPP $CPPFLAGS'
1974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1980 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
1983 ################################################################################
1985 for ac_dir in autoconf "$srcdir"/autoconf; do
1986 if test -f "$ac_dir/install-sh
"; then
1988 ac_install_sh="$ac_aux_dir/install-sh
-c"
1990 elif test -f "$ac_dir/install.sh
"; then
1992 ac_install_sh="$ac_aux_dir/install.sh
-c"
1994 elif test -f "$ac_dir/shtool
"; then
1996 ac_install_sh="$ac_aux_dir/shtool
install -c"
2000 if test -z "$ac_aux_dir"; then
2001 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2002 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2003 { (exit 1); exit 1; }; }
2006 # These three variables are undocumented and unsupported,
2007 # and are intended to be withdrawn in a future Autoconf release.
2008 # They can cause serious problems if a builder's source tree is in a directory
2009 # whose full name contains unusual characters.
2010 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2011 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2012 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2016 ################################################################################
2017 # Make sure we can run config.sub.
2018 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2019 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2020 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2021 { (exit 1); exit 1; }; }
2023 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2024 $as_echo_n "checking build system
type...
" >&6; }
2025 if test "${ac_cv_build+set}" = set; then
2026 $as_echo_n "(cached
) " >&6
2028 ac_build_alias=$build_alias
2029 test "x
$ac_build_alias" = x &&
2030 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2031 test "x
$ac_build_alias" = x &&
2032 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2033 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2034 { (exit 1); exit 1; }; }
2035 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2036 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2037 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2038 { (exit 1); exit 1; }; }
2041 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2042 $as_echo "$ac_cv_build" >&6; }
2043 case $ac_cv_build in
2045 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2046 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2047 { (exit 1); exit 1; }; };;
2050 ac_save_IFS=$IFS; IFS='-'
2056 # Remember, the first character of IFS is used to create $*,
2057 # except with old shells:
2060 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2063 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2064 $as_echo_n "checking
host system
type...
" >&6; }
2065 if test "${ac_cv_host+set}" = set; then
2066 $as_echo_n "(cached
) " >&6
2068 if test "x
$host_alias" = x; then
2069 ac_cv_host=$ac_cv_build
2071 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2072 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2073 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2074 { (exit 1); exit 1; }; }
2078 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2079 $as_echo "$ac_cv_host" >&6; }
2082 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2083 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2084 { (exit 1); exit 1; }; };;
2087 ac_save_IFS=$IFS; IFS='-'
2093 # Remember, the first character of IFS is used to create $*,
2094 # except with old shells:
2097 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2100 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2101 $as_echo_n "checking target system
type...
" >&6; }
2102 if test "${ac_cv_target+set}" = set; then
2103 $as_echo_n "(cached
) " >&6
2105 if test "x
$target_alias" = x; then
2106 ac_cv_target=$ac_cv_host
2108 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2109 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2110 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2111 { (exit 1); exit 1; }; }
2115 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2116 $as_echo "$ac_cv_target" >&6; }
2117 case $ac_cv_target in
2119 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2120 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2121 { (exit 1); exit 1; }; };;
2123 target=$ac_cv_target
2124 ac_save_IFS=$IFS; IFS='-'
2130 # Remember, the first character of IFS is used to create $*,
2131 # except with old shells:
2134 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2137 # The aliases save the names the user supplied, while $host etc.
2138 # will get canonicalized.
2139 test -n "$target_alias" &&
2140 test "$program_prefix$program_suffix$program_transform_name" = \
2142 program_prefix=${target_alias}-
2147 COPTIMISE_FLAG="-O2"
2148 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2149 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2150 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2151 LDDEPS="$LDDEPS .
export.sym
"
2152 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2163 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2164 COPTIMISE_FLAG="-O2"
2165 CLDFLAGS="$CLDFLAGS"
2166 CLDWHOLEARCHIVE="-all_load"
2179 ################################################################################
2180 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2181 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2182 if test "${ac_cv_path_SED+set}" = set; then
2183 $as_echo_n "(cached
) " >&6
2185 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2186 for ac_i in 1 2 3 4 5 6 7; do
2187 ac_script="$ac_script$as_nl$ac_script"
2189 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2190 $as_unset ac_script || ac_script=
2191 if test -z "$SED"; then
2192 ac_path_SED_found=false
2193 # Loop through the user's path and test for each of PROGNAME-LIST
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir=.
2199 for ac_prog in sed gsed; do
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2202 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2203 # Check for GNU ac_path_SED and select it if it is found.
2204 # Check for GNU $ac_path_SED
2205 case `"$ac_path_SED" --version 2>&1` in
2207 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2210 $as_echo_n 0123456789 >"conftest.
in"
2213 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2214 mv "conftest.tmp
" "conftest.
in"
2215 cp "conftest.
in" "conftest.
nl"
2216 $as_echo '' >> "conftest.
nl"
2217 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2218 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2219 ac_count=`expr $ac_count + 1`
2220 if test $ac_count -gt ${ac_path_SED_max-0}; then
2221 # Best one so far, save it but keep looking for a better one
2222 ac_cv_path_SED="$ac_path_SED"
2223 ac_path_SED_max=$ac_count
2225 # 10*(2^10) chars as input seems more than enough
2226 test $ac_count -gt 10 && break
2228 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2231 $ac_path_SED_found && break 3
2236 if test -z "$ac_cv_path_SED"; then
2237 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2238 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2239 { (exit 1); exit 1; }; }
2246 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2247 $as_echo "$ac_cv_path_SED" >&6; }
2248 SED="$ac_cv_path_SED"
2251 for ac_prog in gawk mawk nawk awk
2253 # Extract the first word of "$ac_prog", so it can be a program name with args.
2254 set dummy $ac_prog; ac_word=$2
2255 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2256 $as_echo_n "checking
for $ac_word...
" >&6; }
2257 if test "${ac_cv_prog_AWK+set}" = set; then
2258 $as_echo_n "(cached
) " >&6
2260 if test -n "$AWK"; then
2261 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270 ac_cv_prog_AWK="$ac_prog"
2271 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2281 if test -n "$AWK"; then
2282 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2283 $as_echo "$AWK" >&6; }
2285 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2286 $as_echo "no
" >&6; }
2290 test -n "$AWK" && break
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2300 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2301 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2302 $as_echo_n "checking
for $ac_word...
" >&6; }
2303 if test "${ac_cv_prog_CC+set}" = set; then
2304 $as_echo_n "(cached
) " >&6
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2317 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2327 if test -n "$CC"; then
2328 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2329 $as_echo "$CC" >&6; }
2331 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2332 $as_echo "no
" >&6; }
2337 if test -z "$ac_cv_prog_CC"; then
2339 # Extract the first word of "gcc
", so it can be a program name with args.
2340 set dummy gcc; ac_word=$2
2341 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2342 $as_echo_n "checking
for $ac_word...
" >&6; }
2343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2344 $as_echo_n "(cached
) " >&6
2346 if test -n "$ac_ct_CC"; then
2347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_ac_ct_CC="gcc
"
2357 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2366 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2367 if test -n "$ac_ct_CC"; then
2368 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2369 $as_echo "$ac_ct_CC" >&6; }
2371 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2372 $as_echo "no
" >&6; }
2375 if test "x
$ac_ct_CC" = x; then
2378 case $cross_compiling:$ac_tool_warned in
2380 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2381 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2382 ac_tool_warned=yes ;;
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}cc; ac_word=$2
2394 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2395 $as_echo_n "checking
for $ac_word...
" >&6; }
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 $as_echo_n "(cached
) " >&6
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC="$CC" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2410 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2420 if test -n "$CC"; then
2421 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2422 $as_echo "$CC" >&6; }
2424 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2425 $as_echo "no
" >&6; }
2431 if test -z "$CC"; then
2432 # Extract the first word of "cc
", so it can be a program name with args.
2433 set dummy cc; ac_word=$2
2434 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2435 $as_echo_n "checking
for $ac_word...
" >&6; }
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437 $as_echo_n "(cached
) " >&6
2439 if test -n "$CC"; then
2440 ac_cv_prog_CC="$CC" # Let the user override the test.
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2451 ac_prog_rejected=yes
2455 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2462 if test $ac_prog_rejected = yes; then
2463 # We found a bogon in the path, so make sure we never use it.
2464 set dummy $ac_cv_prog_CC
2466 if test $# != 0; then
2467 # We chose a different compiler from the bogus one.
2468 # However, it has the same basename, so the bogon will be chosen
2469 # first if we set CC to just the basename; use the full file name.
2471 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2477 if test -n "$CC"; then
2478 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2479 $as_echo "$CC" >&6; }
2481 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2482 $as_echo "no
" >&6; }
2487 if test -z "$CC"; then
2488 if test -n "$ac_tool_prefix"; then
2489 for ac_prog in cl.exe
2491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2493 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2494 $as_echo_n "checking
for $ac_word...
" >&6; }
2495 if test "${ac_cv_prog_CC+set}" = set; then
2496 $as_echo_n "(cached
) " >&6
2498 if test -n "$CC"; then
2499 ac_cv_prog_CC="$CC" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2509 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2519 if test -n "$CC"; then
2520 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2521 $as_echo "$CC" >&6; }
2523 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2524 $as_echo "no
" >&6; }
2528 test -n "$CC" && break
2531 if test -z "$CC"; then
2533 for ac_prog in cl.exe
2535 # Extract the first word of "$ac_prog", so it can be a program name with args.
2536 set dummy $ac_prog; ac_word=$2
2537 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2538 $as_echo_n "checking
for $ac_word...
" >&6; }
2539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2540 $as_echo_n "(cached
) " >&6
2542 if test -n "$ac_ct_CC"; then
2543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir=.
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_ac_ct_CC="$ac_prog"
2553 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2563 if test -n "$ac_ct_CC"; then
2564 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2565 $as_echo "$ac_ct_CC" >&6; }
2567 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2568 $as_echo "no
" >&6; }
2572 test -n "$ac_ct_CC" && break
2575 if test "x
$ac_ct_CC" = x; then
2578 case $cross_compiling:$ac_tool_warned in
2580 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2581 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2582 ac_tool_warned=yes ;;
2591 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2593 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2594 See \`config.log' for more details.
" >&5
2595 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2596 See \
`config.log' for more details." >&2;}
2597 { (exit 1); exit 1; }; }; }
2599 # Provide some information about the compiler.
2600 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2603 { (ac_try="$ac_compiler --version >&5"
2605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2606 *) ac_try_echo
=$ac_try;;
2608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2609 $as_echo "$ac_try_echo") >&5
2610 (eval "$ac_compiler --version >&5") 2>&5
2612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614 { (ac_try
="$ac_compiler -v >&5"
2616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2620 $as_echo "$ac_try_echo") >&5
2621 (eval "$ac_compiler -v >&5") 2>&5
2623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }
2625 { (ac_try="$ac_compiler -V >&5"
2627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2628 *) ac_try_echo
=$ac_try;;
2630 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2631 $as_echo "$ac_try_echo") >&5
2632 (eval "$ac_compiler -V >&5") 2>&5
2634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }
2637 cat >conftest.
$ac_ext <<_ACEOF
2640 cat confdefs.h
>>conftest.
$ac_ext
2641 cat >>conftest.
$ac_ext <<_ACEOF
2642 /* end confdefs.h. */
2652 ac_clean_files_save
=$ac_clean_files
2653 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2654 # Try to create an executable without -o first, disregard a.out.
2655 # It will help us diagnose broken compilers, and finding out an intuition
2657 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2658 $as_echo_n "checking for C compiler default output file name... " >&6; }
2659 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2661 # The possible output files:
2662 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2665 for ac_file
in $ac_files
2668 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2669 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2674 if { (ac_try
="$ac_link_default"
2676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2680 $as_echo "$ac_try_echo") >&5
2681 (eval "$ac_link_default") 2>&5
2683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; then
2685 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2686 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2687 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2688 # so that the user can short-circuit this test for compilers unknown to
2690 for ac_file in $ac_files ''
2692 test -f "$ac_file" || continue
2694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2697 # We found the default executable, but exeext='' is most
2701 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2703 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2705 # We set ac_cv_exeext here because the later test for it is not
2706 # safe: cross compilers may not add the suffix if given an `-o'
2707 # argument, so we may need to know it at that point already.
2708 # Even if this section looks crufty: it has the advantage of
2715 test "$ac_cv_exeext" = no && ac_cv_exeext=
2721 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2722 $as_echo "$ac_file" >&6; }
2723 if test -z "$ac_file"; then
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's
/^
/|
/' conftest.$ac_ext >&5
2727 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2729 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2730 See \`config.log
' for more details." >&5
2731 $as_echo "$as_me: error: C compiler cannot create executables
2732 See \`config.log' for more details.
" >&2;}
2733 { (exit 77); exit 77; }; }; }
2736 ac_exeext=$ac_cv_exeext
2738 # Check that the compiler produces executables we can run. If not, either
2739 # the compiler is broken, or we cross compile.
2740 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2741 $as_echo_n "checking whether the C compiler works...
" >&6; }
2742 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2743 # If not cross compiling, check that we can run a simple program.
2744 if test "$cross_compiling" != yes; then
2745 if { ac_try='./$ac_file'
2746 { (case "(($ac_try" in
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2751 $as_echo "$ac_try_echo") >&5
2752 (eval "$ac_try") 2>&5
2754 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2755 (exit $ac_status); }; }; then
2758 if test "$cross_compiling" = maybe; then
2761 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2764 If you meant to cross compile, use \`--host'.
2765 See \
`config.log' for more details." >&5
2766 $as_echo "$as_me: error: cannot run C compiled programs.
2767 If you meant to cross compile, use \`--host'.
2768 See \`config.log' for more details.
" >&2;}
2769 { (exit 1); exit 1; }; }; }
2773 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2774 $as_echo "yes" >&6; }
2776 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2777 ac_clean_files=$ac_clean_files_save
2778 # Check that the compiler produces executables we can run. If not, either
2779 # the compiler is broken, or we cross compile.
2780 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2781 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2782 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2783 $as_echo "$cross_compiling" >&6; }
2785 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2786 $as_echo_n "checking
for suffix of executables...
" >&6; }
2787 if { (ac_try="$ac_link"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2793 $as_echo "$ac_try_echo") >&5
2794 (eval "$ac_link") 2>&5
2796 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2797 (exit $ac_status); }; then
2798 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2799 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2800 # work properly (i.e., refer to `conftest.exe'), while it won't with
2802 for ac_file in conftest.exe conftest conftest.*; do
2803 test -f "$ac_file" || continue
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2806 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2815 See \`config.log' for more details.
" >&5
2816 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2817 See \
`config.log' for more details." >&2;}
2818 { (exit 1); exit 1; }; }; }
2821 rm -f conftest$ac_cv_exeext
2822 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2823 $as_echo "$ac_cv_exeext" >&6; }
2825 rm -f conftest.$ac_ext
2826 EXEEXT=$ac_cv_exeext
2828 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2829 $as_echo_n "checking for suffix of object files... " >&6; }
2830 if test "${ac_cv_objext+set}" = set; then
2831 $as_echo_n "(cached) " >&6
2833 cat >conftest.$ac_ext <<_ACEOF
2836 cat confdefs.h >>conftest.$ac_ext
2837 cat >>conftest.$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2848 rm -f conftest.o conftest.obj
2849 if { (ac_try="$ac_compile"
2851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2852 *) ac_try_echo
=$ac_try;;
2854 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2855 $as_echo "$ac_try_echo") >&5
2856 (eval "$ac_compile") 2>&5
2858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; then
2860 for ac_file
in conftest.o conftest.obj conftest.
*; do
2861 test -f "$ac_file" ||
continue;
2863 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2864 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2869 $as_echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.
$ac_ext >&5
2872 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2875 See \`config.log' for more details." >&5
2876 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2877 See \`config.log' for more details." >&2;}
2878 { (exit 1); exit 1; }; }; }
2881 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2883 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2884 $as_echo "$ac_cv_objext" >&6; }
2885 OBJEXT
=$ac_cv_objext
2887 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2888 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2890 $as_echo_n "(cached) " >&6
2892 cat >conftest.
$ac_ext <<_ACEOF
2895 cat confdefs.h
>>conftest.
$ac_ext
2896 cat >>conftest.
$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2910 rm -f conftest.
$ac_objext
2911 if { (ac_try
="$ac_compile"
2913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2917 $as_echo "$ac_try_echo") >&5
2918 (eval "$ac_compile") 2>conftest.er1
2920 grep -v '^ *+' conftest.er1 >conftest.err
2922 cat conftest.err >&5
2923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } && {
2925 test -z "$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 } && test -s conftest.$ac_objext; then
2930 $as_echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2937 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2940 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2941 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2942 if test $ac_compiler_gnu = yes; then
2947 ac_test_CFLAGS=${CFLAGS+set}
2948 ac_save_CFLAGS=$CFLAGS
2949 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2950 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2951 if test "${ac_cv_prog_cc_g+set}" = set; then
2952 $as_echo_n "(cached) " >&6
2954 ac_save_c_werror_flag=$ac_c_werror_flag
2955 ac_c_werror_flag=yes
2958 cat >conftest.$ac_ext <<_ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 rm -f conftest.$ac_objext
2974 if { (ac_try="$ac_compile"
2976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2977 *) ac_try_echo
=$ac_try;;
2979 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2980 $as_echo "$ac_try_echo") >&5
2981 (eval "$ac_compile") 2>conftest.er1
2983 grep -v '^ *+' conftest.er1
>conftest.err
2985 cat conftest.err
>&5
2986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); } && {
2988 test -z "$ac_c_werror_flag" ||
2989 test ! -s conftest.err
2990 } && test -s conftest.
$ac_objext; then
2993 $as_echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.
$ac_ext >&5
2997 cat >conftest.
$ac_ext <<_ACEOF
3000 cat confdefs.h
>>conftest.
$ac_ext
3001 cat >>conftest.
$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.
$ac_objext
3013 if { (ac_try
="$ac_compile"
3015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3019 $as_echo "$ac_try_echo") >&5
3020 (eval "$ac_compile") 2>conftest.er1
3022 grep -v '^ *+' conftest.er1 >conftest.err
3024 cat conftest.err >&5
3025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } && {
3027 test -z "$ac_c_werror_flag" ||
3028 test ! -s conftest.err
3029 } && test -s conftest.$ac_objext; then
3032 $as_echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.$ac_ext >&5
3035 ac_c_werror_flag=$ac_save_c_werror_flag
3037 cat >conftest.$ac_ext <<_ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3052 rm -f conftest.$ac_objext
3053 if { (ac_try="$ac_compile"
3055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3056 *) ac_try_echo
=$ac_try;;
3058 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3059 $as_echo "$ac_try_echo") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1
>conftest.err
3064 cat conftest.err
>&5
3065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } && {
3067 test -z "$ac_c_werror_flag" ||
3068 test ! -s conftest.err
3069 } && test -s conftest.
$ac_objext; then
3072 $as_echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.
$ac_ext >&5
3078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3085 ac_c_werror_flag
=$ac_save_c_werror_flag
3087 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3088 $as_echo "$ac_cv_prog_cc_g" >&6; }
3089 if test "$ac_test_CFLAGS" = set; then
3090 CFLAGS
=$ac_save_CFLAGS
3091 elif test $ac_cv_prog_cc_g = yes; then
3092 if test "$GCC" = yes; then
3098 if test "$GCC" = yes; then
3104 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3105 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3106 if test "${ac_cv_prog_cc_c89+set}" = set; then
3107 $as_echo_n "(cached) " >&6
3109 ac_cv_prog_cc_c89
=no
3111 cat >conftest.
$ac_ext <<_ACEOF
3114 cat confdefs.h
>>conftest.
$ac_ext
3115 cat >>conftest.
$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 #include <sys/types.h>
3120 #include <sys/stat.h>
3121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3122 struct buf { int x; };
3123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3124 static char *e (p, i)
3130 static char *f (char * (*g) (char **, int), char **p, ...)
3135 s = g (p, va_arg (v,int));
3140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3141 function prototypes and stuff, but not '\xHH' hex character constants.
3142 These don't provoke an error unfortunately, instead are silently treated
3143 as 'x'. The following induces an error, until -std is added to get
3144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3145 array size at least. It's necessary to write '\x00'==0 to get something
3146 that's true only with -std. */
3147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3150 inside strings and character constants. */
3152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3154 int test (int i, double x);
3155 struct s1 {int (*f) (int a);};
3156 struct s2 {int (*f) (double a);};
3157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3163 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3168 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3169 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3171 CC
="$ac_save_CC $ac_arg"
3172 rm -f conftest.
$ac_objext
3173 if { (ac_try
="$ac_compile"
3175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3179 $as_echo "$ac_try_echo") >&5
3180 (eval "$ac_compile") 2>conftest.er1
3182 grep -v '^ *+' conftest.er1 >conftest.err
3184 cat conftest.err >&5
3185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } && {
3187 test -z "$ac_c_werror_flag" ||
3188 test ! -s conftest.err
3189 } && test -s conftest.$ac_objext; then
3190 ac_cv_prog_cc_c89=$ac_arg
3192 $as_echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.$ac_ext >&5
3198 rm -f core conftest.err conftest.$ac_objext
3199 test "x$ac_cv_prog_cc_c89" != "xno" && break
3201 rm -f conftest.$ac_ext
3206 case "x$ac_cv_prog_cc_c89" in
3208 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3209 $as_echo "none needed" >&6; } ;;
3211 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3212 $as_echo "unsupported" >&6; } ;;
3214 CC="$CC $ac_cv_prog_cc_c89"
3215 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3216 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3221 ac_cpp='$CPP $CPPFLAGS'
3222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3229 ac_cpp='$CPP $CPPFLAGS'
3230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3234 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3235 # On Suns, sometimes $CPP names a directory.
3236 if test -n "$CPP" && test -d "$CPP"; then
3239 if test -z "$CPP"; then
3240 if test "${ac_cv_prog_CPP+set}" = set; then
3241 $as_echo_n "(cached) " >&6
3243 # Double quotes because CPP needs to be expanded
3244 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3247 for ac_c_preproc_warn_flag in '' yes
3249 # Use a header file that comes with gcc, so configuring glibc
3250 # with a fresh cross-compiler works.
3251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3252 # <limits.h> exists even on freestanding compilers.
3253 # On the NeXT, cc -E runs the code through the compiler's parser,
3254 # not just through cpp. "Syntax error" is here to catch this case.
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3262 # include <limits.h>
3264 # include <assert.h>
3268 if { (ac_try="$ac_cpp conftest.$ac_ext"
3270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3271 *) ac_try_echo
=$ac_try;;
3273 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3274 $as_echo "$ac_try_echo") >&5
3275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3277 grep -v '^ *+' conftest.er1
>conftest.err
3279 cat conftest.err
>&5
3280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } >/dev
/null
&& {
3282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3283 test ! -s conftest.err
3287 $as_echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.
$ac_ext >&5
3290 # Broken: fails on valid input.
3294 rm -f conftest.err conftest.
$ac_ext
3296 # OK, works on sane cases. Now check whether nonexistent headers
3297 # can be detected and how.
3298 cat >conftest.
$ac_ext <<_ACEOF
3301 cat confdefs.h
>>conftest.
$ac_ext
3302 cat >>conftest.
$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3304 #include <ac_nonexistent.h>
3306 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3309 *) ac_try_echo=$ac_try;;
3311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3312 $as_echo "$ac_try_echo") >&5
3313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3315 grep -v '^ *+' conftest.er1 >conftest.err
3317 cat conftest.err >&5
3318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } >/dev/null && {
3320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3321 test ! -s conftest.err
3323 # Broken: success on invalid input.
3326 $as_echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3329 # Passes both tests.
3334 rm -f conftest.err conftest.$ac_ext
3337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3338 rm -f conftest.err conftest.
$ac_ext
3339 if $ac_preproc_ok; then
3351 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3352 $as_echo "$CPP" >&6; }
3354 for ac_c_preproc_warn_flag
in '' yes
3356 # Use a header file that comes with gcc, so configuring glibc
3357 # with a fresh cross-compiler works.
3358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3359 # <limits.h> exists even on freestanding compilers.
3360 # On the NeXT, cc -E runs the code through the compiler's parser,
3361 # not just through cpp. "Syntax error" is here to catch this case.
3362 cat >conftest.
$ac_ext <<_ACEOF
3365 cat confdefs.h
>>conftest.
$ac_ext
3366 cat >>conftest.
$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3369 # include <limits.h>
3371 # include <assert.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
3394 $as_echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3397 # Broken: fails on valid input.
3401 rm -f conftest.err conftest.$ac_ext
3403 # OK, works on sane cases. Now check whether nonexistent headers
3404 # can be detected and how.
3405 cat >conftest.$ac_ext <<_ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3411 #include <ac_nonexistent.h>
3413 if { (ac_try="$ac_cpp conftest.$ac_ext"
3415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3416 *) ac_try_echo
=$ac_try;;
3418 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3419 $as_echo "$ac_try_echo") >&5
3420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } >/dev
/null
&& {
3427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3428 test ! -s conftest.err
3430 # Broken: success on invalid input.
3433 $as_echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3436 # Passes both tests.
3441 rm -f conftest.err conftest.
$ac_ext
3444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3445 rm -f conftest.err conftest.
$ac_ext
3446 if $ac_preproc_ok; then
3449 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3452 See \`config.log' for more details." >&5
3453 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3454 See \`config.log' for more details." >&2;}
3455 { (exit 1); exit 1; }; }; }
3459 ac_cpp
='$CPP $CPPFLAGS'
3460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3465 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3466 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3467 if test "${ac_cv_path_GREP+set}" = set; then
3468 $as_echo_n "(cached) " >&6
3470 if test -z "$GREP"; then
3471 ac_path_GREP_found
=false
3472 # Loop through the user's path and test for each of PROGNAME-LIST
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3474 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_prog
in grep ggrep
; do
3479 for ac_exec_ext
in '' $ac_executable_extensions; do
3480 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3481 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3482 # Check for GNU ac_path_GREP and select it if it is found.
3483 # Check for GNU $ac_path_GREP
3484 case `"$ac_path_GREP" --version 2>&1` in
3486 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3489 $as_echo_n 0123456789 >"conftest.in"
3492 cat "conftest.in" "conftest.in" >"conftest.tmp"
3493 mv "conftest.tmp" "conftest.in"
3494 cp "conftest.in" "conftest.nl"
3495 $as_echo 'GREP' >> "conftest.nl"
3496 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3497 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3498 ac_count
=`expr $ac_count + 1`
3499 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3500 # Best one so far, save it but keep looking for a better one
3501 ac_cv_path_GREP
="$ac_path_GREP"
3502 ac_path_GREP_max
=$ac_count
3504 # 10*(2^10) chars as input seems more than enough
3505 test $ac_count -gt 10 && break
3507 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3510 $ac_path_GREP_found && break 3
3515 if test -z "$ac_cv_path_GREP"; then
3516 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3517 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3518 { (exit 1); exit 1; }; }
3521 ac_cv_path_GREP
=$GREP
3525 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3526 $as_echo "$ac_cv_path_GREP" >&6; }
3527 GREP
="$ac_cv_path_GREP"
3530 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3531 $as_echo_n "checking for egrep... " >&6; }
3532 if test "${ac_cv_path_EGREP+set}" = set; then
3533 $as_echo_n "(cached) " >&6
3535 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3536 then ac_cv_path_EGREP
="$GREP -E"
3538 if test -z "$EGREP"; then
3539 ac_path_EGREP_found
=false
3540 # Loop through the user's path and test for each of PROGNAME-LIST
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3542 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_prog
in egrep; do
3547 for ac_exec_ext
in '' $ac_executable_extensions; do
3548 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3549 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3550 # Check for GNU ac_path_EGREP and select it if it is found.
3551 # Check for GNU $ac_path_EGREP
3552 case `"$ac_path_EGREP" --version 2>&1` in
3554 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3557 $as_echo_n 0123456789 >"conftest.in"
3560 cat "conftest.in" "conftest.in" >"conftest.tmp"
3561 mv "conftest.tmp" "conftest.in"
3562 cp "conftest.in" "conftest.nl"
3563 $as_echo 'EGREP' >> "conftest.nl"
3564 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3565 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3566 ac_count
=`expr $ac_count + 1`
3567 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3568 # Best one so far, save it but keep looking for a better one
3569 ac_cv_path_EGREP
="$ac_path_EGREP"
3570 ac_path_EGREP_max
=$ac_count
3572 # 10*(2^10) chars as input seems more than enough
3573 test $ac_count -gt 10 && break
3575 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3578 $ac_path_EGREP_found && break 3
3583 if test -z "$ac_cv_path_EGREP"; then
3584 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3585 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3586 { (exit 1); exit 1; }; }
3589 ac_cv_path_EGREP
=$EGREP
3594 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3595 $as_echo "$ac_cv_path_EGREP" >&6; }
3596 EGREP
="$ac_cv_path_EGREP"
3599 if test $ac_cv_c_compiler_gnu = yes; then
3600 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3601 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3602 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3603 $as_echo_n "(cached) " >&6
3605 ac_pattern
="Autoconf.*'x'"
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3616 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3617 ac_cv_prog_gcc_traditional
=yes
3619 ac_cv_prog_gcc_traditional
=no
3624 if test $ac_cv_prog_gcc_traditional = no
; then
3625 cat >conftest.
$ac_ext <<_ACEOF
3628 cat confdefs.h
>>conftest.
$ac_ext
3629 cat >>conftest.
$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3635 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3636 ac_cv_prog_gcc_traditional
=yes
3642 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3643 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3644 if test $ac_cv_prog_gcc_traditional = yes; then
3645 CC
="$CC -traditional"
3649 # Find a good install program. We prefer a C program (faster),
3650 # so one script is as good as another. But avoid the broken or
3651 # incompatible versions:
3652 # SysV /etc/install, /usr/sbin/install
3653 # SunOS /usr/etc/install
3654 # IRIX /sbin/install
3656 # AmigaOS /C/install, which installs bootblocks on floppy discs
3657 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3658 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3659 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3660 # OS/2's system install, which has a completely different semantic
3661 # ./install, which can be erroneously created by make from ./install.sh.
3662 # Reject install programs that cannot install multiple files.
3663 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3664 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3665 if test -z "$INSTALL"; then
3666 if test "${ac_cv_path_install+set}" = set; then
3667 $as_echo_n "(cached) " >&6
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 # Account for people who put trailing slashes in PATH elements.
3676 .
/ | .
// |
/cC
/* | \
3677 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3678 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3681 # OSF1 and SCO ODT 3.0 have their own names for install.
3682 # Don't use installbsd from OSF since it installs stuff as root
3684 for ac_prog
in ginstall scoinst
install; do
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3687 if test $ac_prog = install &&
3688 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3689 # AIX install. It has an incompatible calling convention.
3691 elif test $ac_prog = install &&
3692 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3693 # program-specific install script used by HP pwplus--don't use.
3696 rm -rf conftest.one conftest.two conftest.dir
3697 echo one
> conftest.one
3698 echo two
> conftest.two
3700 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3701 test -s conftest.one
&& test -s conftest.two
&&
3702 test -s conftest.dir
/conftest.one
&&
3703 test -s conftest.dir
/conftest.two
3705 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3718 rm -rf conftest.one conftest.two conftest.dir
3721 if test "${ac_cv_path_install+set}" = set; then
3722 INSTALL
=$ac_cv_path_install
3724 # As a last resort, use the slow shell script. Don't cache a
3725 # value for INSTALL within a source directory, because that will
3726 # break other packages using the cache if that directory is
3727 # removed, or if the value is a relative name.
3728 INSTALL
=$ac_install_sh
3731 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3732 $as_echo "$INSTALL" >&6; }
3734 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3735 # It thinks the first close brace ends the variable substitution.
3736 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3738 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3740 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3742 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3743 $as_echo_n "checking whether ln -s works... " >&6; }
3745 if test "$LN_S" = "ln -s"; then
3746 { $as_echo "$as_me:$LINENO: result: yes" >&5
3747 $as_echo "yes" >&6; }
3749 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3750 $as_echo "no, using $LN_S" >&6; }
3753 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3754 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3756 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3757 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3758 $as_echo_n "(cached) " >&6
3760 cat >conftest.
make <<\_ACEOF
3763 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3766 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3768 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3770 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3774 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3775 { $as_echo "$as_me:$LINENO: result: yes" >&5
3776 $as_echo "yes" >&6; }
3779 { $as_echo "$as_me:$LINENO: result: no" >&5
3780 $as_echo "no" >&6; }
3781 SET_MAKE
="MAKE=${MAKE-make}"
3784 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3785 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3786 if test -z "$MKDIR_P"; then
3787 if test "${ac_cv_path_mkdir+set}" = set; then
3788 $as_echo_n "(cached) " >&6
3790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3791 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3794 test -z "$as_dir" && as_dir
=.
3795 for ac_prog
in mkdir gmkdir
; do
3796 for ac_exec_ext
in '' $ac_executable_extensions; do
3797 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3798 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3799 'mkdir (GNU coreutils) '* | \
3800 'mkdir (coreutils) '* | \
3801 'mkdir (fileutils) '4.1*)
3802 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3812 if test "${ac_cv_path_mkdir+set}" = set; then
3813 MKDIR_P
="$ac_cv_path_mkdir -p"
3815 # As a last resort, use the slow shell script. Don't cache a
3816 # value for MKDIR_P within a source directory, because that will
3817 # break other packages using the cache if that directory is
3818 # removed, or if the value is a relative name.
3819 test -d .
/--version && rmdir .
/--version
3820 MKDIR_P
="$ac_install_sh -d"
3823 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3824 $as_echo "$MKDIR_P" >&6; }
3826 if test -n "$ac_tool_prefix"; then
3827 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3828 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3829 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if test "${ac_cv_prog_RANLIB+set}" = set; then
3832 $as_echo_n "(cached) " >&6
3834 if test -n "$RANLIB"; then
3835 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3841 test -z "$as_dir" && as_dir
=.
3842 for ac_exec_ext
in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3845 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 RANLIB
=$ac_cv_prog_RANLIB
3855 if test -n "$RANLIB"; then
3856 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3857 $as_echo "$RANLIB" >&6; }
3859 { $as_echo "$as_me:$LINENO: result: no" >&5
3860 $as_echo "no" >&6; }
3865 if test -z "$ac_cv_prog_RANLIB"; then
3866 ac_ct_RANLIB
=$RANLIB
3867 # Extract the first word of "ranlib", so it can be a program name with args.
3868 set dummy ranlib
; ac_word
=$2
3869 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3872 $as_echo_n "(cached) " >&6
3874 if test -n "$ac_ct_RANLIB"; then
3875 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir
=.
3882 for ac_exec_ext
in '' $ac_executable_extensions; do
3883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3884 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3885 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3895 if test -n "$ac_ct_RANLIB"; then
3896 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3897 $as_echo "$ac_ct_RANLIB" >&6; }
3899 { $as_echo "$as_me:$LINENO: result: no" >&5
3900 $as_echo "no" >&6; }
3903 if test "x$ac_ct_RANLIB" = x
; then
3906 case $cross_compiling:$ac_tool_warned in
3908 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3910 ac_tool_warned
=yes ;;
3912 RANLIB
=$ac_ct_RANLIB
3915 RANLIB
="$ac_cv_prog_RANLIB"
3918 # Extract the first word of "cflow", so it can be a program name with args.
3919 set dummy cflow
; ac_word
=$2
3920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3923 $as_echo_n "(cached) " >&6
3927 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3937 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3938 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
3949 if test -n "$CFLOW_CMD"; then
3950 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
3951 $as_echo "$CFLOW_CMD" >&6; }
3953 { $as_echo "$as_me:$LINENO: result: no" >&5
3954 $as_echo "no" >&6; }
3958 # Extract the first word of "cscope", so it can be a program name with args.
3959 set dummy cscope
; ac_word
=$2
3960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
3963 $as_echo_n "(cached) " >&6
3967 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir
=.
3975 for ac_exec_ext
in '' $ac_executable_extensions; do
3976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3977 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
3978 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
3989 if test -n "$CSCOPE_CMD"; then
3990 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
3991 $as_echo "$CSCOPE_CMD" >&6; }
3993 { $as_echo "$as_me:$LINENO: result: no" >&5
3994 $as_echo "no" >&6; }
3999 ################################################################################
4006 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4007 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4008 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4009 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4011 $as_echo_n "(cached) " >&6
4013 cat >conftest.
$ac_ext <<_ACEOF
4016 cat confdefs.h
>>conftest.
$ac_ext
4017 cat >>conftest.
$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4019 #include <sys/types.h>
4031 rm -f conftest.
$ac_objext
4032 if { (ac_try
="$ac_compile"
4034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4038 $as_echo "$ac_try_echo") >&5
4039 (eval "$ac_compile") 2>conftest.er1
4041 grep -v '^ *+' conftest.er1 >conftest.err
4043 cat conftest.err >&5
4044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } && {
4046 test -z "$ac_c_werror_flag" ||
4047 test ! -s conftest.err
4048 } && test -s conftest.$ac_objext; then
4049 eval "$as_ac_Header=yes"
4051 $as_echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.$ac_ext >&5
4054 eval "$as_ac_Header=no"
4057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059 ac_res=`eval 'as_val=${'$as_ac_Header'}
4060 $as_echo "$as_val"'`
4061 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4062 $as_echo "$ac_res" >&6; }
4063 as_val=`eval 'as_val=${'$as_ac_Header'}
4064 $as_echo "$as_val"'`
4065 if test "x$as_val" = x""yes; then
4066 cat >>confdefs.h <<_ACEOF
4067 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4070 ac_header_dirent=$ac_hdr; break
4074 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4075 if test $ac_header_dirent = dirent.h; then
4076 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4077 $as_echo_n "checking for library containing opendir... " >&6; }
4078 if test "${ac_cv_search_opendir+set}" = set; then
4079 $as_echo_n "(cached) " >&6
4081 ac_func_search_save_LIBS=$LIBS
4082 cat >conftest.$ac_ext <<_ACEOF
4085 cat confdefs.h >>conftest.$ac_ext
4086 cat >>conftest.$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4089 /* Override any GCC internal prototype to avoid an error.
4090 Use char because int might match the return type of a GCC
4091 builtin and then its argument prototype would still apply. */
4104 for ac_lib in '' dir; do
4105 if test -z "$ac_lib"; then
4106 ac_res="none required"
4109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4111 rm -f conftest.$ac_objext conftest$ac_exeext
4112 if { (ac_try="$ac_link"
4114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4115 *) ac_try_echo
=$ac_try;;
4117 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4118 $as_echo "$ac_try_echo") >&5
4119 (eval "$ac_link") 2>conftest.er1
4121 grep -v '^ *+' conftest.er1
>conftest.err
4123 cat conftest.err
>&5
4124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } && {
4126 test -z "$ac_c_werror_flag" ||
4127 test ! -s conftest.err
4128 } && test -s conftest
$ac_exeext && {
4129 test "$cross_compiling" = yes ||
4130 $as_test_x conftest
$ac_exeext
4132 ac_cv_search_opendir
=$ac_res
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.
$ac_ext >&5
4140 rm -rf conftest.dSYM
4141 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4143 if test "${ac_cv_search_opendir+set}" = set; then
4147 if test "${ac_cv_search_opendir+set}" = set; then
4150 ac_cv_search_opendir
=no
4153 LIBS
=$ac_func_search_save_LIBS
4155 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4156 $as_echo "$ac_cv_search_opendir" >&6; }
4157 ac_res
=$ac_cv_search_opendir
4158 if test "$ac_res" != no
; then
4159 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4164 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4165 $as_echo_n "checking for library containing opendir... " >&6; }
4166 if test "${ac_cv_search_opendir+set}" = set; then
4167 $as_echo_n "(cached) " >&6
4169 ac_func_search_save_LIBS
=$LIBS
4170 cat >conftest.
$ac_ext <<_ACEOF
4173 cat confdefs.h
>>conftest.
$ac_ext
4174 cat >>conftest.
$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4177 /* Override any GCC internal prototype to avoid an error.
4178 Use char because int might match the return type of a GCC
4179 builtin and then its argument prototype would still apply. */
4192 for ac_lib
in '' x
; do
4193 if test -z "$ac_lib"; then
4194 ac_res
="none required"
4197 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4199 rm -f conftest.
$ac_objext conftest
$ac_exeext
4200 if { (ac_try
="$ac_link"
4202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206 $as_echo "$ac_try_echo") >&5
4207 (eval "$ac_link") 2>conftest.er1
4209 grep -v '^ *+' conftest.er1 >conftest.err
4211 cat conftest.err >&5
4212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); } && {
4214 test -z "$ac_c_werror_flag" ||
4215 test ! -s conftest.err
4216 } && test -s conftest$ac_exeext && {
4217 test "$cross_compiling" = yes ||
4218 $as_test_x conftest$ac_exeext
4220 ac_cv_search_opendir=$ac_res
4222 $as_echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.$ac_ext >&5
4228 rm -rf conftest.dSYM
4229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4231 if test "${ac_cv_search_opendir+set}" = set; then
4235 if test "${ac_cv_search_opendir+set}" = set; then
4238 ac_cv_search_opendir=no
4241 LIBS=$ac_func_search_save_LIBS
4243 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4244 $as_echo "$ac_cv_search_opendir" >&6; }
4245 ac_res=$ac_cv_search_opendir
4246 if test "$ac_res" != no; then
4247 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4253 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4254 $as_echo_n "checking for ANSI C header files... " >&6; }
4255 if test "${ac_cv_header_stdc+set}" = set; then
4256 $as_echo_n "(cached) " >&6
4258 cat >conftest.$ac_ext <<_ACEOF
4261 cat confdefs.h >>conftest.$ac_ext
4262 cat >>conftest.$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4277 rm -f conftest.$ac_objext
4278 if { (ac_try="$ac_compile"
4280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4281 *) ac_try_echo
=$ac_try;;
4283 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4284 $as_echo "$ac_try_echo") >&5
4285 (eval "$ac_compile") 2>conftest.er1
4287 grep -v '^ *+' conftest.er1
>conftest.err
4289 cat conftest.err
>&5
4290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } && {
4292 test -z "$ac_c_werror_flag" ||
4293 test ! -s conftest.err
4294 } && test -s conftest.
$ac_objext; then
4295 ac_cv_header_stdc
=yes
4297 $as_echo "$as_me: failed program was:" >&5
4298 sed 's/^/| /' conftest.
$ac_ext >&5
4300 ac_cv_header_stdc
=no
4303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4305 if test $ac_cv_header_stdc = yes; then
4306 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4307 cat >conftest.
$ac_ext <<_ACEOF
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4317 $EGREP "memchr" >/dev
/null
2>&1; then
4320 ac_cv_header_stdc
=no
4326 if test $ac_cv_header_stdc = yes; then
4327 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4328 cat >conftest.
$ac_ext <<_ACEOF
4331 cat confdefs.h
>>conftest.
$ac_ext
4332 cat >>conftest.
$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4338 $EGREP "free" >/dev
/null
2>&1; then
4341 ac_cv_header_stdc
=no
4347 if test $ac_cv_header_stdc = yes; then
4348 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4349 if test "$cross_compiling" = yes; then
4352 cat >conftest.
$ac_ext <<_ACEOF
4355 cat confdefs.h
>>conftest.
$ac_ext
4356 cat >>conftest.
$ac_ext <<_ACEOF
4357 /* end confdefs.h. */
4360 #if ((' ' & 0x0FF) == 0x020)
4361 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4362 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4364 # define ISLOWER(c) \
4365 (('a' <= (c) && (c) <= 'i') \
4366 || ('j' <= (c) && (c) <= 'r') \
4367 || ('s' <= (c) && (c) <= 'z'))
4368 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4371 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4376 for (i = 0; i < 256; i++)
4377 if (XOR (islower (i), ISLOWER (i))
4378 || toupper (i) != TOUPPER (i))
4383 rm -f conftest
$ac_exeext
4384 if { (ac_try
="$ac_link"
4386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4390 $as_echo "$ac_try_echo") >&5
4391 (eval "$ac_link") 2>&5
4393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4395 { (case "(($ac_try" in
4396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4397 *) ac_try_echo
=$ac_try;;
4399 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4400 $as_echo "$ac_try_echo") >&5
4401 (eval "$ac_try") 2>&5
4403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; }; then
4407 $as_echo "$as_me: program exited with status $ac_status" >&5
4408 $as_echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.
$ac_ext >&5
4412 ac_cv_header_stdc
=no
4414 rm -rf conftest.dSYM
4415 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4421 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4422 $as_echo "$ac_cv_header_stdc" >&6; }
4423 if test $ac_cv_header_stdc = yes; then
4425 cat >>confdefs.h
<<\_ACEOF
4426 #define STDC_HEADERS 1
4431 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4432 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4433 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4434 $as_echo_n "(cached) " >&6
4436 cat >conftest.
$ac_ext <<_ACEOF
4439 cat confdefs.h
>>conftest.
$ac_ext
4440 cat >>conftest.
$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
4442 #include <sys/types.h>
4443 #include <sys/wait.h>
4445 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4448 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4456 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4461 rm -f conftest.
$ac_objext
4462 if { (ac_try
="$ac_compile"
4464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4465 *) ac_try_echo=$ac_try;;
4467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4468 $as_echo "$ac_try_echo") >&5
4469 (eval "$ac_compile") 2>conftest.er1
4471 grep -v '^ *+' conftest.er1 >conftest.err
4473 cat conftest.err >&5
4474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); } && {
4476 test -z "$ac_c_werror_flag" ||
4477 test ! -s conftest.err
4478 } && test -s conftest.$ac_objext; then
4479 ac_cv_header_sys_wait_h=yes
4481 $as_echo "$as_me: failed program was:" >&5
4482 sed 's/^/| /' conftest.$ac_ext >&5
4484 ac_cv_header_sys_wait_h=no
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4490 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4491 if test $ac_cv_header_sys_wait_h = yes; then
4493 cat >>confdefs.h <<\_ACEOF
4494 #define HAVE_SYS_WAIT_H 1
4499 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4500 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4501 if test "${ac_cv_header_time+set}" = set; then
4502 $as_echo_n "(cached) " >&6
4504 cat >conftest.$ac_ext <<_ACEOF
4507 cat confdefs.h >>conftest.$ac_ext
4508 cat >>conftest.$ac_ext <<_ACEOF
4509 /* end confdefs.h. */
4510 #include <sys/types.h>
4511 #include <sys/time.h>
4517 if ((struct tm *) 0)
4523 rm -f conftest.$ac_objext
4524 if { (ac_try="$ac_compile"
4526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4527 *) ac_try_echo
=$ac_try;;
4529 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4530 $as_echo "$ac_try_echo") >&5
4531 (eval "$ac_compile") 2>conftest.er1
4533 grep -v '^ *+' conftest.er1
>conftest.err
4535 cat conftest.err
>&5
4536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); } && {
4538 test -z "$ac_c_werror_flag" ||
4539 test ! -s conftest.err
4540 } && test -s conftest.
$ac_objext; then
4541 ac_cv_header_time
=yes
4543 $as_echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.
$ac_ext >&5
4546 ac_cv_header_time
=no
4549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4551 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4552 $as_echo "$ac_cv_header_time" >&6; }
4553 if test $ac_cv_header_time = yes; then
4555 cat >>confdefs.h
<<\_ACEOF
4556 #define TIME_WITH_SYS_TIME 1
4562 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4572 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4573 inttypes.h stdint.h unistd.h
4575 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4576 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4577 $as_echo_n "checking for $ac_header... " >&6; }
4578 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4579 $as_echo_n "(cached) " >&6
4581 cat >conftest.
$ac_ext <<_ACEOF
4584 cat confdefs.h
>>conftest.
$ac_ext
4585 cat >>conftest.
$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 $ac_includes_default
4589 #include <$ac_header>
4591 rm -f conftest.
$ac_objext
4592 if { (ac_try
="$ac_compile"
4594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4598 $as_echo "$ac_try_echo") >&5
4599 (eval "$ac_compile") 2>conftest.er1
4601 grep -v '^ *+' conftest.er1 >conftest.err
4603 cat conftest.err >&5
4604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } && {
4606 test -z "$ac_c_werror_flag" ||
4607 test ! -s conftest.err
4608 } && test -s conftest.$ac_objext; then
4609 eval "$as_ac_Header=yes"
4611 $as_echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 eval "$as_ac_Header=no"
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 ac_res=`eval 'as_val=${'$as_ac_Header'}
4620 $as_echo "$as_val"'`
4621 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4622 $as_echo "$ac_res" >&6; }
4623 as_val=`eval 'as_val=${'$as_ac_Header'}
4624 $as_echo "$as_val"'`
4625 if test "x$as_val" = x""yes; then
4626 cat >>confdefs.h <<_ACEOF
4627 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4648 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4649 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4653 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4654 $as_echo_n "checking for $ac_header... " >&6; }
4655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4656 $as_echo_n "(cached) " >&6
4658 ac_res=`eval 'as_val=${'$as_ac_Header'}
4659 $as_echo "$as_val"'`
4660 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4661 $as_echo "$ac_res" >&6; }
4663 # Is the header compilable?
4664 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4665 $as_echo_n "checking $ac_header usability... " >&6; }
4666 cat >conftest.$ac_ext <<_ACEOF
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4672 $ac_includes_default
4673 #include <$ac_header>
4675 rm -f conftest.$ac_objext
4676 if { (ac_try="$ac_compile"
4678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4679 *) ac_try_echo
=$ac_try;;
4681 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4682 $as_echo "$ac_try_echo") >&5
4683 (eval "$ac_compile") 2>conftest.er1
4685 grep -v '^ *+' conftest.er1
>conftest.err
4687 cat conftest.err
>&5
4688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); } && {
4690 test -z "$ac_c_werror_flag" ||
4691 test ! -s conftest.err
4692 } && test -s conftest.
$ac_objext; then
4693 ac_header_compiler
=yes
4695 $as_echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4698 ac_header_compiler
=no
4701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4702 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4703 $as_echo "$ac_header_compiler" >&6; }
4705 # Is the header present?
4706 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4707 $as_echo_n "checking $ac_header presence... " >&6; }
4708 cat >conftest.
$ac_ext <<_ACEOF
4711 cat confdefs.h
>>conftest.
$ac_ext
4712 cat >>conftest.
$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 #include <$ac_header>
4716 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4719 *) ac_try_echo=$ac_try;;
4721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4722 $as_echo "$ac_try_echo") >&5
4723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4725 grep -v '^ *+' conftest.er1 >conftest.err
4727 cat conftest.err >&5
4728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } >/dev/null && {
4730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4731 test ! -s conftest.err
4733 ac_header_preproc=yes
4735 $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 ac_header_preproc=no
4741 rm -f conftest.err conftest.$ac_ext
4742 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4743 $as_echo "$ac_header_preproc" >&6; }
4745 # So? What about this header?
4746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4748 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4749 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4751 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4752 ac_header_preproc=yes
4755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4756 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4758 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4760 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4762 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4764 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4766 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4770 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4771 $as_echo_n "checking for $ac_header... " >&6; }
4772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4773 $as_echo_n "(cached) " >&6
4775 eval "$as_ac_Header=\$ac_header_preproc"
4777 ac_res=`eval 'as_val=${'$as_ac_Header'}
4778 $as_echo "$as_val"'`
4779 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4780 $as_echo "$ac_res" >&6; }
4783 as_val=`eval 'as_val=${'$as_ac_Header'}
4784 $as_echo "$as_val"'`
4785 if test "x$as_val" = x""yes; then
4786 cat >>confdefs.h <<_ACEOF
4787 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4791 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4792 $as_echo "$as_me: error: bailing out" >&2;}
4793 { (exit 1); exit 1; }; }
4804 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4808 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4809 $as_echo_n "checking for $ac_header... " >&6; }
4810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4811 $as_echo_n "(cached) " >&6
4813 ac_res=`eval 'as_val=${'$as_ac_Header'}
4814 $as_echo "$as_val"'`
4815 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4816 $as_echo "$ac_res" >&6; }
4818 # Is the header compilable?
4819 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4820 $as_echo_n "checking $ac_header usability... " >&6; }
4821 cat >conftest.$ac_ext <<_ACEOF
4824 cat confdefs.h >>conftest.$ac_ext
4825 cat >>conftest.$ac_ext <<_ACEOF
4826 /* end confdefs.h. */
4827 $ac_includes_default
4828 #include <$ac_header>
4830 rm -f conftest.$ac_objext
4831 if { (ac_try="$ac_compile"
4833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4834 *) ac_try_echo
=$ac_try;;
4836 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4837 $as_echo "$ac_try_echo") >&5
4838 (eval "$ac_compile") 2>conftest.er1
4840 grep -v '^ *+' conftest.er1
>conftest.err
4842 cat conftest.err
>&5
4843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && {
4845 test -z "$ac_c_werror_flag" ||
4846 test ! -s conftest.err
4847 } && test -s conftest.
$ac_objext; then
4848 ac_header_compiler
=yes
4850 $as_echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.
$ac_ext >&5
4853 ac_header_compiler
=no
4856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4857 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4858 $as_echo "$ac_header_compiler" >&6; }
4860 # Is the header present?
4861 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4862 $as_echo_n "checking $ac_header presence... " >&6; }
4863 cat >conftest.
$ac_ext <<_ACEOF
4866 cat confdefs.h
>>conftest.
$ac_ext
4867 cat >>conftest.
$ac_ext <<_ACEOF
4868 /* end confdefs.h. */
4869 #include <$ac_header>
4871 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4877 $as_echo "$ac_try_echo") >&5
4878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4880 grep -v '^ *+' conftest.er1 >conftest.err
4882 cat conftest.err >&5
4883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } >/dev/null && {
4885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4886 test ! -s conftest.err
4888 ac_header_preproc=yes
4890 $as_echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 ac_header_preproc=no
4896 rm -f conftest.err conftest.$ac_ext
4897 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4898 $as_echo "$ac_header_preproc" >&6; }
4900 # So? What about this header?
4901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4904 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4906 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4907 ac_header_preproc=yes
4910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4911 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4913 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4915 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4917 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4918 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4919 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4920 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4921 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4925 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4926 $as_echo_n "checking for $ac_header... " >&6; }
4927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4928 $as_echo_n "(cached) " >&6
4930 eval "$as_ac_Header=\$ac_header_preproc"
4932 ac_res=`eval 'as_val=${'$as_ac_Header'}
4933 $as_echo "$as_val"'`
4934 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4935 $as_echo "$ac_res" >&6; }
4938 as_val=`eval 'as_val=${'$as_ac_Header'}
4939 $as_echo "$as_val"'`
4940 if test "x$as_val" = x""yes; then
4941 cat >>confdefs.h <<_ACEOF
4942 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4946 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4947 $as_echo "$as_me: error: bailing out" >&2;}
4948 { (exit 1); exit 1; }; }
4956 for ac_header in machine/endian.h sys/disk.h
4958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4960 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4961 $as_echo_n "checking for $ac_header... " >&6; }
4962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4963 $as_echo_n "(cached) " >&6
4965 ac_res=`eval 'as_val=${'$as_ac_Header'}
4966 $as_echo "$as_val"'`
4967 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4968 $as_echo "$ac_res" >&6; }
4970 # Is the header compilable?
4971 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4972 $as_echo_n "checking $ac_header usability... " >&6; }
4973 cat >conftest.$ac_ext <<_ACEOF
4976 cat confdefs.h >>conftest.$ac_ext
4977 cat >>conftest.$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4979 $ac_includes_default
4980 #include <$ac_header>
4982 rm -f conftest.$ac_objext
4983 if { (ac_try="$ac_compile"
4985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4986 *) ac_try_echo
=$ac_try;;
4988 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4989 $as_echo "$ac_try_echo") >&5
4990 (eval "$ac_compile") 2>conftest.er1
4992 grep -v '^ *+' conftest.er1
>conftest.err
4994 cat conftest.err
>&5
4995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } && {
4997 test -z "$ac_c_werror_flag" ||
4998 test ! -s conftest.err
4999 } && test -s conftest.
$ac_objext; then
5000 ac_header_compiler
=yes
5002 $as_echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.
$ac_ext >&5
5005 ac_header_compiler
=no
5008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5009 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5010 $as_echo "$ac_header_compiler" >&6; }
5012 # Is the header present?
5013 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5014 $as_echo_n "checking $ac_header presence... " >&6; }
5015 cat >conftest.
$ac_ext <<_ACEOF
5018 cat confdefs.h
>>conftest.
$ac_ext
5019 cat >>conftest.
$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 #include <$ac_header>
5023 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5026 *) ac_try_echo=$ac_try;;
5028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5029 $as_echo "$ac_try_echo") >&5
5030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5032 grep -v '^ *+' conftest.er1 >conftest.err
5034 cat conftest.err >&5
5035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } >/dev/null && {
5037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5038 test ! -s conftest.err
5040 ac_header_preproc=yes
5042 $as_echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.$ac_ext >&5
5045 ac_header_preproc=no
5048 rm -f conftest.err conftest.$ac_ext
5049 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5050 $as_echo "$ac_header_preproc" >&6; }
5052 # So? What about this header?
5053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5056 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5057 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5058 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5059 ac_header_preproc=yes
5062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5063 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5065 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5067 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5069 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5071 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5073 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5077 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5078 $as_echo_n "checking for $ac_header... " >&6; }
5079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5080 $as_echo_n "(cached) " >&6
5082 eval "$as_ac_Header=\$ac_header_preproc"
5084 ac_res=`eval 'as_val=${'$as_ac_Header'}
5085 $as_echo "$as_val"'`
5086 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5087 $as_echo "$ac_res" >&6; }
5090 as_val=`eval 'as_val=${'$as_ac_Header'}
5091 $as_echo "$as_val"'`
5092 if test "x$as_val" = x""yes; then
5093 cat >>confdefs.h <<_ACEOF
5094 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5098 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5099 $as_echo "$as_me: error: bailing out" >&2;}
5100 { (exit 1); exit 1; }; }
5123 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5124 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5125 sys/types.h unistd.h
5127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5129 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5130 $as_echo_n "checking for $ac_header... " >&6; }
5131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5132 $as_echo_n "(cached) " >&6
5134 ac_res=`eval 'as_val=${'$as_ac_Header'}
5135 $as_echo "$as_val"'`
5136 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5137 $as_echo "$ac_res" >&6; }
5139 # Is the header compilable?
5140 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5141 $as_echo_n "checking $ac_header usability... " >&6; }
5142 cat >conftest.$ac_ext <<_ACEOF
5145 cat confdefs.h >>conftest.$ac_ext
5146 cat >>conftest.$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5148 $ac_includes_default
5149 #include <$ac_header>
5151 rm -f conftest.$ac_objext
5152 if { (ac_try="$ac_compile"
5154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5155 *) ac_try_echo
=$ac_try;;
5157 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5158 $as_echo "$ac_try_echo") >&5
5159 (eval "$ac_compile") 2>conftest.er1
5161 grep -v '^ *+' conftest.er1
>conftest.err
5163 cat conftest.err
>&5
5164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } && {
5166 test -z "$ac_c_werror_flag" ||
5167 test ! -s conftest.err
5168 } && test -s conftest.
$ac_objext; then
5169 ac_header_compiler
=yes
5171 $as_echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.
$ac_ext >&5
5174 ac_header_compiler
=no
5177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5178 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5179 $as_echo "$ac_header_compiler" >&6; }
5181 # Is the header present?
5182 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5183 $as_echo_n "checking $ac_header presence... " >&6; }
5184 cat >conftest.
$ac_ext <<_ACEOF
5187 cat confdefs.h
>>conftest.
$ac_ext
5188 cat >>conftest.
$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5190 #include <$ac_header>
5192 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5195 *) ac_try_echo=$ac_try;;
5197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5198 $as_echo "$ac_try_echo") >&5
5199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5201 grep -v '^ *+' conftest.er1 >conftest.err
5203 cat conftest.err >&5
5204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } >/dev/null && {
5206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5207 test ! -s conftest.err
5209 ac_header_preproc=yes
5211 $as_echo "$as_me: failed program was:" >&5
5212 sed 's/^/| /' conftest.$ac_ext >&5
5214 ac_header_preproc=no
5217 rm -f conftest.err conftest.$ac_ext
5218 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5219 $as_echo "$ac_header_preproc" >&6; }
5221 # So? What about this header?
5222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5225 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5226 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5227 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5228 ac_header_preproc=yes
5231 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5232 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5233 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5234 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5235 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5236 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5238 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5239 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5241 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5242 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5246 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5247 $as_echo_n "checking for $ac_header... " >&6; }
5248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5249 $as_echo_n "(cached) " >&6
5251 eval "$as_ac_Header=\$ac_header_preproc"
5253 ac_res=`eval 'as_val=${'$as_ac_Header'}
5254 $as_echo "$as_val"'`
5255 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5256 $as_echo "$ac_res" >&6; }
5259 as_val=`eval 'as_val=${'$as_ac_Header'}
5260 $as_echo "$as_val"'`
5261 if test "x$as_val" = x""yes; then
5262 cat >>confdefs.h <<_ACEOF
5263 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5267 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5268 $as_echo "$as_me: error: bailing out" >&2;}
5269 { (exit 1); exit 1; }; }
5276 for ac_header in termios.h sys/statvfs.h
5278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5280 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5281 $as_echo_n "checking for $ac_header... " >&6; }
5282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5283 $as_echo_n "(cached) " >&6
5285 ac_res=`eval 'as_val=${'$as_ac_Header'}
5286 $as_echo "$as_val"'`
5287 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5288 $as_echo "$ac_res" >&6; }
5290 # Is the header compilable?
5291 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5292 $as_echo_n "checking $ac_header usability... " >&6; }
5293 cat >conftest.$ac_ext <<_ACEOF
5296 cat confdefs.h >>conftest.$ac_ext
5297 cat >>conftest.$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 $ac_includes_default
5300 #include <$ac_header>
5302 rm -f conftest.$ac_objext
5303 if { (ac_try="$ac_compile"
5305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5306 *) ac_try_echo
=$ac_try;;
5308 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5309 $as_echo "$ac_try_echo") >&5
5310 (eval "$ac_compile") 2>conftest.er1
5312 grep -v '^ *+' conftest.er1
>conftest.err
5314 cat conftest.err
>&5
5315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } && {
5317 test -z "$ac_c_werror_flag" ||
5318 test ! -s conftest.err
5319 } && test -s conftest.
$ac_objext; then
5320 ac_header_compiler
=yes
5322 $as_echo "$as_me: failed program was:" >&5
5323 sed 's/^/| /' conftest.
$ac_ext >&5
5325 ac_header_compiler
=no
5328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5330 $as_echo "$ac_header_compiler" >&6; }
5332 # Is the header present?
5333 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5334 $as_echo_n "checking $ac_header presence... " >&6; }
5335 cat >conftest.
$ac_ext <<_ACEOF
5338 cat confdefs.h
>>conftest.
$ac_ext
5339 cat >>conftest.
$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5341 #include <$ac_header>
5343 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5346 *) ac_try_echo=$ac_try;;
5348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5349 $as_echo "$ac_try_echo") >&5
5350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5352 grep -v '^ *+' conftest.er1 >conftest.err
5354 cat conftest.err >&5
5355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } >/dev/null && {
5357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5358 test ! -s conftest.err
5360 ac_header_preproc=yes
5362 $as_echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 ac_header_preproc=no
5368 rm -f conftest.err conftest.$ac_ext
5369 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5370 $as_echo "$ac_header_preproc" >&6; }
5372 # So? What about this header?
5373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5376 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5378 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5379 ac_header_preproc=yes
5382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5383 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5385 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5387 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5388 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5389 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5391 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5393 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5397 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5398 $as_echo_n "checking for $ac_header... " >&6; }
5399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5400 $as_echo_n "(cached) " >&6
5402 eval "$as_ac_Header=\$ac_header_preproc"
5404 ac_res=`eval 'as_val=${'$as_ac_Header'}
5405 $as_echo "$as_val"'`
5406 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5407 $as_echo "$ac_res" >&6; }
5410 as_val=`eval 'as_val=${'$as_ac_Header'}
5411 $as_echo "$as_val"'`
5412 if test "x$as_val" = x""yes; then
5413 cat >>confdefs.h <<_ACEOF
5414 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5422 ################################################################################
5423 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5424 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5425 if test "${ac_cv_c_const+set}" = set; then
5426 $as_echo_n "(cached) " >&6
5428 cat >conftest.$ac_ext <<_ACEOF
5431 cat confdefs.h >>conftest.$ac_ext
5432 cat >>conftest.$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5438 /* FIXME: Include the comments suggested by Paul. */
5440 /* Ultrix mips cc rejects this. */
5441 typedef int charset[2];
5443 /* SunOS 4.1.1 cc rejects this. */
5444 char const *const *pcpcc;
5446 /* NEC SVR4.0.2 mips cc rejects this. */
5447 struct point {int x, y;};
5448 static struct point const zero = {0,0};
5449 /* AIX XL C 1.02.0.0 rejects this.
5450 It does not let you subtract one const X* pointer from another in
5451 an arm of an if-expression whose if-part is not a constant
5453 const char *g = "string";
5454 pcpcc = &g + (g ? g-g : 0);
5455 /* HPUX 7.0 cc rejects these. */
5457 ppc = (char**) pcpcc;
5458 pcpcc = (char const *const *) ppc;
5459 { /* SCO 3.2v4 cc rejects this. */
5461 char const *s = 0 ? (char *) 0 : (char const *) 0;
5466 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5468 const int *foo = &x[0];
5471 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5472 typedef const int *iptr;
5476 { /* AIX XL C 1.02.0.0 rejects this saying
5477 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5478 struct s { int j; const int *ap[3]; };
5479 struct s *b; b->j = 5;
5481 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5485 return !cs[0] && !zero.x;
5492 rm -f conftest.$ac_objext
5493 if { (ac_try="$ac_compile"
5495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5496 *) ac_try_echo
=$ac_try;;
5498 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5499 $as_echo "$ac_try_echo") >&5
5500 (eval "$ac_compile") 2>conftest.er1
5502 grep -v '^ *+' conftest.er1
>conftest.err
5504 cat conftest.err
>&5
5505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); } && {
5507 test -z "$ac_c_werror_flag" ||
5508 test ! -s conftest.err
5509 } && test -s conftest.
$ac_objext; then
5512 $as_echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.
$ac_ext >&5
5518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5520 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5521 $as_echo "$ac_cv_c_const" >&6; }
5522 if test $ac_cv_c_const = no
; then
5524 cat >>confdefs.h
<<\_ACEOF
5530 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5531 $as_echo_n "checking for inline... " >&6; }
5532 if test "${ac_cv_c_inline+set}" = set; then
5533 $as_echo_n "(cached) " >&6
5536 for ac_kw
in inline __inline__ __inline
; do
5537 cat >conftest.
$ac_ext <<_ACEOF
5540 cat confdefs.h
>>conftest.
$ac_ext
5541 cat >>conftest.
$ac_ext <<_ACEOF
5542 /* end confdefs.h. */
5545 static $ac_kw foo_t static_foo () {return 0; }
5546 $ac_kw foo_t foo () {return 0; }
5550 rm -f conftest.
$ac_objext
5551 if { (ac_try
="$ac_compile"
5553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5557 $as_echo "$ac_try_echo") >&5
5558 (eval "$ac_compile") 2>conftest.er1
5560 grep -v '^ *+' conftest.er1 >conftest.err
5562 cat conftest.err >&5
5563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } && {
5565 test -z "$ac_c_werror_flag" ||
5566 test ! -s conftest.err
5567 } && test -s conftest.$ac_objext; then
5568 ac_cv_c_inline=$ac_kw
5570 $as_echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.$ac_ext >&5
5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5577 test "$ac_cv_c_inline" != no && break
5581 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5582 $as_echo "$ac_cv_c_inline" >&6; }
5585 case $ac_cv_c_inline in
5588 case $ac_cv_c_inline in
5590 *) ac_val=$ac_cv_c_inline;;
5592 cat >>confdefs.h <<_ACEOF
5594 #define inline $ac_val
5600 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5601 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5602 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5603 $as_echo_n "(cached) " >&6
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 $ac_includes_default
5615 static struct stat ac_aggr;
5616 if (ac_aggr.st_rdev)
5622 rm -f conftest.$ac_objext
5623 if { (ac_try="$ac_compile"
5625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5626 *) ac_try_echo
=$ac_try;;
5628 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5629 $as_echo "$ac_try_echo") >&5
5630 (eval "$ac_compile") 2>conftest.er1
5632 grep -v '^ *+' conftest.er1
>conftest.err
5634 cat conftest.err
>&5
5635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } && {
5637 test -z "$ac_c_werror_flag" ||
5638 test ! -s conftest.err
5639 } && test -s conftest.
$ac_objext; then
5640 ac_cv_member_struct_stat_st_rdev
=yes
5642 $as_echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5645 cat >conftest.
$ac_ext <<_ACEOF
5648 cat confdefs.h
>>conftest.
$ac_ext
5649 cat >>conftest.
$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 $ac_includes_default
5655 static struct stat ac_aggr;
5656 if (sizeof ac_aggr.st_rdev)
5662 rm -f conftest.
$ac_objext
5663 if { (ac_try
="$ac_compile"
5665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5666 *) ac_try_echo=$ac_try;;
5668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5669 $as_echo "$ac_try_echo") >&5
5670 (eval "$ac_compile") 2>conftest.er1
5672 grep -v '^ *+' conftest.er1 >conftest.err
5674 cat conftest.err >&5
5675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } && {
5677 test -z "$ac_c_werror_flag" ||
5678 test ! -s conftest.err
5679 } && test -s conftest.$ac_objext; then
5680 ac_cv_member_struct_stat_st_rdev=yes
5682 $as_echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.$ac_ext >&5
5685 ac_cv_member_struct_stat_st_rdev=no
5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5693 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5694 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5695 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5697 cat >>confdefs.h <<_ACEOF
5698 #define HAVE_STRUCT_STAT_ST_RDEV 1
5704 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5705 $as_echo_n "checking for off_t... " >&6; }
5706 if test "${ac_cv_type_off_t+set}" = set; then
5707 $as_echo_n "(cached) " >&6
5710 cat >conftest.$ac_ext <<_ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716 $ac_includes_default
5726 rm -f conftest.$ac_objext
5727 if { (ac_try="$ac_compile"
5729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5730 *) ac_try_echo
=$ac_try;;
5732 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5733 $as_echo "$ac_try_echo") >&5
5734 (eval "$ac_compile") 2>conftest.er1
5736 grep -v '^ *+' conftest.er1
>conftest.err
5738 cat conftest.err
>&5
5739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } && {
5741 test -z "$ac_c_werror_flag" ||
5742 test ! -s conftest.err
5743 } && test -s conftest.
$ac_objext; then
5744 cat >conftest.
$ac_ext <<_ACEOF
5747 cat confdefs.h
>>conftest.
$ac_ext
5748 cat >>conftest.
$ac_ext <<_ACEOF
5749 /* end confdefs.h. */
5750 $ac_includes_default
5754 if (sizeof ((off_t)))
5760 rm -f conftest.
$ac_objext
5761 if { (ac_try
="$ac_compile"
5763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5764 *) ac_try_echo=$ac_try;;
5766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5767 $as_echo "$ac_try_echo") >&5
5768 (eval "$ac_compile") 2>conftest.er1
5770 grep -v '^ *+' conftest.er1 >conftest.err
5772 cat conftest.err >&5
5773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && {
5775 test -z "$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5777 } && test -s conftest.$ac_objext; then
5780 $as_echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 ac_cv_type_off_t=yes
5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5788 $as_echo "$as_me: failed program was:" >&5
5789 sed 's/^/| /' conftest.$ac_ext >&5
5794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5796 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5797 $as_echo "$ac_cv_type_off_t" >&6; }
5798 if test "x$ac_cv_type_off_t" = x""yes; then
5802 cat >>confdefs.h <<_ACEOF
5803 #define off_t long int
5808 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5809 $as_echo_n "checking for pid_t... " >&6; }
5810 if test "${ac_cv_type_pid_t+set}" = set; then
5811 $as_echo_n "(cached) " >&6
5814 cat >conftest.$ac_ext <<_ACEOF
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 $ac_includes_default
5830 rm -f conftest.$ac_objext
5831 if { (ac_try="$ac_compile"
5833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5834 *) ac_try_echo
=$ac_try;;
5836 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5837 $as_echo "$ac_try_echo") >&5
5838 (eval "$ac_compile") 2>conftest.er1
5840 grep -v '^ *+' conftest.er1
>conftest.err
5842 cat conftest.err
>&5
5843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } && {
5845 test -z "$ac_c_werror_flag" ||
5846 test ! -s conftest.err
5847 } && test -s conftest.
$ac_objext; then
5848 cat >conftest.
$ac_ext <<_ACEOF
5851 cat confdefs.h
>>conftest.
$ac_ext
5852 cat >>conftest.
$ac_ext <<_ACEOF
5853 /* end confdefs.h. */
5854 $ac_includes_default
5858 if (sizeof ((pid_t)))
5864 rm -f conftest.
$ac_objext
5865 if { (ac_try
="$ac_compile"
5867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5868 *) ac_try_echo=$ac_try;;
5870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5871 $as_echo "$ac_try_echo") >&5
5872 (eval "$ac_compile") 2>conftest.er1
5874 grep -v '^ *+' conftest.er1 >conftest.err
5876 cat conftest.err >&5
5877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } && {
5879 test -z "$ac_c_werror_flag" ||
5880 test ! -s conftest.err
5881 } && test -s conftest.$ac_objext; then
5884 $as_echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.$ac_ext >&5
5887 ac_cv_type_pid_t=yes
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5892 $as_echo "$as_me: failed program was:" >&5
5893 sed 's/^/| /' conftest.$ac_ext >&5
5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5900 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5901 $as_echo "$ac_cv_type_pid_t" >&6; }
5902 if test "x$ac_cv_type_pid_t" = x""yes; then
5906 cat >>confdefs.h <<_ACEOF
5912 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5913 $as_echo_n "checking return type of signal handlers... " >&6; }
5914 if test "${ac_cv_type_signal+set}" = set; then
5915 $as_echo_n "(cached) " >&6
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 #include <sys/types.h>
5929 return *(signal (0, 0)) (0) == 1;
5934 rm -f conftest.$ac_objext
5935 if { (ac_try="$ac_compile"
5937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5938 *) ac_try_echo
=$ac_try;;
5940 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5941 $as_echo "$ac_try_echo") >&5
5942 (eval "$ac_compile") 2>conftest.er1
5944 grep -v '^ *+' conftest.er1
>conftest.err
5946 cat conftest.err
>&5
5947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && {
5949 test -z "$ac_c_werror_flag" ||
5950 test ! -s conftest.err
5951 } && test -s conftest.
$ac_objext; then
5952 ac_cv_type_signal
=int
5954 $as_echo "$as_me: failed program was:" >&5
5955 sed 's/^/| /' conftest.
$ac_ext >&5
5957 ac_cv_type_signal
=void
5960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5962 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5963 $as_echo "$ac_cv_type_signal" >&6; }
5965 cat >>confdefs.h
<<_ACEOF
5966 #define RETSIGTYPE $ac_cv_type_signal
5970 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5971 $as_echo_n "checking for size_t... " >&6; }
5972 if test "${ac_cv_type_size_t+set}" = set; then
5973 $as_echo_n "(cached) " >&6
5975 ac_cv_type_size_t
=no
5976 cat >conftest.
$ac_ext <<_ACEOF
5979 cat confdefs.h
>>conftest.
$ac_ext
5980 cat >>conftest.
$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5982 $ac_includes_default
5986 if (sizeof (size_t))
5992 rm -f conftest.
$ac_objext
5993 if { (ac_try
="$ac_compile"
5995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5996 *) ac_try_echo=$ac_try;;
5998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5999 $as_echo "$ac_try_echo") >&5
6000 (eval "$ac_compile") 2>conftest.er1
6002 grep -v '^ *+' conftest.er1 >conftest.err
6004 cat conftest.err >&5
6005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } && {
6007 test -z "$ac_c_werror_flag" ||
6008 test ! -s conftest.err
6009 } && test -s conftest.$ac_objext; then
6010 cat >conftest.$ac_ext <<_ACEOF
6013 cat confdefs.h >>conftest.$ac_ext
6014 cat >>conftest.$ac_ext <<_ACEOF
6015 /* end confdefs.h. */
6016 $ac_includes_default
6020 if (sizeof ((size_t)))
6026 rm -f conftest.$ac_objext
6027 if { (ac_try="$ac_compile"
6029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6030 *) ac_try_echo
=$ac_try;;
6032 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6033 $as_echo "$ac_try_echo") >&5
6034 (eval "$ac_compile") 2>conftest.er1
6036 grep -v '^ *+' conftest.er1
>conftest.err
6038 cat conftest.err
>&5
6039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } && {
6041 test -z "$ac_c_werror_flag" ||
6042 test ! -s conftest.err
6043 } && test -s conftest.
$ac_objext; then
6046 $as_echo "$as_me: failed program was:" >&5
6047 sed 's/^/| /' conftest.
$ac_ext >&5
6049 ac_cv_type_size_t
=yes
6052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6054 $as_echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.
$ac_ext >&5
6060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6062 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6063 $as_echo "$ac_cv_type_size_t" >&6; }
6064 if test "x$ac_cv_type_size_t" = x
""yes; then
6068 cat >>confdefs.h
<<_ACEOF
6069 #define size_t unsigned int
6074 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6075 $as_echo_n "checking for mode_t... " >&6; }
6076 if test "${ac_cv_type_mode_t+set}" = set; then
6077 $as_echo_n "(cached) " >&6
6079 ac_cv_type_mode_t
=no
6080 cat >conftest.
$ac_ext <<_ACEOF
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 $ac_includes_default
6090 if (sizeof (mode_t))
6096 rm -f conftest.
$ac_objext
6097 if { (ac_try
="$ac_compile"
6099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6100 *) ac_try_echo=$ac_try;;
6102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6103 $as_echo "$ac_try_echo") >&5
6104 (eval "$ac_compile") 2>conftest.er1
6106 grep -v '^ *+' conftest.er1 >conftest.err
6108 cat conftest.err >&5
6109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); } && {
6111 test -z "$ac_c_werror_flag" ||
6112 test ! -s conftest.err
6113 } && test -s conftest.$ac_objext; then
6114 cat >conftest.$ac_ext <<_ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6120 $ac_includes_default
6124 if (sizeof ((mode_t)))
6130 rm -f conftest.$ac_objext
6131 if { (ac_try="$ac_compile"
6133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6134 *) ac_try_echo
=$ac_try;;
6136 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6137 $as_echo "$ac_try_echo") >&5
6138 (eval "$ac_compile") 2>conftest.er1
6140 grep -v '^ *+' conftest.er1
>conftest.err
6142 cat conftest.err
>&5
6143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } && {
6145 test -z "$ac_c_werror_flag" ||
6146 test ! -s conftest.err
6147 } && test -s conftest.
$ac_objext; then
6150 $as_echo "$as_me: failed program was:" >&5
6151 sed 's/^/| /' conftest.
$ac_ext >&5
6153 ac_cv_type_mode_t
=yes
6156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6158 $as_echo "$as_me: failed program was:" >&5
6159 sed 's/^/| /' conftest.
$ac_ext >&5
6164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6166 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6167 $as_echo "$ac_cv_type_mode_t" >&6; }
6168 if test "x$ac_cv_type_mode_t" = x
""yes; then
6172 cat >>confdefs.h
<<_ACEOF
6178 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6179 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6180 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6181 $as_echo_n "(cached) " >&6
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 static struct stat ac_aggr;
6194 if (ac_aggr.st_rdev)
6200 rm -f conftest.
$ac_objext
6201 if { (ac_try
="$ac_compile"
6203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6204 *) ac_try_echo=$ac_try;;
6206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6207 $as_echo "$ac_try_echo") >&5
6208 (eval "$ac_compile") 2>conftest.er1
6210 grep -v '^ *+' conftest.er1 >conftest.err
6212 cat conftest.err >&5
6213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } && {
6215 test -z "$ac_c_werror_flag" ||
6216 test ! -s conftest.err
6217 } && test -s conftest.$ac_objext; then
6218 ac_cv_member_struct_stat_st_rdev=yes
6220 $as_echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6223 cat >conftest.$ac_ext <<_ACEOF
6226 cat confdefs.h >>conftest.$ac_ext
6227 cat >>conftest.$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6229 $ac_includes_default
6233 static struct stat ac_aggr;
6234 if (sizeof ac_aggr.st_rdev)
6240 rm -f conftest.$ac_objext
6241 if { (ac_try="$ac_compile"
6243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6244 *) ac_try_echo
=$ac_try;;
6246 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6247 $as_echo "$ac_try_echo") >&5
6248 (eval "$ac_compile") 2>conftest.er1
6250 grep -v '^ *+' conftest.er1
>conftest.err
6252 cat conftest.err
>&5
6253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); } && {
6255 test -z "$ac_c_werror_flag" ||
6256 test ! -s conftest.err
6257 } && test -s conftest.
$ac_objext; then
6258 ac_cv_member_struct_stat_st_rdev
=yes
6260 $as_echo "$as_me: failed program was:" >&5
6261 sed 's/^/| /' conftest.
$ac_ext >&5
6263 ac_cv_member_struct_stat_st_rdev
=no
6266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6271 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6272 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6273 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6275 cat >>confdefs.h
<<_ACEOF
6276 #define HAVE_STRUCT_STAT_ST_RDEV 1
6282 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6283 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6284 if test "${ac_cv_struct_tm+set}" = set; then
6285 $as_echo_n "(cached) " >&6
6287 cat >conftest.
$ac_ext <<_ACEOF
6290 cat confdefs.h
>>conftest.
$ac_ext
6291 cat >>conftest.
$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 #include <sys/types.h>
6300 int *p = &tm.tm_sec;
6306 rm -f conftest.
$ac_objext
6307 if { (ac_try
="$ac_compile"
6309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6310 *) ac_try_echo=$ac_try;;
6312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6313 $as_echo "$ac_try_echo") >&5
6314 (eval "$ac_compile") 2>conftest.er1
6316 grep -v '^ *+' conftest.er1 >conftest.err
6318 cat conftest.err >&5
6319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); } && {
6321 test -z "$ac_c_werror_flag" ||
6322 test ! -s conftest.err
6323 } && test -s conftest.$ac_objext; then
6324 ac_cv_struct_tm=time.h
6326 $as_echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.$ac_ext >&5
6329 ac_cv_struct_tm=sys/time.h
6332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6334 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6335 $as_echo "$ac_cv_struct_tm" >&6; }
6336 if test $ac_cv_struct_tm = sys/time.h; then
6338 cat >>confdefs.h <<\_ACEOF
6339 #define TM_IN_SYS_TIME 1
6345 ################################################################################
6363 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6364 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6368 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6369 $as_echo_n "checking for $ac_func... " >&6; }
6370 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6371 $as_echo_n "(cached) " >&6
6373 cat >conftest.$ac_ext <<_ACEOF
6376 cat confdefs.h >>conftest.$ac_ext
6377 cat >>conftest.$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6381 #define $ac_func innocuous_$ac_func
6383 /* System header to define __stub macros and hopefully few prototypes,
6384 which can conflict with char $ac_func (); below.
6385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6386 <limits.h> exists even on freestanding compilers. */
6389 # include <limits.h>
6391 # include <assert.h>
6396 /* Override any GCC internal prototype to avoid an error.
6397 Use char because int might match the return type of a GCC
6398 builtin and then its argument prototype would still apply. */
6403 /* The GNU C library defines this for functions which it implements
6404 to always fail with ENOSYS. Some functions are actually named
6405 something starting with __ and the normal name is an alias. */
6406 #if defined __stub_$ac_func || defined __stub___$ac_func
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6422 *) ac_try_echo
=$ac_try;;
6424 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6425 $as_echo "$ac_try_echo") >&5
6426 (eval "$ac_link") 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest
$ac_exeext && {
6436 test "$cross_compiling" = yes ||
6437 $as_test_x conftest
$ac_exeext
6439 eval "$as_ac_var=yes"
6441 $as_echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.
$ac_ext >&5
6444 eval "$as_ac_var=no"
6447 rm -rf conftest.dSYM
6448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6449 conftest
$ac_exeext conftest.
$ac_ext
6451 ac_res
=`eval 'as_val=${'$as_ac_var'}
6452 $as_echo "$as_val"'`
6453 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6454 $as_echo "$ac_res" >&6; }
6455 as_val
=`eval 'as_val=${'$as_ac_var'}
6456 $as_echo "$as_val"'`
6457 if test "x$as_val" = x
""yes; then
6458 cat >>confdefs.h
<<_ACEOF
6459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6463 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6464 $as_echo "$as_me: error: bailing out" >&2;}
6465 { (exit 1); exit 1; }; }
6469 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6470 # for constant arguments. Useless!
6471 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6472 $as_echo_n "checking for working alloca.h... " >&6; }
6473 if test "${ac_cv_working_alloca_h+set}" = set; then
6474 $as_echo_n "(cached) " >&6
6476 cat >conftest.
$ac_ext <<_ACEOF
6479 cat confdefs.h
>>conftest.
$ac_ext
6480 cat >>conftest.
$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6486 char *p = (char *) alloca (2 * sizeof (int));
6492 rm -f conftest.
$ac_objext conftest
$ac_exeext
6493 if { (ac_try
="$ac_link"
6495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6496 *) ac_try_echo=$ac_try;;
6498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6499 $as_echo "$ac_try_echo") >&5
6500 (eval "$ac_link") 2>conftest.er1
6502 grep -v '^ *+' conftest.er1 >conftest.err
6504 cat conftest.err >&5
6505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && {
6507 test -z "$ac_c_werror_flag" ||
6508 test ! -s conftest.err
6509 } && test -s conftest$ac_exeext && {
6510 test "$cross_compiling" = yes ||
6511 $as_test_x conftest$ac_exeext
6513 ac_cv_working_alloca_h=yes
6515 $as_echo "$as_me: failed program was:" >&5
6516 sed 's/^/| /' conftest.$ac_ext >&5
6518 ac_cv_working_alloca_h=no
6521 rm -rf conftest.dSYM
6522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6523 conftest$ac_exeext conftest.$ac_ext
6525 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6526 $as_echo "$ac_cv_working_alloca_h" >&6; }
6527 if test $ac_cv_working_alloca_h = yes; then
6529 cat >>confdefs.h <<\_ACEOF
6530 #define HAVE_ALLOCA_H 1
6535 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6536 $as_echo_n "checking for alloca... " >&6; }
6537 if test "${ac_cv_func_alloca_works+set}" = set; then
6538 $as_echo_n "(cached) " >&6
6540 cat >conftest.$ac_ext <<_ACEOF
6543 cat confdefs.h >>conftest.$ac_ext
6544 cat >>conftest.$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6547 # define alloca __builtin_alloca
6550 # include <malloc.h>
6551 # define alloca _alloca
6553 # ifdef HAVE_ALLOCA_H
6554 # include <alloca.h>
6559 # ifndef alloca /* predefined by HP cc +Olibcalls */
6570 char *p = (char *) alloca (1);
6576 rm -f conftest.$ac_objext conftest$ac_exeext
6577 if { (ac_try="$ac_link"
6579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6580 *) ac_try_echo
=$ac_try;;
6582 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6583 $as_echo "$ac_try_echo") >&5
6584 (eval "$ac_link") 2>conftest.er1
6586 grep -v '^ *+' conftest.er1
>conftest.err
6588 cat conftest.err
>&5
6589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } && {
6591 test -z "$ac_c_werror_flag" ||
6592 test ! -s conftest.err
6593 } && test -s conftest
$ac_exeext && {
6594 test "$cross_compiling" = yes ||
6595 $as_test_x conftest
$ac_exeext
6597 ac_cv_func_alloca_works
=yes
6599 $as_echo "$as_me: failed program was:" >&5
6600 sed 's/^/| /' conftest.
$ac_ext >&5
6602 ac_cv_func_alloca_works
=no
6605 rm -rf conftest.dSYM
6606 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6607 conftest
$ac_exeext conftest.
$ac_ext
6609 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6610 $as_echo "$ac_cv_func_alloca_works" >&6; }
6612 if test $ac_cv_func_alloca_works = yes; then
6614 cat >>confdefs.h
<<\_ACEOF
6615 #define HAVE_ALLOCA 1
6619 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6620 # that cause trouble. Some versions do not even contain alloca or
6621 # contain a buggy version. If you still want to use their alloca,
6622 # use ar to extract alloca.o from them instead of compiling alloca.c.
6624 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6626 cat >>confdefs.h
<<\_ACEOF
6631 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6632 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6633 if test "${ac_cv_os_cray+set}" = set; then
6634 $as_echo_n "(cached) " >&6
6636 cat >conftest.
$ac_ext <<_ACEOF
6639 cat confdefs.h
>>conftest.
$ac_ext
6640 cat >>conftest.
$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6642 #if defined CRAY && ! defined CRAY2
6649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6650 $EGREP "webecray" >/dev
/null
2>&1; then
6658 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6659 $as_echo "$ac_cv_os_cray" >&6; }
6660 if test $ac_cv_os_cray = yes; then
6661 for ac_func
in _getb67 GETB67 getb67
; do
6662 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6663 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6664 $as_echo_n "checking for $ac_func... " >&6; }
6665 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6666 $as_echo_n "(cached) " >&6
6668 cat >conftest.
$ac_ext <<_ACEOF
6671 cat confdefs.h
>>conftest.
$ac_ext
6672 cat >>conftest.
$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6676 #define $ac_func innocuous_$ac_func
6678 /* System header to define __stub macros and hopefully few prototypes,
6679 which can conflict with char $ac_func (); below.
6680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6681 <limits.h> exists even on freestanding compilers. */
6684 # include <limits.h>
6686 # include <assert.h>
6691 /* Override any GCC internal prototype to avoid an error.
6692 Use char because int might match the return type of a GCC
6693 builtin and then its argument prototype would still apply. */
6698 /* The GNU C library defines this for functions which it implements
6699 to always fail with ENOSYS. Some functions are actually named
6700 something starting with __ and the normal name is an alias. */
6701 #if defined __stub_$ac_func || defined __stub___$ac_func
6713 rm -f conftest.
$ac_objext conftest
$ac_exeext
6714 if { (ac_try
="$ac_link"
6716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6717 *) ac_try_echo=$ac_try;;
6719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6720 $as_echo "$ac_try_echo") >&5
6721 (eval "$ac_link") 2>conftest.er1
6723 grep -v '^ *+' conftest.er1 >conftest.err
6725 cat conftest.err >&5
6726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); } && {
6728 test -z "$ac_c_werror_flag" ||
6729 test ! -s conftest.err
6730 } && test -s conftest$ac_exeext && {
6731 test "$cross_compiling" = yes ||
6732 $as_test_x conftest$ac_exeext
6734 eval "$as_ac_var=yes"
6736 $as_echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6739 eval "$as_ac_var=no"
6742 rm -rf conftest.dSYM
6743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6744 conftest$ac_exeext conftest.$ac_ext
6746 ac_res=`eval 'as_val=${'$as_ac_var'}
6747 $as_echo "$as_val"'`
6748 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6749 $as_echo "$ac_res" >&6; }
6750 as_val=`eval 'as_val=${'$as_ac_var'}
6751 $as_echo "$as_val"'`
6752 if test "x$as_val" = x""yes; then
6754 cat >>confdefs.h <<_ACEOF
6755 #define CRAY_STACKSEG_END $ac_func
6764 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6765 $as_echo_n "checking stack direction for C alloca... " >&6; }
6766 if test "${ac_cv_c_stack_direction+set}" = set; then
6767 $as_echo_n "(cached) " >&6
6769 if test "$cross_compiling" = yes; then
6770 ac_cv_c_stack_direction=0
6772 cat >conftest.$ac_ext <<_ACEOF
6775 cat confdefs.h >>conftest.$ac_ext
6776 cat >>conftest.$ac_ext <<_ACEOF
6777 /* end confdefs.h. */
6778 $ac_includes_default
6780 find_stack_direction ()
6782 static char *addr = 0;
6787 return find_stack_direction ();
6790 return (&dummy > addr) ? 1 : -1;
6796 return find_stack_direction () < 0;
6799 rm -f conftest$ac_exeext
6800 if { (ac_try="$ac_link"
6802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6803 *) ac_try_echo
=$ac_try;;
6805 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6806 $as_echo "$ac_try_echo") >&5
6807 (eval "$ac_link") 2>&5
6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6811 { (case "(($ac_try" in
6812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6813 *) ac_try_echo=$ac_try;;
6815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6816 $as_echo "$ac_try_echo") >&5
6817 (eval "$ac_try") 2>&5
6819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; }; then
6821 ac_cv_c_stack_direction=1
6823 $as_echo "$as_me: program exited with status $ac_status" >&5
6824 $as_echo "$as_me: failed program was:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6828 ac_cv_c_stack_direction=-1
6830 rm -rf conftest.dSYM
6831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6836 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6837 $as_echo "$ac_cv_c_stack_direction" >&6; }
6839 cat >>confdefs.h <<_ACEOF
6840 #define STACK_DIRECTION $ac_cv_c_stack_direction
6846 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6847 $as_echo_n "checking whether closedir returns void... " >&6; }
6848 if test "${ac_cv_func_closedir_void+set}" = set; then
6849 $as_echo_n "(cached) " >&6
6851 if test "$cross_compiling" = yes; then
6852 ac_cv_func_closedir_void=yes
6854 cat >conftest.$ac_ext <<_ACEOF
6857 cat confdefs.h >>conftest.$ac_ext
6858 cat >>conftest.$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6860 $ac_includes_default
6861 #include <$ac_header_dirent>
6869 return closedir (opendir (".")) != 0;
6874 rm -f conftest$ac_exeext
6875 if { (ac_try="$ac_link"
6877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6878 *) ac_try_echo
=$ac_try;;
6880 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6881 $as_echo "$ac_try_echo") >&5
6882 (eval "$ac_link") 2>&5
6884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6886 { (case "(($ac_try" in
6887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6891 $as_echo "$ac_try_echo") >&5
6892 (eval "$ac_try") 2>&5
6894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; }; then
6896 ac_cv_func_closedir_void=no
6898 $as_echo "$as_me: program exited with status $ac_status" >&5
6899 $as_echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.$ac_ext >&5
6903 ac_cv_func_closedir_void=yes
6905 rm -rf conftest.dSYM
6906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6911 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6912 $as_echo "$ac_cv_func_closedir_void" >&6; }
6913 if test $ac_cv_func_closedir_void = yes; then
6915 cat >>confdefs.h <<\_ACEOF
6916 #define CLOSEDIR_VOID 1
6922 for ac_header in vfork.h
6924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6927 $as_echo_n "checking for $ac_header... " >&6; }
6928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6929 $as_echo_n "(cached) " >&6
6931 ac_res=`eval 'as_val=${'$as_ac_Header'}
6932 $as_echo "$as_val"'`
6933 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6934 $as_echo "$ac_res" >&6; }
6936 # Is the header compilable?
6937 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6938 $as_echo_n "checking $ac_header usability... " >&6; }
6939 cat >conftest.$ac_ext <<_ACEOF
6942 cat confdefs.h >>conftest.$ac_ext
6943 cat >>conftest.$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6945 $ac_includes_default
6946 #include <$ac_header>
6948 rm -f conftest.$ac_objext
6949 if { (ac_try="$ac_compile"
6951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6952 *) ac_try_echo
=$ac_try;;
6954 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6955 $as_echo "$ac_try_echo") >&5
6956 (eval "$ac_compile") 2>conftest.er1
6958 grep -v '^ *+' conftest.er1
>conftest.err
6960 cat conftest.err
>&5
6961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } && {
6963 test -z "$ac_c_werror_flag" ||
6964 test ! -s conftest.err
6965 } && test -s conftest.
$ac_objext; then
6966 ac_header_compiler
=yes
6968 $as_echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.
$ac_ext >&5
6971 ac_header_compiler
=no
6974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6975 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6976 $as_echo "$ac_header_compiler" >&6; }
6978 # Is the header present?
6979 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6980 $as_echo_n "checking $ac_header presence... " >&6; }
6981 cat >conftest.
$ac_ext <<_ACEOF
6984 cat confdefs.h
>>conftest.
$ac_ext
6985 cat >>conftest.
$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 #include <$ac_header>
6989 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6992 *) ac_try_echo=$ac_try;;
6994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6995 $as_echo "$ac_try_echo") >&5
6996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6998 grep -v '^ *+' conftest.er1 >conftest.err
7000 cat conftest.err >&5
7001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } >/dev/null && {
7003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7004 test ! -s conftest.err
7006 ac_header_preproc=yes
7008 $as_echo "$as_me: failed program was:" >&5
7009 sed 's/^/| /' conftest.$ac_ext >&5
7011 ac_header_preproc=no
7014 rm -f conftest.err conftest.$ac_ext
7015 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7016 $as_echo "$ac_header_preproc" >&6; }
7018 # So? What about this header?
7019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7022 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7024 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7025 ac_header_preproc=yes
7028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7029 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7031 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7033 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7035 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7037 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7039 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7043 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7044 $as_echo_n "checking for $ac_header... " >&6; }
7045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7046 $as_echo_n "(cached) " >&6
7048 eval "$as_ac_Header=\$ac_header_preproc"
7050 ac_res=`eval 'as_val=${'$as_ac_Header'}
7051 $as_echo "$as_val"'`
7052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7053 $as_echo "$ac_res" >&6; }
7056 as_val=`eval 'as_val=${'$as_ac_Header'}
7057 $as_echo "$as_val"'`
7058 if test "x$as_val" = x""yes; then
7059 cat >>confdefs.h <<_ACEOF
7060 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7069 for ac_func in fork vfork
7071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7072 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7073 $as_echo_n "checking for $ac_func... " >&6; }
7074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7075 $as_echo_n "(cached) " >&6
7077 cat >conftest.$ac_ext <<_ACEOF
7080 cat confdefs.h >>conftest.$ac_ext
7081 cat >>conftest.$ac_ext <<_ACEOF
7082 /* end confdefs.h. */
7083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7085 #define $ac_func innocuous_$ac_func
7087 /* System header to define __stub macros and hopefully few prototypes,
7088 which can conflict with char $ac_func (); below.
7089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7090 <limits.h> exists even on freestanding compilers. */
7093 # include <limits.h>
7095 # include <assert.h>
7100 /* Override any GCC internal prototype to avoid an error.
7101 Use char because int might match the return type of a GCC
7102 builtin and then its argument prototype would still apply. */
7107 /* The GNU C library defines this for functions which it implements
7108 to always fail with ENOSYS. Some functions are actually named
7109 something starting with __ and the normal name is an alias. */
7110 #if defined __stub_$ac_func || defined __stub___$ac_func
7122 rm -f conftest.$ac_objext conftest$ac_exeext
7123 if { (ac_try="$ac_link"
7125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7126 *) ac_try_echo
=$ac_try;;
7128 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7129 $as_echo "$ac_try_echo") >&5
7130 (eval "$ac_link") 2>conftest.er1
7132 grep -v '^ *+' conftest.er1
>conftest.err
7134 cat conftest.err
>&5
7135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && {
7137 test -z "$ac_c_werror_flag" ||
7138 test ! -s conftest.err
7139 } && test -s conftest
$ac_exeext && {
7140 test "$cross_compiling" = yes ||
7141 $as_test_x conftest
$ac_exeext
7143 eval "$as_ac_var=yes"
7145 $as_echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.
$ac_ext >&5
7148 eval "$as_ac_var=no"
7151 rm -rf conftest.dSYM
7152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7153 conftest
$ac_exeext conftest.
$ac_ext
7155 ac_res
=`eval 'as_val=${'$as_ac_var'}
7156 $as_echo "$as_val"'`
7157 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7158 $as_echo "$ac_res" >&6; }
7159 as_val
=`eval 'as_val=${'$as_ac_var'}
7160 $as_echo "$as_val"'`
7161 if test "x$as_val" = x
""yes; then
7162 cat >>confdefs.h
<<_ACEOF
7163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7169 if test "x$ac_cv_func_fork" = xyes
; then
7170 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
7171 $as_echo_n "checking for working fork... " >&6; }
7172 if test "${ac_cv_func_fork_works+set}" = set; then
7173 $as_echo_n "(cached) " >&6
7175 if test "$cross_compiling" = yes; then
7176 ac_cv_func_fork_works
=cross
7178 cat >conftest.
$ac_ext <<_ACEOF
7181 cat confdefs.h
>>conftest.
$ac_ext
7182 cat >>conftest.
$ac_ext <<_ACEOF
7183 /* end confdefs.h. */
7184 $ac_includes_default
7189 /* By Ruediger Kuhlmann. */
7196 rm -f conftest
$ac_exeext
7197 if { (ac_try
="$ac_link"
7199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7200 *) ac_try_echo=$ac_try;;
7202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7203 $as_echo "$ac_try_echo") >&5
7204 (eval "$ac_link") 2>&5
7206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7208 { (case "(($ac_try" in
7209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7210 *) ac_try_echo
=$ac_try;;
7212 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7213 $as_echo "$ac_try_echo") >&5
7214 (eval "$ac_try") 2>&5
7216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; }; then
7218 ac_cv_func_fork_works
=yes
7220 $as_echo "$as_me: program exited with status $ac_status" >&5
7221 $as_echo "$as_me: failed program was:" >&5
7222 sed 's/^/| /' conftest.
$ac_ext >&5
7225 ac_cv_func_fork_works
=no
7227 rm -rf conftest.dSYM
7228 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7233 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7234 $as_echo "$ac_cv_func_fork_works" >&6; }
7237 ac_cv_func_fork_works
=$ac_cv_func_fork
7239 if test "x$ac_cv_func_fork_works" = xcross
; then
7241 *-*-amigaos* |
*-*-msdosdjgpp*)
7242 # Override, as these systems have only a dummy fork() stub
7243 ac_cv_func_fork_works
=no
7246 ac_cv_func_fork_works
=yes
7249 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7250 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7252 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7253 if test "x$ac_cv_func_vfork" = xyes
; then
7254 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
7255 $as_echo_n "checking for working vfork... " >&6; }
7256 if test "${ac_cv_func_vfork_works+set}" = set; then
7257 $as_echo_n "(cached) " >&6
7259 if test "$cross_compiling" = yes; then
7260 ac_cv_func_vfork_works
=cross
7262 cat >conftest.
$ac_ext <<_ACEOF
7265 cat confdefs.h
>>conftest.
$ac_ext
7266 cat >>conftest.
$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7268 /* Thanks to Paul Eggert for this test. */
7269 $ac_includes_default
7270 #include <sys/wait.h>
7274 /* On some sparc systems, changes by the child to local and incoming
7275 argument registers are propagated back to the parent. The compiler
7276 is told about this with #include <vfork.h>, but some compilers
7277 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7278 static variable whose address is put into a register that is
7279 clobbered by the vfork. */
7282 sparc_address_test (int arg)
7284 sparc_address_test (arg) int arg;
7305 pid_t parent = getpid ();
7308 sparc_address_test (0);
7313 /* Here is another test for sparc vfork register problems. This
7314 test uses lots of local variables, at least as many local
7315 variables as main has allocated so far including compiler
7316 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7317 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7318 reuse the register of parent for one of the local variables,
7319 since it will think that parent can't possibly be used any more
7320 in this routine. Assigning to the local variable will thus
7321 munge parent in the parent process. */
7323 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7324 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7325 /* Convince the compiler that p..p7 are live; otherwise, it might
7326 use the same hardware register for all 8 local variables. */
7327 if (p != p1 || p != p2 || p != p3 || p != p4
7328 || p != p5 || p != p6 || p != p7)
7331 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7332 from child file descriptors. If the child closes a descriptor
7333 before it execs or exits, this munges the parent's descriptor
7334 as well. Test for this by closing stdout in the child. */
7335 _exit(close(fileno(stdout)) != 0);
7340 while (wait(&status) != child)
7343 /* Was there some problem with vforking? */
7346 /* Did the child fail? (This shouldn't happen.) */
7349 /* Did the vfork/compiler bug occur? */
7350 || parent != getpid()
7352 /* Did the file descriptor bug occur? */
7353 || fstat(fileno(stdout), &st) != 0
7358 rm -f conftest
$ac_exeext
7359 if { (ac_try
="$ac_link"
7361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7362 *) ac_try_echo=$ac_try;;
7364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7365 $as_echo "$ac_try_echo") >&5
7366 (eval "$ac_link") 2>&5
7368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7370 { (case "(($ac_try" in
7371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7372 *) ac_try_echo
=$ac_try;;
7374 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7375 $as_echo "$ac_try_echo") >&5
7376 (eval "$ac_try") 2>&5
7378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); }; }; then
7380 ac_cv_func_vfork_works
=yes
7382 $as_echo "$as_me: program exited with status $ac_status" >&5
7383 $as_echo "$as_me: failed program was:" >&5
7384 sed 's/^/| /' conftest.
$ac_ext >&5
7387 ac_cv_func_vfork_works
=no
7389 rm -rf conftest.dSYM
7390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7395 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
7396 $as_echo "$ac_cv_func_vfork_works" >&6; }
7399 if test "x$ac_cv_func_fork_works" = xcross
; then
7400 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7401 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7402 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7405 if test "x$ac_cv_func_vfork_works" = xyes
; then
7407 cat >>confdefs.h
<<\_ACEOF
7408 #define HAVE_WORKING_VFORK 1
7413 cat >>confdefs.h
<<\_ACEOF
7418 if test "x$ac_cv_func_fork_works" = xyes
; then
7420 cat >>confdefs.h
<<\_ACEOF
7421 #define HAVE_WORKING_FORK 1
7426 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7427 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
7428 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7429 $as_echo_n "(cached) " >&6
7431 rm -f conftest.sym conftest.
file
7433 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
7434 if test "$cross_compiling" = yes; then
7435 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7437 cat >conftest.
$ac_ext <<_ACEOF
7440 cat confdefs.h
>>conftest.
$ac_ext
7441 cat >>conftest.
$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 $ac_includes_default
7448 /* Linux will dereference the symlink and fail.
7449 That is better in the sense that it means we will not
7450 have to compile and use the lstat wrapper. */
7451 return lstat ("conftest.sym/", &sbuf) == 0;
7456 rm -f conftest
$ac_exeext
7457 if { (ac_try
="$ac_link"
7459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7460 *) ac_try_echo=$ac_try;;
7462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7463 $as_echo "$ac_try_echo") >&5
7464 (eval "$ac_link") 2>&5
7466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7468 { (case "(($ac_try" in
7469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7470 *) ac_try_echo
=$ac_try;;
7472 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7473 $as_echo "$ac_try_echo") >&5
7474 (eval "$ac_try") 2>&5
7476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); }; }; then
7478 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7480 $as_echo "$as_me: program exited with status $ac_status" >&5
7481 $as_echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.
$ac_ext >&5
7485 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7487 rm -rf conftest.dSYM
7488 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7493 # If the `ln -s' command failed, then we probably don't even
7494 # have an lstat function.
7495 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7497 rm -f conftest.sym conftest.
file
7500 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7501 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7503 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7505 cat >>confdefs.h
<<_ACEOF
7506 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7510 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7511 case " $LIBOBJS " in
7512 *" lstat.$ac_objext "* ) ;;
7513 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7519 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7520 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
7521 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7522 $as_echo_n "(cached) " >&6
7524 if test "$cross_compiling" = yes; then
7525 ac_cv_func_lstat_empty_string_bug
=yes
7527 cat >conftest.
$ac_ext <<_ACEOF
7530 cat confdefs.h
>>conftest.
$ac_ext
7531 cat >>conftest.
$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7533 $ac_includes_default
7538 return lstat ("", &sbuf) == 0;
7543 rm -f conftest
$ac_exeext
7544 if { (ac_try
="$ac_link"
7546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7547 *) ac_try_echo=$ac_try;;
7549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7550 $as_echo "$ac_try_echo") >&5
7551 (eval "$ac_link") 2>&5
7553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7555 { (case "(($ac_try" in
7556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7557 *) ac_try_echo
=$ac_try;;
7559 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7560 $as_echo "$ac_try_echo") >&5
7561 (eval "$ac_try") 2>&5
7563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; }; then
7565 ac_cv_func_lstat_empty_string_bug
=no
7567 $as_echo "$as_me: program exited with status $ac_status" >&5
7568 $as_echo "$as_me: failed program was:" >&5
7569 sed 's/^/| /' conftest.
$ac_ext >&5
7572 ac_cv_func_lstat_empty_string_bug
=yes
7574 rm -rf conftest.dSYM
7575 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7580 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7581 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7582 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7583 case " $LIBOBJS " in
7584 *" lstat.$ac_objext "* ) ;;
7585 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7590 cat >>confdefs.h
<<_ACEOF
7591 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7597 for ac_header
in stdlib.h
7599 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7600 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7601 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 $as_echo_n "checking for $ac_header... " >&6; }
7603 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7604 $as_echo_n "(cached) " >&6
7606 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7607 $as_echo "$as_val"'`
7608 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7609 $as_echo "$ac_res" >&6; }
7611 # Is the header compilable?
7612 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7613 $as_echo_n "checking $ac_header usability... " >&6; }
7614 cat >conftest.
$ac_ext <<_ACEOF
7617 cat confdefs.h
>>conftest.
$ac_ext
7618 cat >>conftest.
$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 $ac_includes_default
7621 #include <$ac_header>
7623 rm -f conftest.
$ac_objext
7624 if { (ac_try
="$ac_compile"
7626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7627 *) ac_try_echo=$ac_try;;
7629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7630 $as_echo "$ac_try_echo") >&5
7631 (eval "$ac_compile") 2>conftest.er1
7633 grep -v '^ *+' conftest.er1 >conftest.err
7635 cat conftest.err >&5
7636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } && {
7638 test -z "$ac_c_werror_flag" ||
7639 test ! -s conftest.err
7640 } && test -s conftest.$ac_objext; then
7641 ac_header_compiler=yes
7643 $as_echo "$as_me: failed program was:" >&5
7644 sed 's/^/| /' conftest.$ac_ext >&5
7646 ac_header_compiler=no
7649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7650 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7651 $as_echo "$ac_header_compiler" >&6; }
7653 # Is the header present?
7654 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7655 $as_echo_n "checking $ac_header presence... " >&6; }
7656 cat >conftest.$ac_ext <<_ACEOF
7659 cat confdefs.h >>conftest.$ac_ext
7660 cat >>conftest.$ac_ext <<_ACEOF
7661 /* end confdefs.h. */
7662 #include <$ac_header>
7664 if { (ac_try="$ac_cpp conftest.$ac_ext"
7666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7667 *) ac_try_echo
=$ac_try;;
7669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7670 $as_echo "$ac_try_echo") >&5
7671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7673 grep -v '^ *+' conftest.er1
>conftest.err
7675 cat conftest.err
>&5
7676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } >/dev
/null
&& {
7678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7679 test ! -s conftest.err
7681 ac_header_preproc
=yes
7683 $as_echo "$as_me: failed program was:" >&5
7684 sed 's/^/| /' conftest.
$ac_ext >&5
7686 ac_header_preproc
=no
7689 rm -f conftest.err conftest.
$ac_ext
7690 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7691 $as_echo "$ac_header_preproc" >&6; }
7693 # So? What about this header?
7694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7697 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7699 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7700 ac_header_preproc
=yes
7703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7704 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7706 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7708 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7710 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7712 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7714 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7718 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7719 $as_echo_n "checking for $ac_header... " >&6; }
7720 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7721 $as_echo_n "(cached) " >&6
7723 eval "$as_ac_Header=\$ac_header_preproc"
7725 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7726 $as_echo "$as_val"'`
7727 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7728 $as_echo "$ac_res" >&6; }
7731 as_val
=`eval 'as_val=${'$as_ac_Header'}
7732 $as_echo "$as_val"'`
7733 if test "x$as_val" = x
""yes; then
7734 cat >>confdefs.h
<<_ACEOF
7735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7743 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7744 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7745 $as_echo_n "(cached) " >&6
7747 if test "$cross_compiling" = yes; then
7748 ac_cv_func_malloc_0_nonnull
=no
7750 cat >conftest.
$ac_ext <<_ACEOF
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7757 # include <stdlib.h>
7765 return ! malloc (0);
7770 rm -f conftest
$ac_exeext
7771 if { (ac_try
="$ac_link"
7773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7774 *) ac_try_echo=$ac_try;;
7776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7777 $as_echo "$ac_try_echo") >&5
7778 (eval "$ac_link") 2>&5
7780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7782 { (case "(($ac_try" in
7783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7784 *) ac_try_echo
=$ac_try;;
7786 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7787 $as_echo "$ac_try_echo") >&5
7788 (eval "$ac_try") 2>&5
7790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 ac_cv_func_malloc_0_nonnull
=yes
7794 $as_echo "$as_me: program exited with status $ac_status" >&5
7795 $as_echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.
$ac_ext >&5
7799 ac_cv_func_malloc_0_nonnull
=no
7801 rm -rf conftest.dSYM
7802 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7807 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7808 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7809 if test $ac_cv_func_malloc_0_nonnull = yes; then
7811 cat >>confdefs.h
<<\_ACEOF
7812 #define HAVE_MALLOC 1
7816 cat >>confdefs.h
<<\_ACEOF
7817 #define HAVE_MALLOC 0
7820 case " $LIBOBJS " in
7821 *" malloc.$ac_objext "* ) ;;
7822 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7827 cat >>confdefs.h
<<\_ACEOF
7828 #define malloc rpl_malloc
7835 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
7836 $as_echo_n "checking for working memcmp... " >&6; }
7837 if test "${ac_cv_func_memcmp_working+set}" = set; then
7838 $as_echo_n "(cached) " >&6
7840 if test "$cross_compiling" = yes; then
7841 ac_cv_func_memcmp_working
=no
7843 cat >conftest.
$ac_ext <<_ACEOF
7846 cat confdefs.h
>>conftest.
$ac_ext
7847 cat >>conftest.
$ac_ext <<_ACEOF
7848 /* end confdefs.h. */
7849 $ac_includes_default
7854 /* Some versions of memcmp are not 8-bit clean. */
7855 char c0 = '\100', c1 = '\200', c2 = '\201';
7856 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7859 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7860 or more and with at least one buffer not starting on a 4-byte boundary.
7861 William Lewis provided this test program. */
7866 for (i = 0; i < 4; i++)
7870 strcpy (a, "--------01111111");
7871 strcpy (b, "--------10000000");
7872 if (memcmp (a, b, 16) >= 0)
7882 rm -f conftest
$ac_exeext
7883 if { (ac_try
="$ac_link"
7885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;;
7888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7889 $as_echo "$ac_try_echo") >&5
7890 (eval "$ac_link") 2>&5
7892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7894 { (case "(($ac_try" in
7895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7896 *) ac_try_echo
=$ac_try;;
7898 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7899 $as_echo "$ac_try_echo") >&5
7900 (eval "$ac_try") 2>&5
7902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; }; then
7904 ac_cv_func_memcmp_working
=yes
7906 $as_echo "$as_me: program exited with status $ac_status" >&5
7907 $as_echo "$as_me: failed program was:" >&5
7908 sed 's/^/| /' conftest.
$ac_ext >&5
7911 ac_cv_func_memcmp_working
=no
7913 rm -rf conftest.dSYM
7914 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7919 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7920 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7921 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7922 *" memcmp.$ac_objext "* ) ;;
7923 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7930 for ac_header
in stdlib.h unistd.h
7932 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7933 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7934 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7935 $as_echo_n "checking for $ac_header... " >&6; }
7936 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7937 $as_echo_n "(cached) " >&6
7939 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7940 $as_echo "$as_val"'`
7941 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7942 $as_echo "$ac_res" >&6; }
7944 # Is the header compilable?
7945 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7946 $as_echo_n "checking $ac_header usability... " >&6; }
7947 cat >conftest.
$ac_ext <<_ACEOF
7950 cat confdefs.h
>>conftest.
$ac_ext
7951 cat >>conftest.
$ac_ext <<_ACEOF
7952 /* end confdefs.h. */
7953 $ac_includes_default
7954 #include <$ac_header>
7956 rm -f conftest.
$ac_objext
7957 if { (ac_try
="$ac_compile"
7959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7960 *) ac_try_echo=$ac_try;;
7962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7963 $as_echo "$ac_try_echo") >&5
7964 (eval "$ac_compile") 2>conftest.er1
7966 grep -v '^ *+' conftest.er1 >conftest.err
7968 cat conftest.err >&5
7969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } && {
7971 test -z "$ac_c_werror_flag" ||
7972 test ! -s conftest.err
7973 } && test -s conftest.$ac_objext; then
7974 ac_header_compiler=yes
7976 $as_echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7979 ac_header_compiler=no
7982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7983 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7984 $as_echo "$ac_header_compiler" >&6; }
7986 # Is the header present?
7987 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7988 $as_echo_n "checking $ac_header presence... " >&6; }
7989 cat >conftest.$ac_ext <<_ACEOF
7992 cat confdefs.h >>conftest.$ac_ext
7993 cat >>conftest.$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
7995 #include <$ac_header>
7997 if { (ac_try="$ac_cpp conftest.$ac_ext"
7999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8000 *) ac_try_echo
=$ac_try;;
8002 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8003 $as_echo "$ac_try_echo") >&5
8004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8006 grep -v '^ *+' conftest.er1
>conftest.err
8008 cat conftest.err
>&5
8009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } >/dev
/null
&& {
8011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8014 ac_header_preproc
=yes
8016 $as_echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.
$ac_ext >&5
8019 ac_header_preproc
=no
8022 rm -f conftest.err conftest.
$ac_ext
8023 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8024 $as_echo "$ac_header_preproc" >&6; }
8026 # So? What about this header?
8027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8029 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8030 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8031 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8032 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8033 ac_header_preproc
=yes
8036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8037 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8039 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8041 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8043 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8044 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8045 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8047 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8051 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8052 $as_echo_n "checking for $ac_header... " >&6; }
8053 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8054 $as_echo_n "(cached) " >&6
8056 eval "$as_ac_Header=\$ac_header_preproc"
8058 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8059 $as_echo "$as_val"'`
8060 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8061 $as_echo "$ac_res" >&6; }
8064 as_val
=`eval 'as_val=${'$as_ac_Header'}
8065 $as_echo "$as_val"'`
8066 if test "x$as_val" = x
""yes; then
8067 cat >>confdefs.h
<<_ACEOF
8068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 for ac_func
in getpagesize
8078 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8079 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8080 $as_echo_n "checking for $ac_func... " >&6; }
8081 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8082 $as_echo_n "(cached) " >&6
8084 cat >conftest.
$ac_ext <<_ACEOF
8087 cat confdefs.h
>>conftest.
$ac_ext
8088 cat >>conftest.
$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8092 #define $ac_func innocuous_$ac_func
8094 /* System header to define __stub macros and hopefully few prototypes,
8095 which can conflict with char $ac_func (); below.
8096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8097 <limits.h> exists even on freestanding compilers. */
8100 # include <limits.h>
8102 # include <assert.h>
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8114 /* The GNU C library defines this for functions which it implements
8115 to always fail with ENOSYS. Some functions are actually named
8116 something starting with __ and the normal name is an alias. */
8117 #if defined __stub_$ac_func || defined __stub___$ac_func
8129 rm -f conftest.
$ac_objext conftest
$ac_exeext
8130 if { (ac_try
="$ac_link"
8132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8133 *) ac_try_echo=$ac_try;;
8135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8136 $as_echo "$ac_try_echo") >&5
8137 (eval "$ac_link") 2>conftest.er1
8139 grep -v '^ *+' conftest.er1 >conftest.err
8141 cat conftest.err >&5
8142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } && {
8144 test -z "$ac_c_werror_flag" ||
8145 test ! -s conftest.err
8146 } && test -s conftest$ac_exeext && {
8147 test "$cross_compiling" = yes ||
8148 $as_test_x conftest$ac_exeext
8150 eval "$as_ac_var=yes"
8152 $as_echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 eval "$as_ac_var=no"
8158 rm -rf conftest.dSYM
8159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8160 conftest$ac_exeext conftest.$ac_ext
8162 ac_res=`eval 'as_val=${'$as_ac_var'}
8163 $as_echo "$as_val"'`
8164 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8165 $as_echo "$ac_res" >&6; }
8166 as_val=`eval 'as_val=${'$as_ac_var'}
8167 $as_echo "$as_val"'`
8168 if test "x$as_val" = x""yes; then
8169 cat >>confdefs.h <<_ACEOF
8170 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8176 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8177 $as_echo_n "checking for working mmap... " >&6; }
8178 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8179 $as_echo_n "(cached) " >&6
8181 if test "$cross_compiling" = yes; then
8182 ac_cv_func_mmap_fixed_mapped=no
8184 cat >conftest.$ac_ext <<_ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8190 $ac_includes_default
8191 /* malloc might have been renamed as rpl_malloc. */
8194 /* Thanks to Mike Haertel and Jim Avera for this test.
8195 Here is a matrix of mmap possibilities:
8196 mmap private not fixed
8197 mmap private fixed at somewhere currently unmapped
8198 mmap private fixed at somewhere already mapped
8199 mmap shared not fixed
8200 mmap shared fixed at somewhere currently unmapped
8201 mmap shared fixed at somewhere already mapped
8202 For private mappings, we should verify that changes cannot be read()
8203 back from the file, nor mmap's back from the file at a different
8204 address. (There have been systems where private was not correctly
8205 implemented like the infamous i386 svr4.0, and systems where the
8206 VM page cache was not coherent with the file system buffer cache
8207 like early versions of FreeBSD and possibly contemporary NetBSD.)
8208 For shared mappings, we should conversely verify that changes get
8209 propagated back to all the places they're supposed to be.
8211 Grep wants private fixed already mapped.
8212 The main things grep needs to know about mmap are:
8213 * does it exist and is it safe to write into the mmap'd area
8214 * how to use it (BSD variants) */
8217 #include <sys/mman.h>
8219 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8223 /* This mess was copied from the GNU getpagesize.h. */
8224 #ifndef HAVE_GETPAGESIZE
8225 /* Assume that all systems that can run configure have sys/param.h. */
8226 # ifndef HAVE_SYS_PARAM_H
8227 # define HAVE_SYS_PARAM_H 1
8230 # ifdef _SC_PAGESIZE
8231 # define getpagesize() sysconf(_SC_PAGESIZE)
8232 # else /* no _SC_PAGESIZE */
8233 # ifdef HAVE_SYS_PARAM_H
8234 # include <sys/param.h>
8235 # ifdef EXEC_PAGESIZE
8236 # define getpagesize() EXEC_PAGESIZE
8237 # else /* no EXEC_PAGESIZE */
8239 # define getpagesize() NBPG * CLSIZE
8242 # endif /* no CLSIZE */
8243 # else /* no NBPG */
8245 # define getpagesize() NBPC
8246 # else /* no NBPC */
8248 # define getpagesize() PAGESIZE
8249 # endif /* PAGESIZE */
8250 # endif /* no NBPC */
8251 # endif /* no NBPG */
8252 # endif /* no EXEC_PAGESIZE */
8253 # else /* no HAVE_SYS_PARAM_H */
8254 # define getpagesize() 8192 /* punt totally */
8255 # endif /* no HAVE_SYS_PARAM_H */
8256 # endif /* no _SC_PAGESIZE */
8258 #endif /* no HAVE_GETPAGESIZE */
8263 char *data, *data2, *data3;
8267 pagesize = getpagesize ();
8269 /* First, make a file with some known garbage in it. */
8270 data = (char *) malloc (pagesize);
8273 for (i = 0; i < pagesize; ++i)
8274 *(data + i) = rand ();
8276 fd = creat ("conftest.mmap", 0600);
8279 if (write (fd, data, pagesize) != pagesize)
8283 /* Next, try to mmap the file at a fixed address which already has
8284 something else allocated at it. If we can, also make sure that
8285 we see the same garbage. */
8286 fd = open ("conftest.mmap", O_RDWR);
8289 data2 = (char *) malloc (2 * pagesize);
8292 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8293 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8294 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8296 for (i = 0; i < pagesize; ++i)
8297 if (*(data + i) != *(data2 + i))
8300 /* Finally, make sure that changes to the mapped area do not
8301 percolate back to the file as seen by read(). (This is a bug on
8302 some variants of i386 svr4.0.) */
8303 for (i = 0; i < pagesize; ++i)
8304 *(data2 + i) = *(data2 + i) + 1;
8305 data3 = (char *) malloc (pagesize);
8308 if (read (fd, data3, pagesize) != pagesize)
8310 for (i = 0; i < pagesize; ++i)
8311 if (*(data + i) != *(data3 + i))
8317 rm -f conftest$ac_exeext
8318 if { (ac_try="$ac_link"
8320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8321 *) ac_try_echo
=$ac_try;;
8323 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8324 $as_echo "$ac_try_echo") >&5
8325 (eval "$ac_link") 2>&5
8327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8329 { (case "(($ac_try" in
8330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8331 *) ac_try_echo=$ac_try;;
8333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8334 $as_echo "$ac_try_echo") >&5
8335 (eval "$ac_try") 2>&5
8337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; }; then
8339 ac_cv_func_mmap_fixed_mapped=yes
8341 $as_echo "$as_me: program exited with status $ac_status" >&5
8342 $as_echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.$ac_ext >&5
8346 ac_cv_func_mmap_fixed_mapped=no
8348 rm -rf conftest.dSYM
8349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8354 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8355 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8356 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8358 cat >>confdefs.h <<\_ACEOF
8365 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
8366 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
8367 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8368 $as_echo_n "(cached) " >&6
8370 if test "$cross_compiling" = yes; then
8371 ac_cv_func_stat_empty_string_bug=yes
8373 cat >conftest.$ac_ext <<_ACEOF
8376 cat confdefs.h >>conftest.$ac_ext
8377 cat >>conftest.$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8379 $ac_includes_default
8384 return stat ("", &sbuf) == 0;
8389 rm -f conftest$ac_exeext
8390 if { (ac_try="$ac_link"
8392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8393 *) ac_try_echo
=$ac_try;;
8395 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8396 $as_echo "$ac_try_echo") >&5
8397 (eval "$ac_link") 2>&5
8399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8401 { (case "(($ac_try" in
8402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8403 *) ac_try_echo=$ac_try;;
8405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8406 $as_echo "$ac_try_echo") >&5
8407 (eval "$ac_try") 2>&5
8409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 ac_cv_func_stat_empty_string_bug=no
8413 $as_echo "$as_me: program exited with status $ac_status" >&5
8414 $as_echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5
8418 ac_cv_func_stat_empty_string_bug=yes
8420 rm -rf conftest.dSYM
8421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8426 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
8427 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8428 if test $ac_cv_func_stat_empty_string_bug = yes; then
8429 case " $LIBOBJS " in
8430 *" stat.$ac_objext "* ) ;;
8431 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
8436 cat >>confdefs.h <<_ACEOF
8437 #define HAVE_STAT_EMPTY_STRING_BUG 1
8442 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
8443 $as_echo_n "checking for working strtod... " >&6; }
8444 if test "${ac_cv_func_strtod+set}" = set; then
8445 $as_echo_n "(cached) " >&6
8447 if test "$cross_compiling" = yes; then
8448 ac_cv_func_strtod=no
8450 cat >conftest.$ac_ext <<_ACEOF
8453 cat confdefs.h >>conftest.$ac_ext
8454 cat >>conftest.$ac_ext <<_ACEOF
8455 /* end confdefs.h. */
8457 $ac_includes_default
8465 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8466 char *string = " +69";
8469 value = strtod (string, &term);
8470 if (value != 69 || term != (string + 4))
8475 /* Under Solaris 2.4, strtod returns the wrong value for the
8476 terminating character under some conditions. */
8477 char *string = "NaN";
8479 strtod (string, &term);
8480 if (term != string && *(term - 1) == 0)
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_strtod=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_strtod=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_strtod" >&5
8525 $as_echo "$ac_cv_func_strtod" >&6; }
8526 if test $ac_cv_func_strtod = no; then
8527 case " $LIBOBJS " in
8528 *" strtod.$ac_objext "* ) ;;
8529 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8533 { $as_echo "$as_me:$LINENO: checking for pow" >&5
8534 $as_echo_n "checking for pow... " >&6; }
8535 if test "${ac_cv_func_pow+set}" = set; then
8536 $as_echo_n "(cached) " >&6
8538 cat >conftest.$ac_ext <<_ACEOF
8541 cat confdefs.h >>conftest.$ac_ext
8542 cat >>conftest.$ac_ext <<_ACEOF
8543 /* end confdefs.h. */
8544 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8546 #define pow innocuous_pow
8548 /* System header to define __stub macros and hopefully few prototypes,
8549 which can conflict with char pow (); below.
8550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8551 <limits.h> exists even on freestanding compilers. */
8554 # include <limits.h>
8556 # include <assert.h>
8561 /* Override any GCC internal prototype to avoid an error.
8562 Use char because int might match the return type of a GCC
8563 builtin and then its argument prototype would still apply. */
8568 /* The GNU C library defines this for functions which it implements
8569 to always fail with ENOSYS. Some functions are actually named
8570 something starting with __ and the normal name is an alias. */
8571 #if defined __stub_pow || defined __stub___pow
8583 rm -f conftest.$ac_objext conftest$ac_exeext
8584 if { (ac_try="$ac_link"
8586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8587 *) ac_try_echo
=$ac_try;;
8589 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8590 $as_echo "$ac_try_echo") >&5
8591 (eval "$ac_link") 2>conftest.er1
8593 grep -v '^ *+' conftest.er1
>conftest.err
8595 cat conftest.err
>&5
8596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } && {
8598 test -z "$ac_c_werror_flag" ||
8599 test ! -s conftest.err
8600 } && test -s conftest
$ac_exeext && {
8601 test "$cross_compiling" = yes ||
8602 $as_test_x conftest
$ac_exeext
8606 $as_echo "$as_me: failed program was:" >&5
8607 sed 's/^/| /' conftest.
$ac_ext >&5
8612 rm -rf conftest.dSYM
8613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8614 conftest
$ac_exeext conftest.
$ac_ext
8616 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8617 $as_echo "$ac_cv_func_pow" >&6; }
8619 if test $ac_cv_func_pow = no
; then
8620 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
8621 $as_echo_n "checking for pow in -lm... " >&6; }
8622 if test "${ac_cv_lib_m_pow+set}" = set; then
8623 $as_echo_n "(cached) " >&6
8625 ac_check_lib_save_LIBS
=$LIBS
8627 cat >conftest.
$ac_ext <<_ACEOF
8630 cat confdefs.h
>>conftest.
$ac_ext
8631 cat >>conftest.
$ac_ext <<_ACEOF
8632 /* end confdefs.h. */
8634 /* Override any GCC internal prototype to avoid an error.
8635 Use char because int might match the return type of a GCC
8636 builtin and then its argument prototype would still apply. */
8649 rm -f conftest.
$ac_objext conftest
$ac_exeext
8650 if { (ac_try
="$ac_link"
8652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8653 *) ac_try_echo=$ac_try;;
8655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8656 $as_echo "$ac_try_echo") >&5
8657 (eval "$ac_link") 2>conftest.er1
8659 grep -v '^ *+' conftest.er1 >conftest.err
8661 cat conftest.err >&5
8662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); } && {
8664 test -z "$ac_c_werror_flag" ||
8665 test ! -s conftest.err
8666 } && test -s conftest$ac_exeext && {
8667 test "$cross_compiling" = yes ||
8668 $as_test_x conftest$ac_exeext
8672 $as_echo "$as_me: failed program was:" >&5
8673 sed 's/^/| /' conftest.$ac_ext >&5
8678 rm -rf conftest.dSYM
8679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8680 conftest$ac_exeext conftest.$ac_ext
8681 LIBS=$ac_check_lib_save_LIBS
8683 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8684 $as_echo "$ac_cv_lib_m_pow" >&6; }
8685 if test "x$ac_cv_lib_m_pow" = x""yes; then
8688 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8689 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8697 for ac_func in vprintf
8699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8700 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8701 $as_echo_n "checking for $ac_func... " >&6; }
8702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8703 $as_echo_n "(cached) " >&6
8705 cat >conftest.$ac_ext <<_ACEOF
8708 cat confdefs.h >>conftest.$ac_ext
8709 cat >>conftest.$ac_ext <<_ACEOF
8710 /* end confdefs.h. */
8711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8713 #define $ac_func innocuous_$ac_func
8715 /* System header to define __stub macros and hopefully few prototypes,
8716 which can conflict with char $ac_func (); below.
8717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8718 <limits.h> exists even on freestanding compilers. */
8721 # include <limits.h>
8723 # include <assert.h>
8728 /* Override any GCC internal prototype to avoid an error.
8729 Use char because int might match the return type of a GCC
8730 builtin and then its argument prototype would still apply. */
8735 /* The GNU C library defines this for functions which it implements
8736 to always fail with ENOSYS. Some functions are actually named
8737 something starting with __ and the normal name is an alias. */
8738 #if defined __stub_$ac_func || defined __stub___$ac_func
8750 rm -f conftest.$ac_objext conftest$ac_exeext
8751 if { (ac_try="$ac_link"
8753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8754 *) ac_try_echo
=$ac_try;;
8756 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8757 $as_echo "$ac_try_echo") >&5
8758 (eval "$ac_link") 2>conftest.er1
8760 grep -v '^ *+' conftest.er1
>conftest.err
8762 cat conftest.err
>&5
8763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } && {
8765 test -z "$ac_c_werror_flag" ||
8766 test ! -s conftest.err
8767 } && test -s conftest
$ac_exeext && {
8768 test "$cross_compiling" = yes ||
8769 $as_test_x conftest
$ac_exeext
8771 eval "$as_ac_var=yes"
8773 $as_echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.
$ac_ext >&5
8776 eval "$as_ac_var=no"
8779 rm -rf conftest.dSYM
8780 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8781 conftest
$ac_exeext conftest.
$ac_ext
8783 ac_res
=`eval 'as_val=${'$as_ac_var'}
8784 $as_echo "$as_val"'`
8785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8786 $as_echo "$ac_res" >&6; }
8787 as_val
=`eval 'as_val=${'$as_ac_var'}
8788 $as_echo "$as_val"'`
8789 if test "x$as_val" = x
""yes; then
8790 cat >>confdefs.h
<<_ACEOF
8791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8794 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
8795 $as_echo_n "checking for _doprnt... " >&6; }
8796 if test "${ac_cv_func__doprnt+set}" = set; then
8797 $as_echo_n "(cached) " >&6
8799 cat >conftest.
$ac_ext <<_ACEOF
8802 cat confdefs.h
>>conftest.
$ac_ext
8803 cat >>conftest.
$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8805 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8807 #define _doprnt innocuous__doprnt
8809 /* System header to define __stub macros and hopefully few prototypes,
8810 which can conflict with char _doprnt (); below.
8811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8812 <limits.h> exists even on freestanding compilers. */
8815 # include <limits.h>
8817 # include <assert.h>
8822 /* Override any GCC internal prototype to avoid an error.
8823 Use char because int might match the return type of a GCC
8824 builtin and then its argument prototype would still apply. */
8829 /* The GNU C library defines this for functions which it implements
8830 to always fail with ENOSYS. Some functions are actually named
8831 something starting with __ and the normal name is an alias. */
8832 #if defined __stub__doprnt || defined __stub____doprnt
8844 rm -f conftest.
$ac_objext conftest
$ac_exeext
8845 if { (ac_try
="$ac_link"
8847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8848 *) ac_try_echo=$ac_try;;
8850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8851 $as_echo "$ac_try_echo") >&5
8852 (eval "$ac_link") 2>conftest.er1
8854 grep -v '^ *+' conftest.er1 >conftest.err
8856 cat conftest.err >&5
8857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } && {
8859 test -z "$ac_c_werror_flag" ||
8860 test ! -s conftest.err
8861 } && test -s conftest$ac_exeext && {
8862 test "$cross_compiling" = yes ||
8863 $as_test_x conftest$ac_exeext
8865 ac_cv_func__doprnt=yes
8867 $as_echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 ac_cv_func__doprnt=no
8873 rm -rf conftest.dSYM
8874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8875 conftest$ac_exeext conftest.$ac_ext
8877 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8878 $as_echo "$ac_cv_func__doprnt" >&6; }
8879 if test "x$ac_cv_func__doprnt" = x""yes; then
8881 cat >>confdefs.h <<\_ACEOF
8882 #define HAVE_DOPRNT 1
8892 ################################################################################
8893 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
8894 $as_echo_n "checking whether to use static linking... " >&6; }
8895 # Check whether --enable-static_link was given.
8896 if test "${enable_static_link+set}" = set; then
8897 enableval=$enable_static_link; STATIC_LINK=$enableval
8902 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
8903 $as_echo "$STATIC_LINK" >&6; }
8905 ################################################################################
8908 ################################################################################
8909 { $as_echo "$as_me:$LINENO: checking file owner" >&5
8910 $as_echo_n "checking file owner... " >&6; }
8914 # Check whether --with-user was given.
8915 if test "${with_user+set}" = set; then
8916 withval=$with_user; OWNER="$withval"
8919 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
8920 $as_echo "$OWNER" >&6; }
8922 if test x$OWNER != x; then
8926 ################################################################################
8927 { $as_echo "$as_me:$LINENO: checking group owner" >&5
8928 $as_echo_n "checking group owner... " >&6; }
8931 # Check whether --with-group was given.
8932 if test "${with_group+set}" = set; then
8933 withval=$with_group; GROUP="$withval"
8936 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
8937 $as_echo "$GROUP" >&6; }
8939 if test x$GROUP != x; then
8943 ################################################################################
8944 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
8945 $as_echo_n "checking device node uid... " >&6; }
8948 # Check whether --with-device-uid was given.
8949 if test "${with_device_uid+set}" = set; then
8950 withval=$with_device_uid; DM_DEVICE_UID="$withval"
8955 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
8956 $as_echo "$DM_DEVICE_UID" >&6; }
8958 ################################################################################
8959 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
8960 $as_echo_n "checking device node gid... " >&6; }
8963 # Check whether --with-device-gid was given.
8964 if test "${with_device_gid+set}" = set; then
8965 withval=$with_device_gid; DM_DEVICE_GID="$withval"
8970 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
8971 $as_echo "$DM_DEVICE_GID" >&6; }
8973 ################################################################################
8974 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
8975 $as_echo_n "checking device node mode... " >&6; }
8978 # Check whether --with-device-mode was given.
8979 if test "${with_device_mode+set}" = set; then
8980 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
8982 DM_DEVICE_MODE="0600"
8985 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
8986 $as_echo "$DM_DEVICE_MODE" >&6; }
8988 ################################################################################
8989 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
8990 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
8991 # Check whether --enable-lvm1_fallback was given.
8992 if test "${enable_lvm1_fallback+set}" = set; then
8993 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
8998 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
8999 $as_echo "$LVM1_FALLBACK" >&6; }
9001 if test x$LVM1_FALLBACK = xyes; then
9003 cat >>confdefs.h <<\_ACEOF
9004 #define LVM1_FALLBACK 1
9009 ################################################################################
9010 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
9011 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
9013 # Check whether --with-lvm1 was given.
9014 if test "${with_lvm1+set}" = set; then
9015 withval=$with_lvm1; LVM1="$withval"
9020 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
9021 $as_echo "$LVM1" >&6; }
9023 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
9024 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
9026 $as_echo "$as_me: error: --with-lvm1 parameter invalid
9028 { (exit 1); exit 1; }; }
9031 if test x$LVM1 = xinternal; then
9033 cat >>confdefs.h <<\_ACEOF
9034 #define LVM1_INTERNAL 1
9039 ################################################################################
9040 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
9041 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
9043 # Check whether --with-pool was given.
9044 if test "${with_pool+set}" = set; then
9045 withval=$with_pool; POOL="$withval"
9050 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
9051 $as_echo "$POOL" >&6; }
9053 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
9054 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
9056 $as_echo "$as_me: error: --with-pool parameter invalid
9058 { (exit 1); exit 1; }; }
9061 if test x$POOL = xinternal; then
9063 cat >>confdefs.h <<\_ACEOF
9064 #define POOL_INTERNAL 1
9069 ################################################################################
9070 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
9071 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
9073 # Check whether --with-cluster was given.
9074 if test "${with_cluster+set}" = set; then
9075 withval=$with_cluster; CLUSTER="$withval"
9078 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
9079 $as_echo "$CLUSTER" >&6; }
9081 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
9082 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
9084 $as_echo "$as_me: error: --with-cluster parameter invalid
9086 { (exit 1); exit 1; }; }
9089 if test x$CLUSTER = xinternal; then
9091 cat >>confdefs.h <<\_ACEOF
9092 #define CLUSTER_LOCKING_INTERNAL 1
9097 ################################################################################
9098 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
9099 $as_echo_n "checking whether to include snapshots... " >&6; }
9101 # Check whether --with-snapshots was given.
9102 if test "${with_snapshots+set}" = set; then
9103 withval=$with_snapshots; SNAPSHOTS="$withval"
9105 SNAPSHOTS="internal"
9108 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
9109 $as_echo "$SNAPSHOTS" >&6; }
9111 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
9112 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
9114 $as_echo "$as_me: error: --with-snapshots parameter invalid
9116 { (exit 1); exit 1; }; }
9119 if test x$SNAPSHOTS = xinternal; then
9121 cat >>confdefs.h <<\_ACEOF
9122 #define SNAPSHOT_INTERNAL 1
9127 ################################################################################
9128 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
9129 $as_echo_n "checking whether to include mirrors... " >&6; }
9131 # Check whether --with-mirrors was given.
9132 if test "${with_mirrors+set}" = set; then
9133 withval=$with_mirrors; MIRRORS="$withval"
9138 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
9139 $as_echo "$MIRRORS" >&6; }
9141 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
9142 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
9144 $as_echo "$as_me: error: --with-mirrors parameter invalid
9146 { (exit 1); exit 1; }; }
9149 if test x$MIRRORS = xinternal; then
9151 cat >>confdefs.h <<\_ACEOF
9152 #define MIRRORED_INTERNAL 1
9157 ################################################################################
9158 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
9159 $as_echo_n "checking whether to enable readline... " >&6; }
9160 # Check whether --enable-readline was given.
9161 if test "${enable_readline+set}" = set; then
9162 enableval=$enable_readline; READLINE=$enableval
9167 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
9168 $as_echo "$READLINE" >&6; }
9170 ################################################################################
9171 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
9172 $as_echo_n "checking whether to enable realtime support... " >&6; }
9173 # Check whether --enable-realtime was given.
9174 if test "${enable_realtime+set}" = set; then
9175 enableval=$enable_realtime; REALTIME=$enableval
9178 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
9179 $as_echo "$REALTIME" >&6; }
9181 ################################################################################
9182 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
9183 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
9185 # Check whether --with-clvmd was given.
9186 if test "${with_clvmd+set}" = set; then
9187 withval=$with_clvmd; CLVMD="$withval"
9192 if test x$CLVMD = xyes; then
9195 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
9196 $as_echo "$CLVMD" >&6; }
9198 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9202 if [ "x$CLVMD" = xall -o `expr x
"$CLVMD" : '.*corosync.*'` != 0 ]; then
9205 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9206 if test -n "$ac_tool_prefix"; then
9207 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9208 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9210 $as_echo_n "checking for $ac_word... " >&6; }
9211 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
9212 $as_echo_n "(cached) " >&6
9216 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9223 test -z "$as_dir" && as_dir=.
9224 for ac_exec_ext in '' $ac_executable_extensions; do
9225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9226 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9237 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9238 if test -n "$PKG_CONFIG"; then
9239 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
9240 $as_echo "$PKG_CONFIG" >&6; }
9242 { $as_echo "$as_me:$LINENO: result: no" >&5
9243 $as_echo "no" >&6; }
9248 if test -z "$ac_cv_path_PKG_CONFIG"; then
9249 ac_pt_PKG_CONFIG=$PKG_CONFIG
9250 # Extract the first word of "pkg-config", so it can be a program name with args.
9251 set dummy pkg-config; ac_word=$2
9252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9253 $as_echo_n "checking for $ac_word... " >&6; }
9254 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
9255 $as_echo_n "(cached) " >&6
9257 case $ac_pt_PKG_CONFIG in
9259 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 test -z "$as_dir" && as_dir=.
9267 for ac_exec_ext in '' $ac_executable_extensions; do
9268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9269 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9280 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9281 if test -n "$ac_pt_PKG_CONFIG"; then
9282 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
9283 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9285 { $as_echo "$as_me:$LINENO: result: no" >&5
9286 $as_echo "no" >&6; }
9289 if test "x$ac_pt_PKG_CONFIG" = x; then
9292 case $cross_compiling:$ac_tool_warned in
9294 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9296 ac_tool_warned=yes ;;
9298 PKG_CONFIG=$ac_pt_PKG_CONFIG
9301 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9305 if test -n "$PKG_CONFIG"; then
9306 _pkg_min_version=0.9.0
9307 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
9308 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9309 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9310 { $as_echo "$as_me:$LINENO: result: yes" >&5
9311 $as_echo "yes" >&6; }
9313 { $as_echo "$as_me:$LINENO: result: no" >&5
9314 $as_echo "no" >&6; }
9321 { $as_echo "$as_me:$LINENO: checking for QUORUM" >&5
9322 $as_echo_n "checking for QUORUM... " >&6; }
9324 if test -n "$QUORUM_CFLAGS"; then
9325 pkg_cv_QUORUM_CFLAGS="$QUORUM_CFLAGS"
9326 elif test -n "$PKG_CONFIG"; then
9327 if test -n "$PKG_CONFIG" && \
9328 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
9329 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
9331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; then
9333 pkg_cv_QUORUM_CFLAGS=`$PKG_CONFIG --cflags "libquorum" 2>/dev
/null
`
9340 if test -n "$QUORUM_LIBS"; then
9341 pkg_cv_QUORUM_LIBS="$QUORUM_LIBS"
9342 elif test -n "$PKG_CONFIG"; then
9343 if test -n "$PKG_CONFIG" && \
9344 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libquorum\"") >&5
9345 ($PKG_CONFIG --exists --print-errors "libquorum") 2>&5
9347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; then
9349 pkg_cv_QUORUM_LIBS=`$PKG_CONFIG --libs "libquorum" 2>/dev
/null
`
9359 if test $pkg_failed = yes; then
9361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9362 _pkg_short_errors_supported=yes
9364 _pkg_short_errors_supported=no
9366 if test $_pkg_short_errors_supported = yes; then
9367 QUORUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquorum" 2>&1`
9369 QUORUM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquorum" 2>&1`
9371 # Put the nasty error message in config.log where it belongs
9372 echo "$QUORUM_PKG_ERRORS" >&5
9374 { $as_echo "$as_me:$LINENO: result: no" >&5
9375 $as_echo "no" >&6; }
9376 { $as_echo "$as_me:$LINENO: result: no pkg for quorum library, using -lquorum" >&5
9377 $as_echo "no pkg for quorum library, using -lquorum" >&6; };
9378 QUORUM_LIBS="-lquorum"
9379 elif test $pkg_failed = untried; then
9380 { $as_echo "$as_me:$LINENO: result: no pkg for quorum library, using -lquorum" >&5
9381 $as_echo "no pkg for quorum library, using -lquorum" >&6; };
9382 QUORUM_LIBS="-lquorum"
9384 QUORUM_CFLAGS=$pkg_cv_QUORUM_CFLAGS
9385 QUORUM_LIBS=$pkg_cv_QUORUM_LIBS
9386 { $as_echo "$as_me:$LINENO: result: yes" >&5
9387 $as_echo "yes" >&6; }
9392 { $as_echo "$as_me:$LINENO: checking for CONFDB" >&5
9393 $as_echo_n "checking for CONFDB... " >&6; }
9395 if test -n "$CONFDB_CFLAGS"; then
9396 pkg_cv_CONFDB_CFLAGS="$CONFDB_CFLAGS"
9397 elif test -n "$PKG_CONFIG"; then
9398 if test -n "$PKG_CONFIG" && \
9399 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
9400 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
9402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; then
9404 pkg_cv_CONFDB_CFLAGS=`$PKG_CONFIG --cflags "libconfdb" 2>/dev
/null
`
9411 if test -n "$CONFDB_LIBS"; then
9412 pkg_cv_CONFDB_LIBS="$CONFDB_LIBS"
9413 elif test -n "$PKG_CONFIG"; then
9414 if test -n "$PKG_CONFIG" && \
9415 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfdb\"") >&5
9416 ($PKG_CONFIG --exists --print-errors "libconfdb") 2>&5
9418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; then
9420 pkg_cv_CONFDB_LIBS=`$PKG_CONFIG --libs "libconfdb" 2>/dev
/null
`
9430 if test $pkg_failed = yes; then
9432 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9433 _pkg_short_errors_supported=yes
9435 _pkg_short_errors_supported=no
9437 if test $_pkg_short_errors_supported = yes; then
9438 CONFDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libconfdb" 2>&1`
9440 CONFDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libconfdb" 2>&1`
9442 # Put the nasty error message in config.log where it belongs
9443 echo "$CONFDB_PKG_ERRORS" >&5
9445 { $as_echo "$as_me:$LINENO: result: no" >&5
9446 $as_echo "no" >&6; }
9447 { $as_echo "$as_me:$LINENO: result: no pkg for confdb library, using -lconfdb" >&5
9448 $as_echo "no pkg for confdb library, using -lconfdb" >&6; };
9449 CONFDB_LIBS="-lconfdb"
9450 elif test $pkg_failed = untried; then
9451 { $as_echo "$as_me:$LINENO: result: no pkg for confdb library, using -lconfdb" >&5
9452 $as_echo "no pkg for confdb library, using -lconfdb" >&6; };
9453 CONFDB_LIBS="-lconfdb"
9455 CONFDB_CFLAGS=$pkg_cv_CONFDB_CFLAGS
9456 CONFDB_LIBS=$pkg_cv_CONFDB_LIBS
9457 { $as_echo "$as_me:$LINENO: result: yes" >&5
9458 $as_echo "yes" >&6; }
9463 { $as_echo "$as_me:$LINENO: checking for CPG" >&5
9464 $as_echo_n "checking for CPG... " >&6; }
9466 if test -n "$CPG_CFLAGS"; then
9467 pkg_cv_CPG_CFLAGS="$CPG_CFLAGS"
9468 elif test -n "$PKG_CONFIG"; then
9469 if test -n "$PKG_CONFIG" && \
9470 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
9471 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
9473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; then
9475 pkg_cv_CPG_CFLAGS=`$PKG_CONFIG --cflags "libcpg" 2>/dev
/null
`
9482 if test -n "$CPG_LIBS"; then
9483 pkg_cv_CPG_LIBS="$CPG_LIBS"
9484 elif test -n "$PKG_CONFIG"; then
9485 if test -n "$PKG_CONFIG" && \
9486 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcpg\"") >&5
9487 ($PKG_CONFIG --exists --print-errors "libcpg") 2>&5
9489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; then
9491 pkg_cv_CPG_LIBS=`$PKG_CONFIG --libs "libcpg" 2>/dev
/null
`
9501 if test $pkg_failed = yes; then
9503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9504 _pkg_short_errors_supported=yes
9506 _pkg_short_errors_supported=no
9508 if test $_pkg_short_errors_supported = yes; then
9509 CPG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcpg" 2>&1`
9511 CPG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcpg" 2>&1`
9513 # Put the nasty error message in config.log where it belongs
9514 echo "$CPG_PKG_ERRORS" >&5
9516 { $as_echo "$as_me:$LINENO: result: no" >&5
9517 $as_echo "no" >&6; }
9518 { $as_echo "$as_me:$LINENO: result: no pkg for libcpg library, using -lcpg" >&5
9519 $as_echo "no pkg for libcpg library, using -lcpg" >&6; };
9521 elif test $pkg_failed = untried; then
9522 { $as_echo "$as_me:$LINENO: result: no pkg for libcpg library, using -lcpg" >&5
9523 $as_echo "no pkg for libcpg library, using -lcpg" >&6; };
9526 CPG_CFLAGS=$pkg_cv_CPG_CFLAGS
9527 CPG_LIBS=$pkg_cv_CPG_LIBS
9528 { $as_echo "$as_me:$LINENO: result: yes" >&5
9529 $as_echo "yes" >&6; }
9534 ################################################################################
9535 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
9536 $as_echo_n "checking whether to enable debugging... " >&6; }
9537 # Check whether --enable-debug was given.
9538 if test "${enable_debug+set}" = set; then
9539 enableval=$enable_debug; DEBUG=$enableval
9544 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
9545 $as_echo "$DEBUG" >&6; }
9547 if test x$DEBUG = xyes; then
9553 ################################################################################
9554 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
9555 $as_echo_n "checking for C optimisation flag... " >&6; }
9557 # Check whether --with-optimisation was given.
9558 if test "${with_optimisation+set}" = set; then
9559 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
9562 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
9563 $as_echo "$COPTIMISE_FLAG" >&6; }
9565 ################################################################################
9566 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
9567 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
9568 # Check whether --enable-profiling was given.
9569 if test "${enable_profiling+set}" = set; then
9570 enableval=$enable_profiling; PROFILING=$enableval
9575 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
9576 $as_echo "$PROFILING" >&6; }
9578 if test "x$PROFILING" = xyes; then
9579 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
9580 # Extract the first word of "lcov", so it can be a program name with args.
9581 set dummy lcov; ac_word=$2
9582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if test "${ac_cv_path_LCOV+set}" = set; then
9585 $as_echo_n "(cached) " >&6
9589 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
9592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9596 test -z "$as_dir" && as_dir=.
9597 for ac_exec_ext in '' $ac_executable_extensions; do
9598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9599 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
9600 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9607 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
9611 LCOV=$ac_cv_path_LCOV
9612 if test -n "$LCOV"; then
9613 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
9614 $as_echo "$LCOV" >&6; }
9616 { $as_echo "$as_me:$LINENO: result: no" >&5
9617 $as_echo "no" >&6; }
9621 # Extract the first word of "genhtml", so it can be a program name with args.
9622 set dummy genhtml; ac_word=$2
9623 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9624 $as_echo_n "checking for $ac_word... " >&6; }
9625 if test "${ac_cv_path_GENHTML+set}" = set; then
9626 $as_echo_n "(cached) " >&6
9630 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
9633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 test -z "$as_dir" && as_dir=.
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9640 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
9641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9648 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
9652 GENHTML=$ac_cv_path_GENHTML
9653 if test -n "$GENHTML"; then
9654 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
9655 $as_echo "$GENHTML" >&6; }
9657 { $as_echo "$as_me:$LINENO: result: no" >&5
9658 $as_echo "no" >&6; }
9662 if test "$LCOV" = no -o "$GENHTML" = no ; then
9663 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
9664 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
9665 { (exit 1); exit 1; }; }
9669 ################################################################################
9670 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
9671 $as_echo_n "checking whether to use device-mapper... " >&6; }
9672 # Check whether --enable-devmapper was given.
9673 if test "${enable_devmapper+set}" = set; then
9674 enableval=$enable_devmapper; DEVMAPPER=$enableval
9677 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
9678 $as_echo "$DEVMAPPER" >&6; }
9680 if test x$DEVMAPPER = xyes; then
9682 cat >>confdefs.h <<\_ACEOF
9683 #define DEVMAPPER_SUPPORT 1
9688 ################################################################################
9689 { $as_echo "$as_me:$LINENO: checking whether to enable synchronisation with udev processing" >&5
9690 $as_echo_n "checking whether to enable synchronisation with udev processing... " >&6; }
9691 # Check whether --enable-udev_sync was given.
9692 if test "${enable_udev_sync+set}" = set; then
9693 enableval=$enable_udev_sync; UDEV_SYNC=$enableval
9698 { $as_echo "$as_me:$LINENO: result: $UDEV_SYNC" >&5
9699 $as_echo "$UDEV_SYNC" >&6; }
9701 if test x$UDEV_SYNC = xyes; then
9703 cat >>confdefs.h <<\_ACEOF
9704 #define UDEV_SYNC_SUPPORT 1
9709 { $as_echo "$as_me:$LINENO: checking whether to enable installation of udev rules required for synchronisation" >&5
9710 $as_echo_n "checking whether to enable installation of udev rules required for synchronisation... " >&6; }
9711 # Check whether --enable-udev_rules was given.
9712 if test "${enable_udev_rules+set}" = set; then
9713 enableval=$enable_udev_rules; UDEV_RULES=$enableval
9715 UDEV_RULES=$UDEV_SYNC
9718 { $as_echo "$as_me:$LINENO: result: $UDEV_RULES" >&5
9719 $as_echo "$UDEV_RULES" >&6; }
9721 ################################################################################
9722 # Check whether --enable-compat was given.
9723 if test "${enable_compat+set}" = set; then
9724 enableval=$enable_compat; DM_COMPAT=$enableval
9730 ################################################################################
9731 # Check whether --enable-ioctl was given.
9732 if test "${enable_ioctl+set}" = set; then
9733 enableval=$enable_ioctl; DM_IOCTLS=$enableval
9737 ################################################################################
9738 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
9739 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
9740 # Check whether --enable-o_direct was given.
9741 if test "${enable_o_direct+set}" = set; then
9742 enableval=$enable_o_direct; ODIRECT=$enableval
9745 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
9746 $as_echo "$ODIRECT" >&6; }
9748 if test x$ODIRECT = xyes; then
9750 cat >>confdefs.h <<\_ACEOF
9751 #define O_DIRECT_SUPPORT 1
9756 ################################################################################
9757 { $as_echo "$as_me:$LINENO: checking whether to build liblvm2app.so application library" >&5
9758 $as_echo_n "checking whether to build liblvm2app.so application library... " >&6; }
9759 # Check whether --enable-applib was given.
9760 if test "${enable_applib+set}" = set; then
9761 enableval=$enable_applib; APPLIB=$enableval
9766 { $as_echo "$as_me:$LINENO: result: $APPLIB" >&5
9767 $as_echo "$APPLIB" >&6; }
9769 test x$APPLIB = xyes \
9770 && LVM2APP_LIB=-llvm2app \
9773 ################################################################################
9774 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
9775 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
9776 # Check whether --enable-cmdlib was given.
9777 if test "${enable_cmdlib+set}" = set; then
9778 enableval=$enable_cmdlib; CMDLIB=$enableval
9783 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
9784 $as_echo "$CMDLIB" >&6; }
9786 test x$CMDLIB = xyes \
9787 && LVM2CMD_LIB=-llvm2cmd \
9790 ################################################################################
9791 # Check whether --enable-pkgconfig was given.
9792 if test "${enable_pkgconfig+set}" = set; then
9793 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
9799 ################################################################################
9800 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
9801 $as_echo_n "checking whether to install fsadm... " >&6; }
9802 # Check whether --enable-fsadm was given.
9803 if test "${enable_fsadm+set}" = set; then
9804 enableval=$enable_fsadm; FSADM=$enableval
9807 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
9808 $as_echo "$FSADM" >&6; }
9810 ################################################################################
9811 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
9812 $as_echo_n "checking whether to use dmeventd... " >&6; }
9813 # Check whether --enable-dmeventd was given.
9814 if test "${enable_dmeventd+set}" = set; then
9815 enableval=$enable_dmeventd; DMEVENTD=$enableval
9818 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
9819 $as_echo "$DMEVENTD" >&6; }
9821 BUILD_DMEVENTD=$DMEVENTD
9823 if test x$DMEVENTD = xyes; then
9824 if test x$MIRRORS != xinternal; then
9825 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
9827 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
9829 { (exit 1); exit 1; }; }
9831 if test x$CMDLIB = xno; then
9832 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
9834 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
9836 { (exit 1); exit 1; }; }
9840 if test x$DMEVENTD = xyes; then
9842 cat >>confdefs.h <<\_ACEOF
9848 ################################################################################
9850 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
9851 $as_echo_n "checking for getline in -lc... " >&6; }
9852 if test "${ac_cv_lib_c_getline+set}" = set; then
9853 $as_echo_n "(cached) " >&6
9855 ac_check_lib_save_LIBS=$LIBS
9857 cat >conftest.$ac_ext <<_ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9879 rm -f conftest.$ac_objext conftest$ac_exeext
9880 if { (ac_try="$ac_link"
9882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9883 *) ac_try_echo
=$ac_try;;
9885 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9886 $as_echo "$ac_try_echo") >&5
9887 (eval "$ac_link") 2>conftest.er1
9889 grep -v '^ *+' conftest.er1
>conftest.err
9891 cat conftest.err
>&5
9892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } && {
9894 test -z "$ac_c_werror_flag" ||
9895 test ! -s conftest.err
9896 } && test -s conftest
$ac_exeext && {
9897 test "$cross_compiling" = yes ||
9898 $as_test_x conftest
$ac_exeext
9900 ac_cv_lib_c_getline
=yes
9902 $as_echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.
$ac_ext >&5
9905 ac_cv_lib_c_getline
=no
9908 rm -rf conftest.dSYM
9909 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9910 conftest
$ac_exeext conftest.
$ac_ext
9911 LIBS
=$ac_check_lib_save_LIBS
9913 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
9914 $as_echo "$ac_cv_lib_c_getline" >&6; }
9915 if test "x$ac_cv_lib_c_getline" = x
""yes; then
9917 cat >>confdefs.h
<<\_ACEOF
9918 #define HAVE_GETLINE 1
9924 ################################################################################
9926 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
9927 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
9928 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
9929 $as_echo_n "(cached) " >&6
9931 ac_check_lib_save_LIBS
=$LIBS
9933 cat >conftest.
$ac_ext <<_ACEOF
9936 cat confdefs.h
>>conftest.
$ac_ext
9937 cat >>conftest.
$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9946 char canonicalize_file_name ();
9950 return canonicalize_file_name ();
9955 rm -f conftest.
$ac_objext conftest
$ac_exeext
9956 if { (ac_try
="$ac_link"
9958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9959 *) ac_try_echo=$ac_try;;
9961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9962 $as_echo "$ac_try_echo") >&5
9963 (eval "$ac_link") 2>conftest.er1
9965 grep -v '^ *+' conftest.er1 >conftest.err
9967 cat conftest.err >&5
9968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } && {
9970 test -z "$ac_c_werror_flag" ||
9971 test ! -s conftest.err
9972 } && test -s conftest$ac_exeext && {
9973 test "$cross_compiling" = yes ||
9974 $as_test_x conftest$ac_exeext
9976 ac_cv_lib_c_canonicalize_file_name=yes
9978 $as_echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9981 ac_cv_lib_c_canonicalize_file_name=no
9984 rm -rf conftest.dSYM
9985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9986 conftest$ac_exeext conftest.$ac_ext
9987 LIBS=$ac_check_lib_save_LIBS
9989 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
9990 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
9991 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
9993 cat >>confdefs.h <<\_ACEOF
9994 #define HAVE_CANONICALIZE_FILE_NAME 1
10000 ################################################################################
10001 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
10002 then exec_prefix="";
10005 ################################################################################
10006 if test x$READLINE != xno; then
10007 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
10008 $as_echo_n "checking for library containing tgetent... " >&6; }
10009 if test "${ac_cv_search_tgetent+set}" = set; then
10010 $as_echo_n "(cached) " >&6
10012 ac_func_search_save_LIBS=$LIBS
10013 cat >conftest.$ac_ext <<_ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10035 for ac_lib in '' tinfo ncurses curses termcap termlib; do
10036 if test -z "$ac_lib"; then
10037 ac_res="none required"
10040 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (ac_try="$ac_link"
10044 case "(($ac_try" in
10045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10046 *) ac_try_echo
=$ac_try;;
10048 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10049 $as_echo "$ac_try_echo") >&5
10050 (eval "$ac_link") 2>conftest.er1
10052 grep -v '^ *+' conftest.er1
>conftest.err
10054 cat conftest.err
>&5
10055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); } && {
10057 test -z "$ac_c_werror_flag" ||
10058 test ! -s conftest.err
10059 } && test -s conftest
$ac_exeext && {
10060 test "$cross_compiling" = yes ||
10061 $as_test_x conftest
$ac_exeext
10063 ac_cv_search_tgetent
=$ac_res
10065 $as_echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.
$ac_ext >&5
10071 rm -rf conftest.dSYM
10072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10074 if test "${ac_cv_search_tgetent+set}" = set; then
10078 if test "${ac_cv_search_tgetent+set}" = set; then
10081 ac_cv_search_tgetent
=no
10083 rm conftest.
$ac_ext
10084 LIBS
=$ac_func_search_save_LIBS
10086 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
10087 $as_echo "$ac_cv_search_tgetent" >&6; }
10088 ac_res
=$ac_cv_search_tgetent
10089 if test "$ac_res" != no
; then
10090 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10096 test x
$READLINE:$tg_found = xyes
:no
&&
10097 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
10098 --enable-readline option (which is enabled by default). Either disable readline
10099 support with --disable-readline or download and install termcap from:
10100 ftp.gnu.org/gnu/termcap
10101 Note: if you are using precompiled packages you will also need the development
10102 package as well (which may be called termcap-devel or something similar).
10103 Note: (n)curses also seems to work as a substitute for termcap. This was
10104 not found either - but you could try installing that as well.
10106 $as_echo "$as_me: error: termcap could not be found which is required for the
10107 --enable-readline option (which is enabled by default). Either disable readline
10108 support with --disable-readline or download and install termcap from:
10109 ftp.gnu.org/gnu/termcap
10110 Note: if you are using precompiled packages you will also need the development
10111 package as well (which may be called termcap-devel or something similar).
10112 Note: (n)curses also seems to work as a substitute for termcap. This was
10113 not found either - but you could try installing that as well.
10115 { (exit 1); exit 1; }; }
10118 ################################################################################
10119 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10120 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10121 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10122 $as_echo_n "(cached) " >&6
10124 ac_check_lib_save_LIBS
=$LIBS
10126 cat >conftest.
$ac_ext <<_ACEOF
10129 cat confdefs.h
>>conftest.
$ac_ext
10130 cat >>conftest.
$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10148 rm -f conftest.
$ac_objext conftest
$ac_exeext
10149 if { (ac_try
="$ac_link"
10150 case "(($ac_try" in
10151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10152 *) ac_try_echo=$ac_try;;
10154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10155 $as_echo "$ac_try_echo") >&5
10156 (eval "$ac_link") 2>conftest.er1
10158 grep -v '^ *+' conftest.er1 >conftest.err
10160 cat conftest.err >&5
10161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); } && {
10163 test -z "$ac_c_werror_flag" ||
10164 test ! -s conftest.err
10165 } && test -s conftest$ac_exeext && {
10166 test "$cross_compiling" = yes ||
10167 $as_test_x conftest$ac_exeext
10169 ac_cv_lib_dl_dlopen=yes
10171 $as_echo "$as_me: failed program was:" >&5
10172 sed 's/^/| /' conftest.$ac_ext >&5
10174 ac_cv_lib_dl_dlopen=no
10177 rm -rf conftest.dSYM
10178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_lib_save_LIBS
10182 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10183 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10184 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10191 if [ "x$HAVE_LIBDL" = xyes ]; then
10193 cat >>confdefs.h <<\_ACEOF
10194 #define HAVE_LIBDL 1
10202 ################################################################################
10203 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
10204 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
10205 \) -a "x$STATIC_LINK" = xyes ];
10206 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
10208 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
10210 { (exit 1); exit 1; }; }
10213 ################################################################################
10214 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
10215 $as_echo_n "checking whether to enable selinux support... " >&6; }
10216 # Check whether --enable-selinux was given.
10217 if test "${enable_selinux+set}" = set; then
10218 enableval=$enable_selinux; SELINUX=$enableval
10221 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
10222 $as_echo "$SELINUX" >&6; }
10224 ################################################################################
10225 if test x$SELINUX = xyes; then
10226 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
10227 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
10228 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
10229 $as_echo_n "(cached) " >&6
10231 ac_check_lib_save_LIBS=$LIBS
10232 LIBS="-lsepol $LIBS"
10233 cat >conftest.$ac_ext <<_ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10246 char sepol_check_context ();
10250 return sepol_check_context ();
10255 rm -f conftest.$ac_objext conftest$ac_exeext
10256 if { (ac_try="$ac_link"
10257 case "(($ac_try" in
10258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10259 *) ac_try_echo
=$ac_try;;
10261 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10262 $as_echo "$ac_try_echo") >&5
10263 (eval "$ac_link") 2>conftest.er1
10265 grep -v '^ *+' conftest.er1
>conftest.err
10267 cat conftest.err
>&5
10268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } && {
10270 test -z "$ac_c_werror_flag" ||
10271 test ! -s conftest.err
10272 } && test -s conftest
$ac_exeext && {
10273 test "$cross_compiling" = yes ||
10274 $as_test_x conftest
$ac_exeext
10276 ac_cv_lib_sepol_sepol_check_context
=yes
10278 $as_echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.
$ac_ext >&5
10281 ac_cv_lib_sepol_sepol_check_context
=no
10284 rm -rf conftest.dSYM
10285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10286 conftest
$ac_exeext conftest.
$ac_ext
10287 LIBS
=$ac_check_lib_save_LIBS
10289 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
10290 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
10291 if test "x$ac_cv_lib_sepol_sepol_check_context" = x
""yes; then
10298 if test x
$HAVE_SEPOL = xyes
; then
10300 cat >>confdefs.h
<<\_ACEOF
10301 #define HAVE_SEPOL 1
10304 LIBS
="-lsepol $LIBS"
10307 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
10308 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
10309 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
10310 $as_echo_n "(cached) " >&6
10312 ac_check_lib_save_LIBS
=$LIBS
10313 LIBS
="-lselinux $LIBS"
10314 cat >conftest.
$ac_ext <<_ACEOF
10317 cat confdefs.h
>>conftest.
$ac_ext
10318 cat >>conftest.
$ac_ext <<_ACEOF
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10327 char is_selinux_enabled ();
10331 return is_selinux_enabled ();
10336 rm -f conftest.
$ac_objext conftest
$ac_exeext
10337 if { (ac_try
="$ac_link"
10338 case "(($ac_try" in
10339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10340 *) ac_try_echo=$ac_try;;
10342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10343 $as_echo "$ac_try_echo") >&5
10344 (eval "$ac_link") 2>conftest.er1
10346 grep -v '^ *+' conftest.er1 >conftest.err
10348 cat conftest.err >&5
10349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); } && {
10351 test -z "$ac_c_werror_flag" ||
10352 test ! -s conftest.err
10353 } && test -s conftest$ac_exeext && {
10354 test "$cross_compiling" = yes ||
10355 $as_test_x conftest$ac_exeext
10357 ac_cv_lib_selinux_is_selinux_enabled=yes
10359 $as_echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_lib_selinux_is_selinux_enabled=no
10365 rm -rf conftest.dSYM
10366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10367 conftest$ac_exeext conftest.$ac_ext
10368 LIBS=$ac_check_lib_save_LIBS
10370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
10371 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
10372 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
10379 if test x$HAVE_SELINUX = xyes; then
10381 cat >>confdefs.h <<\_ACEOF
10382 #define HAVE_SELINUX 1
10385 LIBS="-lselinux $LIBS"
10387 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
10388 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
10391 # With --enable-static_link and selinux enabled, linking
10392 # fails on at least Debian unstable due to unsatisfied references
10393 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
10394 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
10395 lvm_saved_libs=$LIBS
10396 LIBS="$LIBS -static"
10397 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
10398 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
10399 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
10400 $as_echo_n "(cached) " >&6
10402 ac_func_search_save_LIBS=$LIBS
10403 cat >conftest.$ac_ext <<_ACEOF
10406 cat confdefs.h >>conftest.$ac_ext
10407 cat >>conftest.$ac_ext <<_ACEOF
10408 /* end confdefs.h. */
10410 /* Override any GCC internal prototype to avoid an error.
10411 Use char because int might match the return type of a GCC
10412 builtin and then its argument prototype would still apply. */
10416 char pthread_mutex_lock ();
10420 return pthread_mutex_lock ();
10425 for ac_lib in '' pthread; do
10426 if test -z "$ac_lib"; then
10427 ac_res="none required"
10430 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10432 rm -f conftest.$ac_objext conftest$ac_exeext
10433 if { (ac_try="$ac_link"
10434 case "(($ac_try" in
10435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10436 *) ac_try_echo
=$ac_try;;
10438 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10439 $as_echo "$ac_try_echo") >&5
10440 (eval "$ac_link") 2>conftest.er1
10442 grep -v '^ *+' conftest.er1
>conftest.err
10444 cat conftest.err
>&5
10445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); } && {
10447 test -z "$ac_c_werror_flag" ||
10448 test ! -s conftest.err
10449 } && test -s conftest
$ac_exeext && {
10450 test "$cross_compiling" = yes ||
10451 $as_test_x conftest
$ac_exeext
10453 ac_cv_search_pthread_mutex_lock
=$ac_res
10455 $as_echo "$as_me: failed program was:" >&5
10456 sed 's/^/| /' conftest.
$ac_ext >&5
10461 rm -rf conftest.dSYM
10462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10464 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
10468 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
10471 ac_cv_search_pthread_mutex_lock
=no
10473 rm conftest.
$ac_ext
10474 LIBS
=$ac_func_search_save_LIBS
10476 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
10477 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
10478 ac_res
=$ac_cv_search_pthread_mutex_lock
10479 if test "$ac_res" != no
; then
10480 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10481 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
10482 LIB_PTHREAD
=-lpthread
10485 LIBS
=$lvm_saved_libs
10489 ################################################################################
10490 if test x
$REALTIME = xyes
; then
10491 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
10492 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
10493 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
10494 $as_echo_n "(cached) " >&6
10496 ac_check_lib_save_LIBS
=$LIBS
10498 cat >conftest.
$ac_ext <<_ACEOF
10501 cat confdefs.h
>>conftest.
$ac_ext
10502 cat >>conftest.
$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10511 char clock_gettime ();
10515 return clock_gettime ();
10520 rm -f conftest.
$ac_objext conftest
$ac_exeext
10521 if { (ac_try
="$ac_link"
10522 case "(($ac_try" in
10523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10524 *) ac_try_echo=$ac_try;;
10526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10527 $as_echo "$ac_try_echo") >&5
10528 (eval "$ac_link") 2>conftest.er1
10530 grep -v '^ *+' conftest.er1 >conftest.err
10532 cat conftest.err >&5
10533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } && {
10535 test -z "$ac_c_werror_flag" ||
10536 test ! -s conftest.err
10537 } && test -s conftest$ac_exeext && {
10538 test "$cross_compiling" = yes ||
10539 $as_test_x conftest$ac_exeext
10541 ac_cv_lib_rt_clock_gettime=yes
10543 $as_echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.$ac_ext >&5
10546 ac_cv_lib_rt_clock_gettime=no
10549 rm -rf conftest.dSYM
10550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_lib_save_LIBS
10554 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
10555 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
10556 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
10563 if test x$HAVE_REALTIME = xyes; then
10565 cat >>confdefs.h <<\_ACEOF
10566 #define HAVE_REALTIME 1
10571 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
10572 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
10576 ################################################################################
10578 for ac_header in getopt.h
10580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10582 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10583 $as_echo_n "checking for $ac_header... " >&6; }
10584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10585 $as_echo_n "(cached) " >&6
10587 ac_res=`eval 'as_val=${'$as_ac_Header'}
10588 $as_echo "$as_val"'`
10589 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10590 $as_echo "$ac_res" >&6; }
10592 # Is the header compilable?
10593 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10594 $as_echo_n "checking $ac_header usability... " >&6; }
10595 cat >conftest.$ac_ext <<_ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10601 $ac_includes_default
10602 #include <$ac_header>
10604 rm -f conftest.$ac_objext
10605 if { (ac_try="$ac_compile"
10606 case "(($ac_try" in
10607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10608 *) ac_try_echo
=$ac_try;;
10610 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10611 $as_echo "$ac_try_echo") >&5
10612 (eval "$ac_compile") 2>conftest.er1
10614 grep -v '^ *+' conftest.er1
>conftest.err
10616 cat conftest.err
>&5
10617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && {
10619 test -z "$ac_c_werror_flag" ||
10620 test ! -s conftest.err
10621 } && test -s conftest.
$ac_objext; then
10622 ac_header_compiler
=yes
10624 $as_echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.
$ac_ext >&5
10627 ac_header_compiler
=no
10630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10631 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10632 $as_echo "$ac_header_compiler" >&6; }
10634 # Is the header present?
10635 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10636 $as_echo_n "checking $ac_header presence... " >&6; }
10637 cat >conftest.
$ac_ext <<_ACEOF
10640 cat confdefs.h
>>conftest.
$ac_ext
10641 cat >>conftest.
$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10643 #include <$ac_header>
10645 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10646 case "(($ac_try" in
10647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10648 *) ac_try_echo=$ac_try;;
10650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10651 $as_echo "$ac_try_echo") >&5
10652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10654 grep -v '^ *+' conftest.er1 >conftest.err
10656 cat conftest.err >&5
10657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } >/dev/null && {
10659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10660 test ! -s conftest.err
10662 ac_header_preproc=yes
10664 $as_echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10667 ac_header_preproc=no
10670 rm -f conftest.err conftest.$ac_ext
10671 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10672 $as_echo "$ac_header_preproc" >&6; }
10674 # So? What about this header?
10675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10678 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10680 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10681 ac_header_preproc=yes
10684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10685 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10687 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10689 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10691 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10693 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10695 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10699 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10700 $as_echo_n "checking for $ac_header... " >&6; }
10701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10702 $as_echo_n "(cached) " >&6
10704 eval "$as_ac_Header=\$ac_header_preproc"
10706 ac_res=`eval 'as_val=${'$as_ac_Header'}
10707 $as_echo "$as_val"'`
10708 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10709 $as_echo "$ac_res" >&6; }
10712 as_val=`eval 'as_val=${'$as_ac_Header'}
10713 $as_echo "$as_val"'`
10714 if test "x$as_val" = x""yes; then
10715 cat >>confdefs.h <<_ACEOF
10716 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10719 cat >>confdefs.h <<\_ACEOF
10720 #define HAVE_GETOPTLONG 1
10728 ################################################################################
10729 if test x$READLINE != xno; then
10732 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
10733 $as_echo_n "checking for readline in -lreadline... " >&6; }
10734 if test "${ac_cv_lib_readline_readline+set}" = set; then
10735 $as_echo_n "(cached) " >&6
10737 ac_check_lib_save_LIBS=$LIBS
10738 LIBS="-lreadline $LIBS"
10739 cat >conftest.$ac_ext <<_ACEOF
10742 cat confdefs.h >>conftest.$ac_ext
10743 cat >>conftest.$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10746 /* Override any GCC internal prototype to avoid an error.
10747 Use char because int might match the return type of a GCC
10748 builtin and then its argument prototype would still apply. */
10756 return readline ();
10761 rm -f conftest.$ac_objext conftest$ac_exeext
10762 if { (ac_try="$ac_link"
10763 case "(($ac_try" in
10764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10765 *) ac_try_echo
=$ac_try;;
10767 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10768 $as_echo "$ac_try_echo") >&5
10769 (eval "$ac_link") 2>conftest.er1
10771 grep -v '^ *+' conftest.er1
>conftest.err
10773 cat conftest.err
>&5
10774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); } && {
10776 test -z "$ac_c_werror_flag" ||
10777 test ! -s conftest.err
10778 } && test -s conftest
$ac_exeext && {
10779 test "$cross_compiling" = yes ||
10780 $as_test_x conftest
$ac_exeext
10782 ac_cv_lib_readline_readline
=yes
10784 $as_echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.
$ac_ext >&5
10787 ac_cv_lib_readline_readline
=no
10790 rm -rf conftest.dSYM
10791 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10792 conftest
$ac_exeext conftest.
$ac_ext
10793 LIBS
=$ac_check_lib_save_LIBS
10795 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
10796 $as_echo "$ac_cv_lib_readline_readline" >&6; }
10797 if test "x$ac_cv_lib_readline_readline" = x
""yes; then
10798 cat >>confdefs.h
<<_ACEOF
10799 #define HAVE_LIBREADLINE 1
10802 LIBS
="-lreadline $LIBS"
10808 test x
$READLINE:$rl_found = xyes
:no
&&
10809 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
10810 --enable-readline option (which is enabled by default). Either disable readline
10811 support with --disable-readline or download and install readline from:
10812 ftp.gnu.org/gnu/readline
10813 Note: if you are using precompiled packages you will also need the development
10814 package as well (which may be called readline-devel or something similar).
10816 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
10817 --enable-readline option (which is enabled by default). Either disable readline
10818 support with --disable-readline or download and install readline from:
10819 ftp.gnu.org/gnu/readline
10820 Note: if you are using precompiled packages you will also need the development
10821 package as well (which may be called readline-devel or something similar).
10823 { (exit 1); exit 1; }; }
10824 if test $rl_found = yes; then
10826 for ac_func
in rl_completion_matches
10828 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10829 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10830 $as_echo_n "checking for $ac_func... " >&6; }
10831 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10832 $as_echo_n "(cached) " >&6
10834 cat >conftest.
$ac_ext <<_ACEOF
10837 cat confdefs.h
>>conftest.
$ac_ext
10838 cat >>conftest.
$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10842 #define $ac_func innocuous_$ac_func
10844 /* System header to define __stub macros and hopefully few prototypes,
10845 which can conflict with char $ac_func (); below.
10846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10847 <limits.h> exists even on freestanding compilers. */
10850 # include <limits.h>
10852 # include <assert.h>
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10864 /* The GNU C library defines this for functions which it implements
10865 to always fail with ENOSYS. Some functions are actually named
10866 something starting with __ and the normal name is an alias. */
10867 #if defined __stub_$ac_func || defined __stub___$ac_func
10874 return $ac_func ();
10879 rm -f conftest.
$ac_objext conftest
$ac_exeext
10880 if { (ac_try
="$ac_link"
10881 case "(($ac_try" in
10882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10883 *) ac_try_echo=$ac_try;;
10885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10886 $as_echo "$ac_try_echo") >&5
10887 (eval "$ac_link") 2>conftest.er1
10889 grep -v '^ *+' conftest.er1 >conftest.err
10891 cat conftest.err >&5
10892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err
10896 } && test -s conftest$ac_exeext && {
10897 test "$cross_compiling" = yes ||
10898 $as_test_x conftest$ac_exeext
10900 eval "$as_ac_var=yes"
10902 $as_echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10905 eval "$as_ac_var=no"
10908 rm -rf conftest.dSYM
10909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10910 conftest$ac_exeext conftest.$ac_ext
10912 ac_res=`eval 'as_val=${'$as_ac_var'}
10913 $as_echo "$as_val"'`
10914 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10915 $as_echo "$ac_res" >&6; }
10916 as_val=`eval 'as_val=${'$as_ac_var'}
10917 $as_echo "$as_val"'`
10918 if test "x$as_val" = x""yes; then
10919 cat >>confdefs.h <<_ACEOF
10920 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10927 cat >>confdefs.h <<\_ACEOF
10928 #define READLINE_SUPPORT 1
10934 ################################################################################
10935 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
10936 $as_echo_n "checking whether to enable internationalisation... " >&6; }
10937 # Check whether --enable-nls was given.
10938 if test "${enable_nls+set}" = set; then
10939 enableval=$enable_nls; INTL=$enableval
10944 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
10945 $as_echo "$INTL" >&6; }
10947 if test x$INTL = xyes; then
10948 # FIXME - Move this - can be device-mapper too
10949 INTL_PACKAGE="lvm2"
10950 # Extract the first word of "msgfmt", so it can be a program name with args.
10951 set dummy msgfmt; ac_word=$2
10952 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10953 $as_echo_n "checking for $ac_word... " >&6; }
10954 if test "${ac_cv_path_MSGFMT+set}" = set; then
10955 $as_echo_n "(cached) " >&6
10959 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10963 for as_dir in $PATH
10966 test -z "$as_dir" && as_dir=.
10967 for ac_exec_ext in '' $ac_executable_extensions; do
10968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10969 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10970 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10980 MSGFMT=$ac_cv_path_MSGFMT
10981 if test -n "$MSGFMT"; then
10982 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
10983 $as_echo "$MSGFMT" >&6; }
10985 { $as_echo "$as_me:$LINENO: result: no" >&5
10986 $as_echo "no" >&6; }
10990 if [ "x$MSGFMT" == x ];
10991 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
10993 $as_echo "$as_me: error: msgfmt not found in path $PATH
10995 { (exit 1); exit 1; }; }
10999 # Check whether --with-localedir was given.
11000 if test "${with_localedir+set}" = set; then
11001 withval=$with_localedir; LOCALEDIR="$withval"
11003 LOCALEDIR='${prefix}/share/locale'
11008 ################################################################################
11010 # Check whether --with-confdir was given.
11011 if test "${with_confdir+set}" = set; then
11012 withval=$with_confdir; CONFDIR="$withval"
11019 # Check whether --with-staticdir was given.
11020 if test "${with_staticdir+set}" = set; then
11021 withval=$with_staticdir; STATICDIR="$withval"
11023 STATICDIR='${exec_prefix}/sbin'
11028 # Check whether --with-usrlibdir was given.
11029 if test "${with_usrlibdir+set}" = set; then
11030 withval=$with_usrlibdir; usrlibdir="$withval"
11032 usrlibdir='${prefix}/lib'
11037 # Check whether --with-usrsbindir was given.
11038 if test "${with_usrsbindir+set}" = set; then
11039 withval=$with_usrsbindir; usrsbindir="$withval"
11041 usrsbindir='${prefix}/sbin'
11045 ################################################################################
11047 # Check whether --with-udev_prefix was given.
11048 if test "${with_udev_prefix+set}" = set; then
11049 withval=$with_udev_prefix; udev_prefix="$withval"
11051 udev_prefix='${exec_prefix}'
11055 udevdir='${udev_prefix}/lib/udev/rules.d'
11057 ################################################################################
11058 if test x$READLINE = xyes; then
11061 for ac_header in readline/readline.h readline/history.h
11063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11064 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11065 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11066 $as_echo_n "checking for $ac_header... " >&6; }
11067 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11068 $as_echo_n "(cached) " >&6
11070 ac_res=`eval 'as_val=${'$as_ac_Header'}
11071 $as_echo "$as_val"'`
11072 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11073 $as_echo "$ac_res" >&6; }
11075 # Is the header compilable?
11076 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11077 $as_echo_n "checking $ac_header usability... " >&6; }
11078 cat >conftest.$ac_ext <<_ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 $ac_includes_default
11085 #include <$ac_header>
11087 rm -f conftest.$ac_objext
11088 if { (ac_try="$ac_compile"
11089 case "(($ac_try" in
11090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11091 *) ac_try_echo
=$ac_try;;
11093 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11094 $as_echo "$ac_try_echo") >&5
11095 (eval "$ac_compile") 2>conftest.er1
11097 grep -v '^ *+' conftest.er1
>conftest.err
11099 cat conftest.err
>&5
11100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } && {
11102 test -z "$ac_c_werror_flag" ||
11103 test ! -s conftest.err
11104 } && test -s conftest.
$ac_objext; then
11105 ac_header_compiler
=yes
11107 $as_echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.
$ac_ext >&5
11110 ac_header_compiler
=no
11113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11114 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11115 $as_echo "$ac_header_compiler" >&6; }
11117 # Is the header present?
11118 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11119 $as_echo_n "checking $ac_header presence... " >&6; }
11120 cat >conftest.
$ac_ext <<_ACEOF
11123 cat confdefs.h
>>conftest.
$ac_ext
11124 cat >>conftest.
$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 #include <$ac_header>
11128 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11129 case "(($ac_try" in
11130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11131 *) ac_try_echo=$ac_try;;
11133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11134 $as_echo "$ac_try_echo") >&5
11135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11137 grep -v '^ *+' conftest.er1 >conftest.err
11139 cat conftest.err >&5
11140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } >/dev/null && {
11142 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11143 test ! -s conftest.err
11145 ac_header_preproc=yes
11147 $as_echo "$as_me: failed program was:" >&5
11148 sed 's/^/| /' conftest.$ac_ext >&5
11150 ac_header_preproc=no
11153 rm -f conftest.err conftest.$ac_ext
11154 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11155 $as_echo "$ac_header_preproc" >&6; }
11157 # So? What about this header?
11158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11161 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11163 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11164 ac_header_preproc=yes
11167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11168 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11170 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11172 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11174 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11176 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11178 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11182 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11183 $as_echo_n "checking for $ac_header... " >&6; }
11184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11185 $as_echo_n "(cached) " >&6
11187 eval "$as_ac_Header=\$ac_header_preproc"
11189 ac_res=`eval 'as_val=${'$as_ac_Header'}
11190 $as_echo "$as_val"'`
11191 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11192 $as_echo "$ac_res" >&6; }
11195 as_val=`eval 'as_val=${'$as_ac_Header'}
11196 $as_echo "$as_val"'`
11197 if test "x$as_val" = x""yes; then
11198 cat >>confdefs.h <<_ACEOF
11199 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11203 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11204 $as_echo "$as_me: error: bailing out" >&2;}
11205 { (exit 1); exit 1; }; }
11212 if test x$CLVMD != xnone; then
11223 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
11225 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11227 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11228 $as_echo_n "checking for $ac_header... " >&6; }
11229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11230 $as_echo_n "(cached) " >&6
11232 ac_res=`eval 'as_val=${'$as_ac_Header'}
11233 $as_echo "$as_val"'`
11234 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11235 $as_echo "$ac_res" >&6; }
11237 # Is the header compilable?
11238 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11239 $as_echo_n "checking $ac_header usability... " >&6; }
11240 cat >conftest.$ac_ext <<_ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11246 $ac_includes_default
11247 #include <$ac_header>
11249 rm -f conftest.$ac_objext
11250 if { (ac_try="$ac_compile"
11251 case "(($ac_try" in
11252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11253 *) ac_try_echo
=$ac_try;;
11255 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11256 $as_echo "$ac_try_echo") >&5
11257 (eval "$ac_compile") 2>conftest.er1
11259 grep -v '^ *+' conftest.er1
>conftest.err
11261 cat conftest.err
>&5
11262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } && {
11264 test -z "$ac_c_werror_flag" ||
11265 test ! -s conftest.err
11266 } && test -s conftest.
$ac_objext; then
11267 ac_header_compiler
=yes
11269 $as_echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.
$ac_ext >&5
11272 ac_header_compiler
=no
11275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11276 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11277 $as_echo "$ac_header_compiler" >&6; }
11279 # Is the header present?
11280 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11281 $as_echo_n "checking $ac_header presence... " >&6; }
11282 cat >conftest.
$ac_ext <<_ACEOF
11285 cat confdefs.h
>>conftest.
$ac_ext
11286 cat >>conftest.
$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <$ac_header>
11290 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11291 case "(($ac_try" in
11292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11296 $as_echo "$ac_try_echo") >&5
11297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11299 grep -v '^ *+' conftest.er1 >conftest.err
11301 cat conftest.err >&5
11302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); } >/dev/null && {
11304 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11305 test ! -s conftest.err
11307 ac_header_preproc=yes
11309 $as_echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11312 ac_header_preproc=no
11315 rm -f conftest.err conftest.$ac_ext
11316 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11317 $as_echo "$ac_header_preproc" >&6; }
11319 # So? What about this header?
11320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11323 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11325 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11326 ac_header_preproc=yes
11329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11330 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11332 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11334 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11336 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11338 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11340 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11344 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11345 $as_echo_n "checking for $ac_header... " >&6; }
11346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11347 $as_echo_n "(cached) " >&6
11349 eval "$as_ac_Header=\$ac_header_preproc"
11351 ac_res=`eval 'as_val=${'$as_ac_Header'}
11352 $as_echo "$as_val"'`
11353 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11354 $as_echo "$ac_res" >&6; }
11357 as_val=`eval 'as_val=${'$as_ac_Header'}
11358 $as_echo "$as_val"'`
11359 if test "x$as_val" = x""yes; then
11360 cat >>confdefs.h <<_ACEOF
11361 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11365 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11366 $as_echo "$as_me: error: bailing out" >&2;}
11367 { (exit 1); exit 1; }; }
11377 for ac_func in dup2 getmntent memmove select socket
11379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11380 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11381 $as_echo_n "checking for $ac_func... " >&6; }
11382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11383 $as_echo_n "(cached) " >&6
11385 cat >conftest.$ac_ext <<_ACEOF
11388 cat confdefs.h >>conftest.$ac_ext
11389 cat >>conftest.$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11393 #define $ac_func innocuous_$ac_func
11395 /* System header to define __stub macros and hopefully few prototypes,
11396 which can conflict with char $ac_func (); below.
11397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11398 <limits.h> exists even on freestanding compilers. */
11401 # include <limits.h>
11403 # include <assert.h>
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11415 /* The GNU C library defines this for functions which it implements
11416 to always fail with ENOSYS. Some functions are actually named
11417 something starting with __ and the normal name is an alias. */
11418 #if defined __stub_$ac_func || defined __stub___$ac_func
11425 return $ac_func ();
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (ac_try="$ac_link"
11432 case "(($ac_try" in
11433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11434 *) ac_try_echo
=$ac_try;;
11436 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11437 $as_echo "$ac_try_echo") >&5
11438 (eval "$ac_link") 2>conftest.er1
11440 grep -v '^ *+' conftest.er1
>conftest.err
11442 cat conftest.err
>&5
11443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } && {
11445 test -z "$ac_c_werror_flag" ||
11446 test ! -s conftest.err
11447 } && test -s conftest
$ac_exeext && {
11448 test "$cross_compiling" = yes ||
11449 $as_test_x conftest
$ac_exeext
11451 eval "$as_ac_var=yes"
11453 $as_echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.
$ac_ext >&5
11456 eval "$as_ac_var=no"
11459 rm -rf conftest.dSYM
11460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11461 conftest
$ac_exeext conftest.
$ac_ext
11463 ac_res
=`eval 'as_val=${'$as_ac_var'}
11464 $as_echo "$as_val"'`
11465 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11466 $as_echo "$ac_res" >&6; }
11467 as_val
=`eval 'as_val=${'$as_ac_var'}
11468 $as_echo "$as_val"'`
11469 if test "x$as_val" = x
""yes; then
11470 cat >>confdefs.h
<<_ACEOF
11471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11475 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11476 $as_echo "$as_me: error: bailing out" >&2;}
11477 { (exit 1); exit 1; }; }
11481 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
11482 # -lseq on Dynix/PTX, -lgen on Unixware.
11483 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
11484 $as_echo_n "checking for library containing getmntent... " >&6; }
11485 if test "${ac_cv_search_getmntent+set}" = set; then
11486 $as_echo_n "(cached) " >&6
11488 ac_func_search_save_LIBS
=$LIBS
11489 cat >conftest.
$ac_ext <<_ACEOF
11492 cat confdefs.h
>>conftest.
$ac_ext
11493 cat >>conftest.
$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11506 return getmntent ();
11511 for ac_lib
in '' sun
seq gen
; do
11512 if test -z "$ac_lib"; then
11513 ac_res
="none required"
11516 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11518 rm -f conftest.
$ac_objext conftest
$ac_exeext
11519 if { (ac_try
="$ac_link"
11520 case "(($ac_try" in
11521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11525 $as_echo "$ac_try_echo") >&5
11526 (eval "$ac_link") 2>conftest.er1
11528 grep -v '^ *+' conftest.er1 >conftest.err
11530 cat conftest.err >&5
11531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest$ac_exeext && {
11536 test "$cross_compiling" = yes ||
11537 $as_test_x conftest$ac_exeext
11539 ac_cv_search_getmntent=$ac_res
11541 $as_echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11547 rm -rf conftest.dSYM
11548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11550 if test "${ac_cv_search_getmntent+set}" = set; then
11554 if test "${ac_cv_search_getmntent+set}" = set; then
11557 ac_cv_search_getmntent=no
11559 rm conftest.$ac_ext
11560 LIBS=$ac_func_search_save_LIBS
11562 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
11563 $as_echo "$ac_cv_search_getmntent" >&6; }
11564 ac_res=$ac_cv_search_getmntent
11565 if test "$ac_res" != no; then
11566 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11567 ac_cv_func_getmntent=yes
11569 cat >>confdefs.h <<\_ACEOF
11570 #define HAVE_GETMNTENT 1
11574 ac_cv_func_getmntent=no
11581 for ac_header in sys/select.h sys/socket.h
11583 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11585 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11586 $as_echo_n "checking for $ac_header... " >&6; }
11587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11588 $as_echo_n "(cached) " >&6
11590 ac_res=`eval 'as_val=${'$as_ac_Header'}
11591 $as_echo "$as_val"'`
11592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11593 $as_echo "$ac_res" >&6; }
11595 # Is the header compilable?
11596 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11597 $as_echo_n "checking $ac_header usability... " >&6; }
11598 cat >conftest.$ac_ext <<_ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 $ac_includes_default
11605 #include <$ac_header>
11607 rm -f conftest.$ac_objext
11608 if { (ac_try="$ac_compile"
11609 case "(($ac_try" in
11610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11611 *) ac_try_echo
=$ac_try;;
11613 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11614 $as_echo "$ac_try_echo") >&5
11615 (eval "$ac_compile") 2>conftest.er1
11617 grep -v '^ *+' conftest.er1
>conftest.err
11619 cat conftest.err
>&5
11620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } && {
11622 test -z "$ac_c_werror_flag" ||
11623 test ! -s conftest.err
11624 } && test -s conftest.
$ac_objext; then
11625 ac_header_compiler
=yes
11627 $as_echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.
$ac_ext >&5
11630 ac_header_compiler
=no
11633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11635 $as_echo "$ac_header_compiler" >&6; }
11637 # Is the header present?
11638 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11639 $as_echo_n "checking $ac_header presence... " >&6; }
11640 cat >conftest.
$ac_ext <<_ACEOF
11643 cat confdefs.h
>>conftest.
$ac_ext
11644 cat >>conftest.
$ac_ext <<_ACEOF
11645 /* end confdefs.h. */
11646 #include <$ac_header>
11648 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11649 case "(($ac_try" in
11650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11651 *) ac_try_echo=$ac_try;;
11653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11654 $as_echo "$ac_try_echo") >&5
11655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11657 grep -v '^ *+' conftest.er1 >conftest.err
11659 cat conftest.err >&5
11660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } >/dev/null && {
11662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11663 test ! -s conftest.err
11665 ac_header_preproc=yes
11667 $as_echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11670 ac_header_preproc=no
11673 rm -f conftest.err conftest.$ac_ext
11674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11675 $as_echo "$ac_header_preproc" >&6; }
11677 # So? What about this header?
11678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11681 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11684 ac_header_preproc=yes
11687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11688 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11689 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11690 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11691 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11692 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11694 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11696 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11698 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11702 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11703 $as_echo_n "checking for $ac_header... " >&6; }
11704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11705 $as_echo_n "(cached) " >&6
11707 eval "$as_ac_Header=\$ac_header_preproc"
11709 ac_res=`eval 'as_val=${'$as_ac_Header'}
11710 $as_echo "$as_val"'`
11711 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11712 $as_echo "$ac_res" >&6; }
11715 as_val=`eval 'as_val=${'$as_ac_Header'}
11716 $as_echo "$as_val"'`
11717 if test "x$as_val" = x""yes; then
11718 cat >>confdefs.h <<_ACEOF
11719 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11726 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
11727 $as_echo_n "checking types of arguments for select... " >&6; }
11728 if test "${ac_cv_func_select_args+set}" = set; then
11729 $as_echo_n "(cached) " >&6
11731 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
11732 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
11733 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
11734 cat >conftest.$ac_ext <<_ACEOF
11737 cat confdefs.h >>conftest.$ac_ext
11738 cat >>conftest.$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 $ac_includes_default
11741 #ifdef HAVE_SYS_SELECT_H
11742 # include <sys/select.h>
11744 #ifdef HAVE_SYS_SOCKET_H
11745 # include <sys/socket.h>
11751 extern int select ($ac_arg1,
11752 $ac_arg234, $ac_arg234, $ac_arg234,
11758 rm -f conftest.$ac_objext
11759 if { (ac_try="$ac_compile"
11760 case "(($ac_try" in
11761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11762 *) ac_try_echo
=$ac_try;;
11764 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11765 $as_echo "$ac_try_echo") >&5
11766 (eval "$ac_compile") 2>conftest.er1
11768 grep -v '^ *+' conftest.er1
>conftest.err
11770 cat conftest.err
>&5
11771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } && {
11773 test -z "$ac_c_werror_flag" ||
11774 test ! -s conftest.err
11775 } && test -s conftest.
$ac_objext; then
11776 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11778 $as_echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.
$ac_ext >&5
11784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11788 # Provide a safe default value.
11789 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
11792 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
11793 $as_echo "$ac_cv_func_select_args" >&6; }
11794 ac_save_IFS
=$IFS; IFS
=','
11795 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11799 cat >>confdefs.h
<<_ACEOF
11800 #define SELECT_TYPE_ARG1 $1
11804 cat >>confdefs.h
<<_ACEOF
11805 #define SELECT_TYPE_ARG234 ($2)
11809 cat >>confdefs.h
<<_ACEOF
11810 #define SELECT_TYPE_ARG5 ($3)
11817 if test x
$CLUSTER != xnone
; then
11820 for ac_header
in sys
/socket.h sys
/un.h
11822 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11823 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11824 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11825 $as_echo_n "checking for $ac_header... " >&6; }
11826 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11827 $as_echo_n "(cached) " >&6
11829 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11830 $as_echo "$as_val"'`
11831 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11832 $as_echo "$ac_res" >&6; }
11834 # Is the header compilable?
11835 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11836 $as_echo_n "checking $ac_header usability... " >&6; }
11837 cat >conftest.
$ac_ext <<_ACEOF
11840 cat confdefs.h
>>conftest.
$ac_ext
11841 cat >>conftest.
$ac_ext <<_ACEOF
11842 /* end confdefs.h. */
11843 $ac_includes_default
11844 #include <$ac_header>
11846 rm -f conftest.
$ac_objext
11847 if { (ac_try
="$ac_compile"
11848 case "(($ac_try" in
11849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11850 *) ac_try_echo=$ac_try;;
11852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11853 $as_echo "$ac_try_echo") >&5
11854 (eval "$ac_compile") 2>conftest.er1
11856 grep -v '^ *+' conftest.er1 >conftest.err
11858 cat conftest.err >&5
11859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } && {
11861 test -z "$ac_c_werror_flag" ||
11862 test ! -s conftest.err
11863 } && test -s conftest.$ac_objext; then
11864 ac_header_compiler=yes
11866 $as_echo "$as_me: failed program was:" >&5
11867 sed 's/^/| /' conftest.$ac_ext >&5
11869 ac_header_compiler=no
11872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11873 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11874 $as_echo "$ac_header_compiler" >&6; }
11876 # Is the header present?
11877 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11878 $as_echo_n "checking $ac_header presence... " >&6; }
11879 cat >conftest.$ac_ext <<_ACEOF
11882 cat confdefs.h >>conftest.$ac_ext
11883 cat >>conftest.$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11885 #include <$ac_header>
11887 if { (ac_try="$ac_cpp conftest.$ac_ext"
11888 case "(($ac_try" in
11889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11890 *) ac_try_echo
=$ac_try;;
11892 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11893 $as_echo "$ac_try_echo") >&5
11894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11896 grep -v '^ *+' conftest.er1
>conftest.err
11898 cat conftest.err
>&5
11899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); } >/dev
/null
&& {
11901 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11902 test ! -s conftest.err
11904 ac_header_preproc
=yes
11906 $as_echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.
$ac_ext >&5
11909 ac_header_preproc
=no
11912 rm -f conftest.err conftest.
$ac_ext
11913 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11914 $as_echo "$ac_header_preproc" >&6; }
11916 # So? What about this header?
11917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11919 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11920 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11921 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11922 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11923 ac_header_preproc
=yes
11926 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11927 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11929 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11931 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11933 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11935 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11937 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11941 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11942 $as_echo_n "checking for $ac_header... " >&6; }
11943 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11944 $as_echo_n "(cached) " >&6
11946 eval "$as_ac_Header=\$ac_header_preproc"
11948 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11949 $as_echo "$as_val"'`
11950 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11951 $as_echo "$ac_res" >&6; }
11954 as_val
=`eval 'as_val=${'$as_ac_Header'}
11955 $as_echo "$as_val"'`
11956 if test "x$as_val" = x
""yes; then
11957 cat >>confdefs.h
<<_ACEOF
11958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11962 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11963 $as_echo "$as_me: error: bailing out" >&2;}
11964 { (exit 1); exit 1; }; }
11970 for ac_func
in socket
11972 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11973 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11974 $as_echo_n "checking for $ac_func... " >&6; }
11975 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11976 $as_echo_n "(cached) " >&6
11978 cat >conftest.
$ac_ext <<_ACEOF
11981 cat confdefs.h
>>conftest.
$ac_ext
11982 cat >>conftest.
$ac_ext <<_ACEOF
11983 /* end confdefs.h. */
11984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11986 #define $ac_func innocuous_$ac_func
11988 /* System header to define __stub macros and hopefully few prototypes,
11989 which can conflict with char $ac_func (); below.
11990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11991 <limits.h> exists even on freestanding compilers. */
11994 # include <limits.h>
11996 # include <assert.h>
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12008 /* The GNU C library defines this for functions which it implements
12009 to always fail with ENOSYS. Some functions are actually named
12010 something starting with __ and the normal name is an alias. */
12011 #if defined __stub_$ac_func || defined __stub___$ac_func
12018 return $ac_func ();
12023 rm -f conftest.
$ac_objext conftest
$ac_exeext
12024 if { (ac_try
="$ac_link"
12025 case "(($ac_try" in
12026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12027 *) ac_try_echo=$ac_try;;
12029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12030 $as_echo "$ac_try_echo") >&5
12031 (eval "$ac_link") 2>conftest.er1
12033 grep -v '^ *+' conftest.er1 >conftest.err
12035 cat conftest.err >&5
12036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); } && {
12038 test -z "$ac_c_werror_flag" ||
12039 test ! -s conftest.err
12040 } && test -s conftest$ac_exeext && {
12041 test "$cross_compiling" = yes ||
12042 $as_test_x conftest$ac_exeext
12044 eval "$as_ac_var=yes"
12046 $as_echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5
12049 eval "$as_ac_var=no"
12052 rm -rf conftest.dSYM
12053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12054 conftest$ac_exeext conftest.$ac_ext
12056 ac_res=`eval 'as_val=${'$as_ac_var'}
12057 $as_echo "$as_val"'`
12058 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12059 $as_echo "$ac_res" >&6; }
12060 as_val=`eval 'as_val=${'$as_ac_var'}
12061 $as_echo "$as_val"'`
12062 if test "x$as_val" = x""yes; then
12063 cat >>confdefs.h <<_ACEOF
12064 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12068 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
12069 $as_echo "$as_me: error: bailing out" >&2;}
12070 { (exit 1); exit 1; }; }
12076 if test x$HAVE_LIBDL = xyes; then
12078 for ac_header in dlfcn.h
12080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12082 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12083 $as_echo_n "checking for $ac_header... " >&6; }
12084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12085 $as_echo_n "(cached) " >&6
12087 ac_res=`eval 'as_val=${'$as_ac_Header'}
12088 $as_echo "$as_val"'`
12089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12090 $as_echo "$ac_res" >&6; }
12092 # Is the header compilable?
12093 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12094 $as_echo_n "checking $ac_header usability... " >&6; }
12095 cat >conftest.$ac_ext <<_ACEOF
12098 cat confdefs.h >>conftest.$ac_ext
12099 cat >>conftest.$ac_ext <<_ACEOF
12100 /* end confdefs.h. */
12101 $ac_includes_default
12102 #include <$ac_header>
12104 rm -f conftest.$ac_objext
12105 if { (ac_try="$ac_compile"
12106 case "(($ac_try" in
12107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12108 *) ac_try_echo
=$ac_try;;
12110 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12111 $as_echo "$ac_try_echo") >&5
12112 (eval "$ac_compile") 2>conftest.er1
12114 grep -v '^ *+' conftest.er1
>conftest.err
12116 cat conftest.err
>&5
12117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && {
12119 test -z "$ac_c_werror_flag" ||
12120 test ! -s conftest.err
12121 } && test -s conftest.
$ac_objext; then
12122 ac_header_compiler
=yes
12124 $as_echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12127 ac_header_compiler
=no
12130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12131 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12132 $as_echo "$ac_header_compiler" >&6; }
12134 # Is the header present?
12135 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12136 $as_echo_n "checking $ac_header presence... " >&6; }
12137 cat >conftest.
$ac_ext <<_ACEOF
12140 cat confdefs.h
>>conftest.
$ac_ext
12141 cat >>conftest.
$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12143 #include <$ac_header>
12145 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12146 case "(($ac_try" in
12147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12148 *) ac_try_echo=$ac_try;;
12150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12151 $as_echo "$ac_try_echo") >&5
12152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12154 grep -v '^ *+' conftest.er1 >conftest.err
12156 cat conftest.err >&5
12157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } >/dev/null && {
12159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12160 test ! -s conftest.err
12162 ac_header_preproc=yes
12164 $as_echo "$as_me: failed program was:" >&5
12165 sed 's/^/| /' conftest.$ac_ext >&5
12167 ac_header_preproc=no
12170 rm -f conftest.err conftest.$ac_ext
12171 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12172 $as_echo "$ac_header_preproc" >&6; }
12174 # So? What about this header?
12175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12178 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12180 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12181 ac_header_preproc=yes
12184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12185 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12187 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12189 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12191 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12193 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12195 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12199 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12200 $as_echo_n "checking for $ac_header... " >&6; }
12201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12202 $as_echo_n "(cached) " >&6
12204 eval "$as_ac_Header=\$ac_header_preproc"
12206 ac_res=`eval 'as_val=${'$as_ac_Header'}
12207 $as_echo "$as_val"'`
12208 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12209 $as_echo "$ac_res" >&6; }
12212 as_val=`eval 'as_val=${'$as_ac_Header'}
12213 $as_echo "$as_val"'`
12214 if test "x$as_val" = x""yes; then
12215 cat >>confdefs.h <<_ACEOF
12216 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12220 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
12221 $as_echo "$as_me: error: bailing out" >&2;}
12222 { (exit 1); exit 1; }; }
12229 if test x$INTL = xyes; then
12231 for ac_header in libintl.h
12233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12235 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12236 $as_echo_n "checking for $ac_header... " >&6; }
12237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12238 $as_echo_n "(cached) " >&6
12240 ac_res=`eval 'as_val=${'$as_ac_Header'}
12241 $as_echo "$as_val"'`
12242 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12243 $as_echo "$ac_res" >&6; }
12245 # Is the header compilable?
12246 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12247 $as_echo_n "checking $ac_header usability... " >&6; }
12248 cat >conftest.$ac_ext <<_ACEOF
12251 cat confdefs.h >>conftest.$ac_ext
12252 cat >>conftest.$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12254 $ac_includes_default
12255 #include <$ac_header>
12257 rm -f conftest.$ac_objext
12258 if { (ac_try="$ac_compile"
12259 case "(($ac_try" in
12260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12261 *) ac_try_echo
=$ac_try;;
12263 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12264 $as_echo "$ac_try_echo") >&5
12265 (eval "$ac_compile") 2>conftest.er1
12267 grep -v '^ *+' conftest.er1
>conftest.err
12269 cat conftest.err
>&5
12270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } && {
12272 test -z "$ac_c_werror_flag" ||
12273 test ! -s conftest.err
12274 } && test -s conftest.
$ac_objext; then
12275 ac_header_compiler
=yes
12277 $as_echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.
$ac_ext >&5
12280 ac_header_compiler
=no
12283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12284 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12285 $as_echo "$ac_header_compiler" >&6; }
12287 # Is the header present?
12288 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12289 $as_echo_n "checking $ac_header presence... " >&6; }
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296 #include <$ac_header>
12298 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12299 case "(($ac_try" in
12300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12301 *) ac_try_echo=$ac_try;;
12303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12304 $as_echo "$ac_try_echo") >&5
12305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12307 grep -v '^ *+' conftest.er1 >conftest.err
12309 cat conftest.err >&5
12310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } >/dev/null && {
12312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12313 test ! -s conftest.err
12315 ac_header_preproc=yes
12317 $as_echo "$as_me: failed program was:" >&5
12318 sed 's/^/| /' conftest.$ac_ext >&5
12320 ac_header_preproc=no
12323 rm -f conftest.err conftest.$ac_ext
12324 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12325 $as_echo "$ac_header_preproc" >&6; }
12327 # So? What about this header?
12328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12331 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12333 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12334 ac_header_preproc=yes
12337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12338 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12340 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12342 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12344 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12346 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12348 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12352 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12353 $as_echo_n "checking for $ac_header... " >&6; }
12354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12355 $as_echo_n "(cached) " >&6
12357 eval "$as_ac_Header=\$ac_header_preproc"
12359 ac_res=`eval 'as_val=${'$as_ac_Header'}
12360 $as_echo "$as_val"'`
12361 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12362 $as_echo "$ac_res" >&6; }
12365 as_val=`eval 'as_val=${'$as_ac_Header'}
12366 $as_echo "$as_val"'`
12367 if test "x$as_val" = x""yes; then
12368 cat >>confdefs.h <<_ACEOF
12369 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12373 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
12374 $as_echo "$as_me: error: bailing out" >&2;}
12375 { (exit 1); exit 1; }; }
12382 if test x$HAVE_SELINUX = xyes; then
12384 for ac_header in selinux/selinux.h
12386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12388 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12389 $as_echo_n "checking for $ac_header... " >&6; }
12390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12391 $as_echo_n "(cached) " >&6
12393 ac_res=`eval 'as_val=${'$as_ac_Header'}
12394 $as_echo "$as_val"'`
12395 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12396 $as_echo "$ac_res" >&6; }
12398 # Is the header compilable?
12399 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12400 $as_echo_n "checking $ac_header usability... " >&6; }
12401 cat >conftest.$ac_ext <<_ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 $ac_includes_default
12408 #include <$ac_header>
12410 rm -f conftest.$ac_objext
12411 if { (ac_try="$ac_compile"
12412 case "(($ac_try" in
12413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12414 *) ac_try_echo
=$ac_try;;
12416 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12417 $as_echo "$ac_try_echo") >&5
12418 (eval "$ac_compile") 2>conftest.er1
12420 grep -v '^ *+' conftest.er1
>conftest.err
12422 cat conftest.err
>&5
12423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); } && {
12425 test -z "$ac_c_werror_flag" ||
12426 test ! -s conftest.err
12427 } && test -s conftest.
$ac_objext; then
12428 ac_header_compiler
=yes
12430 $as_echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.
$ac_ext >&5
12433 ac_header_compiler
=no
12436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12437 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12438 $as_echo "$ac_header_compiler" >&6; }
12440 # Is the header present?
12441 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12442 $as_echo_n "checking $ac_header presence... " >&6; }
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 #include <$ac_header>
12451 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12452 case "(($ac_try" in
12453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12454 *) ac_try_echo=$ac_try;;
12456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12457 $as_echo "$ac_try_echo") >&5
12458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12460 grep -v '^ *+' conftest.er1 >conftest.err
12462 cat conftest.err >&5
12463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } >/dev/null && {
12465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12466 test ! -s conftest.err
12468 ac_header_preproc=yes
12470 $as_echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_header_preproc=no
12476 rm -f conftest.err conftest.$ac_ext
12477 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12478 $as_echo "$ac_header_preproc" >&6; }
12480 # So? What about this header?
12481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12484 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12486 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12487 ac_header_preproc=yes
12490 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12491 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12492 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12493 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12495 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12497 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12499 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12501 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12505 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12506 $as_echo_n "checking for $ac_header... " >&6; }
12507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12508 $as_echo_n "(cached) " >&6
12510 eval "$as_ac_Header=\$ac_header_preproc"
12512 ac_res=`eval 'as_val=${'$as_ac_Header'}
12513 $as_echo "$as_val"'`
12514 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12515 $as_echo "$ac_res" >&6; }
12518 as_val=`eval 'as_val=${'$as_ac_Header'}
12519 $as_echo "$as_val"'`
12520 if test "x$as_val" = x""yes; then
12521 cat >>confdefs.h <<_ACEOF
12522 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12526 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
12527 $as_echo "$as_me: error: bailing out" >&2;}
12528 { (exit 1); exit 1; }; }
12535 if test x$UDEV_SYNC = xyes; then
12538 for ac_header in sys/ipc.h sys/sem.h
12540 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12542 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12543 $as_echo_n "checking for $ac_header... " >&6; }
12544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12545 $as_echo_n "(cached) " >&6
12547 ac_res=`eval 'as_val=${'$as_ac_Header'}
12548 $as_echo "$as_val"'`
12549 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12550 $as_echo "$ac_res" >&6; }
12552 # Is the header compilable?
12553 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12554 $as_echo_n "checking $ac_header usability... " >&6; }
12555 cat >conftest.$ac_ext <<_ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561 $ac_includes_default
12562 #include <$ac_header>
12564 rm -f conftest.$ac_objext
12565 if { (ac_try="$ac_compile"
12566 case "(($ac_try" in
12567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12568 *) ac_try_echo
=$ac_try;;
12570 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12571 $as_echo "$ac_try_echo") >&5
12572 (eval "$ac_compile") 2>conftest.er1
12574 grep -v '^ *+' conftest.er1
>conftest.err
12576 cat conftest.err
>&5
12577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } && {
12579 test -z "$ac_c_werror_flag" ||
12580 test ! -s conftest.err
12581 } && test -s conftest.
$ac_objext; then
12582 ac_header_compiler
=yes
12584 $as_echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.
$ac_ext >&5
12587 ac_header_compiler
=no
12590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12591 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12592 $as_echo "$ac_header_compiler" >&6; }
12594 # Is the header present?
12595 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12596 $as_echo_n "checking $ac_header presence... " >&6; }
12597 cat >conftest.
$ac_ext <<_ACEOF
12600 cat confdefs.h
>>conftest.
$ac_ext
12601 cat >>conftest.
$ac_ext <<_ACEOF
12602 /* end confdefs.h. */
12603 #include <$ac_header>
12605 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12606 case "(($ac_try" in
12607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12608 *) ac_try_echo=$ac_try;;
12610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12611 $as_echo "$ac_try_echo") >&5
12612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12614 grep -v '^ *+' conftest.er1 >conftest.err
12616 cat conftest.err >&5
12617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } >/dev/null && {
12619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12622 ac_header_preproc=yes
12624 $as_echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ac_header_preproc=no
12630 rm -f conftest.err conftest.$ac_ext
12631 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12632 $as_echo "$ac_header_preproc" >&6; }
12634 # So? What about this header?
12635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12637 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12638 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12640 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12641 ac_header_preproc=yes
12644 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12645 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12647 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12649 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12651 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12653 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12655 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12659 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12660 $as_echo_n "checking for $ac_header... " >&6; }
12661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12662 $as_echo_n "(cached) " >&6
12664 eval "$as_ac_Header=\$ac_header_preproc"
12666 ac_res=`eval 'as_val=${'$as_ac_Header'}
12667 $as_echo "$as_val"'`
12668 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12669 $as_echo "$ac_res" >&6; }
12672 as_val=`eval 'as_val=${'$as_ac_Header'}
12673 $as_echo "$as_val"'`
12674 if test "x$as_val" = x""yes; then
12675 cat >>confdefs.h <<_ACEOF
12676 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12680 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
12681 $as_echo "$as_me: error: bailing out" >&2;}
12682 { (exit 1); exit 1; }; }
12689 ################################################################################
12690 # Extract the first word of "modprobe", so it can be a program name with args.
12691 set dummy modprobe; ac_word=$2
12692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12693 $as_echo_n "checking for $ac_word... " >&6; }
12694 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
12695 $as_echo_n "(cached) " >&6
12697 case $MODPROBE_CMD in
12699 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
12702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12703 for as_dir in $PATH
12706 test -z "$as_dir" && as_dir=.
12707 for ac_exec_ext in '' $ac_executable_extensions; do
12708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12709 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
12710 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12720 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
12721 if test -n "$MODPROBE_CMD"; then
12722 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
12723 $as_echo "$MODPROBE_CMD" >&6; }
12725 { $as_echo "$as_me:$LINENO: result: no" >&5
12726 $as_echo "no" >&6; }
12731 if test x$MODPROBE_CMD != x; then
12733 cat >>confdefs.h <<_ACEOF
12734 #define MODPROBE_CMD "$MODPROBE_CMD"
12739 ################################################################################
12742 if test "$BUILD_DMEVENTD" = yes; then
12744 # Check whether --with-dmeventd-pidfile was given.
12745 if test "${with_dmeventd_pidfile+set}" = set; then
12746 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
12747 #define DMEVENTD_PIDFILE "$withval"
12751 cat >>confdefs.h <<_ACEOF
12752 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
12761 if test "$BUILD_DMEVENTD" = yes; then
12762 dmeventd_prefix="$exec_prefix"
12763 if test "x$dmeventd_prefix" = "xNONE"; then
12764 dmeventd_prefix="$prefix"
12766 if test "x$dmeventd_prefix" = "xNONE"; then
12770 # Check whether --with-dmeventd-path was given.
12771 if test "${with_dmeventd_path+set}" = set; then
12772 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
12773 #define DMEVENTD_PATH "$withval"
12777 cat >>confdefs.h <<_ACEOF
12778 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
12785 ################################################################################
12786 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
12787 $as_echo_n "checking for kernel interface choice... " >&6; }
12789 # Check whether --with-interface was given.
12790 if test "${with_interface+set}" = set; then
12791 withval=$with_interface; interface="$withval"
12796 if [ "x$interface" != xioctl ];
12798 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
12799 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
12800 { (exit 1); exit 1; }; }
12802 { $as_echo "$as_me:$LINENO: result: $interface" >&5
12803 $as_echo "$interface" >&6; }
12805 ################################################################################
12806 DM_LIB_VERSION="\"`cat VERSION_DM
2>/dev
/null ||
echo Unknown
`\""
12808 cat >>confdefs.h <<_ACEOF
12809 #define DM_LIB_VERSION $DM_LIB_VERSION
12813 DM_LIB_PATCHLEVEL=`cat VERSION_DM |
$AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
12815 LVM_VERSION="\"`cat VERSION
2>/dev
/null ||
echo Unknown
`\""
12818 LVM_RELEASE_DATE="\"`echo $VER |
$SED 's/.* (//;s/).*//'`\""
12819 VER=`echo "$VER" |
$AWK '{print $1}'`
12820 LVM_RELEASE="\"`echo "$VER" |
$AWK -F '-' '{print $2}'`\""
12821 VER=`echo "$VER" |
$AWK -F '-' '{print $1}'`
12822 LVM_MAJOR=`echo "$VER" |
$AWK -F '.' '{print $1}'`
12823 LVM_MINOR=`echo "$VER" |
$AWK -F '.' '{print $2}'`
12824 LVM_PATCHLEVEL=`echo "$VER" |
$AWK -F '[(.]' '{print $3}'`
12825 LVM_LIBAPI=`echo "$VER" |
$AWK -F '[()]' '{print $2}'`
12827 ################################################################################
12898 ################################################################################
12899 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/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/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/Makefile test/Makefile test/api/Makefile tools/Makefile udev/Makefile"
12901 cat >confcache <<\_ACEOF
12902 # This file is a shell script that caches the results of configure
12903 # tests run on this system so they can be shared between configure
12904 # scripts and configure runs, see configure's option --config-cache.
12905 # It is not useful on other systems. If it contains results you don't
12906 # want to keep, you may remove or edit it.
12908 # config.status only pays attention to the cache file if you give it
12909 # the --recheck option to rerun configure.
12911 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12912 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12913 # following values.
12917 # The following way of writing the cache mishandles newlines in values,
12918 # but we know of no workaround that is simple, portable, and efficient.
12919 # So, we kill variables containing newlines.
12920 # Ultrix sh set writes to stderr and can't be redirected directly,
12921 # and sets the high bit in the cache file unless we assign to the vars.
12923 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12924 eval ac_val
=\$
$ac_var
12928 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12929 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12932 _ | IFS | as_nl
) ;; #(
12933 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12934 *) $as_unset $ac_var ;;
12940 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12941 *${as_nl}ac_space
=\
*)
12942 # `set' does not quote correctly, so add quotes (double-quote
12943 # substitution turns \\\\ into \\, and sed turns \\ into \).
12946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12949 # `set' quotes correctly as required by POSIX, so do not add quotes.
12950 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12959 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12961 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12963 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12964 if test -w "$cache_file"; then
12965 test "x$cache_file" != "x/dev/null" &&
12966 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12967 $as_echo "$as_me: updating cache $cache_file" >&6;}
12968 cat confcache
>$cache_file
12970 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12971 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12976 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12977 # Let make expand exec_prefix.
12978 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12980 DEFS
=-DHAVE_CONFIG_H
12984 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12985 # 1. Remove the extension, and $U if already installed.
12986 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12987 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12988 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12989 # will be set to the directory where LIBOBJS objects are built.
12990 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12991 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12993 LIBOBJS
=$ac_libobjs
12995 LTLIBOBJS
=$ac_ltlibobjs
12999 : ${CONFIG_STATUS=./config.status}
13001 ac_clean_files_save
=$ac_clean_files
13002 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13003 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13004 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13005 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13007 # Generated by $as_me.
13008 # Run this file to recreate the current configuration.
13009 # Compiler output produced by configure, useful for debugging
13010 # configure, is in config.log if it exists.
13013 ac_cs_recheck=false
13015 SHELL=\${CONFIG_SHELL-$SHELL}
13018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13019 ## --------------------- ##
13020 ## M4sh Initialization. ##
13021 ## --------------------- ##
13023 # Be more Bourne compatible
13024 DUALCASE
=1; export DUALCASE
# for MKS sh
13025 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13028 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13029 # is contrary to our usage. Disable this feature.
13030 alias -g '${1+"$@"}'='"$@"'
13031 setopt NO_GLOB_SUBST
13033 case `(set -o) 2>/dev/null` in
13034 *posix
*) set -o posix
;;
13043 # Avoid depending upon Character Ranges.
13044 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13045 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13046 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13047 as_cr_digits
='0123456789'
13048 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13053 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13054 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13055 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13056 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13057 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13058 as_echo='printf %s
\n'
13059 as_echo_n='printf %s
'
13061 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13062 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13063 as_echo_n='/usr
/ucb
/echo -n'
13065 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13066 as_echo_n_body='eval
13070 expr "X$arg" : "X\\(.*\\)$as_nl";
13071 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13073 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13075 export as_echo_n_body
13076 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13078 export as_echo_body
13079 as_echo='sh
-c $as_echo_body as_echo
'
13082 # The user is always right.
13083 if test "${PATH_SEPARATOR+set}" != set; then
13085 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13086 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13091 # Support unset when possible.
13092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13100 # We need space, tab and new line, in precisely that order. Quoting is
13101 # there to prevent editors from complaining about space-tab.
13102 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13103 # splitting by setting IFS to empty value.)
13106 # Find who we are. Look in the path if we contain no directory separator.
13108 *[\\/]* ) as_myself=$0 ;;
13109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13110 for as_dir in $PATH
13113 test -z "$as_dir" && as_dir=.
13114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13120 # We did not find ourselves, most probably we were run as `sh COMMAND'
13121 # in which case we are not to be found in the path.
13122 if test "x$as_myself" = x
; then
13125 if test ! -f "$as_myself"; then
13126 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13127 { (exit 1); exit 1; }
13130 # Work around bugs in pre-3.0 UWIN ksh.
13131 for as_var
in ENV MAIL MAILPATH
13132 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13144 # Required to use basename.
13145 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13146 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13152 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13153 as_basename
=basename
13159 # Name of the executable.
13160 as_me
=`$as_basename -- "$0" ||
13161 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13162 X"$0" : 'X\(//\)$' \| \
13163 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13165 sed '/^.*\/\([^/][^/]*\)\/*$/{
13184 as_lineno_1
=$LINENO
13185 as_lineno_2
=$LINENO
13186 test "x$as_lineno_1" != "x$as_lineno_2" &&
13187 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13189 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13190 # uniformly replaced by the line number. The first 'sed' inserts a
13191 # line-number line after each line using $LINENO; the second 'sed'
13192 # does the real work. The second script uses 'N' to pair each
13193 # line-number line with the line containing $LINENO, and appends
13194 # trailing '-' during substitution so that $LINENO is not a special
13195 # case at line end.
13196 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13197 # scripts with optimization help from Paolo Bonzini. Blame Lee
13198 # E. McMahon (1931-1989) for sed's syntax. :-)
13210 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13213 ' >$as_me.lineno
&&
13214 chmod +x
"$as_me.lineno" ||
13215 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13216 { (exit 1); exit 1; }; }
13218 # Don't try to exec as it changes $[0], causing all sort of problems
13219 # (the dirname of $[0] is not the place where we might find the
13220 # original and so on. Autoconf is especially sensitive to this).
13221 .
"./$as_me.lineno"
13222 # Exit status is that of the last command.
13227 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13233 ECHO_C
= ECHO_N
= ECHO_T
=
13234 case `echo -n x` in
13236 case `echo 'x\c'` in
13237 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13243 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13244 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13250 rm -f conf$$ conf$$.exe conf$$.
file
13251 if test -d conf$$.dir
; then
13252 rm -f conf$$.dir
/conf$$.
file
13255 mkdir conf$$.dir
2>/dev
/null
13257 if (echo >conf$$.
file) 2>/dev
/null
; then
13258 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13260 # ... but there are two gotchas:
13261 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13262 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13263 # In both cases, we have to default to `cp -p'.
13264 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13266 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13274 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13275 rmdir conf$$.dir
2>/dev
/null
13277 if mkdir
-p .
2>/dev
/null
; then
13280 test -d .
/-p && rmdir .
/-p
13284 if test -x / >/dev
/null
2>&1; then
13285 as_test_x
='test -x'
13287 if ls -dL / >/dev
/null
2>&1; then
13294 if test -d "$1"; then
13300 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13301 ???[sx]*):;;*)false;;esac;fi
13305 as_executable_p
=$as_test_x
13307 # Sed expression to map a string onto a valid CPP name.
13308 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13310 # Sed expression to map a string onto a valid variable name.
13311 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13316 # Save the log message, to keep $[0] and so on meaningful, and to
13317 # report actual input values of CONFIG_FILES etc. instead of their
13318 # values after options handling.
13320 This file was extended by $as_me, which was
13321 generated by GNU Autoconf 2.63. Invocation command line was
13323 CONFIG_FILES = $CONFIG_FILES
13324 CONFIG_HEADERS = $CONFIG_HEADERS
13325 CONFIG_LINKS = $CONFIG_LINKS
13326 CONFIG_COMMANDS = $CONFIG_COMMANDS
13329 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13334 case $ac_config_files in *"
13335 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13338 case $ac_config_headers in *"
13339 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13344 # Files that config.status was made for.
13345 config_files="$ac_config_files"
13346 config_headers="$ac_config_headers"
13350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13352 \`$as_me' instantiates files from templates according to the
13353 current configuration.
13355 Usage: $0 [OPTION]... [FILE]...
13357 -h, --help print this help, then exit
13358 -V, --version print version number and configuration settings, then exit
13359 -q, --quiet, --silent
13360 do not print progress messages
13361 -d, --debug don't remove temporary files
13362 --recheck update $as_me by reconfiguring in the same conditions
13363 --file=FILE[:TEMPLATE]
13364 instantiate the configuration file FILE
13365 --header=FILE[:TEMPLATE]
13366 instantiate the configuration header FILE
13368 Configuration files:
13371 Configuration headers:
13374 Report bugs to <bug-autoconf@gnu.org>."
13377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13380 configured by $0, generated by GNU Autoconf 2.63,
13381 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13383 Copyright (C) 2008 Free Software Foundation, Inc.
13384 This config.status script is free software; the Free Software Foundation
13385 gives unlimited permission to copy, distribute and modify it."
13392 test -n "\$AWK" || AWK=awk
13395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13396 # The default lists apply if the user does not specify any file.
13402 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13403 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13414 # Handling of the options.
13415 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13417 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13418 $as_echo "$ac_cs_version"; exit ;;
13419 --debug |
--debu |
--deb |
--de |
--d |
-d )
13421 --file |
--fil |
--fi |
--f )
13424 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13426 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13427 ac_need_defaults
=false
;;
13428 --header |
--heade |
--head |
--hea )
13431 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13433 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13434 ac_need_defaults
=false
;;
13436 # Conflict between --help and --header
13437 { $as_echo "$as_me: error: ambiguous option: $1
13438 Try \`$0 --help' for more information." >&2
13439 { (exit 1); exit 1; }; };;
13440 --help |
--hel |
-h )
13441 $as_echo "$ac_cs_usage"; exit ;;
13442 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13443 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13446 # This is an error.
13447 -*) { $as_echo "$as_me: error: unrecognized option: $1
13448 Try \`$0 --help' for more information." >&2
13449 { (exit 1); exit 1; }; } ;;
13451 *) ac_config_targets
="$ac_config_targets $1"
13452 ac_need_defaults
=false
;;
13458 ac_configure_extra_args
=
13460 if $ac_cs_silent; then
13462 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13467 if \$ac_cs_recheck; then
13468 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13470 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13471 CONFIG_SHELL='$SHELL'
13472 export CONFIG_SHELL
13477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13481 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13482 ## Running $as_me. ##
13488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13493 # Handling of arguments.
13494 for ac_config_target
in $ac_config_targets
13496 case $ac_config_target in
13497 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
13498 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13499 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
13500 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
13501 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
13502 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
13503 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
13504 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
13505 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
13506 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
13507 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13508 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
13509 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
13510 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
13511 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
13512 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
13513 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
13514 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
13515 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
13516 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
13517 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
13518 "liblvm/Makefile") CONFIG_FILES
="$CONFIG_FILES liblvm/Makefile" ;;
13519 "liblvm/liblvm2app.pc") CONFIG_FILES
="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
13520 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
13521 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
13522 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
13523 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
13524 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
13525 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
13526 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
13527 "udev/Makefile") CONFIG_FILES
="$CONFIG_FILES udev/Makefile" ;;
13529 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13530 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13531 { (exit 1); exit 1; }; };;
13536 # If the user did not use the arguments to specify the items to instantiate,
13537 # then the envvar interface is used. Set only those that are not.
13538 # We use the long form for the default assignment because of an extremely
13539 # bizarre bug on SunOS 4.1.3.
13540 if $ac_need_defaults; then
13541 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13542 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13545 # Have a temporary directory for convenience. Make it in the build tree
13546 # simply because there is no reason against having it here, and in addition,
13547 # creating and moving files from /tmp can sometimes cause problems.
13548 # Hook for its removal unless debugging.
13549 # Note that there is a small window in which the directory will not be cleaned:
13550 # after its creation but before its name has been assigned to `$tmp'.
13554 trap 'exit_status=$?
13555 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13557 trap '{ (exit 1); exit 1; }' 1 2 13 15
13559 # Create a (secure) tmp directory for tmp files.
13562 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13563 test -n "$tmp" && test -d "$tmp"
13566 tmp
=.
/conf$$
-$RANDOM
13567 (umask 077 && mkdir
"$tmp")
13570 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13571 { (exit 1); exit 1; }
13574 # Set up the scripts for CONFIG_FILES section.
13575 # No need to generate them if there are no CONFIG_FILES.
13576 # This happens for instance with `./config.status config.h'.
13577 if test -n "$CONFIG_FILES"; then
13581 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13582 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13585 ac_cs_awk_cr
=$ac_cr
13588 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13593 echo "cat >conf$$subs.awk <<_ACEOF" &&
13594 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13596 } >conf$$subs.sh ||
13597 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13598 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13599 { (exit 1); exit 1; }; }
13600 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13602 for ac_last_try in false false false false false :; do
13603 . ./conf$$subs.sh ||
13604 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13605 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13606 { (exit 1); exit 1; }; }
13608 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13609 if test $ac_delim_n = $ac_delim_num; then
13611 elif $ac_last_try; then
13612 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13613 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13614 { (exit 1); exit 1; }; }
13616 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13619 rm -f conf$$subs.sh
13621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13622 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13626 s/^/S["/; s
/!.
*/"]=/
13636 s/\(.\{148\}\).*/\1/
13638 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13643 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13650 s/\(.\{148\}\).*/\1/
13652 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13656 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13661 ' <conf$$subs.awk | sed '
13666 ' >>$CONFIG_STATUS || ac_write_fail=1
13667 rm -f conf$$subs.awk
13668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13670 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13671 for (key in S) S_is_set[key] = 1
13677 nfields = split(line, field, "@
")
13679 len = length(field[1])
13680 for (i = 2; i < nfields; i++) {
13682 keylen = length(key)
13683 if (S_is_set[key]) {
13685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13686 len += length(value) + length(field[++i])
13697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13698 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13699 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13702 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13703 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13704 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13705 { (exit 1); exit 1; }; }
13708 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13709 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13710 # trailing colons and then remove the whole line if VPATH becomes empty
13711 # (actually we leave an empty line to preserve line numbers).
13712 if test "x
$srcdir" = x.; then
13713 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13714 s/:*\$(srcdir):*/:/
13715 s/:*\${srcdir}:*/:/
13717 s/^\([^=]*=[ ]*\):*/\1/
13723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13724 fi # test -n "$CONFIG_FILES"
13726 # Set up the scripts for CONFIG_HEADERS section.
13727 # No need to generate them if there are no CONFIG_HEADERS.
13728 # This happens for instance with `./config.status Makefile'.
13729 if test -n "$CONFIG_HEADERS"; then
13730 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13734 # Transform confdefs.h into an awk script `defines.awk', embedded as
13735 # here-document in config.status, that substitutes the proper values into
13736 # config.h.in to produce config.h.
13738 # Create a delimiter string that does not exist in confdefs.h, to ease
13739 # handling of long lines.
13741 for ac_last_try in false false :; do
13742 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13743 if test -z "$ac_t"; then
13745 elif $ac_last_try; then
13746 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13747 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13748 { (exit 1); exit 1; }; }
13750 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13754 # For the awk script, D is an array of macro values keyed by name,
13755 # likewise P contains macro parameters if any. Preserve backslash
13756 # newline sequences.
13758 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13760 s/.\{148\}/&'"$ac_delim"'/g
13763 s/^[ ]*#[ ]*define[ ][ ]*/ /
13770 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13772 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13776 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13777 D["\
1"]=" \
3\\\\\\n
"\\/p
13779 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13784 s/.\{148\}/&'"$ac_delim"'/g
13789 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13792 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13794 ' <confdefs.h | sed '
13795 s/'"$ac_delim"'/"\\\
13796 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13799 for (key in D) D_is_set[key] = 1
13802 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13804 split(line, arg, " ")
13805 if (arg[1] == "#") {
13809 defundef
= substr
(arg
[1], 2)
13812 split(mac1
, mac2
, "(") #)
13814 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13815 if (D_is_set
[macro
]) {
13816 # Preserve the white space surrounding the "#".
13817 print prefix
"define", macro P
[macro
] D
[macro
]
13820 # Replace #undef with comments. This is necessary, for example,
13821 # in the case of _POSIX_SOURCE, which is predefined and required
13822 # on some systems where configure will not decide to define it.
13823 if (defundef
== "undef") {
13824 print
"/*", prefix defundef
, macro
, "*/"
13832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13833 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13834 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13835 { (exit 1); exit 1; }; }
13836 fi # test -n "$CONFIG_HEADERS"
13839 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
13844 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13846 case $ac_mode$ac_tag in
13848 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13849 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13850 { (exit 1); exit 1; }; };;
13851 :[FH
]-) ac_tag
=-:-;;
13852 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13869 -) ac_f
="$tmp/stdin";;
13870 *) # Look for the file first in the build tree, then in the source tree
13871 # (if the path is not absolute). The absolute path cannot be DOS-style,
13872 # because $ac_f cannot contain `:'.
13876 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13878 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13879 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13880 { (exit 1); exit 1; }; };;
13882 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13883 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13886 # Let's still pretend it is `configure' which instantiates (i.e., don't
13887 # use $as_me), people would be surprised to read:
13888 # /* config.h. Generated by config.status. */
13889 configure_input
='Generated from '`
13890 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13892 if test x
"$ac_file" != x-
; then
13893 configure_input
="$ac_file. $configure_input"
13894 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13895 $as_echo "$as_me: creating $ac_file" >&6;}
13897 # Neutralize special characters interpreted by sed in replacement strings.
13898 case $configure_input in #(
13899 *\
&* |
*\|
* |
*\\* )
13900 ac_sed_conf_input
=`$as_echo "$configure_input" |
13901 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13902 *) ac_sed_conf_input
=$configure_input;;
13906 *:-:* |
*:-) cat >"$tmp/stdin" \
13907 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13908 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13909 { (exit 1); exit 1; }; } ;;
13914 ac_dir
=`$as_dirname -- "$ac_file" ||
13915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13916 X"$ac_file" : 'X\(//\)[^/]' \| \
13917 X"$ac_file" : 'X\(//\)$' \| \
13918 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13919 $as_echo X"$ac_file" |
13920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13924 /^X\(\/\/\)[^/].*/{
13939 -*) as_dir
=.
/$as_dir;;
13941 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13945 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13946 *) as_qdir
=$as_dir;;
13948 as_dirs
="'$as_qdir' $as_dirs"
13949 as_dir
=`$as_dirname -- "$as_dir" ||
13950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13951 X"$as_dir" : 'X\(//\)[^/]' \| \
13952 X"$as_dir" : 'X\(//\)$' \| \
13953 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13954 $as_echo X"$as_dir" |
13955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13959 /^X\(\/\/\)[^/].*/{
13972 test -d "$as_dir" && break
13974 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13975 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13976 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13977 { (exit 1); exit 1; }; }; }
13981 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13983 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13984 # A ".." for each directory in $ac_dir_suffix.
13985 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13986 case $ac_top_builddir_sub in
13987 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13988 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13991 ac_abs_top_builddir
=$ac_pwd
13992 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13993 # for backward compatibility:
13994 ac_top_builddir
=$ac_top_build_prefix
13997 .
) # We are building in place.
13999 ac_top_srcdir
=$ac_top_builddir_sub
14000 ac_abs_top_srcdir
=$ac_pwd ;;
14001 [\\/]* | ?
:[\\/]* ) # Absolute name.
14002 ac_srcdir
=$srcdir$ac_dir_suffix;
14003 ac_top_srcdir
=$srcdir
14004 ac_abs_top_srcdir
=$srcdir ;;
14005 *) # Relative name.
14006 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14007 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14008 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14010 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14020 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14021 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14023 ac_MKDIR_P
=$MKDIR_P
14025 [\\/$
]* | ?
:[\\/]* ) ;;
14026 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14031 # If the template does not know about datarootdir, expand it.
14032 # FIXME: This hack should be removed a few years after 2.60.
14033 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14046 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14047 *datarootdir
*) ac_datarootdir_seen
=yes;;
14048 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14049 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14050 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14053 ac_datarootdir_hack='
14054 s&@datadir@&$datadir&g
14055 s&@docdir@&$docdir&g
14056 s&@infodir@&$infodir&g
14057 s&@localedir@&$localedir&g
14058 s&@mandir@&$mandir&g
14059 s&\\\${datarootdir}&$datarootdir&g' ;;
14063 # Neutralize VPATH when `$srcdir' = `.'.
14064 # Shell code in configure.ac might set extrasub.
14065 # FIXME: do we really want to maintain this feature?
14066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14067 ac_sed_extra="$ac_vpsub
14070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14072 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14073 s|@configure_input@|
$ac_sed_conf_input|
;t t
14074 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14075 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14076 s
&@srcdir@
&$ac_srcdir&;t t
14077 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14078 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14079 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14080 s
&@builddir@
&$ac_builddir&;t t
14081 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14082 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14083 s
&@INSTALL@
&$ac_INSTALL&;t t
14084 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14085 $ac_datarootdir_hack
14087 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14088 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14089 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14090 { (exit 1); exit 1; }; }
14092 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14093 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14094 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14095 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14096 which seems to be undefined. Please make sure it is defined." >&5
14097 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14098 which seems to be undefined. Please make sure it is defined." >&2;}
14102 -) cat "$tmp/out" && rm -f "$tmp/out";;
14103 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14105 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14106 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14107 { (exit 1); exit 1; }; }
14113 if test x"$ac_file" != x-; then
14115 $as_echo "/* $configure_input */" \
14116 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14117 } >"$tmp/config.h" \
14118 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14119 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14120 { (exit 1); exit 1; }; }
14121 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14122 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14123 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14126 mv "$tmp/config.h" "$ac_file" \
14127 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14128 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14129 { (exit 1); exit 1; }; }
14132 $as_echo "/* $configure_input */" \
14133 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14134 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14135 $as_echo "$as_me: error: could not create -" >&2;}
14136 { (exit 1); exit 1; }; }
14146 { (exit 0); exit 0; }
14148 chmod +x $CONFIG_STATUS
14149 ac_clean_files=$ac_clean_files_save
14151 test $ac_write_fail = 0 ||
14152 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14153 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14154 { (exit 1); exit 1; }; }
14157 # configure is writing to config.log, and then calls config.status.
14158 # config.status does its own redirection, appending to config.log.
14159 # Unfortunately, on DOS this fails, as config.log is still kept open
14160 # by configure, so config.status won't be able to
write to it
; its
14161 # output is simply discarded. So we exec the FD to /dev/null,
14162 # effectively closing config.log, so it can be properly (re)opened and
14163 # appended to by config.status. When coming back to configure, we
14164 # need to make the FD available again.
14165 if test "$no_create" != yes; then
14167 ac_config_status_args
=
14168 test "$silent" = yes &&
14169 ac_config_status_args
="$ac_config_status_args --quiet"
14171 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14173 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14174 # would make configure fail if this is the last instruction.
14175 $ac_cs_success ||
{ (exit 1); exit 1; }
14177 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14178 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14179 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14183 if test x
$ODIRECT != xyes
; then
14184 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
14185 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}