2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="lib/device/dev-cache.h"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_default_prefix
=/usr
626 program_transform_name
739 ac_precious_vars
='build_alias
750 # Initialize some variables set by options.
752 ac_init_version
=false
753 # The variables have the same names as the options, with
754 # dashes changed to underlines.
762 program_transform_name
=s
,x
,x
,
770 # Installation directory options.
771 # These are left unexpanded so users can "make install exec_prefix=/foo"
772 # and all the variables that are supposed to be based on exec_prefix
773 # by default will actually change.
774 # Use braces instead of parens because sh, perl, etc. also accept them.
775 # (The list follows the same order as the GNU Coding Standards.)
776 bindir
='${exec_prefix}/bin'
777 sbindir
='${exec_prefix}/sbin'
778 libexecdir
='${exec_prefix}/libexec'
779 datarootdir
='${prefix}/share'
780 datadir
='${datarootdir}'
781 sysconfdir
='${prefix}/etc'
782 sharedstatedir
='${prefix}/com'
783 localstatedir
='${prefix}/var'
784 includedir
='${prefix}/include'
785 oldincludedir
='/usr/include'
786 docdir
='${datarootdir}/doc/${PACKAGE}'
787 infodir
='${datarootdir}/info'
792 libdir
='${exec_prefix}/lib'
793 localedir
='${datarootdir}/locale'
794 mandir
='${datarootdir}/man'
800 # If the previous option needs an argument, assign it.
801 if test -n "$ac_prev"; then
802 eval $ac_prev=\
$ac_option
808 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812 # Accept the important Cygnus configure options, so we can diagnose typos.
814 case $ac_dashdash$ac_option in
818 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
820 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
823 -build |
--build |
--buil |
--bui |
--bu)
824 ac_prev
=build_alias
;;
825 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
826 build_alias
=$ac_optarg ;;
828 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
829 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
830 ac_prev
=cache_file
;;
831 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
832 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
833 cache_file
=$ac_optarg ;;
836 cache_file
=config.cache
;;
838 -datadir |
--datadir |
--datadi |
--datad)
840 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
841 datadir
=$ac_optarg ;;
843 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
844 |
--dataroo |
--dataro |
--datar)
845 ac_prev
=datarootdir
;;
846 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
847 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
848 datarootdir
=$ac_optarg ;;
850 -disable-* |
--disable-*)
851 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
854 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
855 { (exit 1); exit 1; }; }
856 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
857 eval enable_
$ac_feature=no
;;
859 -docdir |
--docdir |
--docdi |
--doc |
--do)
861 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
864 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
866 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
869 -enable-* |
--enable-*)
870 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
873 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
874 { (exit 1); exit 1; }; }
875 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
876 eval enable_
$ac_feature=\
$ac_optarg ;;
878 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
879 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
880 |
--exec |
--exe |
--ex)
881 ac_prev
=exec_prefix
;;
882 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
883 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
884 |
--exec=* |
--exe=* |
--ex=*)
885 exec_prefix
=$ac_optarg ;;
887 -gas |
--gas |
--ga |
--g)
888 # Obsolete; use --with-gas.
891 -help |
--help |
--hel |
--he |
-h)
893 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
894 ac_init_help
=recursive
;;
895 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
896 ac_init_help
=short
;;
898 -host |
--host |
--hos |
--ho)
899 ac_prev
=host_alias
;;
900 -host=* |
--host=* |
--hos=* |
--ho=*)
901 host_alias
=$ac_optarg ;;
903 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
905 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
907 htmldir
=$ac_optarg ;;
909 -includedir |
--includedir |
--includedi |
--included |
--include \
910 |
--includ |
--inclu |
--incl |
--inc)
911 ac_prev
=includedir
;;
912 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
913 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
914 includedir
=$ac_optarg ;;
916 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
918 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
919 infodir
=$ac_optarg ;;
921 -libdir |
--libdir |
--libdi |
--libd)
923 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
926 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
927 |
--libexe |
--libex |
--libe)
928 ac_prev
=libexecdir
;;
929 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
930 |
--libexe=* |
--libex=* |
--libe=*)
931 libexecdir
=$ac_optarg ;;
933 -localedir |
--localedir |
--localedi |
--localed |
--locale)
935 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
936 localedir
=$ac_optarg ;;
938 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
939 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
940 ac_prev
=localstatedir
;;
941 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
942 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
943 localstatedir
=$ac_optarg ;;
945 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
947 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
951 # Obsolete; use --without-fp.
954 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
955 |
--no-cr |
--no-c |
-n)
958 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
959 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
962 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
963 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
964 |
--oldin |
--oldi |
--old |
--ol |
--o)
965 ac_prev
=oldincludedir
;;
966 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
967 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
968 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
969 oldincludedir
=$ac_optarg ;;
971 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
973 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
976 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
977 |
--program-pre |
--program-pr |
--program-p)
978 ac_prev
=program_prefix
;;
979 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
980 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
981 program_prefix
=$ac_optarg ;;
983 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
984 |
--program-suf |
--program-su |
--program-s)
985 ac_prev
=program_suffix
;;
986 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
987 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
988 program_suffix
=$ac_optarg ;;
990 -program-transform-name |
--program-transform-name \
991 |
--program-transform-nam |
--program-transform-na \
992 |
--program-transform-n |
--program-transform- \
993 |
--program-transform |
--program-transfor \
994 |
--program-transfo |
--program-transf \
995 |
--program-trans |
--program-tran \
996 |
--progr-tra |
--program-tr |
--program-t)
997 ac_prev
=program_transform_name
;;
998 -program-transform-name=* |
--program-transform-name=* \
999 |
--program-transform-nam=* |
--program-transform-na=* \
1000 |
--program-transform-n=* |
--program-transform-=* \
1001 |
--program-transform=* |
--program-transfor=* \
1002 |
--program-transfo=* |
--program-transf=* \
1003 |
--program-trans=* |
--program-tran=* \
1004 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1005 program_transform_name
=$ac_optarg ;;
1007 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1009 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1010 pdfdir
=$ac_optarg ;;
1012 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1014 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1017 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1018 |
-silent |
--silent |
--silen |
--sile |
--sil)
1021 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1023 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1025 sbindir
=$ac_optarg ;;
1027 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1028 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1029 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1031 ac_prev
=sharedstatedir
;;
1032 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1033 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1034 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1036 sharedstatedir
=$ac_optarg ;;
1038 -site |
--site |
--sit)
1040 -site=* |
--site=* |
--sit=*)
1043 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1045 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1046 srcdir
=$ac_optarg ;;
1048 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1049 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1050 ac_prev
=sysconfdir
;;
1051 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1052 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1053 sysconfdir
=$ac_optarg ;;
1055 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1056 ac_prev
=target_alias
;;
1057 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1058 target_alias
=$ac_optarg ;;
1060 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1063 -version |
--version |
--versio |
--versi |
--vers |
-V)
1064 ac_init_version
=: ;;
1067 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1070 { echo "$as_me: error: invalid package name: $ac_package" >&2
1071 { (exit 1); exit 1; }; }
1072 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1073 eval with_
$ac_package=\
$ac_optarg ;;
1075 -without-* |
--without-*)
1076 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1079 { echo "$as_me: error: invalid package name: $ac_package" >&2
1080 { (exit 1); exit 1; }; }
1081 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1082 eval with_
$ac_package=no
;;
1085 # Obsolete; use --with-x.
1088 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1089 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1090 ac_prev
=x_includes
;;
1091 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1092 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1093 x_includes
=$ac_optarg ;;
1095 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1096 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1097 ac_prev
=x_libraries
;;
1098 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1099 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1100 x_libraries
=$ac_optarg ;;
1102 -*) { echo "$as_me: error: unrecognized option: $ac_option
1103 Try \`$0 --help' for more information." >&2
1104 { (exit 1); exit 1; }; }
1108 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1111 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1112 { (exit 1); exit 1; }; }
1113 eval $ac_envvar=\
$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1127 if test -n "$ac_prev"; then
1128 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1129 { echo "$as_me: error: missing argument to $ac_option" >&2
1130 { (exit 1); exit 1; }; }
1133 # Be sure to have absolute directory names.
1134 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1139 eval ac_val
=\$
$ac_var
1141 [\\/$
]* | ?
:[\\/]* ) continue;;
1142 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1144 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1145 { (exit 1); exit 1; }; }
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1153 target
=$target_alias
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x
; then
1157 if test "x$build_alias" = x
; then
1158 cross_compiling
=maybe
1159 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1160 If a cross compiler is detected then cross compile mode will be used." >&2
1161 elif test "x$build_alias" != "x$host_alias"; then
1167 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1169 test "$silent" = yes && exec 6>/dev
/null
1172 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1173 ac_ls_di
=`ls -di .` &&
1174 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1175 { echo "$as_me: error: Working directory cannot be determined" >&2
1176 { (exit 1); exit 1; }; }
1177 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1178 { echo "$as_me: error: pwd does not report name of working directory" >&2
1179 { (exit 1); exit 1; }; }
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted
=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir
=`$as_dirname -- "$0" ||
1187 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$0" : 'X\(//\)[^/]' \| \
1189 X"$0" : 'X\(//\)$' \| \
1190 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1214 ac_srcdir_defaulted
=no
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1218 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1219 { (exit 1); exit 1; }; }
1221 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1224 { (exit 1); exit 1; }; }
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1234 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 for ac_var
in $ac_precious_vars; do
1237 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1239 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1244 # Report the --help message.
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1250 \`configure' configures this package to adapt to many kinds of systems.
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1257 Defaults for the options are specified in brackets.
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1281 For better control, use the options below.
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1308 --build=BUILD configure
for building on BUILD
[guessed
]
1309 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1310 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1314 if test -n "$ac_init_help"; then
1319 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1320 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1321 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1322 device-mapper is missing from the kernel
1323 --disable-readline Disable readline support
1324 --disable-realtime Disable realtime
clock support
1325 --enable-debug Enable debugging
1326 --enable-profiling Gather gcov profiling data
1327 --disable-devmapper Disable device-mapper interaction
1328 --disable-o_direct Disable O_DIRECT
1329 --enable-cmdlib Build shared
command library
1330 --enable-fsadm Enable fsadm
1331 --enable-dmeventd Enable the device-mapper event daemon
1332 --enable-static_link Use this to link the tools to their libraries
1333 statically. Default is dynamic linking
1334 --disable-selinux Disable selinux support
1335 --enable-nls Enable Native Language Support
1338 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1339 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1340 --with-user=USER Set the owner of installed files
[USER
=root
]
1341 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1342 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1344 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1346 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1348 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1350 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1352 --with-clvmd=TYPE Build cluster LVM Daemon
: cman
/gulm
/none
/all
1354 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1355 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1356 --with-confdir=DIR Configuration files
in DIR
/etc
1357 --with-staticdir=DIR Static binary
in DIR EXEC_PREFIX
/sbin
1358 --with-dmdir=DIR Build against device-mapper
source tree
in DIR
1359 --with-usrlibdir=DIR
1360 --with-usrsbindir=DIR
1362 Some influential environment variables
:
1363 CC C compiler
command
1364 CFLAGS C compiler flags
1365 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1366 nonstandard directory
<lib dir
>
1367 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1368 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1369 you have headers
in a nonstandard directory
<include dir
>
1372 Use these variables to override the choices made by
`configure' or to help
1373 it to find libraries and programs with nonstandard names/locations.
1379 if test "$ac_init_help" = "recursive"; then
1380 # If there are subdirs, report their specific --help.
1381 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1382 test -d "$ac_dir" || continue
1386 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1389 # A ".." for each directory in $ac_dir_suffix.
1390 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1391 case $ac_top_builddir_sub in
1392 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1396 ac_abs_top_builddir=$ac_pwd
1397 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1398 # for backward compatibility:
1399 ac_top_builddir=$ac_top_build_prefix
1402 .) # We are building in place.
1404 ac_top_srcdir=$ac_top_builddir_sub
1405 ac_abs_top_srcdir=$ac_pwd ;;
1406 [\\/]* | ?:[\\/]* ) # Absolute name.
1407 ac_srcdir=$srcdir$ac_dir_suffix;
1408 ac_top_srcdir=$srcdir
1409 ac_abs_top_srcdir=$srcdir ;;
1411 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1412 ac_top_srcdir=$ac_top_build_prefix$srcdir
1413 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1415 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1417 cd "$ac_dir" || { ac_status=$?; continue; }
1418 # Check for guested configure.
1419 if test -f "$ac_srcdir/configure.gnu"; then
1421 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1422 elif test -f "$ac_srcdir/configure"; then
1424 $SHELL "$ac_srcdir/configure" --help=recursive
1426 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1428 cd "$ac_pwd" || { ac_status=$?; break; }
1432 test -n "$ac_init_help" && exit $ac_status
1433 if $ac_init_version; then
1436 generated by GNU Autoconf 2.61
1438 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1439 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1440 This configure script is free software; the Free Software Foundation
1441 gives unlimited permission to copy, distribute and modify it.
1445 cat >config.log <<_ACEOF
1446 This file contains any messages produced by compilers while
1447 running configure, to aid debugging if configure makes a mistake.
1449 It was created by $as_me, which was
1450 generated by GNU Autoconf 2.61. Invocation command line was
1462 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1463 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1464 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1465 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1466 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1468 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1469 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1471 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1472 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1473 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1474 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1475 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1476 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1477 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 echo "PATH: $as_dir"
1502 # Keep a trace of the command line.
1503 # Strip out --no-create and --no-recursion so they do not pile up.
1504 # Strip out --silent because we don't want to record it for future runs.
1505 # Also quote any args containing shell meta-characters.
1506 # Make two passes to allow for proper duplicate-argument suppression.
1510 ac_must_keep_next=false
1516 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1518 | -silent | --silent | --silen | --sile | --sil)
1521 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1524 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1526 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1527 if test $ac_must_keep_next = true; then
1528 ac_must_keep_next=false # Got value, back to normal.
1531 *=* | --config-cache | -C | -disable-* | --disable-* \
1532 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1533 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1534 | -with-* | --with-* | -without-* | --without-* | --x)
1535 case "$ac_configure_args0 " in
1536 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1539 -* ) ac_must_keep_next=true ;;
1542 ac_configure_args="$ac_configure_args '$ac_arg'"
1547 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1548 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1550 # When interrupted or exit'd, cleanup temporary files, and complete
1551 # config.log. We remove comments because anyway the quotes in there
1552 # would cause problems or look ugly.
1553 # WARNING: Use '\'' to represent an apostrophe within the trap.
1554 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1555 trap 'exit_status=$?
1556 # Save into config.log some information that might help in debugging.
1561 ## ---------------- ##
1562 ## Cache variables. ##
1563 ## ---------------- ##
1566 # The following way of writing the cache mishandles newlines in values,
1568 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1569 eval ac_val=\$$ac_var
1573 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1574 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1577 _ | IFS | as_nl) ;; #(
1578 *) $as_unset $ac_var ;;
1583 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1584 *${as_nl}ac_space=\ *)
1586 "s/'\''/'\''\\\\'\'''\''/g;
1587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1598 ## ----------------- ##
1599 ## Output variables. ##
1600 ## ----------------- ##
1603 for ac_var in $ac_subst_vars
1605 eval ac_val=\$$ac_var
1607 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609 echo "$ac_var='\''$ac_val'\''"
1613 if test -n "$ac_subst_files"; then
1615 ## ------------------- ##
1616 ## File substitutions. ##
1617 ## ------------------- ##
1620 for ac_var in $ac_subst_files
1622 eval ac_val=\$$ac_var
1624 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626 echo "$ac_var='\''$ac_val'\''"
1631 if test -s confdefs.h; then
1641 test "$ac_signal" != 0 &&
1642 echo "$as_me: caught signal $ac_signal"
1643 echo "$as_me: exit $exit_status"
1645 rm -f core *.core core.conftest.* &&
1646 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1649 for ac_signal in 1 2 13 15; do
1650 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1654 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1655 rm -f -r conftest* confdefs.h
1657 # Predefined preprocessor variables.
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_NAME "$PACKAGE_NAME"
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_STRING "$PACKAGE_STRING"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1684 # Let the site file select an alternate cache file if it wants to.
1685 # Prefer explicitly selected file to automatically selected ones.
1686 if test -n "$CONFIG_SITE"; then
1687 set x "$CONFIG_SITE"
1688 elif test "x$prefix" != xNONE; then
1689 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1691 set x "$ac_default_prefix/share/config.site" \
1692 "$ac_default_prefix/etc/config.site"
1697 if test -r "$ac_site_file"; then
1698 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1699 echo "$as_me: loading site script $ac_site_file" >&6;}
1700 sed 's/^/| /' "$ac_site_file" >&5
1705 if test -r "$cache_file"; then
1706 # Some versions of bash will fail to source /dev/null (special
1707 # files actually), so we avoid doing that.
1708 if test -f "$cache_file"; then
1709 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1710 echo "$as_me: loading cache $cache_file" >&6;}
1712 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1713 *) . "./$cache_file";;
1717 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1718 echo "$as_me: creating cache $cache_file" >&6;}
1722 # Check that the precious variables saved in the cache have kept the same
1724 ac_cache_corrupted=false
1725 for ac_var in $ac_precious_vars; do
1726 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1727 eval ac_new_set=\$ac_env_${ac_var}_set
1728 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1729 eval ac_new_val=\$ac_env_${ac_var}_value
1730 case $ac_old_set,$ac_new_set in
1732 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1733 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734 ac_cache_corrupted=: ;;
1736 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1737 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1738 ac_cache_corrupted=: ;;
1741 if test "x$ac_old_val" != "x$ac_new_val"; then
1742 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1743 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1744 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1745 echo "$as_me: former value
: $ac_old_val" >&2;}
1746 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1747 echo "$as_me: current value
: $ac_new_val" >&2;}
1748 ac_cache_corrupted=:
1751 # Pass precious variables to config.status.
1752 if test "$ac_new_set" = set; then
1754 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1755 *) ac_arg=$ac_var=$ac_new_val ;;
1757 case " $ac_configure_args " in
1758 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1759 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1763 if $ac_cache_corrupted; then
1764 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1765 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1766 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1767 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1768 { (exit 1); exit 1; }; }
1788 ac_cpp='$CPP $CPPFLAGS'
1789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1795 ac_config_headers="$ac_config_headers lib/misc/configure.h"
1798 ################################################################################
1800 for ac_dir in autoconf "$srcdir"/autoconf; do
1801 if test -f "$ac_dir/install-sh"; then
1803 ac_install_sh="$ac_aux_dir/install-sh -c"
1805 elif test -f "$ac_dir/install.sh"; then
1807 ac_install_sh="$ac_aux_dir/install.sh -c"
1809 elif test -f "$ac_dir/shtool"; then
1811 ac_install_sh="$ac_aux_dir/shtool install -c"
1815 if test -z "$ac_aux_dir"; then
1816 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1817 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1818 { (exit 1); exit 1; }; }
1821 # These three variables are undocumented and unsupported,
1822 # and are intended to be withdrawn in a future Autoconf release.
1823 # They can cause serious problems if a builder's source tree is in a directory
1824 # whose full name contains unusual characters.
1825 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1826 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1827 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1831 ################################################################################
1832 # Make sure we can run config.sub.
1833 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1834 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1835 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1836 { (exit 1); exit 1; }; }
1838 { echo "$as_me:$LINENO: checking build system type" >&5
1839 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1840 if test "${ac_cv_build+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 ac_build_alias=$build_alias
1844 test "x$ac_build_alias" = x &&
1845 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1846 test "x$ac_build_alias" = x &&
1847 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1848 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1849 { (exit 1); exit 1; }; }
1850 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1851 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1852 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1853 { (exit 1); exit 1; }; }
1856 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1857 echo "${ECHO_T}$ac_cv_build" >&6; }
1858 case $ac_cv_build in
1860 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1861 echo "$as_me: error: invalid value of canonical build" >&2;}
1862 { (exit 1); exit 1; }; };;
1865 ac_save_IFS=$IFS; IFS='-'
1871 # Remember, the first character of IFS is used to create $*,
1872 # except with old shells:
1875 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1878 { echo "$as_me:$LINENO: checking host system type" >&5
1879 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1880 if test "${ac_cv_host+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test "x$host_alias" = x; then
1884 ac_cv_host=$ac_cv_build
1886 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1887 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1888 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1889 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1894 echo "${ECHO_T}$ac_cv_host" >&6; }
1897 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1898 echo "$as_me: error: invalid value of canonical host" >&2;}
1899 { (exit 1); exit 1; }; };;
1902 ac_save_IFS=$IFS; IFS='-'
1908 # Remember, the first character of IFS is used to create $*,
1909 # except with old shells:
1912 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1915 { echo "$as_me:$LINENO: checking target system type" >&5
1916 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1917 if test "${ac_cv_target+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test "x$target_alias" = x; then
1921 ac_cv_target=$ac_cv_host
1923 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1924 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1925 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1926 { (exit 1); exit 1; }; }
1930 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1931 echo "${ECHO_T}$ac_cv_target" >&6; }
1932 case $ac_cv_target in
1934 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1935 echo "$as_me: error: invalid value of canonical target" >&2;}
1936 { (exit 1); exit 1; }; };;
1938 target=$ac_cv_target
1939 ac_save_IFS=$IFS; IFS='-'
1945 # Remember, the first character of IFS is used to create $*,
1946 # except with old shells:
1949 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1952 # The aliases save the names the user supplied, while $host etc.
1953 # will get canonicalized.
1954 test -n "$target_alias" &&
1955 test "$program_prefix$program_suffix$program_transform_name" = \
1957 program_prefix=${target_alias}-
1961 COPTIMISE_FLAG="-O2"
1962 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
1963 CLDWHOLEARCHIVE="-Wl,-whole-archive"
1964 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
1965 LDDEPS="$LDDEPS .export.sym"
1966 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
1977 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
1978 COPTIMISE_FLAG="-O2"
1979 CLDFLAGS="$CLDFLAGS"
1980 CLDWHOLEARCHIVE="-all_load"
1993 ################################################################################
1994 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
1995 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
1996 if test "${ac_cv_path_SED+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2000 for ac_i in 1 2 3 4 5 6 7; do
2001 ac_script="$ac_script$as_nl$ac_script"
2003 echo "$ac_script" | sed 99q >conftest.sed
2004 $as_unset ac_script || ac_script=
2005 # Extract the first word of "sed gsed" to use in msg output
2006 if test -z "$SED"; then
2007 set dummy sed gsed; ac_prog_name=$2
2008 if test "${ac_cv_path_SED+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 ac_path_SED_found=false
2012 # Loop through the user's path and test for each of PROGNAME-LIST
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_prog in sed gsed; do
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2021 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2022 # Check for GNU ac_path_SED and select it if it is found.
2023 # Check for GNU $ac_path_SED
2024 case `"$ac_path_SED" --version 2>&1` in
2026 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2029 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2032 cat "conftest.in" "conftest.in" >"conftest.tmp"
2033 mv "conftest.tmp" "conftest.in"
2034 cp "conftest.in" "conftest.nl"
2035 echo '' >> "conftest.nl"
2036 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2037 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2038 ac_count=`expr $ac_count + 1`
2039 if test $ac_count -gt ${ac_path_SED_max-0}; then
2040 # Best one so far, save it but keep looking for a better one
2041 ac_cv_path_SED="$ac_path_SED"
2042 ac_path_SED_max=$ac_count
2044 # 10*(2^10) chars as input seems more than enough
2045 test $ac_count -gt 10 && break
2047 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2051 $ac_path_SED_found && break 3
2061 SED="$ac_cv_path_SED"
2062 if test -z "$SED"; then
2063 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2064 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2065 { (exit 1); exit 1; }; }
2073 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2074 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2075 SED="$ac_cv_path_SED"
2078 for ac_prog in gawk mawk nawk awk
2080 # Extract the first word of "$ac_prog", so it can be a program name with args.
2081 set dummy $ac_prog; ac_word=$2
2082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2084 if test "${ac_cv_prog_AWK+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 if test -n "$AWK"; then
2088 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097 ac_cv_prog_AWK="$ac_prog"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 if test -n "$AWK"; then
2109 { echo "$as_me:$LINENO: result: $AWK" >&5
2110 echo "${ECHO_T}$AWK" >&6; }
2112 { echo "$as_me:$LINENO: result: no" >&5
2113 echo "${ECHO_T}no" >&6; }
2117 test -n "$AWK" && break
2121 ac_cpp='$CPP $CPPFLAGS'
2122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2164 if test -z "$ac_cv_prog_CC"; then
2166 # Extract the first word of "gcc", so it can be a program name with args.
2167 set dummy gcc; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_ac_ct_CC="gcc"
2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2194 if test -n "$ac_ct_CC"; then
2195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2196 echo "${ECHO_T}$ac_ct_CC" >&6; }
2198 { echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6; }
2202 if test "x$ac_ct_CC" = x; then
2205 case $cross_compiling:$ac_tool_warned in
2207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2208 whose name does not start with the host triplet. If you think this
2209 configuration is useful to you, please write to autoconf@gnu.org." >&5
2210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2211 whose name does not start with the host triplet. If you think this
2212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2213 ac_tool_warned=yes ;;
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2224 set dummy ${ac_tool_prefix}cc; ac_word=$2
2225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2227 if test "${ac_cv_prog_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -n "$CC"; then
2231 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240 ac_cv_prog_CC="${ac_tool_prefix}cc"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 if test -n "$CC"; then
2252 { echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6; }
2255 { echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6; }
2262 if test -z "$CC"; then
2263 # Extract the first word of "cc", so it can be a program name with args.
2264 set dummy cc; ac_word=$2
2265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2282 ac_prog_rejected=yes
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 if test $ac_prog_rejected = yes; then
2294 # We found a bogon in the path, so make sure we never use it.
2295 set dummy $ac_cv_prog_CC
2297 if test $# != 0; then
2298 # We chose a different compiler from the bogus one.
2299 # However, it has the same basename, so the bogon will be chosen
2300 # first if we set CC to just the basename; use the full file name.
2302 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2308 if test -n "$CC"; then
2309 { echo "$as_me:$LINENO: result: $CC" >&5
2310 echo "${ECHO_T}$CC" >&6; }
2312 { echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6; }
2318 if test -z "$CC"; then
2319 if test -n "$ac_tool_prefix"; then
2320 for ac_prog in cl.exe
2322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test -n "$CC"; then
2351 { echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6; }
2354 { echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6; }
2359 test -n "$CC" && break
2362 if test -z "$CC"; then
2364 for ac_prog in cl.exe
2366 # Extract the first word of "$ac_prog", so it can be a program name with args.
2367 set dummy $ac_prog; ac_word=$2
2368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 if test -n "$ac_ct_CC"; then
2374 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_ac_ct_CC="$ac_prog"
2384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2394 if test -n "$ac_ct_CC"; then
2395 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2396 echo "${ECHO_T}$ac_ct_CC" >&6; }
2398 { echo "$as_me:$LINENO: result: no" >&5
2399 echo "${ECHO_T}no" >&6; }
2403 test -n "$ac_ct_CC" && break
2406 if test "x$ac_ct_CC" = x; then
2409 case $cross_compiling:$ac_tool_warned in
2411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2412 whose name does not start with the host triplet. If you think this
2413 configuration is useful to you, please write to autoconf@gnu.org." >&5
2414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2415 whose name does not start with the host triplet. If you think this
2416 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2417 ac_tool_warned=yes ;;
2426 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2427 See \`config.log
' for more details." >&5
2428 echo "$as_me: error: no acceptable C compiler found in \$PATH
2429 See \`config.log' for more details.
" >&2;}
2430 { (exit 1); exit 1; }; }
2432 # Provide some information about the compiler.
2433 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2434 ac_compiler=`set X $ac_compile; echo $2`
2435 { (ac_try="$ac_compiler --version >&5"
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2441 (eval "$ac_compiler --version >&5") 2>&5
2443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2444 (exit $ac_status); }
2445 { (ac_try="$ac_compiler -v >&5"
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2451 (eval "$ac_compiler -v >&5") 2>&5
2453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2454 (exit $ac_status); }
2455 { (ac_try="$ac_compiler -V >&5"
2457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458 *) ac_try_echo=$ac_try;;
2460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2461 (eval "$ac_compiler -V >&5") 2>&5
2463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2464 (exit $ac_status); }
2466 cat >conftest.$ac_ext <<_ACEOF
2469 cat confdefs.h >>conftest.$ac_ext
2470 cat >>conftest.$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2481 ac_clean_files_save=$ac_clean_files
2482 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2483 # Try to create an executable without -o first, disregard a.out.
2484 # It will help us diagnose broken compilers, and finding out an intuition
2486 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2487 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2488 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2490 # List of possible output files, starting from the most likely.
2491 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2492 # only as a last resort. b.out is created by i960 compilers.
2493 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2495 # The IRIX 6 linker writes into existing files which may not be
2496 # executable, retaining their permissions. Remove them first so a
2497 # subsequent execution test works.
2499 for ac_file in $ac_files
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2503 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2508 if { (ac_try="$ac_link_default"
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2514 (eval "$ac_link_default") 2>&5
2516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2517 (exit $ac_status); }; then
2518 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2519 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2520 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2521 # so that the user can short-circuit this test for compilers unknown to
2523 for ac_file in $ac_files ''
2525 test -f "$ac_file" || continue
2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2530 # We found the default executable, but exeext='' is most
2534 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2536 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538 # We set ac_cv_exeext here because the later test for it is not
2539 # safe: cross compilers may not add the suffix if given an `-o'
2540 # argument, so we may need to know it at that point already.
2541 # Even if this section looks crufty: it has the advantage of
2548 test "$ac_cv_exeext" = no && ac_cv_exeext=
2554 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2555 echo "${ECHO_T}$ac_file" >&6; }
2556 if test -z "$ac_file"; then
2557 echo "$as_me: failed program was
:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2561 See \
`config.log' for more details." >&5
2562 echo "$as_me: error: C compiler cannot create executables
2563 See \`config.log
' for more details." >&2;}
2564 { (exit 77); exit 77; }; }
2567 ac_exeext=$ac_cv_exeext
2569 # Check that the compiler produces executables we can run. If not, either
2570 # the compiler is broken, or we cross compile.
2571 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2572 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2573 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2574 # If not cross compiling, check that we can run a simple program.
2575 if test "$cross_compiling" != yes; then
2576 if { ac_try='.
/$ac_file'
2577 { (case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_try") 2>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 if test "$cross_compiling" = maybe; then
2591 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2592 If you meant to cross compile, use \`--host'.
2593 See \
`config.log' for more details." >&5
2594 echo "$as_me: error: cannot run C compiled programs.
2595 If you meant to cross compile, use \`--host'.
2596 See \`config.log' for more details.
" >&2;}
2597 { (exit 1); exit 1; }; }
2601 { echo "$as_me:$LINENO: result
: yes" >&5
2602 echo "${ECHO_T}yes" >&6; }
2604 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2605 ac_clean_files=$ac_clean_files_save
2606 # Check that the compiler produces executables we can run. If not, either
2607 # the compiler is broken, or we cross compile.
2608 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2609 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2610 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2611 echo "${ECHO_T}$cross_compiling" >&6; }
2613 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2614 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2615 if { (ac_try="$ac_link"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_link") 2>&5
2623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2624 (exit $ac_status); }; then
2625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2627 # work properly (i.e., refer to `conftest.exe'), while it won't with
2629 for ac_file in conftest.exe conftest conftest.*; do
2630 test -f "$ac_file" || continue
2632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2633 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2639 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2640 See \
`config.log' for more details." >&5
2641 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2642 See \`config.log
' for more details." >&2;}
2643 { (exit 1); exit 1; }; }
2646 rm -f conftest$ac_cv_exeext
2647 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2648 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2650 rm -f conftest.$ac_ext
2651 EXEEXT=$ac_cv_exeext
2653 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2654 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2655 if test "${ac_cv_objext+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 cat >conftest.$ac_ext <<_ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2673 rm -f conftest.o conftest.obj
2674 if { (ac_try="$ac_compile"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compile") 2>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 for ac_file in conftest.o conftest.obj conftest.*; do
2685 test -f "$ac_file" || continue;
2687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2688 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2693 echo "$as_me: failed program was:" >&5
2694 sed 's
/^
/|
/' conftest.$ac_ext >&5
2696 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2697 See \`config.log' for more details.
" >&5
2698 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2699 See \
`config.log' for more details." >&2;}
2700 { (exit 1); exit 1; }; }
2703 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2705 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2706 echo "${ECHO_T}$ac_cv_objext" >&6; }
2707 OBJEXT=$ac_cv_objext
2709 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2710 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2711 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2732 rm -f conftest.$ac_objext
2733 if { (ac_try="$ac_compile"
2735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2736 *) ac_try_echo
=$ac_try;;
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_compile") 2>conftest.er1
2741 grep -v '^ *+' conftest.er1
>conftest.err
2743 cat conftest.err
>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); } && {
2746 test -z "$ac_c_werror_flag" ||
2747 test ! -s conftest.err
2748 } && test -s conftest.
$ac_objext; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2758 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2761 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2762 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2763 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2764 ac_test_CFLAGS
=${CFLAGS+set}
2765 ac_save_CFLAGS
=$CFLAGS
2766 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2767 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2768 if test "${ac_cv_prog_cc_g+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 ac_save_c_werror_flag
=$ac_c_werror_flag
2772 ac_c_werror_flag
=yes
2775 cat >conftest.
$ac_ext <<_ACEOF
2778 cat confdefs.h
>>conftest.
$ac_ext
2779 cat >>conftest.
$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2790 rm -f conftest.
$ac_objext
2791 if { (ac_try
="$ac_compile"
2793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compile") 2>conftest.er1
2799 grep -v '^ *+' conftest.er1 >conftest.err
2801 cat conftest.err >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } && {
2804 test -z "$ac_c_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest.$ac_objext; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2813 cat >conftest.$ac_ext <<_ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 rm -f conftest.$ac_objext
2829 if { (ac_try="$ac_compile"
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_compile") 2>conftest.er1
2837 grep -v '^ *+' conftest.er1
>conftest.err
2839 cat conftest.err
>&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } && {
2842 test -z "$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.
$ac_objext; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2850 ac_c_werror_flag
=$ac_save_c_werror_flag
2852 cat >conftest.
$ac_ext <<_ACEOF
2855 cat confdefs.h
>>conftest.
$ac_ext
2856 cat >>conftest.
$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2867 rm -f conftest.
$ac_objext
2868 if { (ac_try
="$ac_compile"
2870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 (eval "$ac_compile") 2>conftest.er1
2876 grep -v '^ *+' conftest.er1 >conftest.err
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } && {
2881 test -z "$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 } && test -s conftest.$ac_objext; then
2886 echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 ac_c_werror_flag=$ac_save_c_werror_flag
2901 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2902 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2903 if test "$ac_test_CFLAGS" = set; then
2904 CFLAGS=$ac_save_CFLAGS
2905 elif test $ac_cv_prog_cc_g = yes; then
2906 if test "$GCC" = yes; then
2912 if test "$GCC" = yes; then
2918 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2919 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2920 if test "${ac_cv_prog_cc_c89+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 ac_cv_prog_cc_c89=no
2925 cat >conftest.$ac_ext <<_ACEOF
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2933 #include <sys/types.h>
2934 #include <sys/stat.h>
2935 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2936 struct buf { int x; };
2937 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2938 static char *e (p, i)
2944 static char *f (char * (*g) (char **, int), char **p, ...)
2949 s = g (p, va_arg (v,int));
2954 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2955 function prototypes and stuff, but not '\xHH' hex character constants.
2956 These don't provoke an error unfortunately, instead are silently treated
2957 as 'x'. The following induces an error, until -std is added to get
2958 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2959 array size at least. It's necessary to write '\x00'==0 to get something
2960 that's true only with -std. */
2961 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2963 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2964 inside strings and character constants. */
2966 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2968 int test (int i, double x);
2969 struct s1 {int (*f) (int a);};
2970 struct s2 {int (*f) (double a);};
2971 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2977 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2982 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2983 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2985 CC="$ac_save_CC $ac_arg"
2986 rm -f conftest.$ac_objext
2987 if { (ac_try="$ac_compile"
2989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2990 *) ac_try_echo
=$ac_try;;
2992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2993 (eval "$ac_compile") 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } && {
3000 test -z "$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3002 } && test -s conftest.
$ac_objext; then
3003 ac_cv_prog_cc_c89
=$ac_arg
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.
$ac_ext >&5
3011 rm -f core conftest.err conftest.
$ac_objext
3012 test "x$ac_cv_prog_cc_c89" != "xno" && break
3014 rm -f conftest.
$ac_ext
3019 case "x$ac_cv_prog_cc_c89" in
3021 { echo "$as_me:$LINENO: result: none needed" >&5
3022 echo "${ECHO_T}none needed" >&6; } ;;
3024 { echo "$as_me:$LINENO: result: unsupported" >&5
3025 echo "${ECHO_T}unsupported" >&6; } ;;
3027 CC
="$CC $ac_cv_prog_cc_c89"
3028 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3029 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3034 ac_cpp
='$CPP $CPPFLAGS'
3035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3042 ac_cpp
='$CPP $CPPFLAGS'
3043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3046 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3047 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3048 # On Suns, sometimes $CPP names a directory.
3049 if test -n "$CPP" && test -d "$CPP"; then
3052 if test -z "$CPP"; then
3053 if test "${ac_cv_prog_CPP+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 # Double quotes because CPP needs to be expanded
3057 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3060 for ac_c_preproc_warn_flag
in '' yes
3062 # Use a header file that comes with gcc, so configuring glibc
3063 # with a fresh cross-compiler works.
3064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3065 # <limits.h> exists even on freestanding compilers.
3066 # On the NeXT, cc -E runs the code through the compiler's parser,
3067 # not just through cpp. "Syntax error" is here to catch this case.
3068 cat >conftest.
$ac_ext <<_ACEOF
3071 cat confdefs.h
>>conftest.
$ac_ext
3072 cat >>conftest.
$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3075 # include <limits.h>
3077 # include <assert.h>
3081 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3089 grep -v '^ *+' conftest.er1 >conftest.err
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } >/dev/null && {
3094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3095 test ! -s conftest.err
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 # Broken: fails on valid input.
3106 rm -f conftest.err conftest.$ac_ext
3108 # OK, works on sane cases. Now check whether nonexistent headers
3109 # can be detected and how.
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3116 #include <ac_nonexistent.h>
3118 if { (ac_try="$ac_cpp conftest.$ac_ext"
3120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3121 *) ac_try_echo
=$ac_try;;
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3126 grep -v '^ *+' conftest.er1
>conftest.err
3128 cat conftest.err
>&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } >/dev
/null
&& {
3131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3132 test ! -s conftest.err
3134 # Broken: success on invalid input.
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.
$ac_ext >&5
3140 # Passes both tests.
3145 rm -f conftest.err conftest.
$ac_ext
3148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3149 rm -f conftest.err conftest.
$ac_ext
3150 if $ac_preproc_ok; then
3162 { echo "$as_me:$LINENO: result: $CPP" >&5
3163 echo "${ECHO_T}$CPP" >&6; }
3165 for ac_c_preproc_warn_flag
in '' yes
3167 # Use a header file that comes with gcc, so configuring glibc
3168 # with a fresh cross-compiler works.
3169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3170 # <limits.h> exists even on freestanding compilers.
3171 # On the NeXT, cc -E runs the code through the compiler's parser,
3172 # not just through cpp. "Syntax error" is here to catch this case.
3173 cat >conftest.
$ac_ext <<_ACEOF
3176 cat confdefs.h
>>conftest.
$ac_ext
3177 cat >>conftest.
$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3180 # include <limits.h>
3182 # include <assert.h>
3186 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3194 grep -v '^ *+' conftest.er1 >conftest.err
3196 cat conftest.err >&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } >/dev/null && {
3199 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3200 test ! -s conftest.err
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3207 # Broken: fails on valid input.
3211 rm -f conftest.err conftest.$ac_ext
3213 # OK, works on sane cases. Now check whether nonexistent headers
3214 # can be detected and how.
3215 cat >conftest.$ac_ext <<_ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3221 #include <ac_nonexistent.h>
3223 if { (ac_try="$ac_cpp conftest.$ac_ext"
3225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3226 *) ac_try_echo
=$ac_try;;
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1
>conftest.err
3233 cat conftest.err
>&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } >/dev
/null
&& {
3236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3239 # Broken: success on invalid input.
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3245 # Passes both tests.
3250 rm -f conftest.err conftest.
$ac_ext
3253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3254 rm -f conftest.err conftest.
$ac_ext
3255 if $ac_preproc_ok; then
3258 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3259 See \`config.log' for more details." >&5
3260 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }
3266 ac_cpp
='$CPP $CPPFLAGS'
3267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3272 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3273 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3274 if test "${ac_cv_path_GREP+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 # Extract the first word of "grep ggrep" to use in msg output
3278 if test -z "$GREP"; then
3279 set dummy
grep ggrep
; ac_prog_name
=$2
3280 if test "${ac_cv_path_GREP+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 ac_path_GREP_found
=false
3284 # Loop through the user's path and test for each of PROGNAME-LIST
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_prog
in grep ggrep
; do
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3293 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3294 # Check for GNU ac_path_GREP and select it if it is found.
3295 # Check for GNU $ac_path_GREP
3296 case `"$ac_path_GREP" --version 2>&1` in
3298 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3301 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3304 cat "conftest.in" "conftest.in" >"conftest.tmp"
3305 mv "conftest.tmp" "conftest.in"
3306 cp "conftest.in" "conftest.nl"
3307 echo 'GREP' >> "conftest.nl"
3308 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3309 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3310 ac_count
=`expr $ac_count + 1`
3311 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3312 # Best one so far, save it but keep looking for a better one
3313 ac_cv_path_GREP
="$ac_path_GREP"
3314 ac_path_GREP_max
=$ac_count
3316 # 10*(2^10) chars as input seems more than enough
3317 test $ac_count -gt 10 && break
3319 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3323 $ac_path_GREP_found && break 3
3333 GREP
="$ac_cv_path_GREP"
3334 if test -z "$GREP"; then
3335 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3336 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3337 { (exit 1); exit 1; }; }
3341 ac_cv_path_GREP
=$GREP
3346 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3347 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3348 GREP
="$ac_cv_path_GREP"
3351 { echo "$as_me:$LINENO: checking for egrep" >&5
3352 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3353 if test "${ac_cv_path_EGREP+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3357 then ac_cv_path_EGREP
="$GREP -E"
3359 # Extract the first word of "egrep" to use in msg output
3360 if test -z "$EGREP"; then
3361 set dummy
egrep; ac_prog_name
=$2
3362 if test "${ac_cv_path_EGREP+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 ac_path_EGREP_found
=false
3366 # Loop through the user's path and test for each of PROGNAME-LIST
3367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3368 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3371 test -z "$as_dir" && as_dir
=.
3372 for ac_prog
in egrep; do
3373 for ac_exec_ext
in '' $ac_executable_extensions; do
3374 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3375 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3376 # Check for GNU ac_path_EGREP and select it if it is found.
3377 # Check for GNU $ac_path_EGREP
3378 case `"$ac_path_EGREP" --version 2>&1` in
3380 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3383 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3386 cat "conftest.in" "conftest.in" >"conftest.tmp"
3387 mv "conftest.tmp" "conftest.in"
3388 cp "conftest.in" "conftest.nl"
3389 echo 'EGREP' >> "conftest.nl"
3390 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3391 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3392 ac_count
=`expr $ac_count + 1`
3393 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3394 # Best one so far, save it but keep looking for a better one
3395 ac_cv_path_EGREP
="$ac_path_EGREP"
3396 ac_path_EGREP_max
=$ac_count
3398 # 10*(2^10) chars as input seems more than enough
3399 test $ac_count -gt 10 && break
3401 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3405 $ac_path_EGREP_found && break 3
3415 EGREP
="$ac_cv_path_EGREP"
3416 if test -z "$EGREP"; then
3417 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3418 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3419 { (exit 1); exit 1; }; }
3423 ac_cv_path_EGREP
=$EGREP
3429 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3430 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3431 EGREP
="$ac_cv_path_EGREP"
3434 if test $ac_cv_c_compiler_gnu = yes; then
3435 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3436 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3437 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 ac_pattern
="Autoconf.*'x'"
3441 cat >conftest.
$ac_ext <<_ACEOF
3444 cat confdefs.h
>>conftest.
$ac_ext
3445 cat >>conftest.
$ac_ext <<_ACEOF
3446 /* end confdefs.h. */
3450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3451 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3452 ac_cv_prog_gcc_traditional
=yes
3454 ac_cv_prog_gcc_traditional
=no
3459 if test $ac_cv_prog_gcc_traditional = no
; then
3460 cat >conftest.
$ac_ext <<_ACEOF
3463 cat confdefs.h
>>conftest.
$ac_ext
3464 cat >>conftest.
$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3470 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3471 ac_cv_prog_gcc_traditional
=yes
3477 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3478 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3479 if test $ac_cv_prog_gcc_traditional = yes; then
3480 CC
="$CC -traditional"
3484 # Find a good install program. We prefer a C program (faster),
3485 # so one script is as good as another. But avoid the broken or
3486 # incompatible versions:
3487 # SysV /etc/install, /usr/sbin/install
3488 # SunOS /usr/etc/install
3489 # IRIX /sbin/install
3491 # AmigaOS /C/install, which installs bootblocks on floppy discs
3492 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3493 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3494 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3495 # OS/2's system install, which has a completely different semantic
3496 # ./install, which can be erroneously created by make from ./install.sh.
3497 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3498 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3499 if test -z "$INSTALL"; then
3500 if test "${ac_cv_path_install+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir
=.
3508 # Account for people who put trailing slashes in PATH elements.
3510 .
/ | .
// |
/cC
/* | \
3511 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3512 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3515 # OSF1 and SCO ODT 3.0 have their own names for install.
3516 # Don't use installbsd from OSF since it installs stuff as root
3518 for ac_prog
in ginstall scoinst
install; do
3519 for ac_exec_ext
in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3521 if test $ac_prog = install &&
3522 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3523 # AIX install. It has an incompatible calling convention.
3525 elif test $ac_prog = install &&
3526 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3527 # program-specific install script used by HP pwplus--don't use.
3530 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3543 if test "${ac_cv_path_install+set}" = set; then
3544 INSTALL
=$ac_cv_path_install
3546 # As a last resort, use the slow shell script. Don't cache a
3547 # value for INSTALL within a source directory, because that will
3548 # break other packages using the cache if that directory is
3549 # removed, or if the value is a relative name.
3550 INSTALL
=$ac_install_sh
3553 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3554 echo "${ECHO_T}$INSTALL" >&6; }
3556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3557 # It thinks the first close brace ends the variable substitution.
3558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3562 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3564 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3565 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3567 if test "$LN_S" = "ln -s"; then
3568 { echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6; }
3571 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3572 echo "${ECHO_T}no, using $LN_S" >&6; }
3575 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3576 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3577 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3578 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 cat >conftest.
make <<\_ACEOF
3584 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3586 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3587 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3589 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3591 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3595 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3596 { echo "$as_me:$LINENO: result: yes" >&5
3597 echo "${ECHO_T}yes" >&6; }
3600 { echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6; }
3602 SET_MAKE
="MAKE=${MAKE-make}"
3605 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3606 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
3607 if test -z "$MKDIR_P"; then
3608 if test "${ac_cv_path_mkdir+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_prog
in mkdir gmkdir
; do
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3619 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3620 'mkdir (GNU coreutils) '* | \
3621 'mkdir (coreutils) '* | \
3622 'mkdir (fileutils) '4.1*)
3623 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3633 if test "${ac_cv_path_mkdir+set}" = set; then
3634 MKDIR_P
="$ac_cv_path_mkdir -p"
3636 # As a last resort, use the slow shell script. Don't cache a
3637 # value for MKDIR_P within a source directory, because that will
3638 # break other packages using the cache if that directory is
3639 # removed, or if the value is a relative name.
3640 test -d .
/--version && rmdir .
/--version
3641 MKDIR_P
="$ac_install_sh -d"
3644 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3645 echo "${ECHO_T}$MKDIR_P" >&6; }
3647 if test -n "$ac_tool_prefix"; then
3648 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3649 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3652 if test "${ac_cv_prog_RANLIB+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 if test -n "$RANLIB"; then
3656 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir
=.
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3665 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 RANLIB
=$ac_cv_prog_RANLIB
3676 if test -n "$RANLIB"; then
3677 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3678 echo "${ECHO_T}$RANLIB" >&6; }
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3686 if test -z "$ac_cv_prog_RANLIB"; then
3687 ac_ct_RANLIB
=$RANLIB
3688 # Extract the first word of "ranlib", so it can be a program name with args.
3689 set dummy ranlib
; ac_word
=$2
3690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3692 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 if test -n "$ac_ct_RANLIB"; then
3696 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir
=.
3703 for ac_exec_ext
in '' $ac_executable_extensions; do
3704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3716 if test -n "$ac_ct_RANLIB"; then
3717 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3718 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3724 if test "x$ac_ct_RANLIB" = x
; then
3727 case $cross_compiling:$ac_tool_warned in
3729 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3730 whose name does not start with the host triplet. If you think this
3731 configuration is useful to you, please write to autoconf@gnu.org." >&5
3732 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3733 whose name does not start with the host triplet. If you think this
3734 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3735 ac_tool_warned
=yes ;;
3737 RANLIB
=$ac_ct_RANLIB
3740 RANLIB
="$ac_cv_prog_RANLIB"
3743 # Extract the first word of "cflow", so it can be a program name with args.
3744 set dummy cflow
; ac_word
=$2
3745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3747 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
3774 if test -n "$CFLOW_CMD"; then
3775 { echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
3776 echo "${ECHO_T}$CFLOW_CMD" >&6; }
3778 { echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6; }
3783 # Extract the first word of "cscope", so it can be a program name with args.
3784 set dummy cscope
; ac_word
=$2
3785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3787 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3802 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
3814 if test -n "$CSCOPE_CMD"; then
3815 { echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
3816 echo "${ECHO_T}$CSCOPE_CMD" >&6; }
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3824 ################################################################################
3831 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3832 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3833 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3834 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3835 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 cat >conftest.
$ac_ext <<_ACEOF
3841 cat confdefs.h
>>conftest.
$ac_ext
3842 cat >>conftest.
$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3844 #include <sys/types.h>
3856 rm -f conftest.
$ac_objext
3857 if { (ac_try
="$ac_compile"
3859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_compile") 2>conftest.er1
3865 grep -v '^ *+' conftest.er1 >conftest.err
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } && {
3870 test -z "$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3872 } && test -s conftest.$ac_objext; then
3873 eval "$as_ac_Header=yes"
3875 echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.$ac_ext >&5
3878 eval "$as_ac_Header=no"
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883 ac_res=`eval echo '${'$as_ac_Header'}'`
3884 { echo "$as_me:$LINENO: result: $ac_res" >&5
3885 echo "${ECHO_T}$ac_res" >&6; }
3886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3887 cat >>confdefs.h <<_ACEOF
3888 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
3891 ac_header_dirent=$ac_hdr; break
3895 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3896 if test $ac_header_dirent = dirent.h; then
3897 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3898 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3899 if test "${ac_cv_search_opendir+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 ac_func_search_save_LIBS=$LIBS
3903 cat >conftest.$ac_ext <<_ACEOF
3906 cat confdefs.h >>conftest.$ac_ext
3907 cat >>conftest.$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3910 /* Override any GCC internal prototype to avoid an error.
3911 Use char because int might match the return type of a GCC
3912 builtin and then its argument prototype would still apply. */
3925 for ac_lib in '' dir; do
3926 if test -z "$ac_lib"; then
3927 ac_res="none required"
3930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3932 rm -f conftest.$ac_objext conftest$ac_exeext
3933 if { (ac_try="$ac_link"
3935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3936 *) ac_try_echo
=$ac_try;;
3938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939 (eval "$ac_link") 2>conftest.er1
3941 grep -v '^ *+' conftest.er1
>conftest.err
3943 cat conftest.err
>&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); } && {
3946 test -z "$ac_c_werror_flag" ||
3947 test ! -s conftest.err
3948 } && test -s conftest
$ac_exeext &&
3949 $as_test_x conftest
$ac_exeext; then
3950 ac_cv_search_opendir
=$ac_res
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.
$ac_ext >&5
3958 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3960 if test "${ac_cv_search_opendir+set}" = set; then
3964 if test "${ac_cv_search_opendir+set}" = set; then
3967 ac_cv_search_opendir
=no
3970 LIBS
=$ac_func_search_save_LIBS
3972 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3973 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3974 ac_res
=$ac_cv_search_opendir
3975 if test "$ac_res" != no
; then
3976 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3981 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3982 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3983 if test "${ac_cv_search_opendir+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 ac_func_search_save_LIBS
=$LIBS
3987 cat >conftest.
$ac_ext <<_ACEOF
3990 cat confdefs.h
>>conftest.
$ac_ext
3991 cat >>conftest.
$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
3994 /* Override any GCC internal prototype to avoid an error.
3995 Use char because int might match the return type of a GCC
3996 builtin and then its argument prototype would still apply. */
4009 for ac_lib
in '' x
; do
4010 if test -z "$ac_lib"; then
4011 ac_res
="none required"
4014 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4016 rm -f conftest.
$ac_objext conftest
$ac_exeext
4017 if { (ac_try
="$ac_link"
4019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_link") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } && {
4030 test -z "$ac_c_werror_flag" ||
4031 test ! -s conftest.err
4032 } && test -s conftest$ac_exeext &&
4033 $as_test_x conftest$ac_exeext; then
4034 ac_cv_search_opendir=$ac_res
4036 echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.$ac_ext >&5
4042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4044 if test "${ac_cv_search_opendir+set}" = set; then
4048 if test "${ac_cv_search_opendir+set}" = set; then
4051 ac_cv_search_opendir=no
4054 LIBS=$ac_func_search_save_LIBS
4056 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4057 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4058 ac_res=$ac_cv_search_opendir
4059 if test "$ac_res" != no; then
4060 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4066 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4067 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4068 if test "${ac_cv_header_stdc+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 cat >conftest.$ac_ext <<_ACEOF
4074 cat confdefs.h >>conftest.$ac_ext
4075 cat >>conftest.$ac_ext <<_ACEOF
4076 /* end confdefs.h. */
4090 rm -f conftest.$ac_objext
4091 if { (ac_try="$ac_compile"
4093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4094 *) ac_try_echo
=$ac_try;;
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_compile") 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest.
$ac_objext; then
4107 ac_cv_header_stdc
=yes
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.
$ac_ext >&5
4112 ac_cv_header_stdc
=no
4115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4117 if test $ac_cv_header_stdc = yes; then
4118 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4119 cat >conftest.
$ac_ext <<_ACEOF
4122 cat confdefs.h
>>conftest.
$ac_ext
4123 cat >>conftest.
$ac_ext <<_ACEOF
4124 /* end confdefs.h. */
4128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4129 $EGREP "memchr" >/dev
/null
2>&1; then
4132 ac_cv_header_stdc
=no
4138 if test $ac_cv_header_stdc = yes; then
4139 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "free" >/dev
/null
2>&1; then
4153 ac_cv_header_stdc
=no
4159 if test $ac_cv_header_stdc = yes; then
4160 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4161 if test "$cross_compiling" = yes; then
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4172 #if ((' ' & 0x0FF) == 0x020)
4173 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4174 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4176 # define ISLOWER(c) \
4177 (('a' <= (c) && (c) <= 'i') \
4178 || ('j' <= (c) && (c) <= 'r') \
4179 || ('s' <= (c) && (c) <= 'z'))
4180 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4183 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4188 for (i = 0; i < 256; i++)
4189 if (XOR (islower (i), ISLOWER (i))
4190 || toupper (i) != TOUPPER (i))
4195 rm -f conftest
$ac_exeext
4196 if { (ac_try
="$ac_link"
4198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4199 *) ac_try_echo=$ac_try;;
4201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4202 (eval "$ac_link") 2>&5
4204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4206 { (case "(($ac_try" in
4207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4208 *) ac_try_echo
=$ac_try;;
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_try") 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; }; then
4217 echo "$as_me: program exited with status $ac_status" >&5
4218 echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.
$ac_ext >&5
4222 ac_cv_header_stdc
=no
4224 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4230 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4231 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4232 if test $ac_cv_header_stdc = yes; then
4234 cat >>confdefs.h
<<\_ACEOF
4235 #define STDC_HEADERS 1
4240 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4241 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4242 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 cat >conftest.
$ac_ext <<_ACEOF
4248 cat confdefs.h
>>conftest.
$ac_ext
4249 cat >>conftest.
$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 #include <sys/types.h>
4252 #include <sys/wait.h>
4254 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4257 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4265 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4270 rm -f conftest.
$ac_objext
4271 if { (ac_try
="$ac_compile"
4273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4277 (eval "$ac_compile") 2>conftest.er1
4279 grep -v '^ *+' conftest.er1 >conftest.err
4281 cat conftest.err >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } && {
4284 test -z "$ac_c_werror_flag" ||
4285 test ! -s conftest.err
4286 } && test -s conftest.$ac_objext; then
4287 ac_cv_header_sys_wait_h=yes
4289 echo "$as_me: failed program was:" >&5
4290 sed 's/^/| /' conftest.$ac_ext >&5
4292 ac_cv_header_sys_wait_h=no
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4298 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4299 if test $ac_cv_header_sys_wait_h = yes; then
4301 cat >>confdefs.h <<\_ACEOF
4302 #define HAVE_SYS_WAIT_H 1
4307 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4308 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4309 if test "${ac_cv_header_time+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 cat >conftest.$ac_ext <<_ACEOF
4315 cat confdefs.h >>conftest.$ac_ext
4316 cat >>conftest.$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4318 #include <sys/types.h>
4319 #include <sys/time.h>
4325 if ((struct tm *) 0)
4331 rm -f conftest.$ac_objext
4332 if { (ac_try="$ac_compile"
4334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4335 *) ac_try_echo
=$ac_try;;
4337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4338 (eval "$ac_compile") 2>conftest.er1
4340 grep -v '^ *+' conftest.er1
>conftest.err
4342 cat conftest.err
>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } && {
4345 test -z "$ac_c_werror_flag" ||
4346 test ! -s conftest.err
4347 } && test -s conftest.
$ac_objext; then
4348 ac_cv_header_time
=yes
4350 echo "$as_me: failed program was:" >&5
4351 sed 's/^/| /' conftest.
$ac_ext >&5
4353 ac_cv_header_time
=no
4356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4358 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4359 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4360 if test $ac_cv_header_time = yes; then
4362 cat >>confdefs.h
<<\_ACEOF
4363 #define TIME_WITH_SYS_TIME 1
4369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4379 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4380 inttypes.h stdint.h unistd.h
4382 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4385 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 cat >conftest.
$ac_ext <<_ACEOF
4391 cat confdefs.h
>>conftest.
$ac_ext
4392 cat >>conftest.
$ac_ext <<_ACEOF
4393 /* end confdefs.h. */
4394 $ac_includes_default
4396 #include <$ac_header>
4398 rm -f conftest.
$ac_objext
4399 if { (ac_try
="$ac_compile"
4401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4402 *) ac_try_echo=$ac_try;;
4404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4405 (eval "$ac_compile") 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } && {
4412 test -z "$ac_c_werror_flag" ||
4413 test ! -s conftest.err
4414 } && test -s conftest.$ac_objext; then
4415 eval "$as_ac_Header=yes"
4417 echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.$ac_ext >&5
4420 eval "$as_ac_Header=no"
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_res=`eval echo '${'$as_ac_Header'}'`
4426 { echo "$as_me:$LINENO: result: $ac_res" >&5
4427 echo "${ECHO_T}$ac_res" >&6; }
4428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4429 cat >>confdefs.h <<_ACEOF
4430 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4451 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4452 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4454 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_res=`eval echo '${'$as_ac_Header'}'`
4462 { echo "$as_me:$LINENO: result: $ac_res" >&5
4463 echo "${ECHO_T}$ac_res" >&6; }
4465 # Is the header compilable?
4466 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4468 cat >conftest.$ac_ext <<_ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 $ac_includes_default
4475 #include <$ac_header>
4477 rm -f conftest.$ac_objext
4478 if { (ac_try="$ac_compile"
4480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4481 *) ac_try_echo
=$ac_try;;
4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4484 (eval "$ac_compile") 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } && {
4491 test -z "$ac_c_werror_flag" ||
4492 test ! -s conftest.err
4493 } && test -s conftest.
$ac_objext; then
4494 ac_header_compiler
=yes
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.
$ac_ext >&5
4499 ac_header_compiler
=no
4502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4503 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4504 echo "${ECHO_T}$ac_header_compiler" >&6; }
4506 # Is the header present?
4507 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4508 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 #include <$ac_header>
4517 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4520 *) ac_try_echo=$ac_try;;
4522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4525 grep -v '^ *+' conftest.er1 >conftest.err
4527 cat conftest.err >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } >/dev/null && {
4530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4531 test ! -s conftest.err
4533 ac_header_preproc=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_header_preproc=no
4541 rm -f conftest.err conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4543 echo "${ECHO_T}$ac_header_preproc" >&6; }
4545 # So? What about this header?
4546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4552 ac_header_preproc=yes
4555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 eval "$as_ac_Header=\$ac_header_preproc"
4577 ac_res=`eval echo '${'$as_ac_Header'}'`
4578 { echo "$as_me:$LINENO: result: $ac_res" >&5
4579 echo "${ECHO_T}$ac_res" >&6; }
4582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4583 cat >>confdefs.h <<_ACEOF
4584 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4588 { { echo "$as_me:$LINENO: error: bailing out" >&5
4589 echo "$as_me: error: bailing out" >&2;}
4590 { (exit 1); exit 1; }; }
4601 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4603 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 ac_res=`eval echo '${'$as_ac_Header'}'`
4611 { echo "$as_me:$LINENO: result: $ac_res" >&5
4612 echo "${ECHO_T}$ac_res" >&6; }
4614 # Is the header compilable?
4615 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4617 cat >conftest.$ac_ext <<_ACEOF
4620 cat confdefs.h >>conftest.$ac_ext
4621 cat >>conftest.$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4623 $ac_includes_default
4624 #include <$ac_header>
4626 rm -f conftest.$ac_objext
4627 if { (ac_try="$ac_compile"
4629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4630 *) ac_try_echo
=$ac_try;;
4632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4633 (eval "$ac_compile") 2>conftest.er1
4635 grep -v '^ *+' conftest.er1
>conftest.err
4637 cat conftest.err
>&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } && {
4640 test -z "$ac_c_werror_flag" ||
4641 test ! -s conftest.err
4642 } && test -s conftest.
$ac_objext; then
4643 ac_header_compiler
=yes
4645 echo "$as_me: failed program was:" >&5
4646 sed 's/^/| /' conftest.
$ac_ext >&5
4648 ac_header_compiler
=no
4651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4652 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4653 echo "${ECHO_T}$ac_header_compiler" >&6; }
4655 # Is the header present?
4656 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4658 cat >conftest.
$ac_ext <<_ACEOF
4661 cat confdefs.h
>>conftest.
$ac_ext
4662 cat >>conftest.
$ac_ext <<_ACEOF
4663 /* end confdefs.h. */
4664 #include <$ac_header>
4666 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4674 grep -v '^ *+' conftest.er1 >conftest.err
4676 cat conftest.err >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } >/dev/null && {
4679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4680 test ! -s conftest.err
4682 ac_header_preproc=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_header_preproc=no
4690 rm -f conftest.err conftest.$ac_ext
4691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4692 echo "${ECHO_T}$ac_header_preproc" >&6; }
4694 # So? What about this header?
4695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4701 ac_header_preproc=yes
4704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4719 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 eval "$as_ac_Header=\$ac_header_preproc"
4726 ac_res=`eval echo '${'$as_ac_Header'}'`
4727 { echo "$as_me:$LINENO: result: $ac_res" >&5
4728 echo "${ECHO_T}$ac_res" >&6; }
4731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4732 cat >>confdefs.h <<_ACEOF
4733 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4737 { { echo "$as_me:$LINENO: error: bailing out" >&5
4738 echo "$as_me: error: bailing out" >&2;}
4739 { (exit 1); exit 1; }; }
4747 for ac_header in machine/endian.h sys/disk.h
4749 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4751 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4753 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 ac_res=`eval echo '${'$as_ac_Header'}'`
4757 { echo "$as_me:$LINENO: result: $ac_res" >&5
4758 echo "${ECHO_T}$ac_res" >&6; }
4760 # Is the header compilable?
4761 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4763 cat >conftest.$ac_ext <<_ACEOF
4766 cat confdefs.h >>conftest.$ac_ext
4767 cat >>conftest.$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4769 $ac_includes_default
4770 #include <$ac_header>
4772 rm -f conftest.$ac_objext
4773 if { (ac_try="$ac_compile"
4775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4776 *) ac_try_echo
=$ac_try;;
4778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4779 (eval "$ac_compile") 2>conftest.er1
4781 grep -v '^ *+' conftest.er1
>conftest.err
4783 cat conftest.err
>&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); } && {
4786 test -z "$ac_c_werror_flag" ||
4787 test ! -s conftest.err
4788 } && test -s conftest.
$ac_objext; then
4789 ac_header_compiler
=yes
4791 echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.
$ac_ext >&5
4794 ac_header_compiler
=no
4797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4798 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4799 echo "${ECHO_T}$ac_header_compiler" >&6; }
4801 # Is the header present?
4802 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4804 cat >conftest.
$ac_ext <<_ACEOF
4807 cat confdefs.h
>>conftest.
$ac_ext
4808 cat >>conftest.
$ac_ext <<_ACEOF
4809 /* end confdefs.h. */
4810 #include <$ac_header>
4812 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4815 *) ac_try_echo=$ac_try;;
4817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4820 grep -v '^ *+' conftest.er1 >conftest.err
4822 cat conftest.err >&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } >/dev/null && {
4825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4826 test ! -s conftest.err
4828 ac_header_preproc=yes
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.$ac_ext >&5
4833 ac_header_preproc=no
4836 rm -f conftest.err conftest.$ac_ext
4837 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4838 echo "${ECHO_T}$ac_header_preproc" >&6; }
4840 # So? What about this header?
4841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4847 ac_header_preproc=yes
4850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4865 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4868 echo $ECHO_N "(cached) $ECHO_C" >&6
4870 eval "$as_ac_Header=\$ac_header_preproc"
4872 ac_res=`eval echo '${'$as_ac_Header'}'`
4873 { echo "$as_me:$LINENO: result: $ac_res" >&5
4874 echo "${ECHO_T}$ac_res" >&6; }
4877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4878 cat >>confdefs.h <<_ACEOF
4879 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4883 { { echo "$as_me:$LINENO: error: bailing out" >&5
4884 echo "$as_me: error: bailing out" >&2;}
4885 { (exit 1); exit 1; }; }
4908 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
4909 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
4910 sys/types.h unistd.h
4912 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4914 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 ac_res=`eval echo '${'$as_ac_Header'}'`
4920 { echo "$as_me:$LINENO: result: $ac_res" >&5
4921 echo "${ECHO_T}$ac_res" >&6; }
4923 # Is the header compilable?
4924 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4926 cat >conftest.$ac_ext <<_ACEOF
4929 cat confdefs.h >>conftest.$ac_ext
4930 cat >>conftest.$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4932 $ac_includes_default
4933 #include <$ac_header>
4935 rm -f conftest.$ac_objext
4936 if { (ac_try="$ac_compile"
4938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4939 *) ac_try_echo
=$ac_try;;
4941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4942 (eval "$ac_compile") 2>conftest.er1
4944 grep -v '^ *+' conftest.er1
>conftest.err
4946 cat conftest.err
>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } && {
4949 test -z "$ac_c_werror_flag" ||
4950 test ! -s conftest.err
4951 } && test -s conftest.
$ac_objext; then
4952 ac_header_compiler
=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4957 ac_header_compiler
=no
4960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4961 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4962 echo "${ECHO_T}$ac_header_compiler" >&6; }
4964 # Is the header present?
4965 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4967 cat >conftest.
$ac_ext <<_ACEOF
4970 cat confdefs.h
>>conftest.
$ac_ext
4971 cat >>conftest.
$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 #include <$ac_header>
4975 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4983 grep -v '^ *+' conftest.er1 >conftest.err
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } >/dev/null && {
4988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4991 ac_header_preproc=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_header_preproc=no
4999 rm -f conftest.err conftest.$ac_ext
5000 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5001 echo "${ECHO_T}$ac_header_preproc" >&6; }
5003 # So? What about this header?
5004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5009 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5010 ac_header_preproc=yes
5013 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5014 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5015 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5016 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5017 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5018 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5019 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5020 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5023 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 eval "$as_ac_Header=\$ac_header_preproc"
5035 ac_res=`eval echo '${'$as_ac_Header'}'`
5036 { echo "$as_me:$LINENO: result: $ac_res" >&5
5037 echo "${ECHO_T}$ac_res" >&6; }
5040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5041 cat >>confdefs.h <<_ACEOF
5042 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5046 { { echo "$as_me:$LINENO: error: bailing out" >&5
5047 echo "$as_me: error: bailing out" >&2;}
5048 { (exit 1); exit 1; }; }
5055 for ac_header in termios.h sys/statvfs.h
5057 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 ac_res=`eval echo '${'$as_ac_Header'}'`
5065 { echo "$as_me:$LINENO: result: $ac_res" >&5
5066 echo "${ECHO_T}$ac_res" >&6; }
5068 # Is the header compilable?
5069 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5071 cat >conftest.$ac_ext <<_ACEOF
5074 cat confdefs.h >>conftest.$ac_ext
5075 cat >>conftest.$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5077 $ac_includes_default
5078 #include <$ac_header>
5080 rm -f conftest.$ac_objext
5081 if { (ac_try="$ac_compile"
5083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5084 *) ac_try_echo
=$ac_try;;
5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5087 (eval "$ac_compile") 2>conftest.er1
5089 grep -v '^ *+' conftest.er1
>conftest.err
5091 cat conftest.err
>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } && {
5094 test -z "$ac_c_werror_flag" ||
5095 test ! -s conftest.err
5096 } && test -s conftest.
$ac_objext; then
5097 ac_header_compiler
=yes
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.
$ac_ext >&5
5102 ac_header_compiler
=no
5105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5107 echo "${ECHO_T}$ac_header_compiler" >&6; }
5109 # Is the header present?
5110 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5112 cat >conftest.
$ac_ext <<_ACEOF
5115 cat confdefs.h
>>conftest.
$ac_ext
5116 cat >>conftest.
$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5118 #include <$ac_header>
5120 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5128 grep -v '^ *+' conftest.er1 >conftest.err
5130 cat conftest.err >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } >/dev/null && {
5133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5134 test ! -s conftest.err
5136 ac_header_preproc=yes
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5141 ac_header_preproc=no
5144 rm -f conftest.err conftest.$ac_ext
5145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5146 echo "${ECHO_T}$ac_header_preproc" >&6; }
5148 # So? What about this header?
5149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5154 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5155 ac_header_preproc=yes
5158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5162 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5163 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5164 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5165 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5168 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5169 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 eval "$as_ac_Header=\$ac_header_preproc"
5180 ac_res=`eval echo '${'$as_ac_Header'}'`
5181 { echo "$as_me:$LINENO: result: $ac_res" >&5
5182 echo "${ECHO_T}$ac_res" >&6; }
5185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5186 cat >>confdefs.h <<_ACEOF
5187 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5195 ################################################################################
5196 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5197 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5198 if test "${ac_cv_c_const+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 cat >conftest.$ac_ext <<_ACEOF
5204 cat confdefs.h >>conftest.$ac_ext
5205 cat >>conftest.$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5211 /* FIXME: Include the comments suggested by Paul. */
5213 /* Ultrix mips cc rejects this. */
5214 typedef int charset[2];
5216 /* SunOS 4.1.1 cc rejects this. */
5217 char const *const *pcpcc;
5219 /* NEC SVR4.0.2 mips cc rejects this. */
5220 struct point {int x, y;};
5221 static struct point const zero = {0,0};
5222 /* AIX XL C 1.02.0.0 rejects this.
5223 It does not let you subtract one const X* pointer from another in
5224 an arm of an if-expression whose if-part is not a constant
5226 const char *g = "string";
5227 pcpcc = &g + (g ? g-g : 0);
5228 /* HPUX 7.0 cc rejects these. */
5230 ppc = (char**) pcpcc;
5231 pcpcc = (char const *const *) ppc;
5232 { /* SCO 3.2v4 cc rejects this. */
5234 char const *s = 0 ? (char *) 0 : (char const *) 0;
5239 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5241 const int *foo = &x[0];
5244 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5245 typedef const int *iptr;
5249 { /* AIX XL C 1.02.0.0 rejects this saying
5250 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5251 struct s { int j; const int *ap[3]; };
5252 struct s *b; b->j = 5;
5254 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5258 return !cs[0] && !zero.x;
5265 rm -f conftest.$ac_objext
5266 if { (ac_try="$ac_compile"
5268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5269 *) ac_try_echo
=$ac_try;;
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_compile") 2>conftest.er1
5274 grep -v '^ *+' conftest.er1
>conftest.err
5276 cat conftest.err
>&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } && {
5279 test -z "$ac_c_werror_flag" ||
5280 test ! -s conftest.err
5281 } && test -s conftest.
$ac_objext; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5292 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5293 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5294 if test $ac_cv_c_const = no
; then
5296 cat >>confdefs.h
<<\_ACEOF
5302 { echo "$as_me:$LINENO: checking for inline" >&5
5303 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5304 if test "${ac_cv_c_inline+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 for ac_kw
in inline __inline__ __inline
; do
5309 cat >conftest.
$ac_ext <<_ACEOF
5312 cat confdefs.h
>>conftest.
$ac_ext
5313 cat >>conftest.
$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5317 static $ac_kw foo_t static_foo () {return 0; }
5318 $ac_kw foo_t foo () {return 0; }
5322 rm -f conftest.
$ac_objext
5323 if { (ac_try
="$ac_compile"
5325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5326 *) ac_try_echo=$ac_try;;
5328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5329 (eval "$ac_compile") 2>conftest.er1
5331 grep -v '^ *+' conftest.er1 >conftest.err
5333 cat conftest.err >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); } && {
5336 test -z "$ac_c_werror_flag" ||
5337 test ! -s conftest.err
5338 } && test -s conftest.$ac_objext; then
5339 ac_cv_c_inline=$ac_kw
5341 echo "$as_me: failed program was:" >&5
5342 sed 's/^/| /' conftest.$ac_ext >&5
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 test "$ac_cv_c_inline" != no && break
5352 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5353 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5356 case $ac_cv_c_inline in
5359 case $ac_cv_c_inline in
5361 *) ac_val=$ac_cv_c_inline;;
5363 cat >>confdefs.h <<_ACEOF
5365 #define inline $ac_val
5371 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5372 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5373 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 cat >conftest.$ac_ext <<_ACEOF
5379 cat confdefs.h >>conftest.$ac_ext
5380 cat >>conftest.$ac_ext <<_ACEOF
5381 /* end confdefs.h. */
5382 $ac_includes_default
5386 static struct stat ac_aggr;
5387 if (ac_aggr.st_rdev)
5393 rm -f conftest.$ac_objext
5394 if { (ac_try="$ac_compile"
5396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5397 *) ac_try_echo
=$ac_try;;
5399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5400 (eval "$ac_compile") 2>conftest.er1
5402 grep -v '^ *+' conftest.er1
>conftest.err
5404 cat conftest.err
>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } && {
5407 test -z "$ac_c_werror_flag" ||
5408 test ! -s conftest.err
5409 } && test -s conftest.
$ac_objext; then
5410 ac_cv_member_struct_stat_st_rdev
=yes
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.
$ac_ext >&5
5415 cat >conftest.
$ac_ext <<_ACEOF
5418 cat confdefs.h
>>conftest.
$ac_ext
5419 cat >>conftest.
$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 $ac_includes_default
5425 static struct stat ac_aggr;
5426 if (sizeof ac_aggr.st_rdev)
5432 rm -f conftest.
$ac_objext
5433 if { (ac_try
="$ac_compile"
5435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5436 *) ac_try_echo=$ac_try;;
5438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5439 (eval "$ac_compile") 2>conftest.er1
5441 grep -v '^ *+' conftest.er1 >conftest.err
5443 cat conftest.err >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); } && {
5446 test -z "$ac_c_werror_flag" ||
5447 test ! -s conftest.err
5448 } && test -s conftest.$ac_objext; then
5449 ac_cv_member_struct_stat_st_rdev=yes
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.$ac_ext >&5
5454 ac_cv_member_struct_stat_st_rdev=no
5457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5462 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5463 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5464 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5466 cat >>confdefs.h <<_ACEOF
5467 #define HAVE_STRUCT_STAT_ST_RDEV 1
5473 { echo "$as_me:$LINENO: checking for off_t" >&5
5474 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5475 if test "${ac_cv_type_off_t+set}" = set; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 cat >conftest.$ac_ext <<_ACEOF
5481 cat confdefs.h >>conftest.$ac_ext
5482 cat >>conftest.$ac_ext <<_ACEOF
5483 /* end confdefs.h. */
5484 $ac_includes_default
5485 typedef off_t ac__type_new_;
5489 if ((ac__type_new_ *) 0)
5491 if (sizeof (ac__type_new_))
5497 rm -f conftest.$ac_objext
5498 if { (ac_try="$ac_compile"
5500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5501 *) ac_try_echo
=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_compile") 2>conftest.er1
5506 grep -v '^ *+' conftest.er1
>conftest.err
5508 cat conftest.err
>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } && {
5511 test -z "$ac_c_werror_flag" ||
5512 test ! -s conftest.err
5513 } && test -s conftest.
$ac_objext; then
5514 ac_cv_type_off_t
=yes
5516 echo "$as_me: failed program was:" >&5
5517 sed 's/^/| /' conftest.
$ac_ext >&5
5522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5524 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5525 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5526 if test $ac_cv_type_off_t = yes; then
5530 cat >>confdefs.h
<<_ACEOF
5531 #define off_t long int
5536 { echo "$as_me:$LINENO: checking for pid_t" >&5
5537 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5538 if test "${ac_cv_type_pid_t+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 cat >conftest.
$ac_ext <<_ACEOF
5544 cat confdefs.h
>>conftest.
$ac_ext
5545 cat >>conftest.
$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5547 $ac_includes_default
5548 typedef pid_t ac__type_new_;
5552 if ((ac__type_new_ *) 0)
5554 if (sizeof (ac__type_new_))
5560 rm -f conftest.
$ac_objext
5561 if { (ac_try
="$ac_compile"
5563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5564 *) ac_try_echo=$ac_try;;
5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5567 (eval "$ac_compile") 2>conftest.er1
5569 grep -v '^ *+' conftest.er1 >conftest.err
5571 cat conftest.err >&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && {
5574 test -z "$ac_c_werror_flag" ||
5575 test ! -s conftest.err
5576 } && test -s conftest.$ac_objext; then
5577 ac_cv_type_pid_t=yes
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5588 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5589 if test $ac_cv_type_pid_t = yes; then
5593 cat >>confdefs.h <<_ACEOF
5599 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5600 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5601 if test "${ac_cv_type_signal+set}" = set; then
5602 echo $ECHO_N "(cached) $ECHO_C" >&6
5604 cat >conftest.$ac_ext <<_ACEOF
5607 cat confdefs.h >>conftest.$ac_ext
5608 cat >>conftest.$ac_ext <<_ACEOF
5609 /* end confdefs.h. */
5610 #include <sys/types.h>
5616 return *(signal (0, 0)) (0) == 1;
5621 rm -f conftest.$ac_objext
5622 if { (ac_try="$ac_compile"
5624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5625 *) ac_try_echo
=$ac_try;;
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_compile") 2>conftest.er1
5630 grep -v '^ *+' conftest.er1
>conftest.err
5632 cat conftest.err
>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && {
5635 test -z "$ac_c_werror_flag" ||
5636 test ! -s conftest.err
5637 } && test -s conftest.
$ac_objext; then
5638 ac_cv_type_signal
=int
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.
$ac_ext >&5
5643 ac_cv_type_signal
=void
5646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5649 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5651 cat >>confdefs.h
<<_ACEOF
5652 #define RETSIGTYPE $ac_cv_type_signal
5656 { echo "$as_me:$LINENO: checking for size_t" >&5
5657 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5658 if test "${ac_cv_type_size_t+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 cat >conftest.
$ac_ext <<_ACEOF
5664 cat confdefs.h
>>conftest.
$ac_ext
5665 cat >>conftest.
$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5667 $ac_includes_default
5668 typedef size_t ac__type_new_;
5672 if ((ac__type_new_ *) 0)
5674 if (sizeof (ac__type_new_))
5680 rm -f conftest.
$ac_objext
5681 if { (ac_try
="$ac_compile"
5683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5687 (eval "$ac_compile") 2>conftest.er1
5689 grep -v '^ *+' conftest.er1 >conftest.err
5691 cat conftest.err >&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } && {
5694 test -z "$ac_c_werror_flag" ||
5695 test ! -s conftest.err
5696 } && test -s conftest.$ac_objext; then
5697 ac_cv_type_size_t=yes
5699 echo "$as_me: failed program was:" >&5
5700 sed 's/^/| /' conftest.$ac_ext >&5
5702 ac_cv_type_size_t=no
5705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5707 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5708 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5709 if test $ac_cv_type_size_t = yes; then
5713 cat >>confdefs.h <<_ACEOF
5714 #define size_t unsigned int
5719 { echo "$as_me:$LINENO: checking for mode_t" >&5
5720 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5721 if test "${ac_cv_type_mode_t+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 cat >conftest.$ac_ext <<_ACEOF
5727 cat confdefs.h >>conftest.$ac_ext
5728 cat >>conftest.$ac_ext <<_ACEOF
5729 /* end confdefs.h. */
5730 $ac_includes_default
5731 typedef mode_t ac__type_new_;
5735 if ((ac__type_new_ *) 0)
5737 if (sizeof (ac__type_new_))
5743 rm -f conftest.$ac_objext
5744 if { (ac_try="$ac_compile"
5746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5747 *) ac_try_echo
=$ac_try;;
5749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750 (eval "$ac_compile") 2>conftest.er1
5752 grep -v '^ *+' conftest.er1
>conftest.err
5754 cat conftest.err
>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } && {
5757 test -z "$ac_c_werror_flag" ||
5758 test ! -s conftest.err
5759 } && test -s conftest.
$ac_objext; then
5760 ac_cv_type_mode_t
=yes
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5765 ac_cv_type_mode_t
=no
5768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5770 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5771 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5772 if test $ac_cv_type_mode_t = yes; then
5776 cat >>confdefs.h
<<_ACEOF
5782 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5783 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5784 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5793 $ac_includes_default
5797 static struct stat ac_aggr;
5798 if (ac_aggr.st_rdev)
5804 rm -f conftest.
$ac_objext
5805 if { (ac_try
="$ac_compile"
5807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5808 *) ac_try_echo=$ac_try;;
5810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811 (eval "$ac_compile") 2>conftest.er1
5813 grep -v '^ *+' conftest.er1 >conftest.err
5815 cat conftest.err >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } && {
5818 test -z "$ac_c_werror_flag" ||
5819 test ! -s conftest.err
5820 } && test -s conftest.$ac_objext; then
5821 ac_cv_member_struct_stat_st_rdev=yes
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.$ac_ext >&5
5826 cat >conftest.$ac_ext <<_ACEOF
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5832 $ac_includes_default
5836 static struct stat ac_aggr;
5837 if (sizeof ac_aggr.st_rdev)
5843 rm -f conftest.$ac_objext
5844 if { (ac_try="$ac_compile"
5846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5847 *) ac_try_echo
=$ac_try;;
5849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5850 (eval "$ac_compile") 2>conftest.er1
5852 grep -v '^ *+' conftest.er1
>conftest.err
5854 cat conftest.err
>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } && {
5857 test -z "$ac_c_werror_flag" ||
5858 test ! -s conftest.err
5859 } && test -s conftest.
$ac_objext; then
5860 ac_cv_member_struct_stat_st_rdev
=yes
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5865 ac_cv_member_struct_stat_st_rdev
=no
5868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5873 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5874 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5875 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5877 cat >>confdefs.h
<<_ACEOF
5878 #define HAVE_STRUCT_STAT_ST_RDEV 1
5884 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5885 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5886 if test "${ac_cv_struct_tm+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 cat >conftest.
$ac_ext <<_ACEOF
5892 cat confdefs.h
>>conftest.
$ac_ext
5893 cat >>conftest.
$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5895 #include <sys/types.h>
5902 int *p = &tm.tm_sec;
5908 rm -f conftest.
$ac_objext
5909 if { (ac_try
="$ac_compile"
5911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5912 *) ac_try_echo=$ac_try;;
5914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5915 (eval "$ac_compile") 2>conftest.er1
5917 grep -v '^ *+' conftest.er1 >conftest.err
5919 cat conftest.err >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } && {
5922 test -z "$ac_c_werror_flag" ||
5923 test ! -s conftest.err
5924 } && test -s conftest.$ac_objext; then
5925 ac_cv_struct_tm=time.h
5927 echo "$as_me: failed program was:" >&5
5928 sed 's/^/| /' conftest.$ac_ext >&5
5930 ac_cv_struct_tm=sys/time.h
5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5935 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5936 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5937 if test $ac_cv_struct_tm = sys/time.h; then
5939 cat >>confdefs.h <<\_ACEOF
5940 #define TM_IN_SYS_TIME 1
5946 ################################################################################
5964 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
5965 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
5968 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 cat >conftest.$ac_ext <<_ACEOF
5977 cat confdefs.h >>conftest.$ac_ext
5978 cat >>conftest.$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5982 #define $ac_func innocuous_$ac_func
5984 /* System header to define __stub macros and hopefully few prototypes,
5985 which can conflict with char $ac_func (); below.
5986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5987 <limits.h> exists even on freestanding compilers. */
5990 # include <limits.h>
5992 # include <assert.h>
5997 /* Override any GCC internal prototype to avoid an error.
5998 Use char because int might match the return type of a GCC
5999 builtin and then its argument prototype would still apply. */
6004 /* The GNU C library defines this for functions which it implements
6005 to always fail with ENOSYS. Some functions are actually named
6006 something starting with __ and the normal name is an alias. */
6007 #if defined __stub_$ac_func || defined __stub___$ac_func
6019 rm -f conftest.$ac_objext conftest$ac_exeext
6020 if { (ac_try="$ac_link"
6022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6023 *) ac_try_echo
=$ac_try;;
6025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6026 (eval "$ac_link") 2>conftest.er1
6028 grep -v '^ *+' conftest.er1
>conftest.err
6030 cat conftest.err
>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } && {
6033 test -z "$ac_c_werror_flag" ||
6034 test ! -s conftest.err
6035 } && test -s conftest
$ac_exeext &&
6036 $as_test_x conftest
$ac_exeext; then
6037 eval "$as_ac_var=yes"
6039 echo "$as_me: failed program was:" >&5
6040 sed 's/^/| /' conftest.
$ac_ext >&5
6042 eval "$as_ac_var=no"
6045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6046 conftest
$ac_exeext conftest.
$ac_ext
6048 ac_res
=`eval echo '${'$as_ac_var'}'`
6049 { echo "$as_me:$LINENO: result: $ac_res" >&5
6050 echo "${ECHO_T}$ac_res" >&6; }
6051 if test `eval echo '${'$as_ac_var'}'` = yes; then
6052 cat >>confdefs.h
<<_ACEOF
6053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6057 { { echo "$as_me:$LINENO: error: bailing out" >&5
6058 echo "$as_me: error: bailing out" >&2;}
6059 { (exit 1); exit 1; }; }
6063 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6064 # for constant arguments. Useless!
6065 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6066 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6067 if test "${ac_cv_working_alloca_h+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 cat >conftest.
$ac_ext <<_ACEOF
6073 cat confdefs.h
>>conftest.
$ac_ext
6074 cat >>conftest.
$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6080 char *p = (char *) alloca (2 * sizeof (int));
6086 rm -f conftest.
$ac_objext conftest
$ac_exeext
6087 if { (ac_try
="$ac_link"
6089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6090 *) ac_try_echo=$ac_try;;
6092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6093 (eval "$ac_link") 2>conftest.er1
6095 grep -v '^ *+' conftest.er1 >conftest.err
6097 cat conftest.err >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } && {
6100 test -z "$ac_c_werror_flag" ||
6101 test ! -s conftest.err
6102 } && test -s conftest$ac_exeext &&
6103 $as_test_x conftest$ac_exeext; then
6104 ac_cv_working_alloca_h=yes
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6109 ac_cv_working_alloca_h=no
6112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6113 conftest$ac_exeext conftest.$ac_ext
6115 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6116 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6117 if test $ac_cv_working_alloca_h = yes; then
6119 cat >>confdefs.h <<\_ACEOF
6120 #define HAVE_ALLOCA_H 1
6125 { echo "$as_me:$LINENO: checking for alloca" >&5
6126 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6127 if test "${ac_cv_func_alloca_works+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 cat >conftest.$ac_ext <<_ACEOF
6133 cat confdefs.h >>conftest.$ac_ext
6134 cat >>conftest.$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6137 # define alloca __builtin_alloca
6140 # include <malloc.h>
6141 # define alloca _alloca
6143 # ifdef HAVE_ALLOCA_H
6144 # include <alloca.h>
6149 # ifndef alloca /* predefined by HP cc +Olibcalls */
6160 char *p = (char *) alloca (1);
6166 rm -f conftest.$ac_objext conftest$ac_exeext
6167 if { (ac_try="$ac_link"
6169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6170 *) ac_try_echo
=$ac_try;;
6172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6173 (eval "$ac_link") 2>conftest.er1
6175 grep -v '^ *+' conftest.er1
>conftest.err
6177 cat conftest.err
>&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } && {
6180 test -z "$ac_c_werror_flag" ||
6181 test ! -s conftest.err
6182 } && test -s conftest
$ac_exeext &&
6183 $as_test_x conftest
$ac_exeext; then
6184 ac_cv_func_alloca_works
=yes
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.
$ac_ext >&5
6189 ac_cv_func_alloca_works
=no
6192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6193 conftest
$ac_exeext conftest.
$ac_ext
6195 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6196 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6198 if test $ac_cv_func_alloca_works = yes; then
6200 cat >>confdefs.h
<<\_ACEOF
6201 #define HAVE_ALLOCA 1
6205 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6206 # that cause trouble. Some versions do not even contain alloca or
6207 # contain a buggy version. If you still want to use their alloca,
6208 # use ar to extract alloca.o from them instead of compiling alloca.c.
6210 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6212 cat >>confdefs.h
<<\_ACEOF
6217 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6218 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6219 if test "${ac_cv_os_cray+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6222 cat >conftest.
$ac_ext <<_ACEOF
6225 cat confdefs.h
>>conftest.
$ac_ext
6226 cat >>conftest.
$ac_ext <<_ACEOF
6227 /* end confdefs.h. */
6228 #if defined CRAY && ! defined CRAY2
6235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6236 $EGREP "webecray" >/dev
/null
2>&1; then
6244 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6245 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6246 if test $ac_cv_os_cray = yes; then
6247 for ac_func
in _getb67 GETB67 getb67
; do
6248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6251 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 cat >conftest.
$ac_ext <<_ACEOF
6257 cat confdefs.h
>>conftest.
$ac_ext
6258 cat >>conftest.
$ac_ext <<_ACEOF
6259 /* end confdefs.h. */
6260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6262 #define $ac_func innocuous_$ac_func
6264 /* System header to define __stub macros and hopefully few prototypes,
6265 which can conflict with char $ac_func (); below.
6266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6267 <limits.h> exists even on freestanding compilers. */
6270 # include <limits.h>
6272 # include <assert.h>
6277 /* Override any GCC internal prototype to avoid an error.
6278 Use char because int might match the return type of a GCC
6279 builtin and then its argument prototype would still apply. */
6284 /* The GNU C library defines this for functions which it implements
6285 to always fail with ENOSYS. Some functions are actually named
6286 something starting with __ and the normal name is an alias. */
6287 #if defined __stub_$ac_func || defined __stub___$ac_func
6299 rm -f conftest.
$ac_objext conftest
$ac_exeext
6300 if { (ac_try
="$ac_link"
6302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6303 *) ac_try_echo=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1 >conftest.err
6310 cat conftest.err >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest$ac_exeext &&
6316 $as_test_x conftest$ac_exeext; then
6317 eval "$as_ac_var=yes"
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6322 eval "$as_ac_var=no"
6325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6326 conftest$ac_exeext conftest.$ac_ext
6328 ac_res=`eval echo '${'$as_ac_var'}'`
6329 { echo "$as_me:$LINENO: result: $ac_res" >&5
6330 echo "${ECHO_T}$ac_res" >&6; }
6331 if test `eval echo '${'$as_ac_var'}'` = yes; then
6333 cat >>confdefs.h <<_ACEOF
6334 #define CRAY_STACKSEG_END $ac_func
6343 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6344 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6345 if test "${ac_cv_c_stack_direction+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 if test "$cross_compiling" = yes; then
6349 ac_cv_c_stack_direction=0
6351 cat >conftest.$ac_ext <<_ACEOF
6354 cat confdefs.h >>conftest.$ac_ext
6355 cat >>conftest.$ac_ext <<_ACEOF
6356 /* end confdefs.h. */
6357 $ac_includes_default
6359 find_stack_direction ()
6361 static char *addr = 0;
6366 return find_stack_direction ();
6369 return (&dummy > addr) ? 1 : -1;
6375 return find_stack_direction () < 0;
6378 rm -f conftest$ac_exeext
6379 if { (ac_try="$ac_link"
6381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6382 *) ac_try_echo
=$ac_try;;
6384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6385 (eval "$ac_link") 2>&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6389 { (case "(($ac_try" in
6390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6391 *) ac_try_echo=$ac_try;;
6393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6394 (eval "$ac_try") 2>&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6398 ac_cv_c_stack_direction=1
6400 echo "$as_me: program exited with status $ac_status" >&5
6401 echo "$as_me: failed program was:" >&5
6402 sed 's/^/| /' conftest.$ac_ext >&5
6405 ac_cv_c_stack_direction=-1
6407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6412 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6413 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6415 cat >>confdefs.h <<_ACEOF
6416 #define STACK_DIRECTION $ac_cv_c_stack_direction
6422 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6423 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
6424 if test "${ac_cv_func_closedir_void+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 if test "$cross_compiling" = yes; then
6428 ac_cv_func_closedir_void=yes
6430 cat >conftest.$ac_ext <<_ACEOF
6433 cat confdefs.h >>conftest.$ac_ext
6434 cat >>conftest.$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 $ac_includes_default
6437 #include <$ac_header_dirent>
6445 return closedir (opendir (".")) != 0;
6450 rm -f conftest$ac_exeext
6451 if { (ac_try="$ac_link"
6453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6454 *) ac_try_echo
=$ac_try;;
6456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6457 (eval "$ac_link") 2>&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6461 { (case "(($ac_try" in
6462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6463 *) ac_try_echo=$ac_try;;
6465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6466 (eval "$ac_try") 2>&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6470 ac_cv_func_closedir_void=no
6472 echo "$as_me: program exited with status $ac_status" >&5
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_cv_func_closedir_void=yes
6479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6484 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6485 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
6486 if test $ac_cv_func_closedir_void = yes; then
6488 cat >>confdefs.h <<\_ACEOF
6489 #define CLOSEDIR_VOID 1
6495 for ac_header in vfork.h
6497 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 ac_res=`eval echo '${'$as_ac_Header'}'`
6505 { echo "$as_me:$LINENO: result: $ac_res" >&5
6506 echo "${ECHO_T}$ac_res" >&6; }
6508 # Is the header compilable?
6509 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6511 cat >conftest.$ac_ext <<_ACEOF
6514 cat confdefs.h >>conftest.$ac_ext
6515 cat >>conftest.$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6517 $ac_includes_default
6518 #include <$ac_header>
6520 rm -f conftest.$ac_objext
6521 if { (ac_try="$ac_compile"
6523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6524 *) ac_try_echo
=$ac_try;;
6526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6527 (eval "$ac_compile") 2>conftest.er1
6529 grep -v '^ *+' conftest.er1
>conftest.err
6531 cat conftest.err
>&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } && {
6534 test -z "$ac_c_werror_flag" ||
6535 test ! -s conftest.err
6536 } && test -s conftest.
$ac_objext; then
6537 ac_header_compiler
=yes
6539 echo "$as_me: failed program was:" >&5
6540 sed 's/^/| /' conftest.
$ac_ext >&5
6542 ac_header_compiler
=no
6545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6547 echo "${ECHO_T}$ac_header_compiler" >&6; }
6549 # Is the header present?
6550 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6552 cat >conftest.
$ac_ext <<_ACEOF
6555 cat confdefs.h
>>conftest.
$ac_ext
6556 cat >>conftest.
$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 #include <$ac_header>
6560 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6568 grep -v '^ *+' conftest.er1 >conftest.err
6570 cat conftest.err >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } >/dev/null && {
6573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6574 test ! -s conftest.err
6576 ac_header_preproc=yes
6578 echo "$as_me: failed program was:" >&5
6579 sed 's/^/| /' conftest.$ac_ext >&5
6581 ac_header_preproc=no
6584 rm -f conftest.err conftest.$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6586 echo "${ECHO_T}$ac_header_preproc" >&6; }
6588 # So? What about this header?
6589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6595 ac_header_preproc=yes
6598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 eval "$as_ac_Header=\$ac_header_preproc"
6620 ac_res=`eval echo '${'$as_ac_Header'}'`
6621 { echo "$as_me:$LINENO: result: $ac_res" >&5
6622 echo "${ECHO_T}$ac_res" >&6; }
6625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6626 cat >>confdefs.h <<_ACEOF
6627 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6636 for ac_func in fork vfork
6638 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 cat >conftest.$ac_ext <<_ACEOF
6647 cat confdefs.h >>conftest.$ac_ext
6648 cat >>conftest.$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6652 #define $ac_func innocuous_$ac_func
6654 /* System header to define __stub macros and hopefully few prototypes,
6655 which can conflict with char $ac_func (); below.
6656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6657 <limits.h> exists even on freestanding compilers. */
6660 # include <limits.h>
6662 # include <assert.h>
6667 /* Override any GCC internal prototype to avoid an error.
6668 Use char because int might match the return type of a GCC
6669 builtin and then its argument prototype would still apply. */
6674 /* The GNU C library defines this for functions which it implements
6675 to always fail with ENOSYS. Some functions are actually named
6676 something starting with __ and the normal name is an alias. */
6677 #if defined __stub_$ac_func || defined __stub___$ac_func
6689 rm -f conftest.$ac_objext conftest$ac_exeext
6690 if { (ac_try="$ac_link"
6692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6693 *) ac_try_echo
=$ac_try;;
6695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6696 (eval "$ac_link") 2>conftest.er1
6698 grep -v '^ *+' conftest.er1
>conftest.err
6700 cat conftest.err
>&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } && {
6703 test -z "$ac_c_werror_flag" ||
6704 test ! -s conftest.err
6705 } && test -s conftest
$ac_exeext &&
6706 $as_test_x conftest
$ac_exeext; then
6707 eval "$as_ac_var=yes"
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.
$ac_ext >&5
6712 eval "$as_ac_var=no"
6715 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6716 conftest
$ac_exeext conftest.
$ac_ext
6718 ac_res
=`eval echo '${'$as_ac_var'}'`
6719 { echo "$as_me:$LINENO: result: $ac_res" >&5
6720 echo "${ECHO_T}$ac_res" >&6; }
6721 if test `eval echo '${'$as_ac_var'}'` = yes; then
6722 cat >>confdefs.h
<<_ACEOF
6723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6729 if test "x$ac_cv_func_fork" = xyes
; then
6730 { echo "$as_me:$LINENO: checking for working fork" >&5
6731 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6732 if test "${ac_cv_func_fork_works+set}" = set; then
6733 echo $ECHO_N "(cached) $ECHO_C" >&6
6735 if test "$cross_compiling" = yes; then
6736 ac_cv_func_fork_works
=cross
6738 cat >conftest.
$ac_ext <<_ACEOF
6741 cat confdefs.h
>>conftest.
$ac_ext
6742 cat >>conftest.
$ac_ext <<_ACEOF
6743 /* end confdefs.h. */
6744 $ac_includes_default
6749 /* By Ruediger Kuhlmann. */
6756 rm -f conftest
$ac_exeext
6757 if { (ac_try
="$ac_link"
6759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6760 *) ac_try_echo=$ac_try;;
6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6763 (eval "$ac_link") 2>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6767 { (case "(($ac_try" in
6768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6769 *) ac_try_echo
=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_try") 2>&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; }; then
6776 ac_cv_func_fork_works
=yes
6778 echo "$as_me: program exited with status $ac_status" >&5
6779 echo "$as_me: failed program was:" >&5
6780 sed 's/^/| /' conftest.
$ac_ext >&5
6783 ac_cv_func_fork_works
=no
6785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6790 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6791 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6794 ac_cv_func_fork_works
=$ac_cv_func_fork
6796 if test "x$ac_cv_func_fork_works" = xcross
; then
6798 *-*-amigaos* |
*-*-msdosdjgpp*)
6799 # Override, as these systems have only a dummy fork() stub
6800 ac_cv_func_fork_works
=no
6803 ac_cv_func_fork_works
=yes
6806 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6807 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6809 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6810 if test "x$ac_cv_func_vfork" = xyes
; then
6811 { echo "$as_me:$LINENO: checking for working vfork" >&5
6812 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6813 if test "${ac_cv_func_vfork_works+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 if test "$cross_compiling" = yes; then
6817 ac_cv_func_vfork_works
=cross
6819 cat >conftest.
$ac_ext <<_ACEOF
6822 cat confdefs.h
>>conftest.
$ac_ext
6823 cat >>conftest.
$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6825 /* Thanks to Paul Eggert for this test. */
6826 $ac_includes_default
6827 #include <sys/wait.h>
6831 /* On some sparc systems, changes by the child to local and incoming
6832 argument registers are propagated back to the parent. The compiler
6833 is told about this with #include <vfork.h>, but some compilers
6834 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6835 static variable whose address is put into a register that is
6836 clobbered by the vfork. */
6839 sparc_address_test (int arg)
6841 sparc_address_test (arg) int arg;
6862 pid_t parent = getpid ();
6865 sparc_address_test (0);
6870 /* Here is another test for sparc vfork register problems. This
6871 test uses lots of local variables, at least as many local
6872 variables as main has allocated so far including compiler
6873 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6874 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6875 reuse the register of parent for one of the local variables,
6876 since it will think that parent can't possibly be used any more
6877 in this routine. Assigning to the local variable will thus
6878 munge parent in the parent process. */
6880 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6881 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6882 /* Convince the compiler that p..p7 are live; otherwise, it might
6883 use the same hardware register for all 8 local variables. */
6884 if (p != p1 || p != p2 || p != p3 || p != p4
6885 || p != p5 || p != p6 || p != p7)
6888 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6889 from child file descriptors. If the child closes a descriptor
6890 before it execs or exits, this munges the parent's descriptor
6891 as well. Test for this by closing stdout in the child. */
6892 _exit(close(fileno(stdout)) != 0);
6897 while (wait(&status) != child)
6900 /* Was there some problem with vforking? */
6903 /* Did the child fail? (This shouldn't happen.) */
6906 /* Did the vfork/compiler bug occur? */
6907 || parent != getpid()
6909 /* Did the file descriptor bug occur? */
6910 || fstat(fileno(stdout), &st) != 0
6915 rm -f conftest
$ac_exeext
6916 if { (ac_try
="$ac_link"
6918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6919 *) ac_try_echo=$ac_try;;
6921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6922 (eval "$ac_link") 2>&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6926 { (case "(($ac_try" in
6927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6928 *) ac_try_echo
=$ac_try;;
6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_try") 2>&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; }; then
6935 ac_cv_func_vfork_works
=yes
6937 echo "$as_me: program exited with status $ac_status" >&5
6938 echo "$as_me: failed program was:" >&5
6939 sed 's/^/| /' conftest.
$ac_ext >&5
6942 ac_cv_func_vfork_works
=no
6944 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6949 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6950 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6953 if test "x$ac_cv_func_fork_works" = xcross
; then
6954 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6955 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6956 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6959 if test "x$ac_cv_func_vfork_works" = xyes
; then
6961 cat >>confdefs.h
<<\_ACEOF
6962 #define HAVE_WORKING_VFORK 1
6967 cat >>confdefs.h
<<\_ACEOF
6972 if test "x$ac_cv_func_fork_works" = xyes
; then
6974 cat >>confdefs.h
<<\_ACEOF
6975 #define HAVE_WORKING_FORK 1
6980 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6981 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6982 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 rm -f conftest.sym conftest.
file
6987 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
6988 if test "$cross_compiling" = yes; then
6989 ac_cv_func_lstat_dereferences_slashed_symlink
=no
6991 cat >conftest.
$ac_ext <<_ACEOF
6994 cat confdefs.h
>>conftest.
$ac_ext
6995 cat >>conftest.
$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6997 $ac_includes_default
7002 /* Linux will dereference the symlink and fail.
7003 That is better in the sense that it means we will not
7004 have to compile and use the lstat wrapper. */
7005 return lstat ("conftest.sym/", &sbuf) == 0;
7010 rm -f conftest
$ac_exeext
7011 if { (ac_try
="$ac_link"
7013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7014 *) ac_try_echo=$ac_try;;
7016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7017 (eval "$ac_link") 2>&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7021 { (case "(($ac_try" in
7022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7023 *) ac_try_echo
=$ac_try;;
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_try") 2>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7030 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7032 echo "$as_me: program exited with status $ac_status" >&5
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.
$ac_ext >&5
7037 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7039 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7044 # If the `ln -s' command failed, then we probably don't even
7045 # have an lstat function.
7046 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7048 rm -f conftest.sym conftest.
file
7051 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7052 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7054 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7056 cat >>confdefs.h
<<_ACEOF
7057 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7061 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7062 case " $LIBOBJS " in
7063 *" lstat.$ac_objext "* ) ;;
7064 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7070 { echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7071 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
7072 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 if test "$cross_compiling" = yes; then
7076 ac_cv_func_lstat_empty_string_bug
=yes
7078 cat >conftest.
$ac_ext <<_ACEOF
7081 cat confdefs.h
>>conftest.
$ac_ext
7082 cat >>conftest.
$ac_ext <<_ACEOF
7083 /* end confdefs.h. */
7084 $ac_includes_default
7089 return lstat ("", &sbuf) == 0;
7094 rm -f conftest
$ac_exeext
7095 if { (ac_try
="$ac_link"
7097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7098 *) ac_try_echo=$ac_try;;
7100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7101 (eval "$ac_link") 2>&5
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7105 { (case "(($ac_try" in
7106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7107 *) ac_try_echo
=$ac_try;;
7109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7110 (eval "$ac_try") 2>&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_cv_func_lstat_empty_string_bug
=no
7116 echo "$as_me: program exited with status $ac_status" >&5
7117 echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.
$ac_ext >&5
7121 ac_cv_func_lstat_empty_string_bug
=yes
7123 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7128 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7129 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
7130 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7131 case " $LIBOBJS " in
7132 *" lstat.$ac_objext "* ) ;;
7133 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7138 cat >>confdefs.h
<<_ACEOF
7139 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7145 for ac_header
in stdlib.h
7147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7148 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7151 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7152 echo $ECHO_N "(cached) $ECHO_C" >&6
7154 ac_res
=`eval echo '${'$as_ac_Header'}'`
7155 { echo "$as_me:$LINENO: result: $ac_res" >&5
7156 echo "${ECHO_T}$ac_res" >&6; }
7158 # Is the header compilable?
7159 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7161 cat >conftest.
$ac_ext <<_ACEOF
7164 cat confdefs.h
>>conftest.
$ac_ext
7165 cat >>conftest.
$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 $ac_includes_default
7168 #include <$ac_header>
7170 rm -f conftest.
$ac_objext
7171 if { (ac_try
="$ac_compile"
7173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7174 *) ac_try_echo=$ac_try;;
7176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7177 (eval "$ac_compile") 2>conftest.er1
7179 grep -v '^ *+' conftest.er1 >conftest.err
7181 cat conftest.err >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); } && {
7184 test -z "$ac_c_werror_flag" ||
7185 test ! -s conftest.err
7186 } && test -s conftest.$ac_objext; then
7187 ac_header_compiler=yes
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.$ac_ext >&5
7192 ac_header_compiler=no
7195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7196 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7197 echo "${ECHO_T}$ac_header_compiler" >&6; }
7199 # Is the header present?
7200 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7202 cat >conftest.$ac_ext <<_ACEOF
7205 cat confdefs.h >>conftest.$ac_ext
7206 cat >>conftest.$ac_ext <<_ACEOF
7207 /* end confdefs.h. */
7208 #include <$ac_header>
7210 if { (ac_try="$ac_cpp conftest.$ac_ext"
7212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7213 *) ac_try_echo
=$ac_try;;
7215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7218 grep -v '^ *+' conftest.er1
>conftest.err
7220 cat conftest.err
>&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } >/dev
/null
&& {
7223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7224 test ! -s conftest.err
7226 ac_header_preproc
=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 ac_header_preproc
=no
7234 rm -f conftest.err conftest.
$ac_ext
7235 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7236 echo "${ECHO_T}$ac_header_preproc" >&6; }
7238 # So? What about this header?
7239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7245 ac_header_preproc
=yes
7248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7263 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7265 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7268 eval "$as_ac_Header=\$ac_header_preproc"
7270 ac_res
=`eval echo '${'$as_ac_Header'}'`
7271 { echo "$as_me:$LINENO: result: $ac_res" >&5
7272 echo "${ECHO_T}$ac_res" >&6; }
7275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7276 cat >>confdefs.h
<<_ACEOF
7277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7284 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7285 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
7286 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 if test "$cross_compiling" = yes; then
7290 ac_cv_func_malloc_0_nonnull
=no
7292 cat >conftest.
$ac_ext <<_ACEOF
7295 cat confdefs.h
>>conftest.
$ac_ext
7296 cat >>conftest.
$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7299 # include <stdlib.h>
7307 return ! malloc (0);
7312 rm -f conftest
$ac_exeext
7313 if { (ac_try
="$ac_link"
7315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7316 *) ac_try_echo=$ac_try;;
7318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7319 (eval "$ac_link") 2>&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7323 { (case "(($ac_try" in
7324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7325 *) ac_try_echo
=$ac_try;;
7327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7328 (eval "$ac_try") 2>&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); }; }; then
7332 ac_cv_func_malloc_0_nonnull
=yes
7334 echo "$as_me: program exited with status $ac_status" >&5
7335 echo "$as_me: failed program was:" >&5
7336 sed 's/^/| /' conftest.
$ac_ext >&5
7339 ac_cv_func_malloc_0_nonnull
=no
7341 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7346 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7347 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
7348 if test $ac_cv_func_malloc_0_nonnull = yes; then
7350 cat >>confdefs.h
<<\_ACEOF
7351 #define HAVE_MALLOC 1
7355 cat >>confdefs.h
<<\_ACEOF
7356 #define HAVE_MALLOC 0
7359 case " $LIBOBJS " in
7360 *" malloc.$ac_objext "* ) ;;
7361 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7366 cat >>confdefs.h
<<\_ACEOF
7367 #define malloc rpl_malloc
7374 { echo "$as_me:$LINENO: checking for working memcmp" >&5
7375 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
7376 if test "${ac_cv_func_memcmp_working+set}" = set; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 if test "$cross_compiling" = yes; then
7380 ac_cv_func_memcmp_working
=no
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 $ac_includes_default
7393 /* Some versions of memcmp are not 8-bit clean. */
7394 char c0 = '\100', c1 = '\200', c2 = '\201';
7395 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7398 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7399 or more and with at least one buffer not starting on a 4-byte boundary.
7400 William Lewis provided this test program. */
7405 for (i = 0; i < 4; i++)
7409 strcpy (a, "--------01111111");
7410 strcpy (b, "--------10000000");
7411 if (memcmp (a, b, 16) >= 0)
7421 rm -f conftest
$ac_exeext
7422 if { (ac_try
="$ac_link"
7424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_link") 2>&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7432 { (case "(($ac_try" in
7433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7434 *) ac_try_echo
=$ac_try;;
7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7437 (eval "$ac_try") 2>&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 ac_cv_func_memcmp_working
=yes
7443 echo "$as_me: program exited with status $ac_status" >&5
7444 echo "$as_me: failed program was:" >&5
7445 sed 's/^/| /' conftest.
$ac_ext >&5
7448 ac_cv_func_memcmp_working
=no
7450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7455 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7456 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
7457 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7458 *" memcmp.$ac_objext "* ) ;;
7459 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7466 for ac_header
in stdlib.h unistd.h
7468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7469 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7470 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7472 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 ac_res
=`eval echo '${'$as_ac_Header'}'`
7476 { echo "$as_me:$LINENO: result: $ac_res" >&5
7477 echo "${ECHO_T}$ac_res" >&6; }
7479 # Is the header compilable?
7480 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7482 cat >conftest.
$ac_ext <<_ACEOF
7485 cat confdefs.h
>>conftest.
$ac_ext
7486 cat >>conftest.
$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 $ac_includes_default
7489 #include <$ac_header>
7491 rm -f conftest.
$ac_objext
7492 if { (ac_try
="$ac_compile"
7494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7495 *) ac_try_echo=$ac_try;;
7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7498 (eval "$ac_compile") 2>conftest.er1
7500 grep -v '^ *+' conftest.er1 >conftest.err
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } && {
7505 test -z "$ac_c_werror_flag" ||
7506 test ! -s conftest.err
7507 } && test -s conftest.$ac_objext; then
7508 ac_header_compiler=yes
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.$ac_ext >&5
7513 ac_header_compiler=no
7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7517 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7518 echo "${ECHO_T}$ac_header_compiler" >&6; }
7520 # Is the header present?
7521 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7523 cat >conftest.$ac_ext <<_ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7529 #include <$ac_header>
7531 if { (ac_try="$ac_cpp conftest.$ac_ext"
7533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7534 *) ac_try_echo
=$ac_try;;
7536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7539 grep -v '^ *+' conftest.er1
>conftest.err
7541 cat conftest.err
>&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); } >/dev
/null
&& {
7544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7545 test ! -s conftest.err
7547 ac_header_preproc
=yes
7549 echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.
$ac_ext >&5
7552 ac_header_preproc
=no
7555 rm -f conftest.err conftest.
$ac_ext
7556 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7557 echo "${ECHO_T}$ac_header_preproc" >&6; }
7559 # So? What about this header?
7560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7566 ac_header_preproc
=yes
7569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7586 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 eval "$as_ac_Header=\$ac_header_preproc"
7591 ac_res
=`eval echo '${'$as_ac_Header'}'`
7592 { echo "$as_me:$LINENO: result: $ac_res" >&5
7593 echo "${ECHO_T}$ac_res" >&6; }
7596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7597 cat >>confdefs.h
<<_ACEOF
7598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7606 for ac_func
in getpagesize
7608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7611 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7622 #define $ac_func innocuous_$ac_func
7624 /* System header to define __stub macros and hopefully few prototypes,
7625 which can conflict with char $ac_func (); below.
7626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7627 <limits.h> exists even on freestanding compilers. */
7630 # include <limits.h>
7632 # include <assert.h>
7637 /* Override any GCC internal prototype to avoid an error.
7638 Use char because int might match the return type of a GCC
7639 builtin and then its argument prototype would still apply. */
7644 /* The GNU C library defines this for functions which it implements
7645 to always fail with ENOSYS. Some functions are actually named
7646 something starting with __ and the normal name is an alias. */
7647 #if defined __stub_$ac_func || defined __stub___$ac_func
7659 rm -f conftest.
$ac_objext conftest
$ac_exeext
7660 if { (ac_try
="$ac_link"
7662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7663 *) ac_try_echo=$ac_try;;
7665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7666 (eval "$ac_link") 2>conftest.er1
7668 grep -v '^ *+' conftest.er1 >conftest.err
7670 cat conftest.err >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } && {
7673 test -z "$ac_c_werror_flag" ||
7674 test ! -s conftest.err
7675 } && test -s conftest$ac_exeext &&
7676 $as_test_x conftest$ac_exeext; then
7677 eval "$as_ac_var=yes"
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 eval "$as_ac_var=no"
7685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7686 conftest$ac_exeext conftest.$ac_ext
7688 ac_res=`eval echo '${'$as_ac_var'}'`
7689 { echo "$as_me:$LINENO: result: $ac_res" >&5
7690 echo "${ECHO_T}$ac_res" >&6; }
7691 if test `eval echo '${'$as_ac_var'}'` = yes; then
7692 cat >>confdefs.h <<_ACEOF
7693 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7699 { echo "$as_me:$LINENO: checking for working mmap" >&5
7700 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7701 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 if test "$cross_compiling" = yes; then
7705 ac_cv_func_mmap_fixed_mapped=no
7707 cat >conftest.$ac_ext <<_ACEOF
7710 cat confdefs.h >>conftest.$ac_ext
7711 cat >>conftest.$ac_ext <<_ACEOF
7712 /* end confdefs.h. */
7713 $ac_includes_default
7714 /* malloc might have been renamed as rpl_malloc. */
7717 /* Thanks to Mike Haertel and Jim Avera for this test.
7718 Here is a matrix of mmap possibilities:
7719 mmap private not fixed
7720 mmap private fixed at somewhere currently unmapped
7721 mmap private fixed at somewhere already mapped
7722 mmap shared not fixed
7723 mmap shared fixed at somewhere currently unmapped
7724 mmap shared fixed at somewhere already mapped
7725 For private mappings, we should verify that changes cannot be read()
7726 back from the file, nor mmap's back from the file at a different
7727 address. (There have been systems where private was not correctly
7728 implemented like the infamous i386 svr4.0, and systems where the
7729 VM page cache was not coherent with the file system buffer cache
7730 like early versions of FreeBSD and possibly contemporary NetBSD.)
7731 For shared mappings, we should conversely verify that changes get
7732 propagated back to all the places they're supposed to be.
7734 Grep wants private fixed already mapped.
7735 The main things grep needs to know about mmap are:
7736 * does it exist and is it safe to write into the mmap'd area
7737 * how to use it (BSD variants) */
7740 #include <sys/mman.h>
7742 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7746 /* This mess was copied from the GNU getpagesize.h. */
7747 #ifndef HAVE_GETPAGESIZE
7748 /* Assume that all systems that can run configure have sys/param.h. */
7749 # ifndef HAVE_SYS_PARAM_H
7750 # define HAVE_SYS_PARAM_H 1
7753 # ifdef _SC_PAGESIZE
7754 # define getpagesize() sysconf(_SC_PAGESIZE)
7755 # else /* no _SC_PAGESIZE */
7756 # ifdef HAVE_SYS_PARAM_H
7757 # include <sys/param.h>
7758 # ifdef EXEC_PAGESIZE
7759 # define getpagesize() EXEC_PAGESIZE
7760 # else /* no EXEC_PAGESIZE */
7762 # define getpagesize() NBPG * CLSIZE
7765 # endif /* no CLSIZE */
7766 # else /* no NBPG */
7768 # define getpagesize() NBPC
7769 # else /* no NBPC */
7771 # define getpagesize() PAGESIZE
7772 # endif /* PAGESIZE */
7773 # endif /* no NBPC */
7774 # endif /* no NBPG */
7775 # endif /* no EXEC_PAGESIZE */
7776 # else /* no HAVE_SYS_PARAM_H */
7777 # define getpagesize() 8192 /* punt totally */
7778 # endif /* no HAVE_SYS_PARAM_H */
7779 # endif /* no _SC_PAGESIZE */
7781 #endif /* no HAVE_GETPAGESIZE */
7786 char *data, *data2, *data3;
7790 pagesize = getpagesize ();
7792 /* First, make a file with some known garbage in it. */
7793 data = (char *) malloc (pagesize);
7796 for (i = 0; i < pagesize; ++i)
7797 *(data + i) = rand ();
7799 fd = creat ("conftest.mmap", 0600);
7802 if (write (fd, data, pagesize) != pagesize)
7806 /* Next, try to mmap the file at a fixed address which already has
7807 something else allocated at it. If we can, also make sure that
7808 we see the same garbage. */
7809 fd = open ("conftest.mmap", O_RDWR);
7812 data2 = (char *) malloc (2 * pagesize);
7815 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7816 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7817 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7819 for (i = 0; i < pagesize; ++i)
7820 if (*(data + i) != *(data2 + i))
7823 /* Finally, make sure that changes to the mapped area do not
7824 percolate back to the file as seen by read(). (This is a bug on
7825 some variants of i386 svr4.0.) */
7826 for (i = 0; i < pagesize; ++i)
7827 *(data2 + i) = *(data2 + i) + 1;
7828 data3 = (char *) malloc (pagesize);
7831 if (read (fd, data3, pagesize) != pagesize)
7833 for (i = 0; i < pagesize; ++i)
7834 if (*(data + i) != *(data3 + i))
7840 rm -f conftest$ac_exeext
7841 if { (ac_try="$ac_link"
7843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7844 *) ac_try_echo
=$ac_try;;
7846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7847 (eval "$ac_link") 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7851 { (case "(($ac_try" in
7852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7853 *) ac_try_echo=$ac_try;;
7855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7856 (eval "$ac_try") 2>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; }; then
7860 ac_cv_func_mmap_fixed_mapped=yes
7862 echo "$as_me: program exited with status $ac_status" >&5
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7867 ac_cv_func_mmap_fixed_mapped=no
7869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7874 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7875 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7876 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7878 cat >>confdefs.h <<\_ACEOF
7885 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
7886 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
7887 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7890 if test "$cross_compiling" = yes; then
7891 ac_cv_func_stat_empty_string_bug=yes
7893 cat >conftest.$ac_ext <<_ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 $ac_includes_default
7904 return stat ("", &sbuf) == 0;
7909 rm -f conftest$ac_exeext
7910 if { (ac_try="$ac_link"
7912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7913 *) ac_try_echo
=$ac_try;;
7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916 (eval "$ac_link") 2>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7920 { (case "(($ac_try" in
7921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7922 *) ac_try_echo=$ac_try;;
7924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7925 (eval "$ac_try") 2>&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); }; }; then
7929 ac_cv_func_stat_empty_string_bug=no
7931 echo "$as_me: program exited with status $ac_status" >&5
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.$ac_ext >&5
7936 ac_cv_func_stat_empty_string_bug=yes
7938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7943 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
7944 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
7945 if test $ac_cv_func_stat_empty_string_bug = yes; then
7946 case " $LIBOBJS " in
7947 *" stat.$ac_objext "* ) ;;
7948 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7953 cat >>confdefs.h <<_ACEOF
7954 #define HAVE_STAT_EMPTY_STRING_BUG 1
7959 { echo "$as_me:$LINENO: checking for working strtod" >&5
7960 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
7961 if test "${ac_cv_func_strtod+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 if test "$cross_compiling" = yes; then
7965 ac_cv_func_strtod=no
7967 cat >conftest.$ac_ext <<_ACEOF
7970 cat confdefs.h >>conftest.$ac_ext
7971 cat >>conftest.$ac_ext <<_ACEOF
7972 /* end confdefs.h. */
7974 $ac_includes_default
7982 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
7983 char *string = " +69";
7986 value = strtod (string, &term);
7987 if (value != 69 || term != (string + 4))
7992 /* Under Solaris 2.4, strtod returns the wrong value for the
7993 terminating character under some conditions. */
7994 char *string = "NaN";
7996 strtod (string, &term);
7997 if (term != string && *(term - 1) == 0)
8004 rm -f conftest$ac_exeext
8005 if { (ac_try="$ac_link"
8007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8008 *) ac_try_echo
=$ac_try;;
8010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8011 (eval "$ac_link") 2>&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8015 { (case "(($ac_try" in
8016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8017 *) ac_try_echo=$ac_try;;
8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 (eval "$ac_try") 2>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; }; then
8024 ac_cv_func_strtod=yes
8026 echo "$as_me: program exited with status $ac_status" >&5
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8031 ac_cv_func_strtod=no
8033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8038 { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8039 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
8040 if test $ac_cv_func_strtod = no; then
8041 case " $LIBOBJS " in
8042 *" strtod.$ac_objext "* ) ;;
8043 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8047 { echo "$as_me:$LINENO: checking for pow" >&5
8048 echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
8049 if test "${ac_cv_func_pow+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 cat >conftest.$ac_ext <<_ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8060 #define pow innocuous_pow
8062 /* System header to define __stub macros and hopefully few prototypes,
8063 which can conflict with char pow (); below.
8064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8065 <limits.h> exists even on freestanding compilers. */
8068 # include <limits.h>
8070 # include <assert.h>
8075 /* Override any GCC internal prototype to avoid an error.
8076 Use char because int might match the return type of a GCC
8077 builtin and then its argument prototype would still apply. */
8082 /* The GNU C library defines this for functions which it implements
8083 to always fail with ENOSYS. Some functions are actually named
8084 something starting with __ and the normal name is an alias. */
8085 #if defined __stub_pow || defined __stub___pow
8097 rm -f conftest.$ac_objext conftest$ac_exeext
8098 if { (ac_try="$ac_link"
8100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8101 *) ac_try_echo
=$ac_try;;
8103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8104 (eval "$ac_link") 2>conftest.er1
8106 grep -v '^ *+' conftest.er1
>conftest.err
8108 cat conftest.err
>&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } && {
8111 test -z "$ac_c_werror_flag" ||
8112 test ! -s conftest.err
8113 } && test -s conftest
$ac_exeext &&
8114 $as_test_x conftest
$ac_exeext; then
8117 echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.
$ac_ext >&5
8123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8124 conftest
$ac_exeext conftest.
$ac_ext
8126 { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8127 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
8129 if test $ac_cv_func_pow = no
; then
8130 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
8131 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
8132 if test "${ac_cv_lib_m_pow+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_check_lib_save_LIBS
=$LIBS
8137 cat >conftest.
$ac_ext <<_ACEOF
8140 cat confdefs.h
>>conftest.
$ac_ext
8141 cat >>conftest.
$ac_ext <<_ACEOF
8142 /* end confdefs.h. */
8144 /* Override any GCC internal prototype to avoid an error.
8145 Use char because int might match the return type of a GCC
8146 builtin and then its argument prototype would still apply. */
8159 rm -f conftest.
$ac_objext conftest
$ac_exeext
8160 if { (ac_try
="$ac_link"
8162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8163 *) ac_try_echo=$ac_try;;
8165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8166 (eval "$ac_link") 2>conftest.er1
8168 grep -v '^ *+' conftest.er1 >conftest.err
8170 cat conftest.err >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } && {
8173 test -z "$ac_c_werror_flag" ||
8174 test ! -s conftest.err
8175 } && test -s conftest$ac_exeext &&
8176 $as_test_x conftest$ac_exeext; then
8179 echo "$as_me: failed program was:" >&5
8180 sed 's/^/| /' conftest.$ac_ext >&5
8185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8186 conftest$ac_exeext conftest.$ac_ext
8187 LIBS=$ac_check_lib_save_LIBS
8189 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8190 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
8191 if test $ac_cv_lib_m_pow = yes; then
8194 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8195 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8203 for ac_func in vprintf
8205 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8208 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8209 echo $ECHO_N "(cached) $ECHO_C" >&6
8211 cat >conftest.$ac_ext <<_ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8219 #define $ac_func innocuous_$ac_func
8221 /* System header to define __stub macros and hopefully few prototypes,
8222 which can conflict with char $ac_func (); below.
8223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8224 <limits.h> exists even on freestanding compilers. */
8227 # include <limits.h>
8229 # include <assert.h>
8234 /* Override any GCC internal prototype to avoid an error.
8235 Use char because int might match the return type of a GCC
8236 builtin and then its argument prototype would still apply. */
8241 /* The GNU C library defines this for functions which it implements
8242 to always fail with ENOSYS. Some functions are actually named
8243 something starting with __ and the normal name is an alias. */
8244 #if defined __stub_$ac_func || defined __stub___$ac_func
8256 rm -f conftest.$ac_objext conftest$ac_exeext
8257 if { (ac_try="$ac_link"
8259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8260 *) ac_try_echo
=$ac_try;;
8262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8263 (eval "$ac_link") 2>conftest.er1
8265 grep -v '^ *+' conftest.er1
>conftest.err
8267 cat conftest.err
>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } && {
8270 test -z "$ac_c_werror_flag" ||
8271 test ! -s conftest.err
8272 } && test -s conftest
$ac_exeext &&
8273 $as_test_x conftest
$ac_exeext; then
8274 eval "$as_ac_var=yes"
8276 echo "$as_me: failed program was:" >&5
8277 sed 's/^/| /' conftest.
$ac_ext >&5
8279 eval "$as_ac_var=no"
8282 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8283 conftest
$ac_exeext conftest.
$ac_ext
8285 ac_res
=`eval echo '${'$as_ac_var'}'`
8286 { echo "$as_me:$LINENO: result: $ac_res" >&5
8287 echo "${ECHO_T}$ac_res" >&6; }
8288 if test `eval echo '${'$as_ac_var'}'` = yes; then
8289 cat >>confdefs.h
<<_ACEOF
8290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8293 { echo "$as_me:$LINENO: checking for _doprnt" >&5
8294 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
8295 if test "${ac_cv_func__doprnt+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 cat >conftest.
$ac_ext <<_ACEOF
8301 cat confdefs.h
>>conftest.
$ac_ext
8302 cat >>conftest.
$ac_ext <<_ACEOF
8303 /* end confdefs.h. */
8304 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8306 #define _doprnt innocuous__doprnt
8308 /* System header to define __stub macros and hopefully few prototypes,
8309 which can conflict with char _doprnt (); below.
8310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8311 <limits.h> exists even on freestanding compilers. */
8314 # include <limits.h>
8316 # include <assert.h>
8321 /* Override any GCC internal prototype to avoid an error.
8322 Use char because int might match the return type of a GCC
8323 builtin and then its argument prototype would still apply. */
8328 /* The GNU C library defines this for functions which it implements
8329 to always fail with ENOSYS. Some functions are actually named
8330 something starting with __ and the normal name is an alias. */
8331 #if defined __stub__doprnt || defined __stub____doprnt
8343 rm -f conftest.
$ac_objext conftest
$ac_exeext
8344 if { (ac_try
="$ac_link"
8346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8347 *) ac_try_echo=$ac_try;;
8349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8350 (eval "$ac_link") 2>conftest.er1
8352 grep -v '^ *+' conftest.er1 >conftest.err
8354 cat conftest.err >&5
8355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 (exit $ac_status); } && {
8357 test -z "$ac_c_werror_flag" ||
8358 test ! -s conftest.err
8359 } && test -s conftest$ac_exeext &&
8360 $as_test_x conftest$ac_exeext; then
8361 ac_cv_func__doprnt=yes
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.$ac_ext >&5
8366 ac_cv_func__doprnt=no
8369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8370 conftest$ac_exeext conftest.$ac_ext
8372 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8373 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
8374 if test $ac_cv_func__doprnt = yes; then
8376 cat >>confdefs.h <<\_ACEOF
8377 #define HAVE_DOPRNT 1
8387 ################################################################################
8390 ################################################################################
8391 { echo "$as_me:$LINENO: checking file owner" >&5
8392 echo $ECHO_N "checking file owner... $ECHO_C" >&6; }
8396 # Check whether --with-user was given.
8397 if test "${with_user+set}" = set; then
8398 withval=$with_user; OWNER="$withval"
8401 { echo "$as_me:$LINENO: result: $OWNER" >&5
8402 echo "${ECHO_T}$OWNER" >&6; }
8404 if test x$OWNER != x; then
8408 ################################################################################
8409 { echo "$as_me:$LINENO: checking group owner" >&5
8410 echo $ECHO_N "checking group owner... $ECHO_C" >&6; }
8413 # Check whether --with-group was given.
8414 if test "${with_group+set}" = set; then
8415 withval=$with_group; GROUP="$withval"
8418 { echo "$as_me:$LINENO: result: $GROUP" >&5
8419 echo "${ECHO_T}$GROUP" >&6; }
8421 if test x$GROUP != x; then
8425 ################################################################################
8426 { echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
8427 echo $ECHO_N "checking whether to enable lvm1 fallback... $ECHO_C" >&6; }
8428 # Check whether --enable-lvm1_fallback was given.
8429 if test "${enable_lvm1_fallback+set}" = set; then
8430 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
8435 { echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
8436 echo "${ECHO_T}$LVM1_FALLBACK" >&6; }
8438 if test x$LVM1_FALLBACK = xyes; then
8440 cat >>confdefs.h <<\_ACEOF
8441 #define LVM1_FALLBACK 1
8446 ################################################################################
8447 { echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
8448 echo $ECHO_N "checking whether to include support for lvm1 metadata... $ECHO_C" >&6; }
8450 # Check whether --with-lvm1 was given.
8451 if test "${with_lvm1+set}" = set; then
8452 withval=$with_lvm1; LVM1="$withval"
8457 { echo "$as_me:$LINENO: result: $LVM1" >&5
8458 echo "${ECHO_T}$LVM1" >&6; }
8460 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
8461 then { { echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
8463 echo "$as_me: error: --with-lvm1 parameter invalid
8465 { (exit 1); exit 1; }; }
8468 if test x$LVM1 = xinternal; then
8470 cat >>confdefs.h <<\_ACEOF
8471 #define LVM1_INTERNAL 1
8476 ################################################################################
8477 { echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
8478 echo $ECHO_N "checking whether to include support for GFS pool metadata... $ECHO_C" >&6; }
8480 # Check whether --with-pool was given.
8481 if test "${with_pool+set}" = set; then
8482 withval=$with_pool; POOL="$withval"
8487 { echo "$as_me:$LINENO: result: $POOL" >&5
8488 echo "${ECHO_T}$POOL" >&6; }
8490 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
8491 then { { echo "$as_me:$LINENO: error: --with-pool parameter invalid
8493 echo "$as_me: error: --with-pool parameter invalid
8495 { (exit 1); exit 1; }; }
8498 if test x$POOL = xinternal; then
8500 cat >>confdefs.h <<\_ACEOF
8501 #define POOL_INTERNAL 1
8506 ################################################################################
8507 { echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
8508 echo $ECHO_N "checking whether to include support for cluster locking... $ECHO_C" >&6; }
8510 # Check whether --with-cluster was given.
8511 if test "${with_cluster+set}" = set; then
8512 withval=$with_cluster; CLUSTER="$withval"
8515 { echo "$as_me:$LINENO: result: $CLUSTER" >&5
8516 echo "${ECHO_T}$CLUSTER" >&6; }
8518 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
8519 then { { echo "$as_me:$LINENO: error: --with-cluster parameter invalid
8521 echo "$as_me: error: --with-cluster parameter invalid
8523 { (exit 1); exit 1; }; }
8526 if test x$CLUSTER = xinternal; then
8528 cat >>confdefs.h <<\_ACEOF
8529 #define CLUSTER_LOCKING_INTERNAL 1
8534 ################################################################################
8535 { echo "$as_me:$LINENO: checking whether to include snapshots" >&5
8536 echo $ECHO_N "checking whether to include snapshots... $ECHO_C" >&6; }
8538 # Check whether --with-snapshots was given.
8539 if test "${with_snapshots+set}" = set; then
8540 withval=$with_snapshots; SNAPSHOTS="$withval"
8542 SNAPSHOTS="internal"
8545 { echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
8546 echo "${ECHO_T}$SNAPSHOTS" >&6; }
8548 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
8549 then { { echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
8551 echo "$as_me: error: --with-snapshots parameter invalid
8553 { (exit 1); exit 1; }; }
8556 if test x$SNAPSHOTS = xinternal; then
8558 cat >>confdefs.h <<\_ACEOF
8559 #define SNAPSHOT_INTERNAL 1
8564 ################################################################################
8565 { echo "$as_me:$LINENO: checking whether to include mirrors" >&5
8566 echo $ECHO_N "checking whether to include mirrors... $ECHO_C" >&6; }
8568 # Check whether --with-mirrors was given.
8569 if test "${with_mirrors+set}" = set; then
8570 withval=$with_mirrors; MIRRORS="$withval"
8575 { echo "$as_me:$LINENO: result: $MIRRORS" >&5
8576 echo "${ECHO_T}$MIRRORS" >&6; }
8578 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
8579 then { { echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
8581 echo "$as_me: error: --with-mirrors parameter invalid
8583 { (exit 1); exit 1; }; }
8586 if test x$MIRRORS = xinternal; then
8588 cat >>confdefs.h <<\_ACEOF
8589 #define MIRRORED_INTERNAL 1
8594 ################################################################################
8595 { echo "$as_me:$LINENO: checking whether to enable readline" >&5
8596 echo $ECHO_N "checking whether to enable readline... $ECHO_C" >&6; }
8597 # Check whether --enable-readline was given.
8598 if test "${enable_readline+set}" = set; then
8599 enableval=$enable_readline; READLINE=$enableval
8604 { echo "$as_me:$LINENO: result: $READLINE" >&5
8605 echo "${ECHO_T}$READLINE" >&6; }
8607 ################################################################################
8608 { echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
8609 echo $ECHO_N "checking whether to enable realtime support... $ECHO_C" >&6; }
8610 # Check whether --enable-realtime was given.
8611 if test "${enable_realtime+set}" = set; then
8612 enableval=$enable_realtime; REALTIME=$enableval
8615 { echo "$as_me:$LINENO: result: $REALTIME" >&5
8616 echo "${ECHO_T}$REALTIME" >&6; }
8618 ################################################################################
8619 { echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
8620 echo $ECHO_N "checking whether to build cluster LVM daemon... $ECHO_C" >&6; }
8622 # Check whether --with-clvmd was given.
8623 if test "${with_clvmd+set}" = set; then
8624 withval=$with_clvmd; CLVMD="$withval"
8629 if test x$CLVMD = xyes; then
8632 { echo "$as_me:$LINENO: result: $CLVMD" >&5
8633 echo "${ECHO_T}$CLVMD" >&6; }
8635 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
8639 ################################################################################
8640 { echo "$as_me:$LINENO: checking whether to enable debugging" >&5
8641 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
8642 # Check whether --enable-debug was given.
8643 if test "${enable_debug+set}" = set; then
8644 enableval=$enable_debug; DEBUG=$enableval
8649 { echo "$as_me:$LINENO: result: $DEBUG" >&5
8650 echo "${ECHO_T}$DEBUG" >&6; }
8652 if test x$DEBUG = xyes; then
8658 ################################################################################
8659 { echo "$as_me:$LINENO: checking for C optimisation flag" >&5
8660 echo $ECHO_N "checking for C optimisation flag... $ECHO_C" >&6; }
8662 # Check whether --with-optimisation was given.
8663 if test "${with_optimisation+set}" = set; then
8664 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
8667 { echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
8668 echo "${ECHO_T}$COPTIMISE_FLAG" >&6; }
8670 ################################################################################
8671 { echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
8672 echo $ECHO_N "checking whether to gather gcov profiling data... $ECHO_C" >&6; }
8673 # Check whether --enable-profiling was given.
8674 if test "${enable_profiling+set}" = set; then
8675 enableval=$enable_profiling; PROFILING=$enableval
8680 { echo "$as_me:$LINENO: result: $PROFILING" >&5
8681 echo "${ECHO_T}$PROFILING" >&6; }
8683 if test "x$PROFILING" = xyes; then
8684 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
8685 # Extract the first word of "lcov", so it can be a program name with args.
8686 set dummy lcov; ac_word=$2
8687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8689 if test "${ac_cv_path_LCOV+set}" = set; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8694 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
8705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8712 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
8716 LCOV=$ac_cv_path_LCOV
8717 if test -n "$LCOV"; then
8718 { echo "$as_me:$LINENO: result: $LCOV" >&5
8719 echo "${ECHO_T}$LCOV" >&6; }
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8726 # Extract the first word of "genhtml", so it can be a program name with args.
8727 set dummy genhtml; ac_word=$2
8728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8730 if test "${ac_cv_path_GENHTML+set}" = set; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
8738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742 test -z "$as_dir" && as_dir=.
8743 for ac_exec_ext in '' $ac_executable_extensions; do
8744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8745 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
8746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
8757 GENHTML=$ac_cv_path_GENHTML
8758 if test -n "$GENHTML"; then
8759 { echo "$as_me:$LINENO: result: $GENHTML" >&5
8760 echo "${ECHO_T}$GENHTML" >&6; }
8762 { echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6; }
8767 if test "$LCOV" = no -o "$GENHTML" = no ; then
8768 { { echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
8769 echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
8770 { (exit 1); exit 1; }; }
8774 ################################################################################
8775 { echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
8776 echo $ECHO_N "checking whether to use device-mapper... $ECHO_C" >&6; }
8777 # Check whether --enable-devmapper was given.
8778 if test "${enable_devmapper+set}" = set; then
8779 enableval=$enable_devmapper; DEVMAPPER=$enableval
8782 { echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
8783 echo "${ECHO_T}$DEVMAPPER" >&6; }
8785 if test x$DEVMAPPER = xyes; then
8787 cat >>confdefs.h <<\_ACEOF
8788 #define DEVMAPPER_SUPPORT 1
8793 ################################################################################
8794 { echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
8795 echo $ECHO_N "checking whether to enable O_DIRECT... $ECHO_C" >&6; }
8796 # Check whether --enable-o_direct was given.
8797 if test "${enable_o_direct+set}" = set; then
8798 enableval=$enable_o_direct; ODIRECT=$enableval
8801 { echo "$as_me:$LINENO: result: $ODIRECT" >&5
8802 echo "${ECHO_T}$ODIRECT" >&6; }
8804 if test x$ODIRECT = xyes; then
8806 cat >>confdefs.h <<\_ACEOF
8807 #define O_DIRECT_SUPPORT 1
8812 ################################################################################
8813 { echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
8814 echo $ECHO_N "checking whether to compile liblvm2cmd.so... $ECHO_C" >&6; }
8815 # Check whether --enable-cmdlib was given.
8816 if test "${enable_cmdlib+set}" = set; then
8817 enableval=$enable_cmdlib; CMDLIB=$enableval
8822 { echo "$as_me:$LINENO: result: $CMDLIB" >&5
8823 echo "${ECHO_T}$CMDLIB" >&6; }
8825 test x$CMDLIB = xyes \
8826 && LVM2CMD_LIB=-llvm2cmd \
8830 ################################################################################
8831 { echo "$as_me:$LINENO: checking whether to install fsadm" >&5
8832 echo $ECHO_N "checking whether to install fsadm... $ECHO_C" >&6; }
8833 # Check whether --enable-fsadm was given.
8834 if test "${enable_fsadm+set}" = set; then
8835 enableval=$enable_fsadm; FSADM=$enableval
8838 { echo "$as_me:$LINENO: result: $FSADM" >&5
8839 echo "${ECHO_T}$FSADM" >&6; }
8841 ################################################################################
8842 { echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
8843 echo $ECHO_N "checking whether to use dmeventd... $ECHO_C" >&6; }
8844 # Check whether --enable-dmeventd was given.
8845 if test "${enable_dmeventd+set}" = set; then
8846 enableval=$enable_dmeventd; DMEVENTD=$enableval
8849 { echo "$as_me:$LINENO: result: $DMEVENTD" >&5
8850 echo "${ECHO_T}$DMEVENTD" >&6; }
8852 if test x$DMEVENTD = xyes; then
8853 if test x$MIRRORS != xinternal; then
8854 { { echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
8856 echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
8858 { (exit 1); exit 1; }; }
8860 if test x$CMDLIB = xno; then
8861 { { echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8863 echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8865 { (exit 1); exit 1; }; }
8869 if test x$DMEVENTD = xyes; then
8871 cat >>confdefs.h <<\_ACEOF
8876 ################################################################################
8877 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
8878 then exec_prefix="";
8881 ################################################################################
8882 if test x$READLINE != xno; then
8883 { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
8884 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
8885 if test "${ac_cv_search_tgetent+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 ac_func_search_save_LIBS=$LIBS
8889 cat >conftest.$ac_ext <<_ACEOF
8892 cat confdefs.h >>conftest.$ac_ext
8893 cat >>conftest.$ac_ext <<_ACEOF
8894 /* end confdefs.h. */
8896 /* Override any GCC internal prototype to avoid an error.
8897 Use char because int might match the return type of a GCC
8898 builtin and then its argument prototype would still apply. */
8911 for ac_lib in '' ncurses curses termcap termlib; do
8912 if test -z "$ac_lib"; then
8913 ac_res="none required"
8916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8918 rm -f conftest.$ac_objext conftest$ac_exeext
8919 if { (ac_try="$ac_link"
8921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8922 *) ac_try_echo
=$ac_try;;
8924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8925 (eval "$ac_link") 2>conftest.er1
8927 grep -v '^ *+' conftest.er1
>conftest.err
8929 cat conftest.err
>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } && {
8932 test -z "$ac_c_werror_flag" ||
8933 test ! -s conftest.err
8934 } && test -s conftest
$ac_exeext &&
8935 $as_test_x conftest
$ac_exeext; then
8936 ac_cv_search_tgetent
=$ac_res
8938 echo "$as_me: failed program was:" >&5
8939 sed 's/^/| /' conftest.
$ac_ext >&5
8944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8946 if test "${ac_cv_search_tgetent+set}" = set; then
8950 if test "${ac_cv_search_tgetent+set}" = set; then
8953 ac_cv_search_tgetent
=no
8956 LIBS
=$ac_func_search_save_LIBS
8958 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
8959 echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
8960 ac_res
=$ac_cv_search_tgetent
8961 if test "$ac_res" != no
; then
8962 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
8968 test x
$READLINE:$tg_found = xyes
:no
&&
8969 { { echo "$as_me:$LINENO: error: termcap could not be found which is required for the
8970 --enable-readline option (which is enabled by default). Either disable readline
8971 support with --disable-readline or download and install termcap from:
8972 ftp.gnu.org/gnu/termcap
8973 Note: if you are using precompiled packages you will also need the development
8974 package as well (which may be called termcap-devel or something similar).
8975 Note: (n)curses also seems to work as a substitute for termcap. This was
8976 not found either - but you could try installing that as well.
8978 echo "$as_me: error: termcap could not be found which is required for the
8979 --enable-readline option (which is enabled by default). Either disable readline
8980 support with --disable-readline or download and install termcap from:
8981 ftp.gnu.org/gnu/termcap
8982 Note: if you are using precompiled packages you will also need the development
8983 package as well (which may be called termcap-devel or something similar).
8984 Note: (n)curses also seems to work as a substitute for termcap. This was
8985 not found either - but you could try installing that as well.
8987 { (exit 1); exit 1; }; }
8990 ################################################################################
8991 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8992 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8993 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 ac_check_lib_save_LIBS
=$LIBS
8998 cat >conftest.
$ac_ext <<_ACEOF
9001 cat confdefs.h
>>conftest.
$ac_ext
9002 cat >>conftest.
$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9005 /* Override any GCC internal prototype to avoid an error.
9006 Use char because int might match the return type of a GCC
9007 builtin and then its argument prototype would still apply. */
9020 rm -f conftest.
$ac_objext conftest
$ac_exeext
9021 if { (ac_try
="$ac_link"
9023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_link") 2>conftest.er1
9029 grep -v '^ *+' conftest.er1 >conftest.err
9031 cat conftest.err >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); } && {
9034 test -z "$ac_c_werror_flag" ||
9035 test ! -s conftest.err
9036 } && test -s conftest$ac_exeext &&
9037 $as_test_x conftest$ac_exeext; then
9038 ac_cv_lib_dl_dlopen=yes
9040 echo "$as_me: failed program was:" >&5
9041 sed 's/^/| /' conftest.$ac_ext >&5
9043 ac_cv_lib_dl_dlopen=no
9046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9047 conftest$ac_exeext conftest.$ac_ext
9048 LIBS=$ac_check_lib_save_LIBS
9050 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9051 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9052 if test $ac_cv_lib_dl_dlopen = yes; then
9059 if [ "x$HAVE_LIBDL" = xyes ]; then
9061 cat >>confdefs.h <<\_ACEOF
9062 #define HAVE_LIBDL 1
9070 ################################################################################
9071 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
9072 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
9073 \) -a "x$STATIC_LINK" = xyes ];
9074 then { { echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
9076 echo "$as_me: error: Features cannot be 'shared' when building statically
9078 { (exit 1); exit 1; }; }
9081 ################################################################################
9082 { echo "$as_me:$LINENO: checking whether to use static linking" >&5
9083 echo $ECHO_N "checking whether to use static linking... $ECHO_C" >&6; }
9084 # Check whether --enable-static_link was given.
9085 if test "${enable_static_link+set}" = set; then
9086 enableval=$enable_static_link; STATIC_LINK=$enableval
9091 { echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
9092 echo "${ECHO_T}$STATIC_LINK" >&6; }
9094 ################################################################################
9095 { echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
9096 echo $ECHO_N "checking whether to enable selinux support... $ECHO_C" >&6; }
9097 # Check whether --enable-selinux was given.
9098 if test "${enable_selinux+set}" = set; then
9099 enableval=$enable_selinux; SELINUX=$enableval
9102 { echo "$as_me:$LINENO: result: $SELINUX" >&5
9103 echo "${ECHO_T}$SELINUX" >&6; }
9105 ################################################################################
9106 if test x$SELINUX = xyes; then
9107 { echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
9108 echo $ECHO_N "checking for sepol_check_context in -lsepol... $ECHO_C" >&6; }
9109 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 ac_check_lib_save_LIBS=$LIBS
9113 LIBS="-lsepol $LIBS"
9114 cat >conftest.$ac_ext <<_ACEOF
9117 cat confdefs.h >>conftest.$ac_ext
9118 cat >>conftest.$ac_ext <<_ACEOF
9119 /* end confdefs.h. */
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9127 char sepol_check_context ();
9131 return sepol_check_context ();
9136 rm -f conftest.$ac_objext conftest$ac_exeext
9137 if { (ac_try="$ac_link"
9139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9140 *) ac_try_echo
=$ac_try;;
9142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9143 (eval "$ac_link") 2>conftest.er1
9145 grep -v '^ *+' conftest.er1
>conftest.err
9147 cat conftest.err
>&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); } && {
9150 test -z "$ac_c_werror_flag" ||
9151 test ! -s conftest.err
9152 } && test -s conftest
$ac_exeext &&
9153 $as_test_x conftest
$ac_exeext; then
9154 ac_cv_lib_sepol_sepol_check_context
=yes
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.
$ac_ext >&5
9159 ac_cv_lib_sepol_sepol_check_context
=no
9162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9163 conftest
$ac_exeext conftest.
$ac_ext
9164 LIBS
=$ac_check_lib_save_LIBS
9166 { echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
9167 echo "${ECHO_T}$ac_cv_lib_sepol_sepol_check_context" >&6; }
9168 if test $ac_cv_lib_sepol_sepol_check_context = yes; then
9175 if test x
$HAVE_SEPOL = xyes
; then
9177 cat >>confdefs.h
<<\_ACEOF
9178 #define HAVE_SEPOL 1
9181 LIBS
="-lsepol $LIBS"
9184 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
9185 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
9186 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 ac_check_lib_save_LIBS
=$LIBS
9190 LIBS
="-lselinux $LIBS"
9191 cat >conftest.
$ac_ext <<_ACEOF
9194 cat confdefs.h
>>conftest.
$ac_ext
9195 cat >>conftest.
$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9204 char is_selinux_enabled ();
9208 return is_selinux_enabled ();
9213 rm -f conftest.
$ac_objext conftest
$ac_exeext
9214 if { (ac_try
="$ac_link"
9216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_link") 2>conftest.er1
9222 grep -v '^ *+' conftest.er1 >conftest.err
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } && {
9227 test -z "$ac_c_werror_flag" ||
9228 test ! -s conftest.err
9229 } && test -s conftest$ac_exeext &&
9230 $as_test_x conftest$ac_exeext; then
9231 ac_cv_lib_selinux_is_selinux_enabled=yes
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9236 ac_cv_lib_selinux_is_selinux_enabled=no
9239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
9244 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
9245 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
9252 if test x$HAVE_SELINUX = xyes; then
9254 cat >>confdefs.h <<\_ACEOF
9255 #define HAVE_SELINUX 1
9258 LIBS="-lselinux $LIBS"
9260 { echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
9261 echo "$as_me: WARNING: Disabling selinux" >&2;}
9264 # With --enable-static_link and selinux enabled, linking
9265 # fails on at least Debian unstable due to unsatisfied references
9266 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
9267 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
9268 lvm_saved_libs=$LIBS
9269 LIBS="$LIBS -static"
9270 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
9271 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
9272 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 ac_func_search_save_LIBS=$LIBS
9276 cat >conftest.$ac_ext <<_ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9289 char pthread_mutex_lock ();
9293 return pthread_mutex_lock ();
9298 for ac_lib in '' pthread; do
9299 if test -z "$ac_lib"; then
9300 ac_res="none required"
9303 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9305 rm -f conftest.$ac_objext conftest$ac_exeext
9306 if { (ac_try="$ac_link"
9308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9309 *) ac_try_echo
=$ac_try;;
9311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9312 (eval "$ac_link") 2>conftest.er1
9314 grep -v '^ *+' conftest.er1
>conftest.err
9316 cat conftest.err
>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } && {
9319 test -z "$ac_c_werror_flag" ||
9320 test ! -s conftest.err
9321 } && test -s conftest
$ac_exeext &&
9322 $as_test_x conftest
$ac_exeext; then
9323 ac_cv_search_pthread_mutex_lock
=$ac_res
9325 echo "$as_me: failed program was:" >&5
9326 sed 's/^/| /' conftest.
$ac_ext >&5
9331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9333 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9337 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9340 ac_cv_search_pthread_mutex_lock
=no
9343 LIBS
=$ac_func_search_save_LIBS
9345 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
9346 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
9347 ac_res
=$ac_cv_search_pthread_mutex_lock
9348 if test "$ac_res" != no
; then
9349 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9350 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
9351 LIB_PTHREAD
=-lpthread
9354 LIBS
=$lvm_saved_libs
9358 ################################################################################
9359 if test x
$REALTIME = xyes
; then
9360 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
9361 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
9362 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
9363 echo $ECHO_N "(cached) $ECHO_C" >&6
9365 ac_check_lib_save_LIBS
=$LIBS
9367 cat >conftest.
$ac_ext <<_ACEOF
9370 cat confdefs.h
>>conftest.
$ac_ext
9371 cat >>conftest.
$ac_ext <<_ACEOF
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9380 char clock_gettime ();
9384 return clock_gettime ();
9389 rm -f conftest.
$ac_objext conftest
$ac_exeext
9390 if { (ac_try
="$ac_link"
9392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9393 *) ac_try_echo=$ac_try;;
9395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9396 (eval "$ac_link") 2>conftest.er1
9398 grep -v '^ *+' conftest.er1 >conftest.err
9400 cat conftest.err >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } && {
9403 test -z "$ac_c_werror_flag" ||
9404 test ! -s conftest.err
9405 } && test -s conftest$ac_exeext &&
9406 $as_test_x conftest$ac_exeext; then
9407 ac_cv_lib_rt_clock_gettime=yes
9409 echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.$ac_ext >&5
9412 ac_cv_lib_rt_clock_gettime=no
9415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
9420 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
9421 if test $ac_cv_lib_rt_clock_gettime = yes; then
9428 if test x$HAVE_REALTIME = xyes; then
9430 cat >>confdefs.h <<\_ACEOF
9431 #define HAVE_REALTIME 1
9436 { echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
9437 echo "$as_me: WARNING: Disabling realtime clock" >&2;}
9441 ################################################################################
9443 for ac_header in getopt.h
9445 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9447 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9450 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 ac_res=`eval echo '${'$as_ac_Header'}'`
9453 { echo "$as_me:$LINENO: result: $ac_res" >&5
9454 echo "${ECHO_T}$ac_res" >&6; }
9456 # Is the header compilable?
9457 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9459 cat >conftest.$ac_ext <<_ACEOF
9462 cat confdefs.h >>conftest.$ac_ext
9463 cat >>conftest.$ac_ext <<_ACEOF
9464 /* end confdefs.h. */
9465 $ac_includes_default
9466 #include <$ac_header>
9468 rm -f conftest.$ac_objext
9469 if { (ac_try="$ac_compile"
9471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9472 *) ac_try_echo
=$ac_try;;
9474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9475 (eval "$ac_compile") 2>conftest.er1
9477 grep -v '^ *+' conftest.er1
>conftest.err
9479 cat conftest.err
>&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); } && {
9482 test -z "$ac_c_werror_flag" ||
9483 test ! -s conftest.err
9484 } && test -s conftest.
$ac_objext; then
9485 ac_header_compiler
=yes
9487 echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.
$ac_ext >&5
9490 ac_header_compiler
=no
9493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9494 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9495 echo "${ECHO_T}$ac_header_compiler" >&6; }
9497 # Is the header present?
9498 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9500 cat >conftest.
$ac_ext <<_ACEOF
9503 cat confdefs.h
>>conftest.
$ac_ext
9504 cat >>conftest.
$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9506 #include <$ac_header>
9508 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9516 grep -v '^ *+' conftest.er1 >conftest.err
9518 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } >/dev/null && {
9521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9522 test ! -s conftest.err
9524 ac_header_preproc=yes
9526 echo "$as_me: failed program was:" >&5
9527 sed 's/^/| /' conftest.$ac_ext >&5
9529 ac_header_preproc=no
9532 rm -f conftest.err conftest.$ac_ext
9533 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9534 echo "${ECHO_T}$ac_header_preproc" >&6; }
9536 # So? What about this header?
9537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9543 ac_header_preproc=yes
9546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9549 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9550 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9551 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9552 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9553 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9556 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9557 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 eval "$as_ac_Header=\$ac_header_preproc"
9568 ac_res=`eval echo '${'$as_ac_Header'}'`
9569 { echo "$as_me:$LINENO: result: $ac_res" >&5
9570 echo "${ECHO_T}$ac_res" >&6; }
9573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9574 cat >>confdefs.h <<_ACEOF
9575 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9578 cat >>confdefs.h <<\_ACEOF
9579 #define HAVE_GETOPTLONG 1
9587 ################################################################################
9588 if test x$READLINE != xno; then
9591 { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
9592 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
9593 if test "${ac_cv_lib_readline_readline+set}" = set; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 ac_check_lib_save_LIBS=$LIBS
9597 LIBS="-lreadline $LIBS"
9598 cat >conftest.$ac_ext <<_ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9620 rm -f conftest.$ac_objext conftest$ac_exeext
9621 if { (ac_try="$ac_link"
9623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9624 *) ac_try_echo
=$ac_try;;
9626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9627 (eval "$ac_link") 2>conftest.er1
9629 grep -v '^ *+' conftest.er1
>conftest.err
9631 cat conftest.err
>&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); } && {
9634 test -z "$ac_c_werror_flag" ||
9635 test ! -s conftest.err
9636 } && test -s conftest
$ac_exeext &&
9637 $as_test_x conftest
$ac_exeext; then
9638 ac_cv_lib_readline_readline
=yes
9640 echo "$as_me: failed program was:" >&5
9641 sed 's/^/| /' conftest.
$ac_ext >&5
9643 ac_cv_lib_readline_readline
=no
9646 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9647 conftest
$ac_exeext conftest.
$ac_ext
9648 LIBS
=$ac_check_lib_save_LIBS
9650 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
9651 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
9652 if test $ac_cv_lib_readline_readline = yes; then
9653 cat >>confdefs.h
<<_ACEOF
9654 #define HAVE_LIBREADLINE 1
9657 LIBS
="-lreadline $LIBS"
9663 test x
$READLINE:$rl_found = xyes
:no
&&
9664 { { echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
9665 --enable-readline option (which is enabled by default). Either disable readline
9666 support with --disable-readline or download and install readline from:
9667 ftp.gnu.org/gnu/readline
9668 Note: if you are using precompiled packages you will also need the development
9669 package as well (which may be called readline-devel or something similar).
9671 echo "$as_me: error: GNU Readline could not be found which is required for the
9672 --enable-readline option (which is enabled by default). Either disable readline
9673 support with --disable-readline or download and install readline from:
9674 ftp.gnu.org/gnu/readline
9675 Note: if you are using precompiled packages you will also need the development
9676 package as well (which may be called readline-devel or something similar).
9678 { (exit 1); exit 1; }; }
9679 if test $rl_found = yes; then
9681 for ac_func
in rl_completion_matches
9683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9686 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 cat >conftest.
$ac_ext <<_ACEOF
9692 cat confdefs.h
>>conftest.
$ac_ext
9693 cat >>conftest.
$ac_ext <<_ACEOF
9694 /* end confdefs.h. */
9695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9697 #define $ac_func innocuous_$ac_func
9699 /* System header to define __stub macros and hopefully few prototypes,
9700 which can conflict with char $ac_func (); below.
9701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9702 <limits.h> exists even on freestanding compilers. */
9705 # include <limits.h>
9707 # include <assert.h>
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9719 /* The GNU C library defines this for functions which it implements
9720 to always fail with ENOSYS. Some functions are actually named
9721 something starting with __ and the normal name is an alias. */
9722 #if defined __stub_$ac_func || defined __stub___$ac_func
9734 rm -f conftest.
$ac_objext conftest
$ac_exeext
9735 if { (ac_try
="$ac_link"
9737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9738 *) ac_try_echo=$ac_try;;
9740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9741 (eval "$ac_link") 2>conftest.er1
9743 grep -v '^ *+' conftest.er1 >conftest.err
9745 cat conftest.err >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } && {
9748 test -z "$ac_c_werror_flag" ||
9749 test ! -s conftest.err
9750 } && test -s conftest$ac_exeext &&
9751 $as_test_x conftest$ac_exeext; then
9752 eval "$as_ac_var=yes"
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9757 eval "$as_ac_var=no"
9760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9761 conftest$ac_exeext conftest.$ac_ext
9763 ac_res=`eval echo '${'$as_ac_var'}'`
9764 { echo "$as_me:$LINENO: result: $ac_res" >&5
9765 echo "${ECHO_T}$ac_res" >&6; }
9766 if test `eval echo '${'$as_ac_var'}'` = yes; then
9767 cat >>confdefs.h <<_ACEOF
9768 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9775 cat >>confdefs.h <<\_ACEOF
9776 #define READLINE_SUPPORT 1
9782 ################################################################################
9783 { echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
9784 echo $ECHO_N "checking whether to enable internationalisation... $ECHO_C" >&6; }
9785 # Check whether --enable-nls was given.
9786 if test "${enable_nls+set}" = set; then
9787 enableval=$enable_nls; INTL=$enableval
9792 { echo "$as_me:$LINENO: result: $INTL" >&5
9793 echo "${ECHO_T}$INTL" >&6; }
9795 if test x$INTL = xyes; then
9797 # Extract the first word of "msgfmt", so it can be a program name with args.
9798 set dummy msgfmt; ac_word=$2
9799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9801 if test "${ac_cv_path_MSGFMT+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
9809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9813 test -z "$as_dir" && as_dir=.
9814 for ac_exec_ext in '' $ac_executable_extensions; do
9815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9816 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
9817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 MSGFMT=$ac_cv_path_MSGFMT
9828 if test -n "$MSGFMT"; then
9829 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
9830 echo "${ECHO_T}$MSGFMT" >&6; }
9832 { echo "$as_me:$LINENO: result: no" >&5
9833 echo "${ECHO_T}no" >&6; }
9837 if [ "x$MSGFMT" == x ];
9838 then { { echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
9840 echo "$as_me: error: msgfmt not found in path $PATH
9842 { (exit 1); exit 1; }; }
9846 # Check whether --with-localedir was given.
9847 if test "${with_localedir+set}" = set; then
9848 withval=$with_localedir; LOCALEDIR="$withval"
9850 LOCALEDIR='${prefix}/share/locale'
9855 ################################################################################
9857 # Check whether --with-confdir was given.
9858 if test "${with_confdir+set}" = set; then
9859 withval=$with_confdir; CONFDIR="$withval"
9866 # Check whether --with-staticdir was given.
9867 if test "${with_staticdir+set}" = set; then
9868 withval=$with_staticdir; STATICDIR="$withval"
9870 STATICDIR='${exec_prefix}/sbin'
9875 # Check whether --with-dmdir was given.
9876 if test "${with_dmdir+set}" = set; then
9877 withval=$with_dmdir; DMDIR="$withval" CPPFLAGS="$CPPFLAGS -I$DMDIR/include"
9883 # Convert a relative dir name to absolute.
9886 *) DMDIR="`pwd`/$DMDIR" ;;
9890 # Check whether --with-usrlibdir was given.
9891 if test "${with_usrlibdir+set}" = set; then
9892 withval=$with_usrlibdir; usrlibdir="$withval"
9894 usrlibdir='${prefix}/lib'
9899 # Check whether --with-usrsbindir was given.
9900 if test "${with_usrsbindir+set}" = set; then
9901 withval=$with_usrsbindir; usrsbindir="$withval"
9903 usrsbindir='${prefix}/sbin'
9907 ################################################################################
9908 if test x$READLINE = xyes; then
9911 for ac_header in readline/readline.h readline/history.h
9913 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 ac_res=`eval echo '${'$as_ac_Header'}'`
9921 { echo "$as_me:$LINENO: result: $ac_res" >&5
9922 echo "${ECHO_T}$ac_res" >&6; }
9924 # Is the header compilable?
9925 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9927 cat >conftest.$ac_ext <<_ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h. */
9933 $ac_includes_default
9934 #include <$ac_header>
9936 rm -f conftest.$ac_objext
9937 if { (ac_try="$ac_compile"
9939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9940 *) ac_try_echo
=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_compile") 2>conftest.er1
9945 grep -v '^ *+' conftest.er1
>conftest.err
9947 cat conftest.err
>&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest.
$ac_objext; then
9953 ac_header_compiler
=yes
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.
$ac_ext >&5
9958 ac_header_compiler
=no
9961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9962 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9963 echo "${ECHO_T}$ac_header_compiler" >&6; }
9965 # Is the header present?
9966 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9968 cat >conftest.
$ac_ext <<_ACEOF
9971 cat confdefs.h
>>conftest.
$ac_ext
9972 cat >>conftest.
$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9974 #include <$ac_header>
9976 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9979 *) ac_try_echo=$ac_try;;
9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9984 grep -v '^ *+' conftest.er1 >conftest.err
9986 cat conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } >/dev/null && {
9989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9990 test ! -s conftest.err
9992 ac_header_preproc=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9997 ac_header_preproc=no
10000 rm -f conftest.err conftest.$ac_ext
10001 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10002 echo "${ECHO_T}$ac_header_preproc" >&6; }
10004 # So? What about this header?
10005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10011 ac_header_preproc=yes
10014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 eval "$as_ac_Header=\$ac_header_preproc"
10036 ac_res=`eval echo '${'$as_ac_Header'}'`
10037 { echo "$as_me:$LINENO: result: $ac_res" >&5
10038 echo "${ECHO_T}$ac_res" >&6; }
10041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10042 cat >>confdefs.h <<_ACEOF
10043 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10047 { { echo "$as_me:$LINENO: error: bailing out" >&5
10048 echo "$as_me: error: bailing out" >&2;}
10049 { (exit 1); exit 1; }; }
10056 if test x$CLVMD != xnone; then
10067 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
10069 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10074 echo $ECHO_N "(cached) $ECHO_C" >&6
10076 ac_res=`eval echo '${'$as_ac_Header'}'`
10077 { echo "$as_me:$LINENO: result: $ac_res" >&5
10078 echo "${ECHO_T}$ac_res" >&6; }
10080 # Is the header compilable?
10081 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10083 cat >conftest.$ac_ext <<_ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10089 $ac_includes_default
10090 #include <$ac_header>
10092 rm -f conftest.$ac_objext
10093 if { (ac_try="$ac_compile"
10094 case "(($ac_try" in
10095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10096 *) ac_try_echo
=$ac_try;;
10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10099 (eval "$ac_compile") 2>conftest.er1
10101 grep -v '^ *+' conftest.er1
>conftest.err
10103 cat conftest.err
>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } && {
10106 test -z "$ac_c_werror_flag" ||
10107 test ! -s conftest.err
10108 } && test -s conftest.
$ac_objext; then
10109 ac_header_compiler
=yes
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.
$ac_ext >&5
10114 ac_header_compiler
=no
10117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10119 echo "${ECHO_T}$ac_header_compiler" >&6; }
10121 # Is the header present?
10122 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10124 cat >conftest.
$ac_ext <<_ACEOF
10127 cat confdefs.h
>>conftest.
$ac_ext
10128 cat >>conftest.
$ac_ext <<_ACEOF
10129 /* end confdefs.h. */
10130 #include <$ac_header>
10132 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10133 case "(($ac_try" in
10134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10135 *) ac_try_echo=$ac_try;;
10137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10140 grep -v '^ *+' conftest.er1 >conftest.err
10142 cat conftest.err >&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } >/dev/null && {
10145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10146 test ! -s conftest.err
10148 ac_header_preproc=yes
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10153 ac_header_preproc=no
10156 rm -f conftest.err conftest.$ac_ext
10157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10158 echo "${ECHO_T}$ac_header_preproc" >&6; }
10160 # So? What about this header?
10161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10167 ac_header_preproc=yes
10170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 eval "$as_ac_Header=\$ac_header_preproc"
10192 ac_res=`eval echo '${'$as_ac_Header'}'`
10193 { echo "$as_me:$LINENO: result: $ac_res" >&5
10194 echo "${ECHO_T}$ac_res" >&6; }
10197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10198 cat >>confdefs.h <<_ACEOF
10199 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10203 { { echo "$as_me:$LINENO: error: bailing out" >&5
10204 echo "$as_me: error: bailing out" >&2;}
10205 { (exit 1); exit 1; }; }
10215 for ac_func in dup2 getmntent memmove select socket
10217 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 cat >conftest.$ac_ext <<_ACEOF
10226 cat confdefs.h >>conftest.$ac_ext
10227 cat >>conftest.$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10231 #define $ac_func innocuous_$ac_func
10233 /* System header to define __stub macros and hopefully few prototypes,
10234 which can conflict with char $ac_func (); below.
10235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10236 <limits.h> exists even on freestanding compilers. */
10239 # include <limits.h>
10241 # include <assert.h>
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10253 /* The GNU C library defines this for functions which it implements
10254 to always fail with ENOSYS. Some functions are actually named
10255 something starting with __ and the normal name is an alias. */
10256 #if defined __stub_$ac_func || defined __stub___$ac_func
10263 return $ac_func ();
10268 rm -f conftest.$ac_objext conftest$ac_exeext
10269 if { (ac_try="$ac_link"
10270 case "(($ac_try" in
10271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10272 *) ac_try_echo
=$ac_try;;
10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10275 (eval "$ac_link") 2>conftest.er1
10277 grep -v '^ *+' conftest.er1
>conftest.err
10279 cat conftest.err
>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } && {
10282 test -z "$ac_c_werror_flag" ||
10283 test ! -s conftest.err
10284 } && test -s conftest
$ac_exeext &&
10285 $as_test_x conftest
$ac_exeext; then
10286 eval "$as_ac_var=yes"
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.
$ac_ext >&5
10291 eval "$as_ac_var=no"
10294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10295 conftest
$ac_exeext conftest.
$ac_ext
10297 ac_res
=`eval echo '${'$as_ac_var'}'`
10298 { echo "$as_me:$LINENO: result: $ac_res" >&5
10299 echo "${ECHO_T}$ac_res" >&6; }
10300 if test `eval echo '${'$as_ac_var'}'` = yes; then
10301 cat >>confdefs.h
<<_ACEOF
10302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10306 { { echo "$as_me:$LINENO: error: bailing out" >&5
10307 echo "$as_me: error: bailing out" >&2;}
10308 { (exit 1); exit 1; }; }
10312 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10313 # -lseq on Dynix/PTX, -lgen on Unixware.
10314 { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
10315 echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
10316 if test "${ac_cv_search_getmntent+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 ac_func_search_save_LIBS
=$LIBS
10320 cat >conftest.
$ac_ext <<_ACEOF
10323 cat confdefs.h
>>conftest.
$ac_ext
10324 cat >>conftest.
$ac_ext <<_ACEOF
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10337 return getmntent ();
10342 for ac_lib
in '' sun
seq gen
; do
10343 if test -z "$ac_lib"; then
10344 ac_res
="none required"
10347 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10349 rm -f conftest.
$ac_objext conftest
$ac_exeext
10350 if { (ac_try
="$ac_link"
10351 case "(($ac_try" in
10352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_link") 2>conftest.er1
10358 grep -v '^ *+' conftest.er1 >conftest.err
10360 cat conftest.err >&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } && {
10363 test -z "$ac_c_werror_flag" ||
10364 test ! -s conftest.err
10365 } && test -s conftest$ac_exeext &&
10366 $as_test_x conftest$ac_exeext; then
10367 ac_cv_search_getmntent=$ac_res
10369 echo "$as_me: failed program was:" >&5
10370 sed 's/^/| /' conftest.$ac_ext >&5
10375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10377 if test "${ac_cv_search_getmntent+set}" = set; then
10381 if test "${ac_cv_search_getmntent+set}" = set; then
10384 ac_cv_search_getmntent=no
10386 rm conftest.$ac_ext
10387 LIBS=$ac_func_search_save_LIBS
10389 { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
10390 echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
10391 ac_res=$ac_cv_search_getmntent
10392 if test "$ac_res" != no; then
10393 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10394 ac_cv_func_getmntent=yes
10396 cat >>confdefs.h <<\_ACEOF
10397 #define HAVE_GETMNTENT
10401 ac_cv_func_getmntent=no
10408 for ac_header in sys/select.h sys/socket.h
10410 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 ac_res=`eval echo '${'$as_ac_Header'}'`
10418 { echo "$as_me:$LINENO: result: $ac_res" >&5
10419 echo "${ECHO_T}$ac_res" >&6; }
10421 # Is the header compilable?
10422 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10424 cat >conftest.$ac_ext <<_ACEOF
10427 cat confdefs.h >>conftest.$ac_ext
10428 cat >>conftest.$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10430 $ac_includes_default
10431 #include <$ac_header>
10433 rm -f conftest.$ac_objext
10434 if { (ac_try="$ac_compile"
10435 case "(($ac_try" in
10436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10437 *) ac_try_echo
=$ac_try;;
10439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10440 (eval "$ac_compile") 2>conftest.er1
10442 grep -v '^ *+' conftest.er1
>conftest.err
10444 cat conftest.err
>&5
10445 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_objext; then
10450 ac_header_compiler
=yes
10452 echo "$as_me: failed program was:" >&5
10453 sed 's/^/| /' conftest.
$ac_ext >&5
10455 ac_header_compiler
=no
10458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10460 echo "${ECHO_T}$ac_header_compiler" >&6; }
10462 # Is the header present?
10463 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10465 cat >conftest.
$ac_ext <<_ACEOF
10468 cat confdefs.h
>>conftest.
$ac_ext
10469 cat >>conftest.
$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10471 #include <$ac_header>
10473 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10474 case "(($ac_try" in
10475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10481 grep -v '^ *+' conftest.er1 >conftest.err
10483 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } >/dev/null && {
10486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10487 test ! -s conftest.err
10489 ac_header_preproc=yes
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10494 ac_header_preproc=no
10497 rm -f conftest.err conftest.$ac_ext
10498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10499 echo "${ECHO_T}$ac_header_preproc" >&6; }
10501 # So? What about this header?
10502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10508 ac_header_preproc=yes
10511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 eval "$as_ac_Header=\$ac_header_preproc"
10533 ac_res=`eval echo '${'$as_ac_Header'}'`
10534 { echo "$as_me:$LINENO: result: $ac_res" >&5
10535 echo "${ECHO_T}$ac_res" >&6; }
10538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10539 cat >>confdefs.h <<_ACEOF
10540 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10547 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
10548 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10549 if test "${ac_cv_func_select_args+set}" = set; then
10550 echo $ECHO_N "(cached) $ECHO_C" >&6
10552 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10553 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10554 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10555 cat >conftest.$ac_ext <<_ACEOF
10558 cat confdefs.h >>conftest.$ac_ext
10559 cat >>conftest.$ac_ext <<_ACEOF
10560 /* end confdefs.h. */
10561 $ac_includes_default
10562 #ifdef HAVE_SYS_SELECT_H
10563 # include <sys/select.h>
10565 #ifdef HAVE_SYS_SOCKET_H
10566 # include <sys/socket.h>
10572 extern int select ($ac_arg1,
10573 $ac_arg234, $ac_arg234, $ac_arg234,
10579 rm -f conftest.$ac_objext
10580 if { (ac_try="$ac_compile"
10581 case "(($ac_try" in
10582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10583 *) ac_try_echo
=$ac_try;;
10585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10586 (eval "$ac_compile") 2>conftest.er1
10588 grep -v '^ *+' conftest.er1
>conftest.err
10590 cat conftest.err
>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); } && {
10593 test -z "$ac_c_werror_flag" ||
10594 test ! -s conftest.err
10595 } && test -s conftest.
$ac_objext; then
10596 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10598 echo "$as_me: failed program was:" >&5
10599 sed 's/^/| /' conftest.
$ac_ext >&5
10604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10608 # Provide a safe default value.
10609 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10612 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10613 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
10614 ac_save_IFS
=$IFS; IFS
=','
10615 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10619 cat >>confdefs.h
<<_ACEOF
10620 #define SELECT_TYPE_ARG1 $1
10624 cat >>confdefs.h
<<_ACEOF
10625 #define SELECT_TYPE_ARG234 ($2)
10629 cat >>confdefs.h
<<_ACEOF
10630 #define SELECT_TYPE_ARG5 ($3)
10637 if test x
$CLUSTER != xnone
; then
10640 for ac_header
in sys
/socket.h sys
/un.h
10642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10643 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10646 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10649 ac_res
=`eval echo '${'$as_ac_Header'}'`
10650 { echo "$as_me:$LINENO: result: $ac_res" >&5
10651 echo "${ECHO_T}$ac_res" >&6; }
10653 # Is the header compilable?
10654 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10656 cat >conftest.
$ac_ext <<_ACEOF
10659 cat confdefs.h
>>conftest.
$ac_ext
10660 cat >>conftest.
$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10662 $ac_includes_default
10663 #include <$ac_header>
10665 rm -f conftest.
$ac_objext
10666 if { (ac_try
="$ac_compile"
10667 case "(($ac_try" in
10668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10669 *) ac_try_echo=$ac_try;;
10671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10672 (eval "$ac_compile") 2>conftest.er1
10674 grep -v '^ *+' conftest.er1 >conftest.err
10676 cat conftest.err >&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } && {
10679 test -z "$ac_c_werror_flag" ||
10680 test ! -s conftest.err
10681 } && test -s conftest.$ac_objext; then
10682 ac_header_compiler=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10687 ac_header_compiler=no
10690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10691 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10692 echo "${ECHO_T}$ac_header_compiler" >&6; }
10694 # Is the header present?
10695 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10697 cat >conftest.$ac_ext <<_ACEOF
10700 cat confdefs.h >>conftest.$ac_ext
10701 cat >>conftest.$ac_ext <<_ACEOF
10702 /* end confdefs.h. */
10703 #include <$ac_header>
10705 if { (ac_try="$ac_cpp conftest.$ac_ext"
10706 case "(($ac_try" in
10707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10708 *) ac_try_echo
=$ac_try;;
10710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } >/dev
/null
&& {
10718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10719 test ! -s conftest.err
10721 ac_header_preproc
=yes
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.
$ac_ext >&5
10726 ac_header_preproc
=no
10729 rm -f conftest.err conftest.
$ac_ext
10730 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10731 echo "${ECHO_T}$ac_header_preproc" >&6; }
10733 # So? What about this header?
10734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10740 ac_header_preproc
=yes
10743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10760 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 eval "$as_ac_Header=\$ac_header_preproc"
10765 ac_res
=`eval echo '${'$as_ac_Header'}'`
10766 { echo "$as_me:$LINENO: result: $ac_res" >&5
10767 echo "${ECHO_T}$ac_res" >&6; }
10770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10771 cat >>confdefs.h
<<_ACEOF
10772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10776 { { echo "$as_me:$LINENO: error: bailing out" >&5
10777 echo "$as_me: error: bailing out" >&2;}
10778 { (exit 1); exit 1; }; }
10784 for ac_func
in socket
10786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10789 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 cat >conftest.
$ac_ext <<_ACEOF
10795 cat confdefs.h
>>conftest.
$ac_ext
10796 cat >>conftest.
$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10800 #define $ac_func innocuous_$ac_func
10802 /* System header to define __stub macros and hopefully few prototypes,
10803 which can conflict with char $ac_func (); below.
10804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10805 <limits.h> exists even on freestanding compilers. */
10808 # include <limits.h>
10810 # include <assert.h>
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10822 /* The GNU C library defines this for functions which it implements
10823 to always fail with ENOSYS. Some functions are actually named
10824 something starting with __ and the normal name is an alias. */
10825 #if defined __stub_$ac_func || defined __stub___$ac_func
10832 return $ac_func ();
10837 rm -f conftest.
$ac_objext conftest
$ac_exeext
10838 if { (ac_try
="$ac_link"
10839 case "(($ac_try" in
10840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10841 *) ac_try_echo=$ac_try;;
10843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10844 (eval "$ac_link") 2>conftest.er1
10846 grep -v '^ *+' conftest.er1 >conftest.err
10848 cat conftest.err >&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } && {
10851 test -z "$ac_c_werror_flag" ||
10852 test ! -s conftest.err
10853 } && test -s conftest$ac_exeext &&
10854 $as_test_x conftest$ac_exeext; then
10855 eval "$as_ac_var=yes"
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10860 eval "$as_ac_var=no"
10863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10864 conftest$ac_exeext conftest.$ac_ext
10866 ac_res=`eval echo '${'$as_ac_var'}'`
10867 { echo "$as_me:$LINENO: result: $ac_res" >&5
10868 echo "${ECHO_T}$ac_res" >&6; }
10869 if test `eval echo '${'$as_ac_var'}'` = yes; then
10870 cat >>confdefs.h <<_ACEOF
10871 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10875 { { echo "$as_me:$LINENO: error: bailing out" >&5
10876 echo "$as_me: error: bailing out" >&2;}
10877 { (exit 1); exit 1; }; }
10883 if test x$HAVE_LIBDL = xyes; then
10885 for ac_header in dlfcn.h
10887 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 ac_res=`eval echo '${'$as_ac_Header'}'`
10895 { echo "$as_me:$LINENO: result: $ac_res" >&5
10896 echo "${ECHO_T}$ac_res" >&6; }
10898 # Is the header compilable?
10899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10901 cat >conftest.$ac_ext <<_ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 $ac_includes_default
10908 #include <$ac_header>
10910 rm -f conftest.$ac_objext
10911 if { (ac_try="$ac_compile"
10912 case "(($ac_try" in
10913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10914 *) ac_try_echo
=$ac_try;;
10916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10917 (eval "$ac_compile") 2>conftest.er1
10919 grep -v '^ *+' conftest.er1
>conftest.err
10921 cat conftest.err
>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } && {
10924 test -z "$ac_c_werror_flag" ||
10925 test ! -s conftest.err
10926 } && test -s conftest.
$ac_objext; then
10927 ac_header_compiler
=yes
10929 echo "$as_me: failed program was:" >&5
10930 sed 's/^/| /' conftest.
$ac_ext >&5
10932 ac_header_compiler
=no
10935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10937 echo "${ECHO_T}$ac_header_compiler" >&6; }
10939 # Is the header present?
10940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 #include <$ac_header>
10950 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10951 case "(($ac_try" in
10952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10953 *) ac_try_echo=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10958 grep -v '^ *+' conftest.er1 >conftest.err
10960 cat conftest.err >&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } >/dev/null && {
10963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10964 test ! -s conftest.err
10966 ac_header_preproc=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.$ac_ext >&5
10971 ac_header_preproc=no
10974 rm -f conftest.err conftest.$ac_ext
10975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10976 echo "${ECHO_T}$ac_header_preproc" >&6; }
10978 # So? What about this header?
10979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10985 ac_header_preproc=yes
10988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11003 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 eval "$as_ac_Header=\$ac_header_preproc"
11010 ac_res=`eval echo '${'$as_ac_Header'}'`
11011 { echo "$as_me:$LINENO: result: $ac_res" >&5
11012 echo "${ECHO_T}$ac_res" >&6; }
11015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11016 cat >>confdefs.h <<_ACEOF
11017 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11021 { { echo "$as_me:$LINENO: error: bailing out" >&5
11022 echo "$as_me: error: bailing out" >&2;}
11023 { (exit 1); exit 1; }; }
11030 if test x$INTL = xyes; then
11032 for ac_header in libintl.h
11034 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11036 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 ac_res=`eval echo '${'$as_ac_Header'}'`
11042 { echo "$as_me:$LINENO: result: $ac_res" >&5
11043 echo "${ECHO_T}$ac_res" >&6; }
11045 # Is the header compilable?
11046 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11048 cat >conftest.$ac_ext <<_ACEOF
11051 cat confdefs.h >>conftest.$ac_ext
11052 cat >>conftest.$ac_ext <<_ACEOF
11053 /* end confdefs.h. */
11054 $ac_includes_default
11055 #include <$ac_header>
11057 rm -f conftest.$ac_objext
11058 if { (ac_try="$ac_compile"
11059 case "(($ac_try" in
11060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11061 *) ac_try_echo
=$ac_try;;
11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11064 (eval "$ac_compile") 2>conftest.er1
11066 grep -v '^ *+' conftest.er1
>conftest.err
11068 cat conftest.err
>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } && {
11071 test -z "$ac_c_werror_flag" ||
11072 test ! -s conftest.err
11073 } && test -s conftest.
$ac_objext; then
11074 ac_header_compiler
=yes
11076 echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.
$ac_ext >&5
11079 ac_header_compiler
=no
11082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11084 echo "${ECHO_T}$ac_header_compiler" >&6; }
11086 # Is the header present?
11087 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11089 cat >conftest.
$ac_ext <<_ACEOF
11092 cat confdefs.h
>>conftest.
$ac_ext
11093 cat >>conftest.
$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11095 #include <$ac_header>
11097 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11098 case "(($ac_try" in
11099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11100 *) ac_try_echo=$ac_try;;
11102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11105 grep -v '^ *+' conftest.er1 >conftest.err
11107 cat conftest.err >&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } >/dev/null && {
11110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11111 test ! -s conftest.err
11113 ac_header_preproc=yes
11115 echo "$as_me: failed program was:" >&5
11116 sed 's/^/| /' conftest.$ac_ext >&5
11118 ac_header_preproc=no
11121 rm -f conftest.err conftest.$ac_ext
11122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11123 echo "${ECHO_T}$ac_header_preproc" >&6; }
11125 # So? What about this header?
11126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11132 ac_header_preproc=yes
11135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11150 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 eval "$as_ac_Header=\$ac_header_preproc"
11157 ac_res=`eval echo '${'$as_ac_Header'}'`
11158 { echo "$as_me:$LINENO: result: $ac_res" >&5
11159 echo "${ECHO_T}$ac_res" >&6; }
11162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11163 cat >>confdefs.h <<_ACEOF
11164 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11168 { { echo "$as_me:$LINENO: error: bailing out" >&5
11169 echo "$as_me: error: bailing out" >&2;}
11170 { (exit 1); exit 1; }; }
11178 for ac_header in libdevmapper.h
11180 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 ac_res=`eval echo '${'$as_ac_Header'}'`
11188 { echo "$as_me:$LINENO: result: $ac_res" >&5
11189 echo "${ECHO_T}$ac_res" >&6; }
11191 # Is the header compilable?
11192 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11194 cat >conftest.$ac_ext <<_ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 $ac_includes_default
11201 #include <$ac_header>
11203 rm -f conftest.$ac_objext
11204 if { (ac_try="$ac_compile"
11205 case "(($ac_try" in
11206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11207 *) ac_try_echo
=$ac_try;;
11209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11210 (eval "$ac_compile") 2>conftest.er1
11212 grep -v '^ *+' conftest.er1
>conftest.err
11214 cat conftest.err
>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } && {
11217 test -z "$ac_c_werror_flag" ||
11218 test ! -s conftest.err
11219 } && test -s conftest.
$ac_objext; then
11220 ac_header_compiler
=yes
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.
$ac_ext >&5
11225 ac_header_compiler
=no
11228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11230 echo "${ECHO_T}$ac_header_compiler" >&6; }
11232 # Is the header present?
11233 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11235 cat >conftest.
$ac_ext <<_ACEOF
11238 cat confdefs.h
>>conftest.
$ac_ext
11239 cat >>conftest.
$ac_ext <<_ACEOF
11240 /* end confdefs.h. */
11241 #include <$ac_header>
11243 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11244 case "(($ac_try" in
11245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11246 *) ac_try_echo=$ac_try;;
11248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11251 grep -v '^ *+' conftest.er1 >conftest.err
11253 cat conftest.err >&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } >/dev/null && {
11256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11257 test ! -s conftest.err
11259 ac_header_preproc=yes
11261 echo "$as_me: failed program was:" >&5
11262 sed 's/^/| /' conftest.$ac_ext >&5
11264 ac_header_preproc=no
11267 rm -f conftest.err conftest.$ac_ext
11268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11269 echo "${ECHO_T}$ac_header_preproc" >&6; }
11271 # So? What about this header?
11272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11278 ac_header_preproc=yes
11281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 eval "$as_ac_Header=\$ac_header_preproc"
11303 ac_res=`eval echo '${'$as_ac_Header'}'`
11304 { echo "$as_me:$LINENO: result: $ac_res" >&5
11305 echo "${ECHO_T}$ac_res" >&6; }
11308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11309 cat >>confdefs.h <<_ACEOF
11310 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11314 { { echo "$as_me:$LINENO: error: bailing out" >&5
11315 echo "$as_me: error: bailing out" >&2;}
11316 { (exit 1); exit 1; }; }
11322 if test x$HAVE_SELINUX = xyes; then
11324 for ac_header in selinux/selinux.h
11326 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 ac_res=`eval echo '${'$as_ac_Header'}'`
11334 { echo "$as_me:$LINENO: result: $ac_res" >&5
11335 echo "${ECHO_T}$ac_res" >&6; }
11337 # Is the header compilable?
11338 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11340 cat >conftest.$ac_ext <<_ACEOF
11343 cat confdefs.h >>conftest.$ac_ext
11344 cat >>conftest.$ac_ext <<_ACEOF
11345 /* end confdefs.h. */
11346 $ac_includes_default
11347 #include <$ac_header>
11349 rm -f conftest.$ac_objext
11350 if { (ac_try="$ac_compile"
11351 case "(($ac_try" in
11352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11353 *) ac_try_echo
=$ac_try;;
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_compile") 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest.
$ac_objext; then
11366 ac_header_compiler
=yes
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.
$ac_ext >&5
11371 ac_header_compiler
=no
11374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11376 echo "${ECHO_T}$ac_header_compiler" >&6; }
11378 # Is the header present?
11379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11381 cat >conftest.
$ac_ext <<_ACEOF
11384 cat confdefs.h
>>conftest.
$ac_ext
11385 cat >>conftest.
$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 #include <$ac_header>
11389 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11390 case "(($ac_try" in
11391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11392 *) ac_try_echo=$ac_try;;
11394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11397 grep -v '^ *+' conftest.er1 >conftest.err
11399 cat conftest.err >&5
11400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); } >/dev/null && {
11402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11403 test ! -s conftest.err
11405 ac_header_preproc=yes
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11410 ac_header_preproc=no
11413 rm -f conftest.err conftest.$ac_ext
11414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11415 echo "${ECHO_T}$ac_header_preproc" >&6; }
11417 # So? What about this header?
11418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11424 ac_header_preproc=yes
11427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 eval "$as_ac_Header=\$ac_header_preproc"
11449 ac_res=`eval echo '${'$as_ac_Header'}'`
11450 { echo "$as_me:$LINENO: result: $ac_res" >&5
11451 echo "${ECHO_T}$ac_res" >&6; }
11454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11455 cat >>confdefs.h <<_ACEOF
11456 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11460 { { echo "$as_me:$LINENO: error: bailing out" >&5
11461 echo "$as_me: error: bailing out" >&2;}
11462 { (exit 1); exit 1; }; }
11469 ################################################################################
11470 # Extract the first word of "modprobe", so it can be a program name with args.
11471 set dummy modprobe; ac_word=$2
11472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11474 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 case $MODPROBE_CMD in
11479 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
11482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11483 for as_dir in $PATH
11486 test -z "$as_dir" && as_dir=.
11487 for ac_exec_ext in '' $ac_executable_extensions; do
11488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11489 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
11490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11500 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
11501 if test -n "$MODPROBE_CMD"; then
11502 { echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
11503 echo "${ECHO_T}$MODPROBE_CMD" >&6; }
11505 { echo "$as_me:$LINENO: result: no" >&5
11506 echo "${ECHO_T}no" >&6; }
11511 if test x$MODPROBE_CMD != x; then
11513 cat >>confdefs.h <<_ACEOF
11514 #define MODPROBE_CMD "$MODPROBE_CMD"
11519 ################################################################################
11520 LVM_VERSION="\"`cat VERSION
2>/dev
/null ||
echo Unknown
`\""
11522 ################################################################################
11537 # FIXME: rename to LVM_USE_DMEVENTD
11559 # FIXME: rename to LVM_CONF_DIR
11574 ################################################################################
11575 ac_config_files="$ac_config_files Makefile make.tmpl include/Makefile lib/Makefile man/Makefile po/Makefile dmeventd/Makefile daemons/Makefile daemons/clvmd/Makefile dmeventd/mirror/Makefile dmeventd/snapshot/Makefile doc/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/snapshot/Makefile test/Makefile scripts/Makefile tools/Makefile tools/version.h"
11577 cat >confcache <<\_ACEOF
11578 # This file is a shell script that caches the results of configure
11579 # tests run on this system so they can be shared between configure
11580 # scripts and configure runs, see configure's option --config-cache.
11581 # It is not useful on other systems. If it contains results you don't
11582 # want to keep, you may remove or edit it.
11584 # config.status only pays attention to the cache file if you give it
11585 # the --recheck option to rerun configure.
11587 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11589 # following values.
11593 # The following way of writing the cache mishandles newlines in values,
11594 # but we know of no workaround that is simple, portable, and efficient.
11595 # So, we kill variables containing newlines.
11596 # Ultrix sh set writes to stderr and can't be redirected directly,
11597 # and sets the high bit in the cache file unless we assign to the vars.
11599 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11600 eval ac_val
=\$
$ac_var
11604 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11605 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11608 _ | IFS | as_nl
) ;; #(
11609 *) $as_unset $ac_var ;;
11615 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11616 *${as_nl}ac_space
=\
*)
11617 # `set' does not quote correctly, so add quotes (double-quote
11618 # substitution turns \\\\ into \\, and sed turns \\ into \).
11621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11624 # `set' quotes correctly as required by POSIX, so do not add quotes.
11625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11634 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11636 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11638 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11639 if test -w "$cache_file"; then
11640 test "x$cache_file" != "x/dev/null" &&
11641 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11642 echo "$as_me: updating cache $cache_file" >&6;}
11643 cat confcache
>$cache_file
11645 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11646 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11651 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11652 # Let make expand exec_prefix.
11653 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11655 DEFS
=-DHAVE_CONFIG_H
11659 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11660 # 1. Remove the extension, and $U if already installed.
11661 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11662 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11663 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11664 # will be set to the directory where LIBOBJS objects are built.
11665 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11666 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11668 LIBOBJS
=$ac_libobjs
11670 LTLIBOBJS
=$ac_ltlibobjs
11674 : ${CONFIG_STATUS=./config.status}
11675 ac_clean_files_save
=$ac_clean_files
11676 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11677 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11678 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11679 cat >$CONFIG_STATUS <<_ACEOF
11681 # Generated by $as_me.
11682 # Run this file to recreate the current configuration.
11683 # Compiler output produced by configure, useful for debugging
11684 # configure, is in config.log if it exists.
11687 ac_cs_recheck=false
11689 SHELL=\${CONFIG_SHELL-$SHELL}
11692 cat >>$CONFIG_STATUS <<\_ACEOF
11693 ## --------------------- ##
11694 ## M4sh Initialization. ##
11695 ## --------------------- ##
11697 # Be more Bourne compatible
11698 DUALCASE
=1; export DUALCASE
# for MKS sh
11699 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11702 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11703 # is contrary to our usage. Disable this feature.
11704 alias -g '${1+"$@"}'='"$@"'
11705 setopt NO_GLOB_SUBST
11707 case `(set -o) 2>/dev/null` in
11708 *posix
*) set -o posix
;;
11717 # Avoid depending upon Character Ranges.
11718 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11719 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11720 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11721 as_cr_digits
='0123456789'
11722 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11724 # The user is always right.
11725 if test "${PATH_SEPARATOR+set}" != set; then
11726 echo "#! /bin/sh" >conf$$.sh
11727 echo "exit 0" >>conf$$.sh
11729 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11737 # Support unset when possible.
11738 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11746 # We need space, tab and new line, in precisely that order. Quoting is
11747 # there to prevent editors from complaining about space-tab.
11748 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11749 # splitting by setting IFS to empty value.)
11754 # Find who we are. Look in the path if we contain no directory separator.
11756 *[\\/]* ) as_myself
=$0 ;;
11757 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11758 for as_dir
in $PATH
11761 test -z "$as_dir" && as_dir
=.
11762 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11768 # We did not find ourselves, most probably we were run as `sh COMMAND'
11769 # in which case we are not to be found in the path.
11770 if test "x$as_myself" = x
; then
11773 if test ! -f "$as_myself"; then
11774 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11775 { (exit 1); exit 1; }
11778 # Work around bugs in pre-3.0 UWIN ksh.
11779 for as_var
in ENV MAIL MAILPATH
11780 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11788 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11789 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11790 LC_TELEPHONE LC_TIME
11792 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11793 eval $as_var=C
; export $as_var
11795 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11799 # Required to use basename.
11800 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11801 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11807 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11808 as_basename
=basename
11814 # Name of the executable.
11815 as_me
=`$as_basename -- "$0" ||
11816 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11817 X"$0" : 'X\(//\)$' \| \
11818 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11820 sed '/^.*\/\([^/][^/]*\)\/*$/{
11839 as_lineno_1
=$LINENO
11840 as_lineno_2
=$LINENO
11841 test "x$as_lineno_1" != "x$as_lineno_2" &&
11842 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
11844 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11845 # uniformly replaced by the line number. The first 'sed' inserts a
11846 # line-number line after each line using $LINENO; the second 'sed'
11847 # does the real work. The second script uses 'N' to pair each
11848 # line-number line with the line containing $LINENO, and appends
11849 # trailing '-' during substitution so that $LINENO is not a special
11850 # case at line end.
11851 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11852 # scripts with optimization help from Paolo Bonzini. Blame Lee
11853 # E. McMahon (1931-1989) for sed's syntax. :-)
11865 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11868 ' >$as_me.lineno
&&
11869 chmod +x
"$as_me.lineno" ||
11870 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11871 { (exit 1); exit 1; }; }
11873 # Don't try to exec as it changes $[0], causing all sort of problems
11874 # (the dirname of $[0] is not the place where we might find the
11875 # original and so on. Autoconf is especially sensitive to this).
11876 .
"./$as_me.lineno"
11877 # Exit status is that of the last command.
11882 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11888 ECHO_C
= ECHO_N
= ECHO_T
=
11889 case `echo -n x` in
11891 case `echo 'x\c'` in
11892 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11899 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11900 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11906 rm -f conf$$ conf$$.exe conf$$.
file
11907 if test -d conf$$.dir
; then
11908 rm -f conf$$.dir
/conf$$.
file
11914 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11916 # ... but there are two gotchas:
11917 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11918 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11919 # In both cases, we have to default to `cp -p'.
11920 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11922 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11927 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11928 rmdir conf$$.dir
2>/dev
/null
11930 if mkdir
-p .
2>/dev
/null
; then
11933 test -d .
/-p && rmdir .
/-p
11937 if test -x / >/dev
/null
2>&1; then
11938 as_test_x
='test -x'
11940 if ls -dL / >/dev
/null
2>&1; then
11947 if test -d "$1"; then
11953 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11954 ???[sx]*):;;*)false;;esac;fi
11958 as_executable_p
=$as_test_x
11960 # Sed expression to map a string onto a valid CPP name.
11961 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11963 # Sed expression to map a string onto a valid variable name.
11964 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11969 # Save the log message, to keep $[0] and so on meaningful, and to
11970 # report actual input values of CONFIG_FILES etc. instead of their
11971 # values after options handling.
11973 This file was extended by $as_me, which was
11974 generated by GNU Autoconf 2.61. Invocation command line was
11976 CONFIG_FILES = $CONFIG_FILES
11977 CONFIG_HEADERS = $CONFIG_HEADERS
11978 CONFIG_LINKS = $CONFIG_LINKS
11979 CONFIG_COMMANDS = $CONFIG_COMMANDS
11982 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11987 cat >>$CONFIG_STATUS <<_ACEOF
11988 # Files that config.status was made for.
11989 config_files="$ac_config_files"
11990 config_headers="$ac_config_headers"
11994 cat >>$CONFIG_STATUS <<\_ACEOF
11996 \`$as_me' instantiates files from templates according to the
11997 current configuration.
11999 Usage: $0 [OPTIONS] [FILE]...
12001 -h, --help print this help, then exit
12002 -V, --version print version number and configuration settings, then exit
12003 -q, --quiet do not print progress messages
12004 -d, --debug don't remove temporary files
12005 --recheck update $as_me by reconfiguring in the same conditions
12006 --file=FILE[:TEMPLATE]
12007 instantiate the configuration file FILE
12008 --header=FILE[:TEMPLATE]
12009 instantiate the configuration header FILE
12011 Configuration files:
12014 Configuration headers:
12017 Report bugs to <bug-autoconf@gnu.org>."
12020 cat >>$CONFIG_STATUS <<_ACEOF
12023 configured by $0, generated by GNU Autoconf 2.61,
12024 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12026 Copyright (C) 2006 Free Software Foundation, Inc.
12027 This config.status script is free software; the Free Software Foundation
12028 gives unlimited permission to copy, distribute and modify it."
12036 cat >>$CONFIG_STATUS <<\_ACEOF
12037 # If no file are specified by the user, then we need to provide default
12038 # value. By we need to know if files were specified by the user.
12044 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12045 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12056 # Handling of the options.
12057 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12059 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12060 echo "$ac_cs_version"; exit ;;
12061 --debug |
--debu |
--deb |
--de |
--d |
-d )
12063 --file |
--fil |
--fi |
--f )
12065 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12066 ac_need_defaults
=false
;;
12067 --header |
--heade |
--head |
--hea )
12069 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12070 ac_need_defaults
=false
;;
12072 # Conflict between --help and --header
12073 { echo "$as_me: error: ambiguous option: $1
12074 Try \`$0 --help' for more information." >&2
12075 { (exit 1); exit 1; }; };;
12076 --help |
--hel |
-h )
12077 echo "$ac_cs_usage"; exit ;;
12078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12079 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12082 # This is an error.
12083 -*) { echo "$as_me: error: unrecognized option: $1
12084 Try \`$0 --help' for more information." >&2
12085 { (exit 1); exit 1; }; } ;;
12087 *) ac_config_targets
="$ac_config_targets $1"
12088 ac_need_defaults
=false
;;
12094 ac_configure_extra_args
=
12096 if $ac_cs_silent; then
12098 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12102 cat >>$CONFIG_STATUS <<_ACEOF
12103 if \$ac_cs_recheck; then
12104 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12105 CONFIG_SHELL=$SHELL
12106 export CONFIG_SHELL
12107 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12111 cat >>$CONFIG_STATUS <<\_ACEOF
12115 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12116 ## Running $as_me. ##
12122 cat >>$CONFIG_STATUS <<_ACEOF
12125 cat >>$CONFIG_STATUS <<\_ACEOF
12127 # Handling of arguments.
12128 for ac_config_target
in $ac_config_targets
12130 case $ac_config_target in
12131 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
12132 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12133 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
12134 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12135 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12136 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12137 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
12138 "dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES dmeventd/Makefile" ;;
12139 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
12140 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
12141 "dmeventd/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES dmeventd/mirror/Makefile" ;;
12142 "dmeventd/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES dmeventd/snapshot/Makefile" ;;
12143 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12144 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
12145 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
12146 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
12147 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
12148 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
12149 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
12150 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
12151 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12152 "tools/version.h") CONFIG_FILES
="$CONFIG_FILES tools/version.h" ;;
12154 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12155 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12156 { (exit 1); exit 1; }; };;
12161 # If the user did not use the arguments to specify the items to instantiate,
12162 # then the envvar interface is used. Set only those that are not.
12163 # We use the long form for the default assignment because of an extremely
12164 # bizarre bug on SunOS 4.1.3.
12165 if $ac_need_defaults; then
12166 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12167 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12170 # Have a temporary directory for convenience. Make it in the build tree
12171 # simply because there is no reason against having it here, and in addition,
12172 # creating and moving files from /tmp can sometimes cause problems.
12173 # Hook for its removal unless debugging.
12174 # Note that there is a small window in which the directory will not be cleaned:
12175 # after its creation but before its name has been assigned to `$tmp'.
12179 trap 'exit_status=$?
12180 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12182 trap '{ (exit 1); exit 1; }' 1 2 13 15
12184 # Create a (secure) tmp directory for tmp files.
12187 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12188 test -n "$tmp" && test -d "$tmp"
12191 tmp
=.
/conf$$
-$RANDOM
12192 (umask 077 && mkdir
"$tmp")
12195 echo "$me: cannot create a temporary directory in ." >&2
12196 { (exit 1); exit 1; }
12200 # Set up the sed scripts for CONFIG_FILES section.
12203 # No need to generate the scripts if there are no CONFIG_FILES.
12204 # This happens for instance when ./config.status config.h
12205 if test -n "$CONFIG_FILES"; then
12212 for ac_last_try
in false false false false false
:; do
12213 cat >conf$
$subs.
sed <<_ACEOF
12214 SHELL!$SHELL$ac_delim
12215 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12216 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12217 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12218 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12219 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12220 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12221 exec_prefix!$exec_prefix$ac_delim
12222 prefix!$prefix$ac_delim
12223 program_transform_name!$program_transform_name$ac_delim
12224 bindir!$bindir$ac_delim
12225 sbindir!$sbindir$ac_delim
12226 libexecdir!$libexecdir$ac_delim
12227 datarootdir!$datarootdir$ac_delim
12228 datadir!$datadir$ac_delim
12229 sysconfdir!$sysconfdir$ac_delim
12230 sharedstatedir!$sharedstatedir$ac_delim
12231 localstatedir!$localstatedir$ac_delim
12232 includedir!$includedir$ac_delim
12233 oldincludedir!$oldincludedir$ac_delim
12234 docdir!$docdir$ac_delim
12235 infodir!$infodir$ac_delim
12236 htmldir!$htmldir$ac_delim
12237 dvidir!$dvidir$ac_delim
12238 pdfdir!$pdfdir$ac_delim
12239 psdir!$psdir$ac_delim
12240 libdir!$libdir$ac_delim
12241 localedir!$localedir$ac_delim
12242 mandir!$mandir$ac_delim
12243 DEFS!$DEFS$ac_delim
12244 ECHO_C!$ECHO_C$ac_delim
12245 ECHO_N!$ECHO_N$ac_delim
12246 ECHO_T!$ECHO_T$ac_delim
12247 LIBS!$LIBS$ac_delim
12248 build_alias!$build_alias$ac_delim
12249 host_alias!$host_alias$ac_delim
12250 target_alias!$target_alias$ac_delim
12251 build!$build$ac_delim
12252 build_cpu!$build_cpu$ac_delim
12253 build_vendor!$build_vendor$ac_delim
12254 build_os!$build_os$ac_delim
12255 host!$host$ac_delim
12256 host_cpu!$host_cpu$ac_delim
12257 host_vendor!$host_vendor$ac_delim
12258 host_os!$host_os$ac_delim
12259 target!$target$ac_delim
12260 target_cpu!$target_cpu$ac_delim
12261 target_vendor!$target_vendor$ac_delim
12262 target_os!$target_os$ac_delim
12266 CFLAGS!$CFLAGS$ac_delim
12267 LDFLAGS!$LDFLAGS$ac_delim
12268 CPPFLAGS!$CPPFLAGS$ac_delim
12269 ac_ct_CC!$ac_ct_CC$ac_delim
12270 EXEEXT!$EXEEXT$ac_delim
12271 OBJEXT!$OBJEXT$ac_delim
12273 GREP!$GREP$ac_delim
12274 EGREP!$EGREP$ac_delim
12275 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12276 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12277 INSTALL_DATA!$INSTALL_DATA$ac_delim
12278 LN_S!$LN_S$ac_delim
12279 SET_MAKE!$SET_MAKE$ac_delim
12280 RANLIB!$RANLIB$ac_delim
12281 CFLOW_CMD!$CFLOW_CMD$ac_delim
12282 CSCOPE_CMD!$CSCOPE_CMD$ac_delim
12283 ALLOCA!$ALLOCA$ac_delim
12284 LIBOBJS!$LIBOBJS$ac_delim
12285 POW_LIB!$POW_LIB$ac_delim
12286 LCOV!$LCOV$ac_delim
12287 GENHTML!$GENHTML$ac_delim
12288 LVM2CMD_LIB!$LVM2CMD_LIB$ac_delim
12289 MSGFMT!$MSGFMT$ac_delim
12290 MODPROBE_CMD!$MODPROBE_CMD$ac_delim
12291 BUILD_DMEVENTD!$BUILD_DMEVENTD$ac_delim
12292 CLDFLAGS!$CLDFLAGS$ac_delim
12293 CLDNOWHOLEARCHIVE!$CLDNOWHOLEARCHIVE$ac_delim
12294 CLDWHOLEARCHIVE!$CLDWHOLEARCHIVE$ac_delim
12295 CLUSTER!$CLUSTER$ac_delim
12296 CLVMD!$CLVMD$ac_delim
12297 CMDLIB!$CMDLIB$ac_delim
12298 COPTIMISE_FLAG!$COPTIMISE_FLAG$ac_delim
12299 DEBUG!$DEBUG$ac_delim
12300 DEVMAPPER!$DEVMAPPER$ac_delim
12301 DMDIR!$DMDIR$ac_delim
12302 DMEVENTD!$DMEVENTD$ac_delim
12303 DM_COMPAT!$DM_COMPAT$ac_delim
12304 DM_DEVICE_GID!$DM_DEVICE_GID$ac_delim
12305 DM_DEVICE_MODE!$DM_DEVICE_MODE$ac_delim
12306 DM_DEVICE_UID!$DM_DEVICE_UID$ac_delim
12307 DM_IOCTLS!$DM_IOCTLS$ac_delim
12308 DM_LIB_VERSION!$DM_LIB_VERSION$ac_delim
12309 FSADM!$FSADM$ac_delim
12310 GROUP!$GROUP$ac_delim
12313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12315 elif $ac_last_try; then
12316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12317 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12318 { (exit 1); exit 1; }; }
12320 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12324 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12325 if test -n "$ac_eof"; then
12326 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12327 ac_eof
=`expr $ac_eof + 1`
12330 cat >>$CONFIG_STATUS <<_ACEOF
12331 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12335 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12336 s/^/s,@/; s/!/@,|#_!!_#|/
12339 s/'"$ac_delim"'$/,g/; t
12341 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12342 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12343 rm -f conf$
$subs.
sed
12344 cat >>$CONFIG_STATUS <<_ACEOF
12350 for ac_last_try
in false false false false false
:; do
12351 cat >conf$
$subs.
sed <<_ACEOF
12352 HAVE_LIBDL!$HAVE_LIBDL$ac_delim
12353 HAVE_REALTIME!$HAVE_REALTIME$ac_delim
12354 HAVE_SELINUX!$HAVE_SELINUX$ac_delim
12355 INTL!$INTL$ac_delim
12356 INTL_PACKAGE!$INTL_PACKAGE$ac_delim
12357 JOBS!$JOBS$ac_delim
12358 LDDEPS!$LDDEPS$ac_delim
12359 LIB_SUFFIX!$LIB_SUFFIX$ac_delim
12360 LOCALEDIR!$LOCALEDIR$ac_delim
12361 LVM1!$LVM1$ac_delim
12362 LVM1_FALLBACK!$LVM1_FALLBACK$ac_delim
12363 CONFDIR!$CONFDIR$ac_delim
12364 LVM_VERSION!$LVM_VERSION$ac_delim
12365 MIRRORS!$MIRRORS$ac_delim
12366 OWNER!$OWNER$ac_delim
12367 PKGCONFIG!$PKGCONFIG$ac_delim
12368 POOL!$POOL$ac_delim
12369 SNAPSHOTS!$SNAPSHOTS$ac_delim
12370 STATICDIR!$STATICDIR$ac_delim
12371 STATIC_LINK!$STATIC_LINK$ac_delim
12372 LIB_PTHREAD!$LIB_PTHREAD$ac_delim
12373 usrlibdir!$usrlibdir$ac_delim
12374 usrsbindir!$usrsbindir$ac_delim
12375 LTLIBOBJS!$LTLIBOBJS$ac_delim
12378 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
12380 elif $ac_last_try; then
12381 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12382 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12383 { (exit 1); exit 1; }; }
12385 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12389 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12390 if test -n "$ac_eof"; then
12391 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12392 ac_eof
=`expr $ac_eof + 1`
12395 cat >>$CONFIG_STATUS <<_ACEOF
12396 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12400 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12401 s/^/s,@/; s/!/@,|#_!!_#|/
12404 s/'"$ac_delim"'$/,g/; t
12406 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12407 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12408 rm -f conf$
$subs.
sed
12409 cat >>$CONFIG_STATUS <<_ACEOF
12416 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12417 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12418 # trailing colons and then remove the whole line if VPATH becomes empty
12419 # (actually we leave an empty line to preserve line numbers).
12420 if test "x$srcdir" = x.
; then
12421 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12422 s/:*\$(srcdir):*/:/
12423 s/:*\${srcdir}:*/:/
12425 s/^\([^=]*=[ ]*\):*/\1/
12431 cat >>$CONFIG_STATUS <<\_ACEOF
12432 fi # test -n "$CONFIG_FILES"
12435 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
12438 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12440 case $ac_mode$ac_tag in
12442 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12443 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12444 { (exit 1); exit 1; }; };;
12445 :[FH
]-) ac_tag
=-:-;;
12446 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12463 -) ac_f
="$tmp/stdin";;
12464 *) # Look for the file first in the build tree, then in the source tree
12465 # (if the path is not absolute). The absolute path cannot be DOS-style,
12466 # because $ac_f cannot contain `:'.
12470 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12472 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12473 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12474 { (exit 1); exit 1; }; };;
12476 ac_file_inputs
="$ac_file_inputs $ac_f"
12479 # Let's still pretend it is `configure' which instantiates (i.e., don't
12480 # use $as_me), people would be surprised to read:
12481 # /* config.h. Generated by config.status. */
12482 configure_input
="Generated from "`IFS=:
12483 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12484 if test x
"$ac_file" != x-
; then
12485 configure_input
="$ac_file. $configure_input"
12486 { echo "$as_me:$LINENO: creating $ac_file" >&5
12487 echo "$as_me: creating $ac_file" >&6;}
12491 *:-:* |
*:-) cat >"$tmp/stdin";;
12496 ac_dir
=`$as_dirname -- "$ac_file" ||
12497 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12498 X"$ac_file" : 'X\(//\)[^/]' \| \
12499 X"$ac_file" : 'X\(//\)$' \| \
12500 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12506 /^X\(\/\/\)[^/].*/{
12521 -*) as_dir
=.
/$as_dir;;
12523 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12527 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12528 *) as_qdir
=$as_dir;;
12530 as_dirs
="'$as_qdir' $as_dirs"
12531 as_dir
=`$as_dirname -- "$as_dir" ||
12532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12533 X"$as_dir" : 'X\(//\)[^/]' \| \
12534 X"$as_dir" : 'X\(//\)$' \| \
12535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12541 /^X\(\/\/\)[^/].*/{
12554 test -d "$as_dir" && break
12556 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12557 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12558 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12559 { (exit 1); exit 1; }; }; }
12563 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12565 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12566 # A ".." for each directory in $ac_dir_suffix.
12567 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12568 case $ac_top_builddir_sub in
12569 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12570 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12573 ac_abs_top_builddir
=$ac_pwd
12574 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12575 # for backward compatibility:
12576 ac_top_builddir
=$ac_top_build_prefix
12579 .
) # We are building in place.
12581 ac_top_srcdir
=$ac_top_builddir_sub
12582 ac_abs_top_srcdir
=$ac_pwd ;;
12583 [\\/]* | ?
:[\\/]* ) # Absolute name.
12584 ac_srcdir
=$srcdir$ac_dir_suffix;
12585 ac_top_srcdir
=$srcdir
12586 ac_abs_top_srcdir
=$srcdir ;;
12587 *) # Relative name.
12588 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12589 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12590 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12592 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12602 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12603 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12605 ac_MKDIR_P
=$MKDIR_P
12607 [\\/$
]* | ?
:[\\/]* ) ;;
12608 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12612 cat >>$CONFIG_STATUS <<\_ACEOF
12613 # If the template does not know about datarootdir, expand it.
12614 # FIXME: This hack should be removed a few years after 2.60.
12615 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12617 case `sed -n '/datarootdir/ {
12626 ' $ac_file_inputs` in
12627 *datarootdir
*) ac_datarootdir_seen
=yes;;
12628 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12629 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12630 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12632 cat >>$CONFIG_STATUS <<_ACEOF
12633 ac_datarootdir_hack='
12634 s&@datadir@&$datadir&g
12635 s&@docdir@&$docdir&g
12636 s&@infodir@&$infodir&g
12637 s&@localedir@&$localedir&g
12638 s&@mandir@&$mandir&g
12639 s&\\\${datarootdir}&$datarootdir&g' ;;
12643 # Neutralize VPATH when `$srcdir' = `.'.
12644 # Shell code in configure.ac might set extrasub.
12645 # FIXME: do we really want to maintain this feature?
12646 cat >>$CONFIG_STATUS <<_ACEOF
12650 cat >>$CONFIG_STATUS <<\_ACEOF
12652 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12653 s
&@configure_input@
&$configure_input&;t t
12654 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12655 s
&@srcdir@
&$ac_srcdir&;t t
12656 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12657 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12658 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12659 s
&@builddir@
&$ac_builddir&;t t
12660 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12661 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12662 s
&@INSTALL@
&$ac_INSTALL&;t t
12663 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12664 $ac_datarootdir_hack
12665 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
12667 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12668 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12669 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12670 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12671 which seems to be undefined. Please make sure it is defined." >&5
12672 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12673 which seems to be undefined. Please make sure it is defined." >&2;}
12677 -) cat "$tmp/out"; rm -f "$tmp/out";;
12678 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12687 # Transform confdefs.h into a sed script `conftest.defines', that
12688 # substitutes the proper values into config.h.in to produce config.h.
12689 rm -f conftest.defines conftest.
tail
12690 # First, append a space to every undef/define line, to ease matching.
12691 echo 's/$/ /' >conftest.defines
12692 # Then, protect against being on the right side of a sed subst, or in
12693 # an unquoted here document, in config.status. If some macros were
12694 # called several times there might be several #defines for the same
12695 # symbol, which is useless. But do not sort them, since the last
12696 # AC_DEFINE must be honored.
12697 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12698 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12699 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12700 # PARAMS is the parameter list in the macro definition--in most cases, it's
12701 # just an empty string.
12702 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12703 ac_dB
='\\)[ (].*,\\1define\\2'
12711 s/^[ ]*#[ ]*define[ ][ ]*//
12716 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12717 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12718 ' >>conftest.defines
12720 # Remove the space that was appended to ease matching.
12721 # Then replace #undef with comments. This is necessary, for
12722 # example, in the case of _POSIX_SOURCE, which is predefined and required
12723 # on some systems where configure will not decide to define it.
12724 # (The regexp can be short, since the line contains either #define or #undef.)
12726 s,^[ #]*u.*,/* & */,' >>conftest.defines
12728 # Break up conftest.defines:
12729 ac_max_sed_lines
=50
12731 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12732 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12733 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12735 ac_in
='$ac_file_inputs'
12736 ac_out
='"$tmp/out1"'
12737 ac_nxt
='"$tmp/out2"'
12741 # Write a here document:
12742 cat >>$CONFIG_STATUS <<_ACEOF
12743 # First, check the format of the line:
12744 cat >"\$tmp/defines.sed" <<\\CEOF
12745 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12746 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12750 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
12752 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12753 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
12754 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
12755 grep . conftest.
tail >/dev
/null ||
break
12756 rm -f conftest.defines
12757 mv conftest.
tail conftest.defines
12759 rm -f conftest.defines conftest.
tail
12761 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12762 cat >>$CONFIG_STATUS <<\_ACEOF
12763 if test x
"$ac_file" != x-
; then
12764 echo "/* $configure_input */" >"$tmp/config.h"
12765 cat "$ac_result" >>"$tmp/config.h"
12766 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
12767 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12768 echo "$as_me: $ac_file is unchanged" >&6;}
12771 mv "$tmp/config.h" $ac_file
12774 echo "/* $configure_input */"
12786 { (exit 0); exit 0; }
12788 chmod +x
$CONFIG_STATUS
12789 ac_clean_files
=$ac_clean_files_save
12792 # configure is writing to config.log, and then calls config.status.
12793 # config.status does its own redirection, appending to config.log.
12794 # Unfortunately, on DOS this fails, as config.log is still kept open
12795 # by configure, so config.status won't be able to write to it; its
12796 # output is simply discarded. So we exec the FD to /dev/null,
12797 # effectively closing config.log, so it can be properly (re)opened and
12798 # appended to by config.status. When coming back to configure, we
12799 # need to make the FD available again.
12800 if test "$no_create" != yes; then
12802 ac_config_status_args
=
12803 test "$silent" = yes &&
12804 ac_config_status_args
="$ac_config_status_args --quiet"
12806 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12808 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12809 # would make configure fail if this is the last instruction.
12810 $ac_cs_success ||
{ (exit 1); exit 1; }
12814 if test x
$ODIRECT != xyes
; then
12815 { echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
12816 echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}
12819 if test x
$FSADM == xyes
; then
12820 { echo "$as_me:$LINENO: WARNING: fsadm support is untested" >&5
12821 echo "$as_me: WARNING: fsadm support is untested" >&2;}
12824 if test x
$DMEVENTD == xyes
; then
12825 { echo "$as_me:$LINENO: WARNING: dmeventd support is untested" >&5
12826 echo "$as_me: WARNING: dmeventd support is untested" >&2;}