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
744 ac_precious_vars
='build_alias
755 # Initialize some variables set by options.
757 ac_init_version
=false
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
767 program_transform_name
=s
,x
,x
,
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir
='${exec_prefix}/bin'
782 sbindir
='${exec_prefix}/sbin'
783 libexecdir
='${exec_prefix}/libexec'
784 datarootdir
='${prefix}/share'
785 datadir
='${datarootdir}'
786 sysconfdir
='${prefix}/etc'
787 sharedstatedir
='${prefix}/com'
788 localstatedir
='${prefix}/var'
789 includedir
='${prefix}/include'
790 oldincludedir
='/usr/include'
791 docdir
='${datarootdir}/doc/${PACKAGE}'
792 infodir
='${datarootdir}/info'
797 libdir
='${exec_prefix}/lib'
798 localedir
='${datarootdir}/locale'
799 mandir
='${datarootdir}/man'
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\
$ac_option
813 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
823 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
825 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
828 -build |
--build |
--buil |
--bui |
--bu)
829 ac_prev
=build_alias
;;
830 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
831 build_alias
=$ac_optarg ;;
833 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
834 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
835 ac_prev
=cache_file
;;
836 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
837 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
838 cache_file
=$ac_optarg ;;
841 cache_file
=config.cache
;;
843 -datadir |
--datadir |
--datadi |
--datad)
845 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
846 datadir
=$ac_optarg ;;
848 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
849 |
--dataroo |
--dataro |
--datar)
850 ac_prev
=datarootdir
;;
851 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
852 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
853 datarootdir
=$ac_optarg ;;
855 -disable-* |
--disable-*)
856 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
860 { (exit 1); exit 1; }; }
861 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
862 eval enable_
$ac_feature=no
;;
864 -docdir |
--docdir |
--docdi |
--doc |
--do)
866 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
869 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
871 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
874 -enable-* |
--enable-*)
875 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
878 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
879 { (exit 1); exit 1; }; }
880 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
881 eval enable_
$ac_feature=\
$ac_optarg ;;
883 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
884 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
885 |
--exec |
--exe |
--ex)
886 ac_prev
=exec_prefix
;;
887 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
888 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
889 |
--exec=* |
--exe=* |
--ex=*)
890 exec_prefix
=$ac_optarg ;;
892 -gas |
--gas |
--ga |
--g)
893 # Obsolete; use --with-gas.
896 -help |
--help |
--hel |
--he |
-h)
898 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
899 ac_init_help
=recursive
;;
900 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
901 ac_init_help
=short
;;
903 -host |
--host |
--hos |
--ho)
904 ac_prev
=host_alias
;;
905 -host=* |
--host=* |
--hos=* |
--ho=*)
906 host_alias
=$ac_optarg ;;
908 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
910 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
912 htmldir
=$ac_optarg ;;
914 -includedir |
--includedir |
--includedi |
--included |
--include \
915 |
--includ |
--inclu |
--incl |
--inc)
916 ac_prev
=includedir
;;
917 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
918 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
919 includedir
=$ac_optarg ;;
921 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
923 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
924 infodir
=$ac_optarg ;;
926 -libdir |
--libdir |
--libdi |
--libd)
928 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
931 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
932 |
--libexe |
--libex |
--libe)
933 ac_prev
=libexecdir
;;
934 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
935 |
--libexe=* |
--libex=* |
--libe=*)
936 libexecdir
=$ac_optarg ;;
938 -localedir |
--localedir |
--localedi |
--localed |
--locale)
940 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
941 localedir
=$ac_optarg ;;
943 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
944 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
945 ac_prev
=localstatedir
;;
946 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
947 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
948 localstatedir
=$ac_optarg ;;
950 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
952 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
956 # Obsolete; use --without-fp.
959 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
960 |
--no-cr |
--no-c |
-n)
963 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
964 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
967 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
968 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
969 |
--oldin |
--oldi |
--old |
--ol |
--o)
970 ac_prev
=oldincludedir
;;
971 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
972 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
973 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
974 oldincludedir
=$ac_optarg ;;
976 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
978 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
981 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
982 |
--program-pre |
--program-pr |
--program-p)
983 ac_prev
=program_prefix
;;
984 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
985 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
986 program_prefix
=$ac_optarg ;;
988 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
989 |
--program-suf |
--program-su |
--program-s)
990 ac_prev
=program_suffix
;;
991 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
992 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
993 program_suffix
=$ac_optarg ;;
995 -program-transform-name |
--program-transform-name \
996 |
--program-transform-nam |
--program-transform-na \
997 |
--program-transform-n |
--program-transform- \
998 |
--program-transform |
--program-transfor \
999 |
--program-transfo |
--program-transf \
1000 |
--program-trans |
--program-tran \
1001 |
--progr-tra |
--program-tr |
--program-t)
1002 ac_prev
=program_transform_name
;;
1003 -program-transform-name=* |
--program-transform-name=* \
1004 |
--program-transform-nam=* |
--program-transform-na=* \
1005 |
--program-transform-n=* |
--program-transform-=* \
1006 |
--program-transform=* |
--program-transfor=* \
1007 |
--program-transfo=* |
--program-transf=* \
1008 |
--program-trans=* |
--program-tran=* \
1009 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1010 program_transform_name
=$ac_optarg ;;
1012 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1014 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1015 pdfdir
=$ac_optarg ;;
1017 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1019 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1022 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1023 |
-silent |
--silent |
--silen |
--sile |
--sil)
1026 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1028 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1030 sbindir
=$ac_optarg ;;
1032 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1033 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1034 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1036 ac_prev
=sharedstatedir
;;
1037 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1038 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1039 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1041 sharedstatedir
=$ac_optarg ;;
1043 -site |
--site |
--sit)
1045 -site=* |
--site=* |
--sit=*)
1048 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1050 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1051 srcdir
=$ac_optarg ;;
1053 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1054 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1055 ac_prev
=sysconfdir
;;
1056 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1057 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1058 sysconfdir
=$ac_optarg ;;
1060 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1061 ac_prev
=target_alias
;;
1062 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1063 target_alias
=$ac_optarg ;;
1065 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1068 -version |
--version |
--versio |
--versi |
--vers |
-V)
1069 ac_init_version
=: ;;
1072 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1075 { echo "$as_me: error: invalid package name: $ac_package" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1078 eval with_
$ac_package=\
$ac_optarg ;;
1080 -without-* |
--without-*)
1081 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1084 { echo "$as_me: error: invalid package name: $ac_package" >&2
1085 { (exit 1); exit 1; }; }
1086 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1087 eval with_
$ac_package=no
;;
1090 # Obsolete; use --with-x.
1093 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1094 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1095 ac_prev
=x_includes
;;
1096 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1097 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1098 x_includes
=$ac_optarg ;;
1100 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1101 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1102 ac_prev
=x_libraries
;;
1103 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1104 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1105 x_libraries
=$ac_optarg ;;
1107 -*) { echo "$as_me: error: unrecognized option: $ac_option
1108 Try \`$0 --help' for more information." >&2
1109 { (exit 1); exit 1; }; }
1113 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1116 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1117 { (exit 1); exit 1; }; }
1118 eval $ac_envvar=\
$ac_optarg
1119 export $ac_envvar ;;
1122 # FIXME: should be removed in autoconf 3.0.
1123 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1125 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1126 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1132 if test -n "$ac_prev"; then
1133 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1134 { echo "$as_me: error: missing argument to $ac_option" >&2
1135 { (exit 1); exit 1; }; }
1138 # Be sure to have absolute directory names.
1139 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1140 datadir sysconfdir sharedstatedir localstatedir includedir \
1141 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1142 libdir localedir mandir
1144 eval ac_val
=\$
$ac_var
1146 [\\/$
]* | ?
:[\\/]* ) continue;;
1147 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1149 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1150 { (exit 1); exit 1; }; }
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1158 target
=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x
; then
1162 if test "x$build_alias" = x
; then
1163 cross_compiling
=maybe
1164 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1165 If a cross compiler is detected then cross compile mode will be used." >&2
1166 elif test "x$build_alias" != "x$host_alias"; then
1172 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1174 test "$silent" = yes && exec 6>/dev
/null
1177 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1178 ac_ls_di
=`ls -di .` &&
1179 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1180 { echo "$as_me: error: Working directory cannot be determined" >&2
1181 { (exit 1); exit 1; }; }
1182 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1183 { echo "$as_me: error: pwd does not report name of working directory" >&2
1184 { (exit 1); exit 1; }; }
1187 # Find the source files, if location was not specified.
1188 if test -z "$srcdir"; then
1189 ac_srcdir_defaulted
=yes
1190 # Try the directory containing this script, then the parent directory.
1191 ac_confdir
=`$as_dirname -- "$0" ||
1192 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$0" : 'X\(//\)[^/]' \| \
1194 X"$0" : 'X\(//\)$' \| \
1195 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1219 ac_srcdir_defaulted
=no
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1223 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1224 { (exit 1); exit 1; }; }
1226 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1228 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1229 { (exit 1); exit 1; }; }
1231 # When building in place, set srcdir=.
1232 if test "$ac_abs_confdir" = "$ac_pwd"; then
1235 # Remove unnecessary trailing slashes from srcdir.
1236 # Double slashes in file names in object file debugging info
1237 # mess up M-x gdb in Emacs.
1239 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1241 for ac_var
in $ac_precious_vars; do
1242 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1243 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1244 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1245 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1249 # Report the --help message.
1251 if test "$ac_init_help" = "long"; then
1252 # Omit some internal or obsolete options to make the list less imposing.
1253 # This message is too long to be a string in the A/UX 3.1 sh.
1255 \`configure' configures this package to adapt to many kinds of systems.
1257 Usage: $0 [OPTION]... [VAR=VALUE]...
1259 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1260 VAR=VALUE. See below for descriptions of some of the useful variables.
1262 Defaults for the options are specified in brackets.
1265 -h, --help display this help and exit
1266 --help=short display options specific to this package
1267 --help=recursive display the short help of all the included packages
1268 -V, --version display version information and exit
1269 -q, --quiet, --silent do not print \`checking...' messages
1270 --cache-file=FILE cache test results in FILE [disabled]
1271 -C, --config-cache alias for \`--cache-file=config.cache'
1272 -n, --no-create do not create output files
1273 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1275 Installation directories:
1276 --prefix=PREFIX install architecture-independent files in PREFIX
1277 [$ac_default_prefix]
1278 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1281 By default, \`make install' will install all the files in
1282 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1283 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1284 for instance \`--prefix=\$HOME'.
1286 For better control, use the options below.
1288 Fine tuning of the installation directories:
1289 --bindir=DIR user executables [EPREFIX/bin]
1290 --sbindir=DIR system admin executables [EPREFIX/sbin]
1291 --libexecdir=DIR program executables [EPREFIX/libexec]
1292 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1293 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1294 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1295 --libdir=DIR object code libraries [EPREFIX/lib]
1296 --includedir=DIR C header files [PREFIX/include]
1297 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1298 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1299 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1300 --infodir=DIR info documentation [DATAROOTDIR/info]
1301 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1302 --mandir=DIR man documentation [DATAROOTDIR/man]
1303 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1304 --htmldir=DIR html documentation [DOCDIR]
1305 --dvidir=DIR dvi documentation [DOCDIR]
1306 --pdfdir=DIR pdf documentation [DOCDIR]
1307 --psdir=DIR ps documentation [DOCDIR]
1313 --build=BUILD configure
for building on BUILD
[guessed
]
1314 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1315 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1319 if test -n "$ac_init_help"; then
1324 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1325 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1326 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1327 device-mapper is missing from the kernel
1328 --disable-readline Disable readline support
1329 --disable-realtime Disable realtime
clock support
1330 --enable-debug Enable debugging
1331 --enable-profiling Gather gcov profiling data
1332 --disable-devmapper Disable LVM2 device-mapper interaction
1333 --enable-compat Enable support
for old device-mapper versions
1334 --disable-driver Disable calls to device-mapper
in the kernel
1335 --disable-o_direct Disable O_DIRECT
1336 --enable-cmdlib Build shared
command library
1337 --enable-pkgconfig Install pkgconfig support
1338 --enable-fsadm Enable fsadm
1339 --enable-dmeventd Enable the device-mapper event daemon
1340 --enable-static_link Use this to link the tools to their libraries
1341 statically. Default is dynamic linking
1342 --disable-selinux Disable selinux support
1343 --enable-nls Enable Native Language Support
1346 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1347 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1348 --with-user=USER Set the owner of installed files
[USER
=root
]
1349 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1350 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1351 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1353 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1355 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1357 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1359 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1361 --with-clvmd=TYPE Build cluster LVM Daemon
: cman
/gulm
/none
/all
1363 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1364 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1365 --with-confdir=DIR Configuration files
in DIR
/etc
1366 --with-staticdir=DIR Static binary
in DIR EXEC_PREFIX
/sbin
1367 --with-dmdir=DIR Build against device-mapper
source tree
in DIR
1368 --with-usrlibdir=DIR
1369 --with-usrsbindir=DIR
1370 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1371 --with-dmeventd-path=PATH dmeventd path
[${exec_prefix}/sbin
/dmeventd
]
1372 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1374 Some influential environment variables
:
1375 CC C compiler
command
1376 CFLAGS C compiler flags
1377 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1378 nonstandard directory
<lib dir
>
1379 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1380 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1381 you have headers
in a nonstandard directory
<include dir
>
1384 Use these variables to override the choices made by
`configure' or to help
1385 it to find libraries and programs with nonstandard names/locations.
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" || continue
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1414 .) # We are building in place.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1438 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1448 generated by GNU Autoconf 2.61
1450 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1451 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1461 It was created by $as_me, which was
1462 generated by GNU Autoconf 2.61. Invocation command line was
1474 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1475 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1476 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1477 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1478 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1480 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1481 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1483 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1484 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1485 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1486 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1487 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1488 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1489 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir=.
1498 echo "PATH: $as_dir"
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1522 ac_must_keep_next=false
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1533 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1536 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1538 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1551 -* ) ac_must_keep_next=true ;;
1554 ac_configure_args="$ac_configure_args '$ac_arg'"
1559 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1560 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1581 eval ac_val=\$$ac_var
1585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1589 _ | IFS | as_nl) ;; #(
1590 *) $as_unset $ac_var ;;
1595 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1619 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1621 echo "$ac_var='\''$ac_val'\''"
1625 if test -n "$ac_subst_files"; then
1627 ## ------------------- ##
1628 ## File substitutions. ##
1629 ## ------------------- ##
1632 for ac_var in $ac_subst_files
1634 eval ac_val=\$$ac_var
1636 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1638 echo "$ac_var='\''$ac_val'\''"
1643 if test -s confdefs.h; then
1653 test "$ac_signal" != 0 &&
1654 echo "$as_me: caught signal $ac_signal"
1655 echo "$as_me: exit $exit_status"
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 # Predefined preprocessor variables.
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_NAME "$PACKAGE_NAME"
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_STRING "$PACKAGE_STRING"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 set x "$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1703 set x "$ac_default_prefix/share/config.site" \
1704 "$ac_default_prefix/etc/config.site"
1709 if test -r "$ac_site_file"; then
1710 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1711 echo "$as_me: loading site script $ac_site_file" >&6;}
1712 sed 's/^/| /' "$ac_site_file" >&5
1717 if test -r "$cache_file"; then
1718 # Some versions of bash will fail to source /dev/null (special
1719 # files actually), so we avoid doing that.
1720 if test -f "$cache_file"; then
1721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1722 echo "$as_me: loading cache $cache_file" >&6;}
1724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1725 *) . "./$cache_file";;
1729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1730 echo "$as_me: creating cache $cache_file" >&6;}
1734 # Check that the precious variables saved in the cache have kept the same
1736 ac_cache_corrupted=false
1737 for ac_var in $ac_precious_vars; do
1738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1739 eval ac_new_set=\$ac_env_${ac_var}_set
1740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1741 eval ac_new_val=\$ac_env_${ac_var}_value
1742 case $ac_old_set,$ac_new_set in
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1745 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1746 ac_cache_corrupted=: ;;
1748 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1749 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1750 ac_cache_corrupted=: ;;
1753 if test "x$ac_old_val" != "x$ac_new_val"; then
1754 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1756 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1757 echo "$as_me: former value
: $ac_old_val" >&2;}
1758 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1759 echo "$as_me: current value
: $ac_new_val" >&2;}
1760 ac_cache_corrupted=:
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1766 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1775 if $ac_cache_corrupted; then
1776 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1777 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1778 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1779 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1780 { (exit 1); exit 1; }; }
1800 ac_cpp='$CPP $CPPFLAGS'
1801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1807 ac_config_headers="$ac_config_headers lib/misc/configure.h"
1810 ################################################################################
1812 for ac_dir in autoconf "$srcdir"/autoconf; do
1813 if test -f "$ac_dir/install-sh"; then
1815 ac_install_sh="$ac_aux_dir/install-sh -c"
1817 elif test -f "$ac_dir/install.sh"; then
1819 ac_install_sh="$ac_aux_dir/install.sh -c"
1821 elif test -f "$ac_dir/shtool"; then
1823 ac_install_sh="$ac_aux_dir/shtool install -c"
1827 if test -z "$ac_aux_dir"; then
1828 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1829 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1830 { (exit 1); exit 1; }; }
1833 # These three variables are undocumented and unsupported,
1834 # and are intended to be withdrawn in a future Autoconf release.
1835 # They can cause serious problems if a builder's source tree is in a directory
1836 # whose full name contains unusual characters.
1837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1839 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1843 ################################################################################
1844 # Make sure we can run config.sub.
1845 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1846 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1847 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1848 { (exit 1); exit 1; }; }
1850 { echo "$as_me:$LINENO: checking build system type" >&5
1851 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1852 if test "${ac_cv_build+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 ac_build_alias=$build_alias
1856 test "x$ac_build_alias" = x &&
1857 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1858 test "x$ac_build_alias" = x &&
1859 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1860 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1861 { (exit 1); exit 1; }; }
1862 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1863 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1864 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1865 { (exit 1); exit 1; }; }
1868 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1869 echo "${ECHO_T}$ac_cv_build" >&6; }
1870 case $ac_cv_build in
1872 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1873 echo "$as_me: error: invalid value of canonical build" >&2;}
1874 { (exit 1); exit 1; }; };;
1877 ac_save_IFS=$IFS; IFS='-'
1883 # Remember, the first character of IFS is used to create $*,
1884 # except with old shells:
1887 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1890 { echo "$as_me:$LINENO: checking host system type" >&5
1891 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1892 if test "${ac_cv_host+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 if test "x$host_alias" = x; then
1896 ac_cv_host=$ac_cv_build
1898 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1901 { (exit 1); exit 1; }; }
1905 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1906 echo "${ECHO_T}$ac_cv_host" >&6; }
1909 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1910 echo "$as_me: error: invalid value of canonical host" >&2;}
1911 { (exit 1); exit 1; }; };;
1914 ac_save_IFS=$IFS; IFS='-'
1920 # Remember, the first character of IFS is used to create $*,
1921 # except with old shells:
1924 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1927 { echo "$as_me:$LINENO: checking target system type" >&5
1928 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1929 if test "${ac_cv_target+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test "x$target_alias" = x; then
1933 ac_cv_target=$ac_cv_host
1935 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1936 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1937 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1938 { (exit 1); exit 1; }; }
1942 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1943 echo "${ECHO_T}$ac_cv_target" >&6; }
1944 case $ac_cv_target in
1946 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1947 echo "$as_me: error: invalid value of canonical target" >&2;}
1948 { (exit 1); exit 1; }; };;
1950 target=$ac_cv_target
1951 ac_save_IFS=$IFS; IFS='-'
1957 # Remember, the first character of IFS is used to create $*,
1958 # except with old shells:
1961 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1964 # The aliases save the names the user supplied, while $host etc.
1965 # will get canonicalized.
1966 test -n "$target_alias" &&
1967 test "$program_prefix$program_suffix$program_transform_name" = \
1969 program_prefix=${target_alias}-
1973 COPTIMISE_FLAG="-O2"
1974 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
1975 CLDWHOLEARCHIVE="-Wl,-whole-archive"
1976 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
1977 LDDEPS="$LDDEPS .export.sym"
1978 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
1989 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
1990 COPTIMISE_FLAG="-O2"
1991 CLDFLAGS="$CLDFLAGS"
1992 CLDWHOLEARCHIVE="-all_load"
2005 ################################################################################
2006 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2007 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2008 if test "${ac_cv_path_SED+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2012 for ac_i in 1 2 3 4 5 6 7; do
2013 ac_script="$ac_script$as_nl$ac_script"
2015 echo "$ac_script" | sed 99q >conftest.sed
2016 $as_unset ac_script || ac_script=
2017 # Extract the first word of "sed gsed" to use in msg output
2018 if test -z "$SED"; then
2019 set dummy sed gsed; ac_prog_name=$2
2020 if test "${ac_cv_path_SED+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 ac_path_SED_found=false
2024 # Loop through the user's path and test for each of PROGNAME-LIST
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir=.
2030 for ac_prog in sed gsed; do
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2033 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2034 # Check for GNU ac_path_SED and select it if it is found.
2035 # Check for GNU $ac_path_SED
2036 case `"$ac_path_SED" --version 2>&1` in
2038 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2041 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2044 cat "conftest.in" "conftest.in" >"conftest.tmp"
2045 mv "conftest.tmp" "conftest.in"
2046 cp "conftest.in" "conftest.nl"
2047 echo '' >> "conftest.nl"
2048 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2049 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2050 ac_count=`expr $ac_count + 1`
2051 if test $ac_count -gt ${ac_path_SED_max-0}; then
2052 # Best one so far, save it but keep looking for a better one
2053 ac_cv_path_SED="$ac_path_SED"
2054 ac_path_SED_max=$ac_count
2056 # 10*(2^10) chars as input seems more than enough
2057 test $ac_count -gt 10 && break
2059 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2063 $ac_path_SED_found && break 3
2073 SED="$ac_cv_path_SED"
2074 if test -z "$SED"; then
2075 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2076 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2077 { (exit 1); exit 1; }; }
2085 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2086 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2087 SED="$ac_cv_path_SED"
2090 for ac_prog in gawk mawk nawk awk
2092 # Extract the first word of "$ac_prog", so it can be a program name with args.
2093 set dummy $ac_prog; ac_word=$2
2094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2096 if test "${ac_cv_prog_AWK+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$AWK"; then
2100 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2109 ac_cv_prog_AWK="$ac_prog"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test -n "$AWK"; then
2121 { echo "$as_me:$LINENO: result: $AWK" >&5
2122 echo "${ECHO_T}$AWK" >&6; }
2124 { echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6; }
2129 test -n "$AWK" && break
2133 ac_cpp='$CPP $CPPFLAGS'
2134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2137 if test -n "$ac_tool_prefix"; then
2138 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2139 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142 if test "${ac_cv_prog_CC+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test -n "$CC"; then
2146 ac_cv_prog_CC="$CC" # Let the user override the test.
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir=.
2153 for ac_exec_ext in '' $ac_executable_extensions; do
2154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 if test -n "$CC"; then
2167 { echo "$as_me:$LINENO: result: $CC" >&5
2168 echo "${ECHO_T}$CC" >&6; }
2170 { echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6; }
2176 if test -z "$ac_cv_prog_CC"; then
2178 # Extract the first word of "gcc", so it can be a program name with args.
2179 set dummy gcc; ac_word=$2
2180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 if test -n "$ac_ct_CC"; then
2186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 test -z "$as_dir" && as_dir=.
2193 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195 ac_cv_prog_ac_ct_CC="gcc"
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6; }
2210 { echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6; }
2214 if test "x$ac_ct_CC" = x; then
2217 case $cross_compiling:$ac_tool_warned in
2219 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2220 whose name does not start with the host triplet. If you think this
2221 configuration is useful to you, please write to autoconf@gnu.org." >&5
2222 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2223 whose name does not start with the host triplet. If you think this
2224 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2225 ac_tool_warned=yes ;;
2233 if test -z "$CC"; then
2234 if test -n "$ac_tool_prefix"; then
2235 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2236 set dummy ${ac_tool_prefix}cc; ac_word=$2
2237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2239 if test "${ac_cv_prog_CC+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 if test -n "$CC"; then
2243 ac_cv_prog_CC="$CC" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_CC="${ac_tool_prefix}cc"
2253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 if test -n "$CC"; then
2264 { echo "$as_me:$LINENO: result: $CC" >&5
2265 echo "${ECHO_T}$CC" >&6; }
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2274 if test -z "$CC"; then
2275 # Extract the first word of "cc", so it can be a program name with args.
2276 set dummy cc; ac_word=$2
2277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2279 if test "${ac_cv_prog_CC+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 if test -n "$CC"; then
2283 ac_cv_prog_CC="$CC" # Let the user override the test.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2294 ac_prog_rejected=yes
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 if test $ac_prog_rejected = yes; then
2306 # We found a bogon in the path, so make sure we never use it.
2307 set dummy $ac_cv_prog_CC
2309 if test $# != 0; then
2310 # We chose a different compiler from the bogus one.
2311 # However, it has the same basename, so the bogon will be chosen
2312 # first if we set CC to just the basename; use the full file name.
2314 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$CC"; then
2331 if test -n "$ac_tool_prefix"; then
2332 for ac_prog in cl.exe
2334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2338 if test "${ac_cv_prog_CC+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 if test -n "$CC"; then
2342 ac_cv_prog_CC="$CC" # Let the user override the test.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test -n "$CC"; then
2363 { echo "$as_me:$LINENO: result: $CC" >&5
2364 echo "${ECHO_T}$CC" >&6; }
2366 { echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6; }
2371 test -n "$CC" && break
2374 if test -z "$CC"; then
2376 for ac_prog in cl.exe
2378 # Extract the first word of "$ac_prog", so it can be a program name with args.
2379 set dummy $ac_prog; ac_word=$2
2380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$ac_ct_CC"; then
2386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395 ac_cv_prog_ac_ct_CC="$ac_prog"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2406 if test -n "$ac_ct_CC"; then
2407 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2408 echo "${ECHO_T}$ac_ct_CC" >&6; }
2410 { echo "$as_me:$LINENO: result: no" >&5
2411 echo "${ECHO_T}no" >&6; }
2415 test -n "$ac_ct_CC" && break
2418 if test "x$ac_ct_CC" = x; then
2421 case $cross_compiling:$ac_tool_warned in
2423 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2424 whose name does not start with the host triplet. If you think this
2425 configuration is useful to you, please write to autoconf@gnu.org." >&5
2426 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2427 whose name does not start with the host triplet. If you think this
2428 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2429 ac_tool_warned=yes ;;
2438 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2439 See \`config.log
' for more details." >&5
2440 echo "$as_me: error: no acceptable C compiler found in \$PATH
2441 See \`config.log' for more details.
" >&2;}
2442 { (exit 1); exit 1; }; }
2444 # Provide some information about the compiler.
2445 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2446 ac_compiler=`set X $ac_compile; echo $2`
2447 { (ac_try="$ac_compiler --version >&5"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_compiler --version >&5") 2>&5
2455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2456 (exit $ac_status); }
2457 { (ac_try="$ac_compiler -v >&5"
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2463 (eval "$ac_compiler -v >&5") 2>&5
2465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2466 (exit $ac_status); }
2467 { (ac_try="$ac_compiler -V >&5"
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_compiler -V >&5") 2>&5
2475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2476 (exit $ac_status); }
2478 cat >conftest.$ac_ext <<_ACEOF
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 ac_clean_files_save=$ac_clean_files
2494 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2495 # Try to create an executable without -o first, disregard a.out.
2496 # It will help us diagnose broken compilers, and finding out an intuition
2498 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2499 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2500 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2502 # List of possible output files, starting from the most likely.
2503 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2504 # only as a last resort. b.out is created by i960 compilers.
2505 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2507 # The IRIX 6 linker writes into existing files which may not be
2508 # executable, retaining their permissions. Remove them first so a
2509 # subsequent execution test works.
2511 for ac_file in $ac_files
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2515 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2520 if { (ac_try="$ac_link_default"
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_link_default") 2>&5
2528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2531 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2532 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2533 # so that the user can short-circuit this test for compilers unknown to
2535 for ac_file in $ac_files ''
2537 test -f "$ac_file" || continue
2539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2542 # We found the default executable, but exeext='' is most
2546 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2548 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2550 # We set ac_cv_exeext here because the later test for it is not
2551 # safe: cross compilers may not add the suffix if given an `-o'
2552 # argument, so we may need to know it at that point already.
2553 # Even if this section looks crufty: it has the advantage of
2560 test "$ac_cv_exeext" = no && ac_cv_exeext=
2566 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2567 echo "${ECHO_T}$ac_file" >&6; }
2568 if test -z "$ac_file"; then
2569 echo "$as_me: failed program was
:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2572 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2573 See \
`config.log' for more details." >&5
2574 echo "$as_me: error: C compiler cannot create executables
2575 See \`config.log
' for more details." >&2;}
2576 { (exit 77); exit 77; }; }
2579 ac_exeext=$ac_cv_exeext
2581 # Check that the compiler produces executables we can run. If not, either
2582 # the compiler is broken, or we cross compile.
2583 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2584 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2585 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2586 # If not cross compiling, check that we can run a simple program.
2587 if test "$cross_compiling" != yes; then
2588 if { ac_try='.
/$ac_file'
2589 { (case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_try") 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2600 if test "$cross_compiling" = maybe; then
2603 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2604 If you meant to cross compile, use \`--host'.
2605 See \
`config.log' for more details." >&5
2606 echo "$as_me: error: cannot run C compiled programs.
2607 If you meant to cross compile, use \`--host'.
2608 See \`config.log' for more details.
" >&2;}
2609 { (exit 1); exit 1; }; }
2613 { echo "$as_me:$LINENO: result
: yes" >&5
2614 echo "${ECHO_T}yes" >&6; }
2616 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2617 ac_clean_files=$ac_clean_files_save
2618 # Check that the compiler produces executables we can run. If not, either
2619 # the compiler is broken, or we cross compile.
2620 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2621 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2622 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2623 echo "${ECHO_T}$cross_compiling" >&6; }
2625 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2626 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2627 if { (ac_try="$ac_link"
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2633 (eval "$ac_link") 2>&5
2635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2636 (exit $ac_status); }; then
2637 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2638 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2639 # work properly (i.e., refer to `conftest.exe'), while it won't with
2641 for ac_file in conftest.exe conftest conftest.*; do
2642 test -f "$ac_file" || continue
2644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2645 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2652 See \
`config.log' for more details." >&5
2653 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2654 See \`config.log
' for more details." >&2;}
2655 { (exit 1); exit 1; }; }
2658 rm -f conftest$ac_cv_exeext
2659 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2660 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2662 rm -f conftest.$ac_ext
2663 EXEEXT=$ac_cv_exeext
2665 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2666 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2667 if test "${ac_cv_objext+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 cat >conftest.$ac_ext <<_ACEOF
2673 cat confdefs.h >>conftest.$ac_ext
2674 cat >>conftest.$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2685 rm -f conftest.o conftest.obj
2686 if { (ac_try="$ac_compile"
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2692 (eval "$ac_compile") 2>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; then
2696 for ac_file in conftest.o conftest.obj conftest.*; do
2697 test -f "$ac_file" || continue;
2699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2700 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2705 echo "$as_me: failed program was:" >&5
2706 sed 's
/^
/|
/' conftest.$ac_ext >&5
2708 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2709 See \`config.log' for more details.
" >&5
2710 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2711 See \
`config.log' for more details." >&2;}
2712 { (exit 1); exit 1; }; }
2715 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2717 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2718 echo "${ECHO_T}$ac_cv_objext" >&6; }
2719 OBJEXT=$ac_cv_objext
2721 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2722 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2723 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2726 cat >conftest.$ac_ext <<_ACEOF
2729 cat confdefs.h >>conftest.$ac_ext
2730 cat >>conftest.$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2744 rm -f conftest.$ac_objext
2745 if { (ac_try="$ac_compile"
2747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2748 *) ac_try_echo
=$ac_try;;
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 (eval "$ac_compile") 2>conftest.er1
2753 grep -v '^ *+' conftest.er1
>conftest.err
2755 cat conftest.err
>&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); } && {
2758 test -z "$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2760 } && test -s conftest.
$ac_objext; then
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2770 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2773 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2774 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2775 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2776 ac_test_CFLAGS
=${CFLAGS+set}
2777 ac_save_CFLAGS
=$CFLAGS
2778 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2779 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2780 if test "${ac_cv_prog_cc_g+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 ac_save_c_werror_flag
=$ac_c_werror_flag
2784 ac_c_werror_flag
=yes
2787 cat >conftest.
$ac_ext <<_ACEOF
2790 cat confdefs.h
>>conftest.
$ac_ext
2791 cat >>conftest.
$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2802 rm -f conftest.
$ac_objext
2803 if { (ac_try
="$ac_compile"
2805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2809 (eval "$ac_compile") 2>conftest.er1
2811 grep -v '^ *+' conftest.er1 >conftest.err
2813 cat conftest.err >&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); } && {
2816 test -z "$ac_c_werror_flag" ||
2817 test ! -s conftest.err
2818 } && test -s conftest.$ac_objext; then
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2825 cat >conftest.$ac_ext <<_ACEOF
2828 cat confdefs.h >>conftest.$ac_ext
2829 cat >>conftest.$ac_ext <<_ACEOF
2830 /* end confdefs.h. */
2840 rm -f conftest.$ac_objext
2841 if { (ac_try="$ac_compile"
2843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2844 *) ac_try_echo
=$ac_try;;
2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1
>conftest.err
2851 cat conftest.err
>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.
$ac_objext; then
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.
$ac_ext >&5
2862 ac_c_werror_flag
=$ac_save_c_werror_flag
2864 cat >conftest.
$ac_ext <<_ACEOF
2867 cat confdefs.h
>>conftest.
$ac_ext
2868 cat >>conftest.
$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2879 rm -f conftest.
$ac_objext
2880 if { (ac_try
="$ac_compile"
2882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2886 (eval "$ac_compile") 2>conftest.er1
2888 grep -v '^ *+' conftest.er1 >conftest.err
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } && {
2893 test -z "$ac_c_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest.$ac_objext; then
2898 echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 ac_c_werror_flag=$ac_save_c_werror_flag
2913 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2914 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2915 if test "$ac_test_CFLAGS" = set; then
2916 CFLAGS=$ac_save_CFLAGS
2917 elif test $ac_cv_prog_cc_g = yes; then
2918 if test "$GCC" = yes; then
2924 if test "$GCC" = yes; then
2930 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2931 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2932 if test "${ac_cv_prog_cc_c89+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 ac_cv_prog_cc_c89=no
2937 cat >conftest.$ac_ext <<_ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2945 #include <sys/types.h>
2946 #include <sys/stat.h>
2947 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2948 struct buf { int x; };
2949 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2950 static char *e (p, i)
2956 static char *f (char * (*g) (char **, int), char **p, ...)
2961 s = g (p, va_arg (v,int));
2966 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2967 function prototypes and stuff, but not '\xHH' hex character constants.
2968 These don't provoke an error unfortunately, instead are silently treated
2969 as 'x'. The following induces an error, until -std is added to get
2970 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2971 array size at least. It's necessary to write '\x00'==0 to get something
2972 that's true only with -std. */
2973 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2975 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2976 inside strings and character constants. */
2978 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2980 int test (int i, double x);
2981 struct s1 {int (*f) (int a);};
2982 struct s2 {int (*f) (double a);};
2983 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2989 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2994 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2995 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2997 CC="$ac_save_CC $ac_arg"
2998 rm -f conftest.$ac_objext
2999 if { (ac_try="$ac_compile"
3001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3002 *) ac_try_echo
=$ac_try;;
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_compile") 2>conftest.er1
3007 grep -v '^ *+' conftest.er1
>conftest.err
3009 cat conftest.err
>&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest.
$ac_objext; then
3015 ac_cv_prog_cc_c89
=$ac_arg
3017 echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.
$ac_ext >&5
3023 rm -f core conftest.err conftest.
$ac_objext
3024 test "x$ac_cv_prog_cc_c89" != "xno" && break
3026 rm -f conftest.
$ac_ext
3031 case "x$ac_cv_prog_cc_c89" in
3033 { echo "$as_me:$LINENO: result: none needed" >&5
3034 echo "${ECHO_T}none needed" >&6; } ;;
3036 { echo "$as_me:$LINENO: result: unsupported" >&5
3037 echo "${ECHO_T}unsupported" >&6; } ;;
3039 CC
="$CC $ac_cv_prog_cc_c89"
3040 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3041 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3046 ac_cpp
='$CPP $CPPFLAGS'
3047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3054 ac_cpp
='$CPP $CPPFLAGS'
3055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3058 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3059 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3060 # On Suns, sometimes $CPP names a directory.
3061 if test -n "$CPP" && test -d "$CPP"; then
3064 if test -z "$CPP"; then
3065 if test "${ac_cv_prog_CPP+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 # Double quotes because CPP needs to be expanded
3069 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3072 for ac_c_preproc_warn_flag
in '' yes
3074 # Use a header file that comes with gcc, so configuring glibc
3075 # with a fresh cross-compiler works.
3076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3077 # <limits.h> exists even on freestanding compilers.
3078 # On the NeXT, cc -E runs the code through the compiler's parser,
3079 # not just through cpp. "Syntax error" is here to catch this case.
3080 cat >conftest.
$ac_ext <<_ACEOF
3083 cat confdefs.h
>>conftest.
$ac_ext
3084 cat >>conftest.
$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3087 # include <limits.h>
3089 # include <assert.h>
3093 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3101 grep -v '^ *+' conftest.er1 >conftest.err
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } >/dev/null && {
3106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3107 test ! -s conftest.err
3111 echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 # Broken: fails on valid input.
3118 rm -f conftest.err conftest.$ac_ext
3120 # OK, works on sane cases. Now check whether nonexistent headers
3121 # can be detected and how.
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3128 #include <ac_nonexistent.h>
3130 if { (ac_try="$ac_cpp conftest.$ac_ext"
3132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3133 *) ac_try_echo
=$ac_try;;
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3138 grep -v '^ *+' conftest.er1
>conftest.err
3140 cat conftest.err
>&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } >/dev
/null
&& {
3143 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3144 test ! -s conftest.err
3146 # Broken: success on invalid input.
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.
$ac_ext >&5
3152 # Passes both tests.
3157 rm -f conftest.err conftest.
$ac_ext
3160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3161 rm -f conftest.err conftest.
$ac_ext
3162 if $ac_preproc_ok; then
3174 { echo "$as_me:$LINENO: result: $CPP" >&5
3175 echo "${ECHO_T}$CPP" >&6; }
3177 for ac_c_preproc_warn_flag
in '' yes
3179 # Use a header file that comes with gcc, so configuring glibc
3180 # with a fresh cross-compiler works.
3181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3182 # <limits.h> exists even on freestanding compilers.
3183 # On the NeXT, cc -E runs the code through the compiler's parser,
3184 # not just through cpp. "Syntax error" is here to catch this case.
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3192 # include <limits.h>
3194 # include <assert.h>
3198 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3204 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } >/dev/null && {
3211 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3216 echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 # Broken: fails on valid input.
3223 rm -f conftest.err conftest.$ac_ext
3225 # OK, works on sane cases. Now check whether nonexistent headers
3226 # can be detected and how.
3227 cat >conftest.$ac_ext <<_ACEOF
3230 cat confdefs.h >>conftest.$ac_ext
3231 cat >>conftest.$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3233 #include <ac_nonexistent.h>
3235 if { (ac_try="$ac_cpp conftest.$ac_ext"
3237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3238 *) ac_try_echo
=$ac_try;;
3240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3243 grep -v '^ *+' conftest.er1
>conftest.err
3245 cat conftest.err
>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); } >/dev
/null
&& {
3248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3249 test ! -s conftest.err
3251 # Broken: success on invalid input.
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.
$ac_ext >&5
3257 # Passes both tests.
3262 rm -f conftest.err conftest.
$ac_ext
3265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3266 rm -f conftest.err conftest.
$ac_ext
3267 if $ac_preproc_ok; then
3270 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3271 See \`config.log' for more details." >&5
3272 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3273 See \`config.log' for more details." >&2;}
3274 { (exit 1); exit 1; }; }
3278 ac_cpp
='$CPP $CPPFLAGS'
3279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3284 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3285 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3286 if test "${ac_cv_path_GREP+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 # Extract the first word of "grep ggrep" to use in msg output
3290 if test -z "$GREP"; then
3291 set dummy
grep ggrep
; ac_prog_name
=$2
3292 if test "${ac_cv_path_GREP+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 ac_path_GREP_found
=false
3296 # Loop through the user's path and test for each of PROGNAME-LIST
3297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3301 test -z "$as_dir" && as_dir
=.
3302 for ac_prog
in grep ggrep
; do
3303 for ac_exec_ext
in '' $ac_executable_extensions; do
3304 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3305 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3306 # Check for GNU ac_path_GREP and select it if it is found.
3307 # Check for GNU $ac_path_GREP
3308 case `"$ac_path_GREP" --version 2>&1` in
3310 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3313 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3316 cat "conftest.in" "conftest.in" >"conftest.tmp"
3317 mv "conftest.tmp" "conftest.in"
3318 cp "conftest.in" "conftest.nl"
3319 echo 'GREP' >> "conftest.nl"
3320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3321 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3322 ac_count
=`expr $ac_count + 1`
3323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3324 # Best one so far, save it but keep looking for a better one
3325 ac_cv_path_GREP
="$ac_path_GREP"
3326 ac_path_GREP_max
=$ac_count
3328 # 10*(2^10) chars as input seems more than enough
3329 test $ac_count -gt 10 && break
3331 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3335 $ac_path_GREP_found && break 3
3345 GREP
="$ac_cv_path_GREP"
3346 if test -z "$GREP"; then
3347 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3348 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3349 { (exit 1); exit 1; }; }
3353 ac_cv_path_GREP
=$GREP
3358 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3359 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3360 GREP
="$ac_cv_path_GREP"
3363 { echo "$as_me:$LINENO: checking for egrep" >&5
3364 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3365 if test "${ac_cv_path_EGREP+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3369 then ac_cv_path_EGREP
="$GREP -E"
3371 # Extract the first word of "egrep" to use in msg output
3372 if test -z "$EGREP"; then
3373 set dummy
egrep; ac_prog_name
=$2
3374 if test "${ac_cv_path_EGREP+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 ac_path_EGREP_found
=false
3378 # Loop through the user's path and test for each of PROGNAME-LIST
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3380 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_prog
in egrep; do
3385 for ac_exec_ext
in '' $ac_executable_extensions; do
3386 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3387 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3388 # Check for GNU ac_path_EGREP and select it if it is found.
3389 # Check for GNU $ac_path_EGREP
3390 case `"$ac_path_EGREP" --version 2>&1` in
3392 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3395 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3398 cat "conftest.in" "conftest.in" >"conftest.tmp"
3399 mv "conftest.tmp" "conftest.in"
3400 cp "conftest.in" "conftest.nl"
3401 echo 'EGREP' >> "conftest.nl"
3402 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3403 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3404 ac_count
=`expr $ac_count + 1`
3405 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3406 # Best one so far, save it but keep looking for a better one
3407 ac_cv_path_EGREP
="$ac_path_EGREP"
3408 ac_path_EGREP_max
=$ac_count
3410 # 10*(2^10) chars as input seems more than enough
3411 test $ac_count -gt 10 && break
3413 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3417 $ac_path_EGREP_found && break 3
3427 EGREP
="$ac_cv_path_EGREP"
3428 if test -z "$EGREP"; then
3429 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3430 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3431 { (exit 1); exit 1; }; }
3435 ac_cv_path_EGREP
=$EGREP
3441 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3442 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3443 EGREP
="$ac_cv_path_EGREP"
3446 if test $ac_cv_c_compiler_gnu = yes; then
3447 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3448 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3449 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 ac_pattern
="Autoconf.*'x'"
3453 cat >conftest.
$ac_ext <<_ACEOF
3456 cat confdefs.h
>>conftest.
$ac_ext
3457 cat >>conftest.
$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3463 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3464 ac_cv_prog_gcc_traditional
=yes
3466 ac_cv_prog_gcc_traditional
=no
3471 if test $ac_cv_prog_gcc_traditional = no
; then
3472 cat >conftest.
$ac_ext <<_ACEOF
3475 cat confdefs.h
>>conftest.
$ac_ext
3476 cat >>conftest.
$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3482 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3483 ac_cv_prog_gcc_traditional
=yes
3489 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3490 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3491 if test $ac_cv_prog_gcc_traditional = yes; then
3492 CC
="$CC -traditional"
3496 # Find a good install program. We prefer a C program (faster),
3497 # so one script is as good as another. But avoid the broken or
3498 # incompatible versions:
3499 # SysV /etc/install, /usr/sbin/install
3500 # SunOS /usr/etc/install
3501 # IRIX /sbin/install
3503 # AmigaOS /C/install, which installs bootblocks on floppy discs
3504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3507 # OS/2's system install, which has a completely different semantic
3508 # ./install, which can be erroneously created by make from ./install.sh.
3509 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3510 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3511 if test -z "$INSTALL"; then
3512 if test "${ac_cv_path_install+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 # Account for people who put trailing slashes in PATH elements.
3522 .
/ | .
// |
/cC
/* | \
3523 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3524 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3527 # OSF1 and SCO ODT 3.0 have their own names for install.
3528 # Don't use installbsd from OSF since it installs stuff as root
3530 for ac_prog
in ginstall scoinst
install; do
3531 for ac_exec_ext
in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3533 if test $ac_prog = install &&
3534 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3535 # AIX install. It has an incompatible calling convention.
3537 elif test $ac_prog = install &&
3538 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3539 # program-specific install script used by HP pwplus--don't use.
3542 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3555 if test "${ac_cv_path_install+set}" = set; then
3556 INSTALL
=$ac_cv_path_install
3558 # As a last resort, use the slow shell script. Don't cache a
3559 # value for INSTALL within a source directory, because that will
3560 # break other packages using the cache if that directory is
3561 # removed, or if the value is a relative name.
3562 INSTALL
=$ac_install_sh
3565 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3566 echo "${ECHO_T}$INSTALL" >&6; }
3568 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3569 # It thinks the first close brace ends the variable substitution.
3570 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3572 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3574 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3576 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3577 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3579 if test "$LN_S" = "ln -s"; then
3580 { echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6; }
3583 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3584 echo "${ECHO_T}no, using $LN_S" >&6; }
3587 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3588 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3589 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3590 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 cat >conftest.
make <<\_ACEOF
3596 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3601 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3603 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3607 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3608 { echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6; }
3612 { echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6; }
3614 SET_MAKE
="MAKE=${MAKE-make}"
3617 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3618 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
3619 if test -z "$MKDIR_P"; then
3620 if test "${ac_cv_path_mkdir+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_prog
in mkdir gmkdir
; do
3629 for ac_exec_ext
in '' $ac_executable_extensions; do
3630 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3631 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3632 'mkdir (GNU coreutils) '* | \
3633 'mkdir (coreutils) '* | \
3634 'mkdir (fileutils) '4.1*)
3635 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3645 if test "${ac_cv_path_mkdir+set}" = set; then
3646 MKDIR_P
="$ac_cv_path_mkdir -p"
3648 # As a last resort, use the slow shell script. Don't cache a
3649 # value for MKDIR_P within a source directory, because that will
3650 # break other packages using the cache if that directory is
3651 # removed, or if the value is a relative name.
3652 test -d .
/--version && rmdir .
/--version
3653 MKDIR_P
="$ac_install_sh -d"
3656 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3657 echo "${ECHO_T}$MKDIR_P" >&6; }
3659 if test -n "$ac_tool_prefix"; then
3660 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3661 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3664 if test "${ac_cv_prog_RANLIB+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 if test -n "$RANLIB"; then
3668 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir
=.
3675 for ac_exec_ext
in '' $ac_executable_extensions; do
3676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3677 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 RANLIB
=$ac_cv_prog_RANLIB
3688 if test -n "$RANLIB"; then
3689 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3690 echo "${ECHO_T}$RANLIB" >&6; }
3692 { echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6; }
3698 if test -z "$ac_cv_prog_RANLIB"; then
3699 ac_ct_RANLIB
=$RANLIB
3700 # Extract the first word of "ranlib", so it can be a program name with args.
3701 set dummy ranlib
; ac_word
=$2
3702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3704 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 if test -n "$ac_ct_RANLIB"; then
3708 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3717 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3728 if test -n "$ac_ct_RANLIB"; then
3729 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3730 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3732 { echo "$as_me:$LINENO: result: no" >&5
3733 echo "${ECHO_T}no" >&6; }
3736 if test "x$ac_ct_RANLIB" = x
; then
3739 case $cross_compiling:$ac_tool_warned in
3741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3742 whose name does not start with the host triplet. If you think this
3743 configuration is useful to you, please write to autoconf@gnu.org." >&5
3744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3745 whose name does not start with the host triplet. If you think this
3746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3747 ac_tool_warned
=yes ;;
3749 RANLIB
=$ac_ct_RANLIB
3752 RANLIB
="$ac_cv_prog_RANLIB"
3755 # Extract the first word of "cflow", so it can be a program name with args.
3756 set dummy cflow
; ac_word
=$2
3757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3759 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
3786 if test -n "$CFLOW_CMD"; then
3787 { echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
3788 echo "${ECHO_T}$CFLOW_CMD" >&6; }
3790 { echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6; }
3795 # Extract the first word of "cscope", so it can be a program name with args.
3796 set dummy cscope
; ac_word
=$2
3797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3799 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3814 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
3815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
3826 if test -n "$CSCOPE_CMD"; then
3827 { echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
3828 echo "${ECHO_T}$CSCOPE_CMD" >&6; }
3830 { echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6; }
3836 ################################################################################
3843 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3844 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3845 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3846 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3847 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <sys/types.h>
3868 rm -f conftest.
$ac_objext
3869 if { (ac_try
="$ac_compile"
3871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3875 (eval "$ac_compile") 2>conftest.er1
3877 grep -v '^ *+' conftest.er1 >conftest.err
3879 cat conftest.err >&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } && {
3882 test -z "$ac_c_werror_flag" ||
3883 test ! -s conftest.err
3884 } && test -s conftest.$ac_objext; then
3885 eval "$as_ac_Header=yes"
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3890 eval "$as_ac_Header=no"
3893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895 ac_res=`eval echo '${'$as_ac_Header'}'`
3896 { echo "$as_me:$LINENO: result: $ac_res" >&5
3897 echo "${ECHO_T}$ac_res" >&6; }
3898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3899 cat >>confdefs.h <<_ACEOF
3900 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
3903 ac_header_dirent=$ac_hdr; break
3907 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3908 if test $ac_header_dirent = dirent.h; then
3909 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3910 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3911 if test "${ac_cv_search_opendir+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 ac_func_search_save_LIBS=$LIBS
3915 cat >conftest.$ac_ext <<_ACEOF
3918 cat confdefs.h >>conftest.$ac_ext
3919 cat >>conftest.$ac_ext <<_ACEOF
3920 /* end confdefs.h. */
3922 /* Override any GCC internal prototype to avoid an error.
3923 Use char because int might match the return type of a GCC
3924 builtin and then its argument prototype would still apply. */
3937 for ac_lib in '' dir; do
3938 if test -z "$ac_lib"; then
3939 ac_res="none required"
3942 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3944 rm -f conftest.$ac_objext conftest$ac_exeext
3945 if { (ac_try="$ac_link"
3947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3948 *) ac_try_echo
=$ac_try;;
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 (eval "$ac_link") 2>conftest.er1
3953 grep -v '^ *+' conftest.er1
>conftest.err
3955 cat conftest.err
>&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } && {
3958 test -z "$ac_c_werror_flag" ||
3959 test ! -s conftest.err
3960 } && test -s conftest
$ac_exeext &&
3961 $as_test_x conftest
$ac_exeext; then
3962 ac_cv_search_opendir
=$ac_res
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3970 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3972 if test "${ac_cv_search_opendir+set}" = set; then
3976 if test "${ac_cv_search_opendir+set}" = set; then
3979 ac_cv_search_opendir
=no
3982 LIBS
=$ac_func_search_save_LIBS
3984 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3985 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3986 ac_res
=$ac_cv_search_opendir
3987 if test "$ac_res" != no
; then
3988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3993 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3994 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3995 if test "${ac_cv_search_opendir+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 ac_func_search_save_LIBS
=$LIBS
3999 cat >conftest.
$ac_ext <<_ACEOF
4002 cat confdefs.h
>>conftest.
$ac_ext
4003 cat >>conftest.
$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4006 /* Override any GCC internal prototype to avoid an error.
4007 Use char because int might match the return type of a GCC
4008 builtin and then its argument prototype would still apply. */
4021 for ac_lib
in '' x
; do
4022 if test -z "$ac_lib"; then
4023 ac_res
="none required"
4026 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4028 rm -f conftest.
$ac_objext conftest
$ac_exeext
4029 if { (ac_try
="$ac_link"
4031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 (eval "$ac_link") 2>conftest.er1
4037 grep -v '^ *+' conftest.er1 >conftest.err
4039 cat conftest.err >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); } && {
4042 test -z "$ac_c_werror_flag" ||
4043 test ! -s conftest.err
4044 } && test -s conftest$ac_exeext &&
4045 $as_test_x conftest$ac_exeext; then
4046 ac_cv_search_opendir=$ac_res
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.$ac_ext >&5
4054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4056 if test "${ac_cv_search_opendir+set}" = set; then
4060 if test "${ac_cv_search_opendir+set}" = set; then
4063 ac_cv_search_opendir=no
4066 LIBS=$ac_func_search_save_LIBS
4068 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4069 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4070 ac_res=$ac_cv_search_opendir
4071 if test "$ac_res" != no; then
4072 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4078 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4079 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4080 if test "${ac_cv_header_stdc+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 cat >conftest.$ac_ext <<_ACEOF
4086 cat confdefs.h >>conftest.$ac_ext
4087 cat >>conftest.$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4102 rm -f conftest.$ac_objext
4103 if { (ac_try="$ac_compile"
4105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4106 *) ac_try_echo
=$ac_try;;
4108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4109 (eval "$ac_compile") 2>conftest.er1
4111 grep -v '^ *+' conftest.er1
>conftest.err
4113 cat conftest.err
>&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } && {
4116 test -z "$ac_c_werror_flag" ||
4117 test ! -s conftest.err
4118 } && test -s conftest.
$ac_objext; then
4119 ac_cv_header_stdc
=yes
4121 echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.
$ac_ext >&5
4124 ac_cv_header_stdc
=no
4127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4129 if test $ac_cv_header_stdc = yes; then
4130 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4131 cat >conftest.
$ac_ext <<_ACEOF
4134 cat confdefs.h
>>conftest.
$ac_ext
4135 cat >>conftest.
$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4141 $EGREP "memchr" >/dev
/null
2>&1; then
4144 ac_cv_header_stdc
=no
4150 if test $ac_cv_header_stdc = yes; then
4151 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4152 cat >conftest.
$ac_ext <<_ACEOF
4155 cat confdefs.h
>>conftest.
$ac_ext
4156 cat >>conftest.
$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4162 $EGREP "free" >/dev
/null
2>&1; then
4165 ac_cv_header_stdc
=no
4171 if test $ac_cv_header_stdc = yes; then
4172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4173 if test "$cross_compiling" = yes; then
4176 cat >conftest.
$ac_ext <<_ACEOF
4179 cat confdefs.h
>>conftest.
$ac_ext
4180 cat >>conftest.
$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4184 #if ((' ' & 0x0FF) == 0x020)
4185 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4186 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4188 # define ISLOWER(c) \
4189 (('a' <= (c) && (c) <= 'i') \
4190 || ('j' <= (c) && (c) <= 'r') \
4191 || ('s' <= (c) && (c) <= 'z'))
4192 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4195 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4200 for (i = 0; i < 256; i++)
4201 if (XOR (islower (i), ISLOWER (i))
4202 || toupper (i) != TOUPPER (i))
4207 rm -f conftest
$ac_exeext
4208 if { (ac_try
="$ac_link"
4210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_link") 2>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4218 { (case "(($ac_try" in
4219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4220 *) ac_try_echo
=$ac_try;;
4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4223 (eval "$ac_try") 2>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; }; then
4229 echo "$as_me: program exited with status $ac_status" >&5
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.
$ac_ext >&5
4234 ac_cv_header_stdc
=no
4236 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4242 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4243 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4244 if test $ac_cv_header_stdc = yes; then
4246 cat >>confdefs.h
<<\_ACEOF
4247 #define STDC_HEADERS 1
4252 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4253 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4254 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 cat >conftest.
$ac_ext <<_ACEOF
4260 cat confdefs.h
>>conftest.
$ac_ext
4261 cat >>conftest.
$ac_ext <<_ACEOF
4262 /* end confdefs.h. */
4263 #include <sys/types.h>
4264 #include <sys/wait.h>
4266 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4269 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4277 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4282 rm -f conftest.
$ac_objext
4283 if { (ac_try
="$ac_compile"
4285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_compile") 2>conftest.er1
4291 grep -v '^ *+' conftest.er1 >conftest.err
4293 cat conftest.err >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } && {
4296 test -z "$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4298 } && test -s conftest.$ac_objext; then
4299 ac_cv_header_sys_wait_h=yes
4301 echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 ac_cv_header_sys_wait_h=no
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4310 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4311 if test $ac_cv_header_sys_wait_h = yes; then
4313 cat >>confdefs.h <<\_ACEOF
4314 #define HAVE_SYS_WAIT_H 1
4319 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4320 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4321 if test "${ac_cv_header_time+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 cat >conftest.$ac_ext <<_ACEOF
4327 cat confdefs.h >>conftest.$ac_ext
4328 cat >>conftest.$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4330 #include <sys/types.h>
4331 #include <sys/time.h>
4337 if ((struct tm *) 0)
4343 rm -f conftest.$ac_objext
4344 if { (ac_try="$ac_compile"
4346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4347 *) ac_try_echo
=$ac_try;;
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350 (eval "$ac_compile") 2>conftest.er1
4352 grep -v '^ *+' conftest.er1
>conftest.err
4354 cat conftest.err
>&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } && {
4357 test -z "$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4359 } && test -s conftest.
$ac_objext; then
4360 ac_cv_header_time
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4365 ac_cv_header_time
=no
4368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4370 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4371 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4372 if test $ac_cv_header_time = yes; then
4374 cat >>confdefs.h
<<\_ACEOF
4375 #define TIME_WITH_SYS_TIME 1
4381 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4391 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4392 inttypes.h stdint.h unistd.h
4394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4395 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4397 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 cat >conftest.
$ac_ext <<_ACEOF
4403 cat confdefs.h
>>conftest.
$ac_ext
4404 cat >>conftest.
$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4406 $ac_includes_default
4408 #include <$ac_header>
4410 rm -f conftest.
$ac_objext
4411 if { (ac_try
="$ac_compile"
4413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417 (eval "$ac_compile") 2>conftest.er1
4419 grep -v '^ *+' conftest.er1 >conftest.err
4421 cat conftest.err >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } && {
4424 test -z "$ac_c_werror_flag" ||
4425 test ! -s conftest.err
4426 } && test -s conftest.$ac_objext; then
4427 eval "$as_ac_Header=yes"
4429 echo "$as_me: failed program was:" >&5
4430 sed 's/^/| /' conftest.$ac_ext >&5
4432 eval "$as_ac_Header=no"
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437 ac_res=`eval echo '${'$as_ac_Header'}'`
4438 { echo "$as_me:$LINENO: result: $ac_res" >&5
4439 echo "${ECHO_T}$ac_res" >&6; }
4440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4441 cat >>confdefs.h <<_ACEOF
4442 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4463 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4464 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4466 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4468 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 ac_res=`eval echo '${'$as_ac_Header'}'`
4474 { echo "$as_me:$LINENO: result: $ac_res" >&5
4475 echo "${ECHO_T}$ac_res" >&6; }
4477 # Is the header compilable?
4478 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4480 cat >conftest.$ac_ext <<_ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486 $ac_includes_default
4487 #include <$ac_header>
4489 rm -f conftest.$ac_objext
4490 if { (ac_try="$ac_compile"
4492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4493 *) ac_try_echo
=$ac_try;;
4495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4496 (eval "$ac_compile") 2>conftest.er1
4498 grep -v '^ *+' conftest.er1
>conftest.err
4500 cat conftest.err
>&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } && {
4503 test -z "$ac_c_werror_flag" ||
4504 test ! -s conftest.err
4505 } && test -s conftest.
$ac_objext; then
4506 ac_header_compiler
=yes
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4511 ac_header_compiler
=no
4514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4515 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4516 echo "${ECHO_T}$ac_header_compiler" >&6; }
4518 # Is the header present?
4519 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4521 cat >conftest.
$ac_ext <<_ACEOF
4524 cat confdefs.h
>>conftest.
$ac_ext
4525 cat >>conftest.
$ac_ext <<_ACEOF
4526 /* end confdefs.h. */
4527 #include <$ac_header>
4529 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4537 grep -v '^ *+' conftest.er1 >conftest.err
4539 cat conftest.err >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } >/dev/null && {
4542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4543 test ! -s conftest.err
4545 ac_header_preproc=yes
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4550 ac_header_preproc=no
4553 rm -f conftest.err conftest.$ac_ext
4554 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4555 echo "${ECHO_T}$ac_header_preproc" >&6; }
4557 # So? What about this header?
4558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4564 ac_header_preproc=yes
4567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 eval "$as_ac_Header=\$ac_header_preproc"
4589 ac_res=`eval echo '${'$as_ac_Header'}'`
4590 { echo "$as_me:$LINENO: result: $ac_res" >&5
4591 echo "${ECHO_T}$ac_res" >&6; }
4594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4595 cat >>confdefs.h <<_ACEOF
4596 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4600 { { echo "$as_me:$LINENO: error: bailing out" >&5
4601 echo "$as_me: error: bailing out" >&2;}
4602 { (exit 1); exit 1; }; }
4613 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4615 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 ac_res=`eval echo '${'$as_ac_Header'}'`
4623 { echo "$as_me:$LINENO: result: $ac_res" >&5
4624 echo "${ECHO_T}$ac_res" >&6; }
4626 # Is the header compilable?
4627 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4629 cat >conftest.$ac_ext <<_ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4635 $ac_includes_default
4636 #include <$ac_header>
4638 rm -f conftest.$ac_objext
4639 if { (ac_try="$ac_compile"
4641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4642 *) ac_try_echo
=$ac_try;;
4644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4645 (eval "$ac_compile") 2>conftest.er1
4647 grep -v '^ *+' conftest.er1
>conftest.err
4649 cat conftest.err
>&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); } && {
4652 test -z "$ac_c_werror_flag" ||
4653 test ! -s conftest.err
4654 } && test -s conftest.
$ac_objext; then
4655 ac_header_compiler
=yes
4657 echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.
$ac_ext >&5
4660 ac_header_compiler
=no
4663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4664 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4665 echo "${ECHO_T}$ac_header_compiler" >&6; }
4667 # Is the header present?
4668 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 #include <$ac_header>
4678 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4681 *) ac_try_echo=$ac_try;;
4683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4686 grep -v '^ *+' conftest.er1 >conftest.err
4688 cat conftest.err >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } >/dev/null && {
4691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4692 test ! -s conftest.err
4694 ac_header_preproc=yes
4696 echo "$as_me: failed program was:" >&5
4697 sed 's/^/| /' conftest.$ac_ext >&5
4699 ac_header_preproc=no
4702 rm -f conftest.err conftest.$ac_ext
4703 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4704 echo "${ECHO_T}$ac_header_preproc" >&6; }
4706 # So? What about this header?
4707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4713 ac_header_preproc=yes
4716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 eval "$as_ac_Header=\$ac_header_preproc"
4738 ac_res=`eval echo '${'$as_ac_Header'}'`
4739 { echo "$as_me:$LINENO: result: $ac_res" >&5
4740 echo "${ECHO_T}$ac_res" >&6; }
4743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4744 cat >>confdefs.h <<_ACEOF
4745 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4749 { { echo "$as_me:$LINENO: error: bailing out" >&5
4750 echo "$as_me: error: bailing out" >&2;}
4751 { (exit 1); exit 1; }; }
4759 for ac_header in machine/endian.h sys/disk.h
4761 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 ac_res=`eval echo '${'$as_ac_Header'}'`
4769 { echo "$as_me:$LINENO: result: $ac_res" >&5
4770 echo "${ECHO_T}$ac_res" >&6; }
4772 # Is the header compilable?
4773 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4775 cat >conftest.$ac_ext <<_ACEOF
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 $ac_includes_default
4782 #include <$ac_header>
4784 rm -f conftest.$ac_objext
4785 if { (ac_try="$ac_compile"
4787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4788 *) ac_try_echo
=$ac_try;;
4790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4791 (eval "$ac_compile") 2>conftest.er1
4793 grep -v '^ *+' conftest.er1
>conftest.err
4795 cat conftest.err
>&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } && {
4798 test -z "$ac_c_werror_flag" ||
4799 test ! -s conftest.err
4800 } && test -s conftest.
$ac_objext; then
4801 ac_header_compiler
=yes
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.
$ac_ext >&5
4806 ac_header_compiler
=no
4809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4811 echo "${ECHO_T}$ac_header_compiler" >&6; }
4813 # Is the header present?
4814 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4816 cat >conftest.
$ac_ext <<_ACEOF
4819 cat confdefs.h
>>conftest.
$ac_ext
4820 cat >>conftest.
$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #include <$ac_header>
4824 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4832 grep -v '^ *+' conftest.er1 >conftest.err
4834 cat conftest.err >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } >/dev/null && {
4837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4838 test ! -s conftest.err
4840 ac_header_preproc=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_header_preproc=no
4848 rm -f conftest.err conftest.$ac_ext
4849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4850 echo "${ECHO_T}$ac_header_preproc" >&6; }
4852 # So? What about this header?
4853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4859 ac_header_preproc=yes
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4877 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 eval "$as_ac_Header=\$ac_header_preproc"
4884 ac_res=`eval echo '${'$as_ac_Header'}'`
4885 { echo "$as_me:$LINENO: result: $ac_res" >&5
4886 echo "${ECHO_T}$ac_res" >&6; }
4889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4890 cat >>confdefs.h <<_ACEOF
4891 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4895 { { echo "$as_me:$LINENO: error: bailing out" >&5
4896 echo "$as_me: error: bailing out" >&2;}
4897 { (exit 1); exit 1; }; }
4920 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
4921 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
4922 sys/types.h unistd.h
4924 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 ac_res=`eval echo '${'$as_ac_Header'}'`
4932 { echo "$as_me:$LINENO: result: $ac_res" >&5
4933 echo "${ECHO_T}$ac_res" >&6; }
4935 # Is the header compilable?
4936 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4938 cat >conftest.$ac_ext <<_ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 $ac_includes_default
4945 #include <$ac_header>
4947 rm -f conftest.$ac_objext
4948 if { (ac_try="$ac_compile"
4950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4951 *) ac_try_echo
=$ac_try;;
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_compile") 2>conftest.er1
4956 grep -v '^ *+' conftest.er1
>conftest.err
4958 cat conftest.err
>&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_c_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest.
$ac_objext; then
4964 ac_header_compiler
=yes
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.
$ac_ext >&5
4969 ac_header_compiler
=no
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4974 echo "${ECHO_T}$ac_header_compiler" >&6; }
4976 # Is the header present?
4977 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4979 cat >conftest.
$ac_ext <<_ACEOF
4982 cat confdefs.h
>>conftest.
$ac_ext
4983 cat >>conftest.
$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 #include <$ac_header>
4987 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4990 *) ac_try_echo=$ac_try;;
4992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4995 grep -v '^ *+' conftest.er1 >conftest.err
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } >/dev/null && {
5000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5001 test ! -s conftest.err
5003 ac_header_preproc=yes
5005 echo "$as_me: failed program was:" >&5
5006 sed 's/^/| /' conftest.$ac_ext >&5
5008 ac_header_preproc=no
5011 rm -f conftest.err conftest.$ac_ext
5012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5013 echo "${ECHO_T}$ac_header_preproc" >&6; }
5015 # So? What about this header?
5016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5022 ac_header_preproc=yes
5025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5040 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6
5045 eval "$as_ac_Header=\$ac_header_preproc"
5047 ac_res=`eval echo '${'$as_ac_Header'}'`
5048 { echo "$as_me:$LINENO: result: $ac_res" >&5
5049 echo "${ECHO_T}$ac_res" >&6; }
5052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5053 cat >>confdefs.h <<_ACEOF
5054 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5058 { { echo "$as_me:$LINENO: error: bailing out" >&5
5059 echo "$as_me: error: bailing out" >&2;}
5060 { (exit 1); exit 1; }; }
5067 for ac_header in termios.h sys/statvfs.h
5069 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 ac_res=`eval echo '${'$as_ac_Header'}'`
5077 { echo "$as_me:$LINENO: result: $ac_res" >&5
5078 echo "${ECHO_T}$ac_res" >&6; }
5080 # Is the header compilable?
5081 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5083 cat >conftest.$ac_ext <<_ACEOF
5086 cat confdefs.h >>conftest.$ac_ext
5087 cat >>conftest.$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5089 $ac_includes_default
5090 #include <$ac_header>
5092 rm -f conftest.$ac_objext
5093 if { (ac_try="$ac_compile"
5095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5096 *) ac_try_echo
=$ac_try;;
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_compile") 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } && {
5106 test -z "$ac_c_werror_flag" ||
5107 test ! -s conftest.err
5108 } && test -s conftest.
$ac_objext; then
5109 ac_header_compiler
=yes
5111 echo "$as_me: failed program was:" >&5
5112 sed 's/^/| /' conftest.
$ac_ext >&5
5114 ac_header_compiler
=no
5117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5119 echo "${ECHO_T}$ac_header_compiler" >&6; }
5121 # Is the header present?
5122 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5124 cat >conftest.
$ac_ext <<_ACEOF
5127 cat confdefs.h
>>conftest.
$ac_ext
5128 cat >>conftest.
$ac_ext <<_ACEOF
5129 /* end confdefs.h. */
5130 #include <$ac_header>
5132 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5135 *) ac_try_echo=$ac_try;;
5137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5140 grep -v '^ *+' conftest.er1 >conftest.err
5142 cat conftest.err >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } >/dev/null && {
5145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5146 test ! -s conftest.err
5148 ac_header_preproc=yes
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.$ac_ext >&5
5153 ac_header_preproc=no
5156 rm -f conftest.err conftest.$ac_ext
5157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5158 echo "${ECHO_T}$ac_header_preproc" >&6; }
5160 # So? What about this header?
5161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5167 ac_header_preproc=yes
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 eval "$as_ac_Header=\$ac_header_preproc"
5192 ac_res=`eval echo '${'$as_ac_Header'}'`
5193 { echo "$as_me:$LINENO: result: $ac_res" >&5
5194 echo "${ECHO_T}$ac_res" >&6; }
5197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5198 cat >>confdefs.h <<_ACEOF
5199 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5207 ################################################################################
5208 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5209 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5210 if test "${ac_cv_c_const+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 cat >conftest.$ac_ext <<_ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5223 /* FIXME: Include the comments suggested by Paul. */
5225 /* Ultrix mips cc rejects this. */
5226 typedef int charset[2];
5228 /* SunOS 4.1.1 cc rejects this. */
5229 char const *const *pcpcc;
5231 /* NEC SVR4.0.2 mips cc rejects this. */
5232 struct point {int x, y;};
5233 static struct point const zero = {0,0};
5234 /* AIX XL C 1.02.0.0 rejects this.
5235 It does not let you subtract one const X* pointer from another in
5236 an arm of an if-expression whose if-part is not a constant
5238 const char *g = "string";
5239 pcpcc = &g + (g ? g-g : 0);
5240 /* HPUX 7.0 cc rejects these. */
5242 ppc = (char**) pcpcc;
5243 pcpcc = (char const *const *) ppc;
5244 { /* SCO 3.2v4 cc rejects this. */
5246 char const *s = 0 ? (char *) 0 : (char const *) 0;
5251 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5253 const int *foo = &x[0];
5256 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5257 typedef const int *iptr;
5261 { /* AIX XL C 1.02.0.0 rejects this saying
5262 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5263 struct s { int j; const int *ap[3]; };
5264 struct s *b; b->j = 5;
5266 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5270 return !cs[0] && !zero.x;
5277 rm -f conftest.$ac_objext
5278 if { (ac_try="$ac_compile"
5280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5281 *) ac_try_echo
=$ac_try;;
5283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5284 (eval "$ac_compile") 2>conftest.er1
5286 grep -v '^ *+' conftest.er1
>conftest.err
5288 cat conftest.err
>&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } && {
5291 test -z "$ac_c_werror_flag" ||
5292 test ! -s conftest.err
5293 } && test -s conftest.
$ac_objext; then
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.
$ac_ext >&5
5302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5304 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5305 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5306 if test $ac_cv_c_const = no
; then
5308 cat >>confdefs.h
<<\_ACEOF
5314 { echo "$as_me:$LINENO: checking for inline" >&5
5315 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5316 if test "${ac_cv_c_inline+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 for ac_kw
in inline __inline__ __inline
; do
5321 cat >conftest.
$ac_ext <<_ACEOF
5324 cat confdefs.h
>>conftest.
$ac_ext
5325 cat >>conftest.
$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5329 static $ac_kw foo_t static_foo () {return 0; }
5330 $ac_kw foo_t foo () {return 0; }
5334 rm -f conftest.
$ac_objext
5335 if { (ac_try
="$ac_compile"
5337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5341 (eval "$ac_compile") 2>conftest.er1
5343 grep -v '^ *+' conftest.er1 >conftest.err
5345 cat conftest.err >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); } && {
5348 test -z "$ac_c_werror_flag" ||
5349 test ! -s conftest.err
5350 } && test -s conftest.$ac_objext; then
5351 ac_cv_c_inline=$ac_kw
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 test "$ac_cv_c_inline" != no && break
5364 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5365 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5368 case $ac_cv_c_inline in
5371 case $ac_cv_c_inline in
5373 *) ac_val=$ac_cv_c_inline;;
5375 cat >>confdefs.h <<_ACEOF
5377 #define inline $ac_val
5383 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5384 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5385 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 $ac_includes_default
5398 static struct stat ac_aggr;
5399 if (ac_aggr.st_rdev)
5405 rm -f conftest.$ac_objext
5406 if { (ac_try="$ac_compile"
5408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5409 *) ac_try_echo
=$ac_try;;
5411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5412 (eval "$ac_compile") 2>conftest.er1
5414 grep -v '^ *+' conftest.er1
>conftest.err
5416 cat conftest.err
>&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } && {
5419 test -z "$ac_c_werror_flag" ||
5420 test ! -s conftest.err
5421 } && test -s conftest.
$ac_objext; then
5422 ac_cv_member_struct_stat_st_rdev
=yes
5424 echo "$as_me: failed program was:" >&5
5425 sed 's/^/| /' conftest.
$ac_ext >&5
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 $ac_includes_default
5437 static struct stat ac_aggr;
5438 if (sizeof ac_aggr.st_rdev)
5444 rm -f conftest.
$ac_objext
5445 if { (ac_try
="$ac_compile"
5447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5448 *) ac_try_echo=$ac_try;;
5450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5451 (eval "$ac_compile") 2>conftest.er1
5453 grep -v '^ *+' conftest.er1 >conftest.err
5455 cat conftest.err >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } && {
5458 test -z "$ac_c_werror_flag" ||
5459 test ! -s conftest.err
5460 } && test -s conftest.$ac_objext; then
5461 ac_cv_member_struct_stat_st_rdev=yes
5463 echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.$ac_ext >&5
5466 ac_cv_member_struct_stat_st_rdev=no
5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5474 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5475 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5476 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5478 cat >>confdefs.h <<_ACEOF
5479 #define HAVE_STRUCT_STAT_ST_RDEV 1
5485 { echo "$as_me:$LINENO: checking for off_t" >&5
5486 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5487 if test "${ac_cv_type_off_t+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 cat >conftest.$ac_ext <<_ACEOF
5493 cat confdefs.h >>conftest.$ac_ext
5494 cat >>conftest.$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 $ac_includes_default
5497 typedef off_t ac__type_new_;
5501 if ((ac__type_new_ *) 0)
5503 if (sizeof (ac__type_new_))
5509 rm -f conftest.$ac_objext
5510 if { (ac_try="$ac_compile"
5512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5513 *) ac_try_echo
=$ac_try;;
5515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5516 (eval "$ac_compile") 2>conftest.er1
5518 grep -v '^ *+' conftest.er1
>conftest.err
5520 cat conftest.err
>&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); } && {
5523 test -z "$ac_c_werror_flag" ||
5524 test ! -s conftest.err
5525 } && test -s conftest.
$ac_objext; then
5526 ac_cv_type_off_t
=yes
5528 echo "$as_me: failed program was:" >&5
5529 sed 's/^/| /' conftest.
$ac_ext >&5
5534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5536 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5537 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5538 if test $ac_cv_type_off_t = yes; then
5542 cat >>confdefs.h
<<_ACEOF
5543 #define off_t long int
5548 { echo "$as_me:$LINENO: checking for pid_t" >&5
5549 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5550 if test "${ac_cv_type_pid_t+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 $ac_includes_default
5560 typedef pid_t ac__type_new_;
5564 if ((ac__type_new_ *) 0)
5566 if (sizeof (ac__type_new_))
5572 rm -f conftest.
$ac_objext
5573 if { (ac_try
="$ac_compile"
5575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5576 *) ac_try_echo=$ac_try;;
5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5579 (eval "$ac_compile") 2>conftest.er1
5581 grep -v '^ *+' conftest.er1 >conftest.err
5583 cat conftest.err >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); } && {
5586 test -z "$ac_c_werror_flag" ||
5587 test ! -s conftest.err
5588 } && test -s conftest.$ac_objext; then
5589 ac_cv_type_pid_t=yes
5591 echo "$as_me: failed program was:" >&5
5592 sed 's/^/| /' conftest.$ac_ext >&5
5597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5599 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5600 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5601 if test $ac_cv_type_pid_t = yes; then
5605 cat >>confdefs.h <<_ACEOF
5611 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5612 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5613 if test "${ac_cv_type_signal+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 cat >conftest.$ac_ext <<_ACEOF
5619 cat confdefs.h >>conftest.$ac_ext
5620 cat >>conftest.$ac_ext <<_ACEOF
5621 /* end confdefs.h. */
5622 #include <sys/types.h>
5628 return *(signal (0, 0)) (0) == 1;
5633 rm -f conftest.$ac_objext
5634 if { (ac_try="$ac_compile"
5636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5637 *) ac_try_echo
=$ac_try;;
5639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5640 (eval "$ac_compile") 2>conftest.er1
5642 grep -v '^ *+' conftest.er1
>conftest.err
5644 cat conftest.err
>&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); } && {
5647 test -z "$ac_c_werror_flag" ||
5648 test ! -s conftest.err
5649 } && test -s conftest.
$ac_objext; then
5650 ac_cv_type_signal
=int
5652 echo "$as_me: failed program was:" >&5
5653 sed 's/^/| /' conftest.
$ac_ext >&5
5655 ac_cv_type_signal
=void
5658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5660 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5661 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5663 cat >>confdefs.h
<<_ACEOF
5664 #define RETSIGTYPE $ac_cv_type_signal
5668 { echo "$as_me:$LINENO: checking for size_t" >&5
5669 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5670 if test "${ac_cv_type_size_t+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 $ac_includes_default
5680 typedef size_t ac__type_new_;
5684 if ((ac__type_new_ *) 0)
5686 if (sizeof (ac__type_new_))
5692 rm -f conftest.
$ac_objext
5693 if { (ac_try
="$ac_compile"
5695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5699 (eval "$ac_compile") 2>conftest.er1
5701 grep -v '^ *+' conftest.er1 >conftest.err
5703 cat conftest.err >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); } && {
5706 test -z "$ac_c_werror_flag" ||
5707 test ! -s conftest.err
5708 } && test -s conftest.$ac_objext; then
5709 ac_cv_type_size_t=yes
5711 echo "$as_me: failed program was:" >&5
5712 sed 's/^/| /' conftest.$ac_ext >&5
5714 ac_cv_type_size_t=no
5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5720 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5721 if test $ac_cv_type_size_t = yes; then
5725 cat >>confdefs.h <<_ACEOF
5726 #define size_t unsigned int
5731 { echo "$as_me:$LINENO: checking for mode_t" >&5
5732 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5733 if test "${ac_cv_type_mode_t+set}" = set; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 cat >conftest.$ac_ext <<_ACEOF
5739 cat confdefs.h >>conftest.$ac_ext
5740 cat >>conftest.$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5742 $ac_includes_default
5743 typedef mode_t ac__type_new_;
5747 if ((ac__type_new_ *) 0)
5749 if (sizeof (ac__type_new_))
5755 rm -f conftest.$ac_objext
5756 if { (ac_try="$ac_compile"
5758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5759 *) ac_try_echo
=$ac_try;;
5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5762 (eval "$ac_compile") 2>conftest.er1
5764 grep -v '^ *+' conftest.er1
>conftest.err
5766 cat conftest.err
>&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } && {
5769 test -z "$ac_c_werror_flag" ||
5770 test ! -s conftest.err
5771 } && test -s conftest.
$ac_objext; then
5772 ac_cv_type_mode_t
=yes
5774 echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.
$ac_ext >&5
5777 ac_cv_type_mode_t
=no
5780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5782 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5783 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5784 if test $ac_cv_type_mode_t = yes; then
5788 cat >>confdefs.h
<<_ACEOF
5794 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5795 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5796 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5805 $ac_includes_default
5809 static struct stat ac_aggr;
5810 if (ac_aggr.st_rdev)
5816 rm -f conftest.
$ac_objext
5817 if { (ac_try
="$ac_compile"
5819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5820 *) ac_try_echo=$ac_try;;
5822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5823 (eval "$ac_compile") 2>conftest.er1
5825 grep -v '^ *+' conftest.er1 >conftest.err
5827 cat conftest.err >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } && {
5830 test -z "$ac_c_werror_flag" ||
5831 test ! -s conftest.err
5832 } && test -s conftest.$ac_objext; then
5833 ac_cv_member_struct_stat_st_rdev=yes
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.$ac_ext >&5
5838 cat >conftest.$ac_ext <<_ACEOF
5841 cat confdefs.h >>conftest.$ac_ext
5842 cat >>conftest.$ac_ext <<_ACEOF
5843 /* end confdefs.h. */
5844 $ac_includes_default
5848 static struct stat ac_aggr;
5849 if (sizeof ac_aggr.st_rdev)
5855 rm -f conftest.$ac_objext
5856 if { (ac_try="$ac_compile"
5858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5859 *) ac_try_echo
=$ac_try;;
5861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5862 (eval "$ac_compile") 2>conftest.er1
5864 grep -v '^ *+' conftest.er1
>conftest.err
5866 cat conftest.err
>&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); } && {
5869 test -z "$ac_c_werror_flag" ||
5870 test ! -s conftest.err
5871 } && test -s conftest.
$ac_objext; then
5872 ac_cv_member_struct_stat_st_rdev
=yes
5874 echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.
$ac_ext >&5
5877 ac_cv_member_struct_stat_st_rdev
=no
5880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5885 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5886 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5887 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5889 cat >>confdefs.h
<<_ACEOF
5890 #define HAVE_STRUCT_STAT_ST_RDEV 1
5896 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5897 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5898 if test "${ac_cv_struct_tm+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5907 #include <sys/types.h>
5914 int *p = &tm.tm_sec;
5920 rm -f conftest.
$ac_objext
5921 if { (ac_try
="$ac_compile"
5923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5924 *) ac_try_echo=$ac_try;;
5926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5927 (eval "$ac_compile") 2>conftest.er1
5929 grep -v '^ *+' conftest.er1 >conftest.err
5931 cat conftest.err >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } && {
5934 test -z "$ac_c_werror_flag" ||
5935 test ! -s conftest.err
5936 } && test -s conftest.$ac_objext; then
5937 ac_cv_struct_tm=time.h
5939 echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.$ac_ext >&5
5942 ac_cv_struct_tm=sys/time.h
5945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5947 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5948 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5949 if test $ac_cv_struct_tm = sys/time.h; then
5951 cat >>confdefs.h <<\_ACEOF
5952 #define TM_IN_SYS_TIME 1
5958 ################################################################################
5976 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
5977 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
5980 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5984 echo $ECHO_N "(cached) $ECHO_C" >&6
5986 cat >conftest.$ac_ext <<_ACEOF
5989 cat confdefs.h >>conftest.$ac_ext
5990 cat >>conftest.$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5994 #define $ac_func innocuous_$ac_func
5996 /* System header to define __stub macros and hopefully few prototypes,
5997 which can conflict with char $ac_func (); below.
5998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5999 <limits.h> exists even on freestanding compilers. */
6002 # include <limits.h>
6004 # include <assert.h>
6009 /* Override any GCC internal prototype to avoid an error.
6010 Use char because int might match the return type of a GCC
6011 builtin and then its argument prototype would still apply. */
6016 /* The GNU C library defines this for functions which it implements
6017 to always fail with ENOSYS. Some functions are actually named
6018 something starting with __ and the normal name is an alias. */
6019 #if defined __stub_$ac_func || defined __stub___$ac_func
6031 rm -f conftest.$ac_objext conftest$ac_exeext
6032 if { (ac_try="$ac_link"
6034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6035 *) ac_try_echo
=$ac_try;;
6037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6038 (eval "$ac_link") 2>conftest.er1
6040 grep -v '^ *+' conftest.er1
>conftest.err
6042 cat conftest.err
>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } && {
6045 test -z "$ac_c_werror_flag" ||
6046 test ! -s conftest.err
6047 } && test -s conftest
$ac_exeext &&
6048 $as_test_x conftest
$ac_exeext; then
6049 eval "$as_ac_var=yes"
6051 echo "$as_me: failed program was:" >&5
6052 sed 's/^/| /' conftest.
$ac_ext >&5
6054 eval "$as_ac_var=no"
6057 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6058 conftest
$ac_exeext conftest.
$ac_ext
6060 ac_res
=`eval echo '${'$as_ac_var'}'`
6061 { echo "$as_me:$LINENO: result: $ac_res" >&5
6062 echo "${ECHO_T}$ac_res" >&6; }
6063 if test `eval echo '${'$as_ac_var'}'` = yes; then
6064 cat >>confdefs.h
<<_ACEOF
6065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6069 { { echo "$as_me:$LINENO: error: bailing out" >&5
6070 echo "$as_me: error: bailing out" >&2;}
6071 { (exit 1); exit 1; }; }
6075 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6076 # for constant arguments. Useless!
6077 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6078 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6079 if test "${ac_cv_working_alloca_h+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6082 cat >conftest.
$ac_ext <<_ACEOF
6085 cat confdefs.h
>>conftest.
$ac_ext
6086 cat >>conftest.
$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6092 char *p = (char *) alloca (2 * sizeof (int));
6098 rm -f conftest.
$ac_objext conftest
$ac_exeext
6099 if { (ac_try
="$ac_link"
6101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6102 *) ac_try_echo=$ac_try;;
6104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6105 (eval "$ac_link") 2>conftest.er1
6107 grep -v '^ *+' conftest.er1 >conftest.err
6109 cat conftest.err >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } && {
6112 test -z "$ac_c_werror_flag" ||
6113 test ! -s conftest.err
6114 } && test -s conftest$ac_exeext &&
6115 $as_test_x conftest$ac_exeext; then
6116 ac_cv_working_alloca_h=yes
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.$ac_ext >&5
6121 ac_cv_working_alloca_h=no
6124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6125 conftest$ac_exeext conftest.$ac_ext
6127 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6128 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6129 if test $ac_cv_working_alloca_h = yes; then
6131 cat >>confdefs.h <<\_ACEOF
6132 #define HAVE_ALLOCA_H 1
6137 { echo "$as_me:$LINENO: checking for alloca" >&5
6138 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6139 if test "${ac_cv_func_alloca_works+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 cat >conftest.$ac_ext <<_ACEOF
6145 cat confdefs.h >>conftest.$ac_ext
6146 cat >>conftest.$ac_ext <<_ACEOF
6147 /* end confdefs.h. */
6149 # define alloca __builtin_alloca
6152 # include <malloc.h>
6153 # define alloca _alloca
6155 # ifdef HAVE_ALLOCA_H
6156 # include <alloca.h>
6161 # ifndef alloca /* predefined by HP cc +Olibcalls */
6172 char *p = (char *) alloca (1);
6178 rm -f conftest.$ac_objext conftest$ac_exeext
6179 if { (ac_try="$ac_link"
6181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6182 *) ac_try_echo
=$ac_try;;
6184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6185 (eval "$ac_link") 2>conftest.er1
6187 grep -v '^ *+' conftest.er1
>conftest.err
6189 cat conftest.err
>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } && {
6192 test -z "$ac_c_werror_flag" ||
6193 test ! -s conftest.err
6194 } && test -s conftest
$ac_exeext &&
6195 $as_test_x conftest
$ac_exeext; then
6196 ac_cv_func_alloca_works
=yes
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6201 ac_cv_func_alloca_works
=no
6204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6205 conftest
$ac_exeext conftest.
$ac_ext
6207 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6208 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6210 if test $ac_cv_func_alloca_works = yes; then
6212 cat >>confdefs.h
<<\_ACEOF
6213 #define HAVE_ALLOCA 1
6217 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6218 # that cause trouble. Some versions do not even contain alloca or
6219 # contain a buggy version. If you still want to use their alloca,
6220 # use ar to extract alloca.o from them instead of compiling alloca.c.
6222 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6224 cat >>confdefs.h
<<\_ACEOF
6229 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6230 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6231 if test "${ac_cv_os_cray+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 cat >conftest.
$ac_ext <<_ACEOF
6237 cat confdefs.h
>>conftest.
$ac_ext
6238 cat >>conftest.
$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6240 #if defined CRAY && ! defined CRAY2
6247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6248 $EGREP "webecray" >/dev
/null
2>&1; then
6256 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6257 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6258 if test $ac_cv_os_cray = yes; then
6259 for ac_func
in _getb67 GETB67 getb67
; do
6260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6263 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6274 #define $ac_func innocuous_$ac_func
6276 /* System header to define __stub macros and hopefully few prototypes,
6277 which can conflict with char $ac_func (); below.
6278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6279 <limits.h> exists even on freestanding compilers. */
6282 # include <limits.h>
6284 # include <assert.h>
6289 /* Override any GCC internal prototype to avoid an error.
6290 Use char because int might match the return type of a GCC
6291 builtin and then its argument prototype would still apply. */
6296 /* The GNU C library defines this for functions which it implements
6297 to always fail with ENOSYS. Some functions are actually named
6298 something starting with __ and the normal name is an alias. */
6299 #if defined __stub_$ac_func || defined __stub___$ac_func
6311 rm -f conftest.
$ac_objext conftest
$ac_exeext
6312 if { (ac_try
="$ac_link"
6314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6315 *) ac_try_echo=$ac_try;;
6317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6318 (eval "$ac_link") 2>conftest.er1
6320 grep -v '^ *+' conftest.er1 >conftest.err
6322 cat conftest.err >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } && {
6325 test -z "$ac_c_werror_flag" ||
6326 test ! -s conftest.err
6327 } && test -s conftest$ac_exeext &&
6328 $as_test_x conftest$ac_exeext; then
6329 eval "$as_ac_var=yes"
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.$ac_ext >&5
6334 eval "$as_ac_var=no"
6337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6338 conftest$ac_exeext conftest.$ac_ext
6340 ac_res=`eval echo '${'$as_ac_var'}'`
6341 { echo "$as_me:$LINENO: result: $ac_res" >&5
6342 echo "${ECHO_T}$ac_res" >&6; }
6343 if test `eval echo '${'$as_ac_var'}'` = yes; then
6345 cat >>confdefs.h <<_ACEOF
6346 #define CRAY_STACKSEG_END $ac_func
6355 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6356 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6357 if test "${ac_cv_c_stack_direction+set}" = set; then
6358 echo $ECHO_N "(cached) $ECHO_C" >&6
6360 if test "$cross_compiling" = yes; then
6361 ac_cv_c_stack_direction=0
6363 cat >conftest.$ac_ext <<_ACEOF
6366 cat confdefs.h >>conftest.$ac_ext
6367 cat >>conftest.$ac_ext <<_ACEOF
6368 /* end confdefs.h. */
6369 $ac_includes_default
6371 find_stack_direction ()
6373 static char *addr = 0;
6378 return find_stack_direction ();
6381 return (&dummy > addr) ? 1 : -1;
6387 return find_stack_direction () < 0;
6390 rm -f conftest$ac_exeext
6391 if { (ac_try="$ac_link"
6393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6394 *) ac_try_echo
=$ac_try;;
6396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397 (eval "$ac_link") 2>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6401 { (case "(($ac_try" in
6402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6403 *) ac_try_echo=$ac_try;;
6405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6406 (eval "$ac_try") 2>&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; }; then
6410 ac_cv_c_stack_direction=1
6412 echo "$as_me: program exited with status $ac_status" >&5
6413 echo "$as_me: failed program was:" >&5
6414 sed 's/^/| /' conftest.$ac_ext >&5
6417 ac_cv_c_stack_direction=-1
6419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6424 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6425 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6427 cat >>confdefs.h <<_ACEOF
6428 #define STACK_DIRECTION $ac_cv_c_stack_direction
6434 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6435 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
6436 if test "${ac_cv_func_closedir_void+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 if test "$cross_compiling" = yes; then
6440 ac_cv_func_closedir_void=yes
6442 cat >conftest.$ac_ext <<_ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 $ac_includes_default
6449 #include <$ac_header_dirent>
6457 return closedir (opendir (".")) != 0;
6462 rm -f conftest$ac_exeext
6463 if { (ac_try="$ac_link"
6465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6466 *) ac_try_echo
=$ac_try;;
6468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6469 (eval "$ac_link") 2>&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6473 { (case "(($ac_try" in
6474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6475 *) ac_try_echo=$ac_try;;
6477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6478 (eval "$ac_try") 2>&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; }; then
6482 ac_cv_func_closedir_void=no
6484 echo "$as_me: program exited with status $ac_status" >&5
6485 echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6489 ac_cv_func_closedir_void=yes
6491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6496 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6497 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
6498 if test $ac_cv_func_closedir_void = yes; then
6500 cat >>confdefs.h <<\_ACEOF
6501 #define CLOSEDIR_VOID 1
6507 for ac_header in vfork.h
6509 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6516 ac_res=`eval echo '${'$as_ac_Header'}'`
6517 { echo "$as_me:$LINENO: result: $ac_res" >&5
6518 echo "${ECHO_T}$ac_res" >&6; }
6520 # Is the header compilable?
6521 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6523 cat >conftest.$ac_ext <<_ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 $ac_includes_default
6530 #include <$ac_header>
6532 rm -f conftest.$ac_objext
6533 if { (ac_try="$ac_compile"
6535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6536 *) ac_try_echo
=$ac_try;;
6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_compile") 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } && {
6546 test -z "$ac_c_werror_flag" ||
6547 test ! -s conftest.err
6548 } && test -s conftest.
$ac_objext; then
6549 ac_header_compiler
=yes
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.
$ac_ext >&5
6554 ac_header_compiler
=no
6557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6558 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6559 echo "${ECHO_T}$ac_header_compiler" >&6; }
6561 # Is the header present?
6562 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6564 cat >conftest.
$ac_ext <<_ACEOF
6567 cat confdefs.h
>>conftest.
$ac_ext
6568 cat >>conftest.
$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 #include <$ac_header>
6572 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6575 *) ac_try_echo=$ac_try;;
6577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6580 grep -v '^ *+' conftest.er1 >conftest.err
6582 cat conftest.err >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } >/dev/null && {
6585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6586 test ! -s conftest.err
6588 ac_header_preproc=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_header_preproc=no
6596 rm -f conftest.err conftest.$ac_ext
6597 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6598 echo "${ECHO_T}$ac_header_preproc" >&6; }
6600 # So? What about this header?
6601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6607 ac_header_preproc=yes
6610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6614 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6616 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6617 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6620 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6628 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 eval "$as_ac_Header=\$ac_header_preproc"
6632 ac_res=`eval echo '${'$as_ac_Header'}'`
6633 { echo "$as_me:$LINENO: result: $ac_res" >&5
6634 echo "${ECHO_T}$ac_res" >&6; }
6637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6638 cat >>confdefs.h <<_ACEOF
6639 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6648 for ac_func in fork vfork
6650 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6654 echo $ECHO_N "(cached) $ECHO_C" >&6
6656 cat >conftest.$ac_ext <<_ACEOF
6659 cat confdefs.h >>conftest.$ac_ext
6660 cat >>conftest.$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6664 #define $ac_func innocuous_$ac_func
6666 /* System header to define __stub macros and hopefully few prototypes,
6667 which can conflict with char $ac_func (); below.
6668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6669 <limits.h> exists even on freestanding compilers. */
6672 # include <limits.h>
6674 # include <assert.h>
6679 /* Override any GCC internal prototype to avoid an error.
6680 Use char because int might match the return type of a GCC
6681 builtin and then its argument prototype would still apply. */
6686 /* The GNU C library defines this for functions which it implements
6687 to always fail with ENOSYS. Some functions are actually named
6688 something starting with __ and the normal name is an alias. */
6689 #if defined __stub_$ac_func || defined __stub___$ac_func
6701 rm -f conftest.$ac_objext conftest$ac_exeext
6702 if { (ac_try="$ac_link"
6704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6705 *) ac_try_echo
=$ac_try;;
6707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6708 (eval "$ac_link") 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } && {
6715 test -z "$ac_c_werror_flag" ||
6716 test ! -s conftest.err
6717 } && test -s conftest
$ac_exeext &&
6718 $as_test_x conftest
$ac_exeext; then
6719 eval "$as_ac_var=yes"
6721 echo "$as_me: failed program was:" >&5
6722 sed 's/^/| /' conftest.
$ac_ext >&5
6724 eval "$as_ac_var=no"
6727 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6728 conftest
$ac_exeext conftest.
$ac_ext
6730 ac_res
=`eval echo '${'$as_ac_var'}'`
6731 { echo "$as_me:$LINENO: result: $ac_res" >&5
6732 echo "${ECHO_T}$ac_res" >&6; }
6733 if test `eval echo '${'$as_ac_var'}'` = yes; then
6734 cat >>confdefs.h
<<_ACEOF
6735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6741 if test "x$ac_cv_func_fork" = xyes
; then
6742 { echo "$as_me:$LINENO: checking for working fork" >&5
6743 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6744 if test "${ac_cv_func_fork_works+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 if test "$cross_compiling" = yes; then
6748 ac_cv_func_fork_works
=cross
6750 cat >conftest.
$ac_ext <<_ACEOF
6753 cat confdefs.h
>>conftest.
$ac_ext
6754 cat >>conftest.
$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6756 $ac_includes_default
6761 /* By Ruediger Kuhlmann. */
6768 rm -f conftest
$ac_exeext
6769 if { (ac_try
="$ac_link"
6771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6772 *) ac_try_echo=$ac_try;;
6774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6775 (eval "$ac_link") 2>&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6779 { (case "(($ac_try" in
6780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6781 *) ac_try_echo
=$ac_try;;
6783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6784 (eval "$ac_try") 2>&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; }; then
6788 ac_cv_func_fork_works
=yes
6790 echo "$as_me: program exited with status $ac_status" >&5
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.
$ac_ext >&5
6795 ac_cv_func_fork_works
=no
6797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6802 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6803 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6806 ac_cv_func_fork_works
=$ac_cv_func_fork
6808 if test "x$ac_cv_func_fork_works" = xcross
; then
6810 *-*-amigaos* |
*-*-msdosdjgpp*)
6811 # Override, as these systems have only a dummy fork() stub
6812 ac_cv_func_fork_works
=no
6815 ac_cv_func_fork_works
=yes
6818 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6819 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6821 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6822 if test "x$ac_cv_func_vfork" = xyes
; then
6823 { echo "$as_me:$LINENO: checking for working vfork" >&5
6824 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6825 if test "${ac_cv_func_vfork_works+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 if test "$cross_compiling" = yes; then
6829 ac_cv_func_vfork_works
=cross
6831 cat >conftest.
$ac_ext <<_ACEOF
6834 cat confdefs.h
>>conftest.
$ac_ext
6835 cat >>conftest.
$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 /* Thanks to Paul Eggert for this test. */
6838 $ac_includes_default
6839 #include <sys/wait.h>
6843 /* On some sparc systems, changes by the child to local and incoming
6844 argument registers are propagated back to the parent. The compiler
6845 is told about this with #include <vfork.h>, but some compilers
6846 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6847 static variable whose address is put into a register that is
6848 clobbered by the vfork. */
6851 sparc_address_test (int arg)
6853 sparc_address_test (arg) int arg;
6874 pid_t parent = getpid ();
6877 sparc_address_test (0);
6882 /* Here is another test for sparc vfork register problems. This
6883 test uses lots of local variables, at least as many local
6884 variables as main has allocated so far including compiler
6885 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6886 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6887 reuse the register of parent for one of the local variables,
6888 since it will think that parent can't possibly be used any more
6889 in this routine. Assigning to the local variable will thus
6890 munge parent in the parent process. */
6892 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6893 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6894 /* Convince the compiler that p..p7 are live; otherwise, it might
6895 use the same hardware register for all 8 local variables. */
6896 if (p != p1 || p != p2 || p != p3 || p != p4
6897 || p != p5 || p != p6 || p != p7)
6900 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6901 from child file descriptors. If the child closes a descriptor
6902 before it execs or exits, this munges the parent's descriptor
6903 as well. Test for this by closing stdout in the child. */
6904 _exit(close(fileno(stdout)) != 0);
6909 while (wait(&status) != child)
6912 /* Was there some problem with vforking? */
6915 /* Did the child fail? (This shouldn't happen.) */
6918 /* Did the vfork/compiler bug occur? */
6919 || parent != getpid()
6921 /* Did the file descriptor bug occur? */
6922 || fstat(fileno(stdout), &st) != 0
6927 rm -f conftest
$ac_exeext
6928 if { (ac_try
="$ac_link"
6930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6934 (eval "$ac_link") 2>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6938 { (case "(($ac_try" in
6939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6940 *) ac_try_echo
=$ac_try;;
6942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6943 (eval "$ac_try") 2>&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6947 ac_cv_func_vfork_works
=yes
6949 echo "$as_me: program exited with status $ac_status" >&5
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.
$ac_ext >&5
6954 ac_cv_func_vfork_works
=no
6956 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6961 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6962 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6965 if test "x$ac_cv_func_fork_works" = xcross
; then
6966 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6967 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6968 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6971 if test "x$ac_cv_func_vfork_works" = xyes
; then
6973 cat >>confdefs.h
<<\_ACEOF
6974 #define HAVE_WORKING_VFORK 1
6979 cat >>confdefs.h
<<\_ACEOF
6984 if test "x$ac_cv_func_fork_works" = xyes
; then
6986 cat >>confdefs.h
<<\_ACEOF
6987 #define HAVE_WORKING_FORK 1
6992 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6993 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6994 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 rm -f conftest.sym conftest.
file
6999 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
7000 if test "$cross_compiling" = yes; then
7001 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7003 cat >conftest.
$ac_ext <<_ACEOF
7006 cat confdefs.h
>>conftest.
$ac_ext
7007 cat >>conftest.
$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 $ac_includes_default
7014 /* Linux will dereference the symlink and fail.
7015 That is better in the sense that it means we will not
7016 have to compile and use the lstat wrapper. */
7017 return lstat ("conftest.sym/", &sbuf) == 0;
7022 rm -f conftest
$ac_exeext
7023 if { (ac_try
="$ac_link"
7025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7026 *) ac_try_echo=$ac_try;;
7028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7029 (eval "$ac_link") 2>&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7033 { (case "(($ac_try" in
7034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7035 *) ac_try_echo
=$ac_try;;
7037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7038 (eval "$ac_try") 2>&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); }; }; then
7042 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7044 echo "$as_me: program exited with status $ac_status" >&5
7045 echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.
$ac_ext >&5
7049 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7051 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7056 # If the `ln -s' command failed, then we probably don't even
7057 # have an lstat function.
7058 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7060 rm -f conftest.sym conftest.
file
7063 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7064 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7066 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7068 cat >>confdefs.h
<<_ACEOF
7069 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7073 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7074 case " $LIBOBJS " in
7075 *" lstat.$ac_objext "* ) ;;
7076 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7082 { echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7083 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
7084 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7085 echo $ECHO_N "(cached) $ECHO_C" >&6
7087 if test "$cross_compiling" = yes; then
7088 ac_cv_func_lstat_empty_string_bug
=yes
7090 cat >conftest.
$ac_ext <<_ACEOF
7093 cat confdefs.h
>>conftest.
$ac_ext
7094 cat >>conftest.
$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7096 $ac_includes_default
7101 return lstat ("", &sbuf) == 0;
7106 rm -f conftest
$ac_exeext
7107 if { (ac_try
="$ac_link"
7109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7110 *) ac_try_echo=$ac_try;;
7112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7113 (eval "$ac_link") 2>&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7117 { (case "(($ac_try" in
7118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7119 *) ac_try_echo
=$ac_try;;
7121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7122 (eval "$ac_try") 2>&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_func_lstat_empty_string_bug
=no
7128 echo "$as_me: program exited with status $ac_status" >&5
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.
$ac_ext >&5
7133 ac_cv_func_lstat_empty_string_bug
=yes
7135 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7140 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7141 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
7142 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7143 case " $LIBOBJS " in
7144 *" lstat.$ac_objext "* ) ;;
7145 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7150 cat >>confdefs.h
<<_ACEOF
7151 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7157 for ac_header
in stdlib.h
7159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7160 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7163 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 ac_res
=`eval echo '${'$as_ac_Header'}'`
7167 { echo "$as_me:$LINENO: result: $ac_res" >&5
7168 echo "${ECHO_T}$ac_res" >&6; }
7170 # Is the header compilable?
7171 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7179 $ac_includes_default
7180 #include <$ac_header>
7182 rm -f conftest.
$ac_objext
7183 if { (ac_try
="$ac_compile"
7185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7186 *) ac_try_echo=$ac_try;;
7188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7189 (eval "$ac_compile") 2>conftest.er1
7191 grep -v '^ *+' conftest.er1 >conftest.err
7193 cat conftest.err >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); } && {
7196 test -z "$ac_c_werror_flag" ||
7197 test ! -s conftest.err
7198 } && test -s conftest.$ac_objext; then
7199 ac_header_compiler=yes
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7204 ac_header_compiler=no
7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7208 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7209 echo "${ECHO_T}$ac_header_compiler" >&6; }
7211 # Is the header present?
7212 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7214 cat >conftest.$ac_ext <<_ACEOF
7217 cat confdefs.h >>conftest.$ac_ext
7218 cat >>conftest.$ac_ext <<_ACEOF
7219 /* end confdefs.h. */
7220 #include <$ac_header>
7222 if { (ac_try="$ac_cpp conftest.$ac_ext"
7224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7225 *) ac_try_echo
=$ac_try;;
7227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7230 grep -v '^ *+' conftest.er1
>conftest.err
7232 cat conftest.err
>&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); } >/dev
/null
&& {
7235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7236 test ! -s conftest.err
7238 ac_header_preproc
=yes
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.
$ac_ext >&5
7243 ac_header_preproc
=no
7246 rm -f conftest.err conftest.
$ac_ext
7247 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7248 echo "${ECHO_T}$ac_header_preproc" >&6; }
7250 # So? What about this header?
7251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7257 ac_header_preproc
=yes
7260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7277 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7278 echo $ECHO_N "(cached) $ECHO_C" >&6
7280 eval "$as_ac_Header=\$ac_header_preproc"
7282 ac_res
=`eval echo '${'$as_ac_Header'}'`
7283 { echo "$as_me:$LINENO: result: $ac_res" >&5
7284 echo "${ECHO_T}$ac_res" >&6; }
7287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7288 cat >>confdefs.h
<<_ACEOF
7289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7296 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7297 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
7298 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7299 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 if test "$cross_compiling" = yes; then
7302 ac_cv_func_malloc_0_nonnull
=no
7304 cat >conftest.
$ac_ext <<_ACEOF
7307 cat confdefs.h
>>conftest.
$ac_ext
7308 cat >>conftest.
$ac_ext <<_ACEOF
7309 /* end confdefs.h. */
7310 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7311 # include <stdlib.h>
7319 return ! malloc (0);
7324 rm -f conftest
$ac_exeext
7325 if { (ac_try
="$ac_link"
7327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7328 *) ac_try_echo=$ac_try;;
7330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7331 (eval "$ac_link") 2>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7335 { (case "(($ac_try" in
7336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7337 *) ac_try_echo
=$ac_try;;
7339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7340 (eval "$ac_try") 2>&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; }; then
7344 ac_cv_func_malloc_0_nonnull
=yes
7346 echo "$as_me: program exited with status $ac_status" >&5
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.
$ac_ext >&5
7351 ac_cv_func_malloc_0_nonnull
=no
7353 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7358 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7359 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
7360 if test $ac_cv_func_malloc_0_nonnull = yes; then
7362 cat >>confdefs.h
<<\_ACEOF
7363 #define HAVE_MALLOC 1
7367 cat >>confdefs.h
<<\_ACEOF
7368 #define HAVE_MALLOC 0
7371 case " $LIBOBJS " in
7372 *" malloc.$ac_objext "* ) ;;
7373 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7378 cat >>confdefs.h
<<\_ACEOF
7379 #define malloc rpl_malloc
7386 { echo "$as_me:$LINENO: checking for working memcmp" >&5
7387 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
7388 if test "${ac_cv_func_memcmp_working+set}" = set; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 if test "$cross_compiling" = yes; then
7392 ac_cv_func_memcmp_working
=no
7394 cat >conftest.
$ac_ext <<_ACEOF
7397 cat confdefs.h
>>conftest.
$ac_ext
7398 cat >>conftest.
$ac_ext <<_ACEOF
7399 /* end confdefs.h. */
7400 $ac_includes_default
7405 /* Some versions of memcmp are not 8-bit clean. */
7406 char c0 = '\100', c1 = '\200', c2 = '\201';
7407 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7410 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7411 or more and with at least one buffer not starting on a 4-byte boundary.
7412 William Lewis provided this test program. */
7417 for (i = 0; i < 4; i++)
7421 strcpy (a, "--------01111111");
7422 strcpy (b, "--------10000000");
7423 if (memcmp (a, b, 16) >= 0)
7433 rm -f conftest
$ac_exeext
7434 if { (ac_try
="$ac_link"
7436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_link") 2>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7444 { (case "(($ac_try" in
7445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7446 *) ac_try_echo
=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_try") 2>&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; }; then
7453 ac_cv_func_memcmp_working
=yes
7455 echo "$as_me: program exited with status $ac_status" >&5
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.
$ac_ext >&5
7460 ac_cv_func_memcmp_working
=no
7462 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7467 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7468 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
7469 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7470 *" memcmp.$ac_objext "* ) ;;
7471 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7478 for ac_header
in stdlib.h unistd.h
7480 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7481 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7484 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 ac_res
=`eval echo '${'$as_ac_Header'}'`
7488 { echo "$as_me:$LINENO: result: $ac_res" >&5
7489 echo "${ECHO_T}$ac_res" >&6; }
7491 # Is the header compilable?
7492 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7494 cat >conftest.
$ac_ext <<_ACEOF
7497 cat confdefs.h
>>conftest.
$ac_ext
7498 cat >>conftest.
$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7500 $ac_includes_default
7501 #include <$ac_header>
7503 rm -f conftest.
$ac_objext
7504 if { (ac_try
="$ac_compile"
7506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7507 *) ac_try_echo=$ac_try;;
7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7510 (eval "$ac_compile") 2>conftest.er1
7512 grep -v '^ *+' conftest.er1 >conftest.err
7514 cat conftest.err >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } && {
7517 test -z "$ac_c_werror_flag" ||
7518 test ! -s conftest.err
7519 } && test -s conftest.$ac_objext; then
7520 ac_header_compiler=yes
7522 echo "$as_me: failed program was:" >&5
7523 sed 's/^/| /' conftest.$ac_ext >&5
7525 ac_header_compiler=no
7528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7529 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7530 echo "${ECHO_T}$ac_header_compiler" >&6; }
7532 # Is the header present?
7533 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7535 cat >conftest.$ac_ext <<_ACEOF
7538 cat confdefs.h >>conftest.$ac_ext
7539 cat >>conftest.$ac_ext <<_ACEOF
7540 /* end confdefs.h. */
7541 #include <$ac_header>
7543 if { (ac_try="$ac_cpp conftest.$ac_ext"
7545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7546 *) ac_try_echo
=$ac_try;;
7548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7551 grep -v '^ *+' conftest.er1
>conftest.err
7553 cat conftest.err
>&5
7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 (exit $ac_status); } >/dev
/null
&& {
7556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7557 test ! -s conftest.err
7559 ac_header_preproc
=yes
7561 echo "$as_me: failed program was:" >&5
7562 sed 's/^/| /' conftest.
$ac_ext >&5
7564 ac_header_preproc
=no
7567 rm -f conftest.err conftest.
$ac_ext
7568 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7569 echo "${ECHO_T}$ac_header_preproc" >&6; }
7571 # So? What about this header?
7572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7578 ac_header_preproc
=yes
7581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7598 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7599 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 eval "$as_ac_Header=\$ac_header_preproc"
7603 ac_res
=`eval echo '${'$as_ac_Header'}'`
7604 { echo "$as_me:$LINENO: result: $ac_res" >&5
7605 echo "${ECHO_T}$ac_res" >&6; }
7608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7609 cat >>confdefs.h
<<_ACEOF
7610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 for ac_func
in getpagesize
7620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7623 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 cat >conftest.
$ac_ext <<_ACEOF
7629 cat confdefs.h
>>conftest.
$ac_ext
7630 cat >>conftest.
$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7634 #define $ac_func innocuous_$ac_func
7636 /* System header to define __stub macros and hopefully few prototypes,
7637 which can conflict with char $ac_func (); below.
7638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7639 <limits.h> exists even on freestanding compilers. */
7642 # include <limits.h>
7644 # include <assert.h>
7649 /* Override any GCC internal prototype to avoid an error.
7650 Use char because int might match the return type of a GCC
7651 builtin and then its argument prototype would still apply. */
7656 /* The GNU C library defines this for functions which it implements
7657 to always fail with ENOSYS. Some functions are actually named
7658 something starting with __ and the normal name is an alias. */
7659 #if defined __stub_$ac_func || defined __stub___$ac_func
7671 rm -f conftest.
$ac_objext conftest
$ac_exeext
7672 if { (ac_try
="$ac_link"
7674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7675 *) ac_try_echo=$ac_try;;
7677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7678 (eval "$ac_link") 2>conftest.er1
7680 grep -v '^ *+' conftest.er1 >conftest.err
7682 cat conftest.err >&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } && {
7685 test -z "$ac_c_werror_flag" ||
7686 test ! -s conftest.err
7687 } && test -s conftest$ac_exeext &&
7688 $as_test_x conftest$ac_exeext; then
7689 eval "$as_ac_var=yes"
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.$ac_ext >&5
7694 eval "$as_ac_var=no"
7697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7698 conftest$ac_exeext conftest.$ac_ext
7700 ac_res=`eval echo '${'$as_ac_var'}'`
7701 { echo "$as_me:$LINENO: result: $ac_res" >&5
7702 echo "${ECHO_T}$ac_res" >&6; }
7703 if test `eval echo '${'$as_ac_var'}'` = yes; then
7704 cat >>confdefs.h <<_ACEOF
7705 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7711 { echo "$as_me:$LINENO: checking for working mmap" >&5
7712 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7713 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7716 if test "$cross_compiling" = yes; then
7717 ac_cv_func_mmap_fixed_mapped=no
7719 cat >conftest.$ac_ext <<_ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 $ac_includes_default
7726 /* malloc might have been renamed as rpl_malloc. */
7729 /* Thanks to Mike Haertel and Jim Avera for this test.
7730 Here is a matrix of mmap possibilities:
7731 mmap private not fixed
7732 mmap private fixed at somewhere currently unmapped
7733 mmap private fixed at somewhere already mapped
7734 mmap shared not fixed
7735 mmap shared fixed at somewhere currently unmapped
7736 mmap shared fixed at somewhere already mapped
7737 For private mappings, we should verify that changes cannot be read()
7738 back from the file, nor mmap's back from the file at a different
7739 address. (There have been systems where private was not correctly
7740 implemented like the infamous i386 svr4.0, and systems where the
7741 VM page cache was not coherent with the file system buffer cache
7742 like early versions of FreeBSD and possibly contemporary NetBSD.)
7743 For shared mappings, we should conversely verify that changes get
7744 propagated back to all the places they're supposed to be.
7746 Grep wants private fixed already mapped.
7747 The main things grep needs to know about mmap are:
7748 * does it exist and is it safe to write into the mmap'd area
7749 * how to use it (BSD variants) */
7752 #include <sys/mman.h>
7754 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7758 /* This mess was copied from the GNU getpagesize.h. */
7759 #ifndef HAVE_GETPAGESIZE
7760 /* Assume that all systems that can run configure have sys/param.h. */
7761 # ifndef HAVE_SYS_PARAM_H
7762 # define HAVE_SYS_PARAM_H 1
7765 # ifdef _SC_PAGESIZE
7766 # define getpagesize() sysconf(_SC_PAGESIZE)
7767 # else /* no _SC_PAGESIZE */
7768 # ifdef HAVE_SYS_PARAM_H
7769 # include <sys/param.h>
7770 # ifdef EXEC_PAGESIZE
7771 # define getpagesize() EXEC_PAGESIZE
7772 # else /* no EXEC_PAGESIZE */
7774 # define getpagesize() NBPG * CLSIZE
7777 # endif /* no CLSIZE */
7778 # else /* no NBPG */
7780 # define getpagesize() NBPC
7781 # else /* no NBPC */
7783 # define getpagesize() PAGESIZE
7784 # endif /* PAGESIZE */
7785 # endif /* no NBPC */
7786 # endif /* no NBPG */
7787 # endif /* no EXEC_PAGESIZE */
7788 # else /* no HAVE_SYS_PARAM_H */
7789 # define getpagesize() 8192 /* punt totally */
7790 # endif /* no HAVE_SYS_PARAM_H */
7791 # endif /* no _SC_PAGESIZE */
7793 #endif /* no HAVE_GETPAGESIZE */
7798 char *data, *data2, *data3;
7802 pagesize = getpagesize ();
7804 /* First, make a file with some known garbage in it. */
7805 data = (char *) malloc (pagesize);
7808 for (i = 0; i < pagesize; ++i)
7809 *(data + i) = rand ();
7811 fd = creat ("conftest.mmap", 0600);
7814 if (write (fd, data, pagesize) != pagesize)
7818 /* Next, try to mmap the file at a fixed address which already has
7819 something else allocated at it. If we can, also make sure that
7820 we see the same garbage. */
7821 fd = open ("conftest.mmap", O_RDWR);
7824 data2 = (char *) malloc (2 * pagesize);
7827 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7828 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7829 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7831 for (i = 0; i < pagesize; ++i)
7832 if (*(data + i) != *(data2 + i))
7835 /* Finally, make sure that changes to the mapped area do not
7836 percolate back to the file as seen by read(). (This is a bug on
7837 some variants of i386 svr4.0.) */
7838 for (i = 0; i < pagesize; ++i)
7839 *(data2 + i) = *(data2 + i) + 1;
7840 data3 = (char *) malloc (pagesize);
7843 if (read (fd, data3, pagesize) != pagesize)
7845 for (i = 0; i < pagesize; ++i)
7846 if (*(data + i) != *(data3 + i))
7852 rm -f conftest$ac_exeext
7853 if { (ac_try="$ac_link"
7855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7856 *) ac_try_echo
=$ac_try;;
7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7859 (eval "$ac_link") 2>&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7863 { (case "(($ac_try" in
7864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7865 *) ac_try_echo=$ac_try;;
7867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7868 (eval "$ac_try") 2>&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; }; then
7872 ac_cv_func_mmap_fixed_mapped=yes
7874 echo "$as_me: program exited with status $ac_status" >&5
7875 echo "$as_me: failed program was:" >&5
7876 sed 's/^/| /' conftest.$ac_ext >&5
7879 ac_cv_func_mmap_fixed_mapped=no
7881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7886 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7887 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7888 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7890 cat >>confdefs.h <<\_ACEOF
7897 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
7898 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
7899 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 if test "$cross_compiling" = yes; then
7903 ac_cv_func_stat_empty_string_bug=yes
7905 cat >conftest.$ac_ext <<_ACEOF
7908 cat confdefs.h >>conftest.$ac_ext
7909 cat >>conftest.$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7911 $ac_includes_default
7916 return stat ("", &sbuf) == 0;
7921 rm -f conftest$ac_exeext
7922 if { (ac_try="$ac_link"
7924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7925 *) ac_try_echo
=$ac_try;;
7927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7928 (eval "$ac_link") 2>&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7932 { (case "(($ac_try" in
7933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7934 *) ac_try_echo=$ac_try;;
7936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7937 (eval "$ac_try") 2>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; }; then
7941 ac_cv_func_stat_empty_string_bug=no
7943 echo "$as_me: program exited with status $ac_status" >&5
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7948 ac_cv_func_stat_empty_string_bug=yes
7950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7955 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
7956 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
7957 if test $ac_cv_func_stat_empty_string_bug = yes; then
7958 case " $LIBOBJS " in
7959 *" stat.$ac_objext "* ) ;;
7960 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7965 cat >>confdefs.h <<_ACEOF
7966 #define HAVE_STAT_EMPTY_STRING_BUG 1
7971 { echo "$as_me:$LINENO: checking for working strtod" >&5
7972 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
7973 if test "${ac_cv_func_strtod+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6
7976 if test "$cross_compiling" = yes; then
7977 ac_cv_func_strtod=no
7979 cat >conftest.$ac_ext <<_ACEOF
7982 cat confdefs.h >>conftest.$ac_ext
7983 cat >>conftest.$ac_ext <<_ACEOF
7984 /* end confdefs.h. */
7986 $ac_includes_default
7994 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
7995 char *string = " +69";
7998 value = strtod (string, &term);
7999 if (value != 69 || term != (string + 4))
8004 /* Under Solaris 2.4, strtod returns the wrong value for the
8005 terminating character under some conditions. */
8006 char *string = "NaN";
8008 strtod (string, &term);
8009 if (term != string && *(term - 1) == 0)
8016 rm -f conftest$ac_exeext
8017 if { (ac_try="$ac_link"
8019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8020 *) ac_try_echo
=$ac_try;;
8022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8023 (eval "$ac_link") 2>&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8027 { (case "(($ac_try" in
8028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;;
8031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 (eval "$ac_try") 2>&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); }; }; then
8036 ac_cv_func_strtod=yes
8038 echo "$as_me: program exited with status $ac_status" >&5
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8043 ac_cv_func_strtod=no
8045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8050 { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8051 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
8052 if test $ac_cv_func_strtod = no; then
8053 case " $LIBOBJS " in
8054 *" strtod.$ac_objext "* ) ;;
8055 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8059 { echo "$as_me:$LINENO: checking for pow" >&5
8060 echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
8061 if test "${ac_cv_func_pow+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 cat >conftest.$ac_ext <<_ACEOF
8067 cat confdefs.h >>conftest.$ac_ext
8068 cat >>conftest.$ac_ext <<_ACEOF
8069 /* end confdefs.h. */
8070 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8072 #define pow innocuous_pow
8074 /* System header to define __stub macros and hopefully few prototypes,
8075 which can conflict with char pow (); below.
8076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8077 <limits.h> exists even on freestanding compilers. */
8080 # include <limits.h>
8082 # include <assert.h>
8087 /* Override any GCC internal prototype to avoid an error.
8088 Use char because int might match the return type of a GCC
8089 builtin and then its argument prototype would still apply. */
8094 /* The GNU C library defines this for functions which it implements
8095 to always fail with ENOSYS. Some functions are actually named
8096 something starting with __ and the normal name is an alias. */
8097 #if defined __stub_pow || defined __stub___pow
8109 rm -f conftest.$ac_objext conftest$ac_exeext
8110 if { (ac_try="$ac_link"
8112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8113 *) ac_try_echo
=$ac_try;;
8115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8116 (eval "$ac_link") 2>conftest.er1
8118 grep -v '^ *+' conftest.er1
>conftest.err
8120 cat conftest.err
>&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } && {
8123 test -z "$ac_c_werror_flag" ||
8124 test ! -s conftest.err
8125 } && test -s conftest
$ac_exeext &&
8126 $as_test_x conftest
$ac_exeext; then
8129 echo "$as_me: failed program was:" >&5
8130 sed 's/^/| /' conftest.
$ac_ext >&5
8135 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8136 conftest
$ac_exeext conftest.
$ac_ext
8138 { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8139 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
8141 if test $ac_cv_func_pow = no
; then
8142 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
8143 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
8144 if test "${ac_cv_lib_m_pow+set}" = set; then
8145 echo $ECHO_N "(cached) $ECHO_C" >&6
8147 ac_check_lib_save_LIBS
=$LIBS
8149 cat >conftest.
$ac_ext <<_ACEOF
8152 cat confdefs.h
>>conftest.
$ac_ext
8153 cat >>conftest.
$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8156 /* Override any GCC internal prototype to avoid an error.
8157 Use char because int might match the return type of a GCC
8158 builtin and then its argument prototype would still apply. */
8171 rm -f conftest.
$ac_objext conftest
$ac_exeext
8172 if { (ac_try
="$ac_link"
8174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8175 *) ac_try_echo=$ac_try;;
8177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8178 (eval "$ac_link") 2>conftest.er1
8180 grep -v '^ *+' conftest.er1 >conftest.err
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } && {
8185 test -z "$ac_c_werror_flag" ||
8186 test ! -s conftest.err
8187 } && test -s conftest$ac_exeext &&
8188 $as_test_x conftest$ac_exeext; then
8191 echo "$as_me: failed program was:" >&5
8192 sed 's/^/| /' conftest.$ac_ext >&5
8197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8198 conftest$ac_exeext conftest.$ac_ext
8199 LIBS=$ac_check_lib_save_LIBS
8201 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8202 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
8203 if test $ac_cv_lib_m_pow = yes; then
8206 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8207 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8215 for ac_func in vprintf
8217 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 cat >conftest.$ac_ext <<_ACEOF
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8231 #define $ac_func innocuous_$ac_func
8233 /* System header to define __stub macros and hopefully few prototypes,
8234 which can conflict with char $ac_func (); below.
8235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8236 <limits.h> exists even on freestanding compilers. */
8239 # include <limits.h>
8241 # include <assert.h>
8246 /* Override any GCC internal prototype to avoid an error.
8247 Use char because int might match the return type of a GCC
8248 builtin and then its argument prototype would still apply. */
8253 /* The GNU C library defines this for functions which it implements
8254 to always fail with ENOSYS. Some functions are actually named
8255 something starting with __ and the normal name is an alias. */
8256 #if defined __stub_$ac_func || defined __stub___$ac_func
8268 rm -f conftest.$ac_objext conftest$ac_exeext
8269 if { (ac_try="$ac_link"
8271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8272 *) ac_try_echo
=$ac_try;;
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_link") 2>conftest.er1
8277 grep -v '^ *+' conftest.er1
>conftest.err
8279 cat conftest.err
>&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest
$ac_exeext &&
8285 $as_test_x conftest
$ac_exeext; then
8286 eval "$as_ac_var=yes"
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.
$ac_ext >&5
8291 eval "$as_ac_var=no"
8294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8295 conftest
$ac_exeext conftest.
$ac_ext
8297 ac_res
=`eval echo '${'$as_ac_var'}'`
8298 { echo "$as_me:$LINENO: result: $ac_res" >&5
8299 echo "${ECHO_T}$ac_res" >&6; }
8300 if test `eval echo '${'$as_ac_var'}'` = yes; then
8301 cat >>confdefs.h
<<_ACEOF
8302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8305 { echo "$as_me:$LINENO: checking for _doprnt" >&5
8306 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
8307 if test "${ac_cv_func__doprnt+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.
$ac_ext <<_ACEOF
8313 cat confdefs.h
>>conftest.
$ac_ext
8314 cat >>conftest.
$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8316 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8318 #define _doprnt innocuous__doprnt
8320 /* System header to define __stub macros and hopefully few prototypes,
8321 which can conflict with char _doprnt (); below.
8322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8323 <limits.h> exists even on freestanding compilers. */
8326 # include <limits.h>
8328 # include <assert.h>
8333 /* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8340 /* The GNU C library defines this for functions which it implements
8341 to always fail with ENOSYS. Some functions are actually named
8342 something starting with __ and the normal name is an alias. */
8343 #if defined __stub__doprnt || defined __stub____doprnt
8355 rm -f conftest.
$ac_objext conftest
$ac_exeext
8356 if { (ac_try
="$ac_link"
8358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8359 *) ac_try_echo=$ac_try;;
8361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8362 (eval "$ac_link") 2>conftest.er1
8364 grep -v '^ *+' conftest.er1 >conftest.err
8366 cat conftest.err >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); } && {
8369 test -z "$ac_c_werror_flag" ||
8370 test ! -s conftest.err
8371 } && test -s conftest$ac_exeext &&
8372 $as_test_x conftest$ac_exeext; then
8373 ac_cv_func__doprnt=yes
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.$ac_ext >&5
8378 ac_cv_func__doprnt=no
8381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8382 conftest$ac_exeext conftest.$ac_ext
8384 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8385 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
8386 if test $ac_cv_func__doprnt = yes; then
8388 cat >>confdefs.h <<\_ACEOF
8389 #define HAVE_DOPRNT 1
8399 ################################################################################
8402 ################################################################################
8403 { echo "$as_me:$LINENO: checking file owner" >&5
8404 echo $ECHO_N "checking file owner... $ECHO_C" >&6; }
8408 # Check whether --with-user was given.
8409 if test "${with_user+set}" = set; then
8410 withval=$with_user; OWNER="$withval"
8413 { echo "$as_me:$LINENO: result: $OWNER" >&5
8414 echo "${ECHO_T}$OWNER" >&6; }
8416 if test x$OWNER != x; then
8420 ################################################################################
8421 { echo "$as_me:$LINENO: checking group owner" >&5
8422 echo $ECHO_N "checking group owner... $ECHO_C" >&6; }
8425 # Check whether --with-group was given.
8426 if test "${with_group+set}" = set; then
8427 withval=$with_group; GROUP="$withval"
8430 { echo "$as_me:$LINENO: result: $GROUP" >&5
8431 echo "${ECHO_T}$GROUP" >&6; }
8433 if test x$GROUP != x; then
8437 ################################################################################
8438 { echo "$as_me:$LINENO: checking device node mode" >&5
8439 echo $ECHO_N "checking device node mode... $ECHO_C" >&6; }
8442 # Check whether --with-device-mode was given.
8443 if test "${with_device_mode+set}" = set; then
8444 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
8446 DM_DEVICE_MODE="0600"
8449 { echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
8450 echo "${ECHO_T}$DM_DEVICE_MODE" >&6; }
8452 ################################################################################
8453 { echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
8454 echo $ECHO_N "checking whether to enable lvm1 fallback... $ECHO_C" >&6; }
8455 # Check whether --enable-lvm1_fallback was given.
8456 if test "${enable_lvm1_fallback+set}" = set; then
8457 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
8462 { echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
8463 echo "${ECHO_T}$LVM1_FALLBACK" >&6; }
8465 if test x$LVM1_FALLBACK = xyes; then
8467 cat >>confdefs.h <<\_ACEOF
8468 #define LVM1_FALLBACK 1
8473 ################################################################################
8474 { echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
8475 echo $ECHO_N "checking whether to include support for lvm1 metadata... $ECHO_C" >&6; }
8477 # Check whether --with-lvm1 was given.
8478 if test "${with_lvm1+set}" = set; then
8479 withval=$with_lvm1; LVM1="$withval"
8484 { echo "$as_me:$LINENO: result: $LVM1" >&5
8485 echo "${ECHO_T}$LVM1" >&6; }
8487 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
8488 then { { echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
8490 echo "$as_me: error: --with-lvm1 parameter invalid
8492 { (exit 1); exit 1; }; }
8495 if test x$LVM1 = xinternal; then
8497 cat >>confdefs.h <<\_ACEOF
8498 #define LVM1_INTERNAL 1
8503 ################################################################################
8504 { echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
8505 echo $ECHO_N "checking whether to include support for GFS pool metadata... $ECHO_C" >&6; }
8507 # Check whether --with-pool was given.
8508 if test "${with_pool+set}" = set; then
8509 withval=$with_pool; POOL="$withval"
8514 { echo "$as_me:$LINENO: result: $POOL" >&5
8515 echo "${ECHO_T}$POOL" >&6; }
8517 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
8518 then { { echo "$as_me:$LINENO: error: --with-pool parameter invalid
8520 echo "$as_me: error: --with-pool parameter invalid
8522 { (exit 1); exit 1; }; }
8525 if test x$POOL = xinternal; then
8527 cat >>confdefs.h <<\_ACEOF
8528 #define POOL_INTERNAL 1
8533 ################################################################################
8534 { echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
8535 echo $ECHO_N "checking whether to include support for cluster locking... $ECHO_C" >&6; }
8537 # Check whether --with-cluster was given.
8538 if test "${with_cluster+set}" = set; then
8539 withval=$with_cluster; CLUSTER="$withval"
8542 { echo "$as_me:$LINENO: result: $CLUSTER" >&5
8543 echo "${ECHO_T}$CLUSTER" >&6; }
8545 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
8546 then { { echo "$as_me:$LINENO: error: --with-cluster parameter invalid
8548 echo "$as_me: error: --with-cluster parameter invalid
8550 { (exit 1); exit 1; }; }
8553 if test x$CLUSTER = xinternal; then
8555 cat >>confdefs.h <<\_ACEOF
8556 #define CLUSTER_LOCKING_INTERNAL 1
8561 ################################################################################
8562 { echo "$as_me:$LINENO: checking whether to include snapshots" >&5
8563 echo $ECHO_N "checking whether to include snapshots... $ECHO_C" >&6; }
8565 # Check whether --with-snapshots was given.
8566 if test "${with_snapshots+set}" = set; then
8567 withval=$with_snapshots; SNAPSHOTS="$withval"
8569 SNAPSHOTS="internal"
8572 { echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
8573 echo "${ECHO_T}$SNAPSHOTS" >&6; }
8575 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
8576 then { { echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
8578 echo "$as_me: error: --with-snapshots parameter invalid
8580 { (exit 1); exit 1; }; }
8583 if test x$SNAPSHOTS = xinternal; then
8585 cat >>confdefs.h <<\_ACEOF
8586 #define SNAPSHOT_INTERNAL 1
8591 ################################################################################
8592 { echo "$as_me:$LINENO: checking whether to include mirrors" >&5
8593 echo $ECHO_N "checking whether to include mirrors... $ECHO_C" >&6; }
8595 # Check whether --with-mirrors was given.
8596 if test "${with_mirrors+set}" = set; then
8597 withval=$with_mirrors; MIRRORS="$withval"
8602 { echo "$as_me:$LINENO: result: $MIRRORS" >&5
8603 echo "${ECHO_T}$MIRRORS" >&6; }
8605 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
8606 then { { echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
8608 echo "$as_me: error: --with-mirrors parameter invalid
8610 { (exit 1); exit 1; }; }
8613 if test x$MIRRORS = xinternal; then
8615 cat >>confdefs.h <<\_ACEOF
8616 #define MIRRORED_INTERNAL 1
8621 ################################################################################
8622 { echo "$as_me:$LINENO: checking whether to enable readline" >&5
8623 echo $ECHO_N "checking whether to enable readline... $ECHO_C" >&6; }
8624 # Check whether --enable-readline was given.
8625 if test "${enable_readline+set}" = set; then
8626 enableval=$enable_readline; READLINE=$enableval
8631 { echo "$as_me:$LINENO: result: $READLINE" >&5
8632 echo "${ECHO_T}$READLINE" >&6; }
8634 ################################################################################
8635 { echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
8636 echo $ECHO_N "checking whether to enable realtime support... $ECHO_C" >&6; }
8637 # Check whether --enable-realtime was given.
8638 if test "${enable_realtime+set}" = set; then
8639 enableval=$enable_realtime; REALTIME=$enableval
8642 { echo "$as_me:$LINENO: result: $REALTIME" >&5
8643 echo "${ECHO_T}$REALTIME" >&6; }
8645 ################################################################################
8646 { echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
8647 echo $ECHO_N "checking whether to build cluster LVM daemon... $ECHO_C" >&6; }
8649 # Check whether --with-clvmd was given.
8650 if test "${with_clvmd+set}" = set; then
8651 withval=$with_clvmd; CLVMD="$withval"
8656 if test x$CLVMD = xyes; then
8659 { echo "$as_me:$LINENO: result: $CLVMD" >&5
8660 echo "${ECHO_T}$CLVMD" >&6; }
8662 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
8666 ################################################################################
8667 { echo "$as_me:$LINENO: checking whether to enable debugging" >&5
8668 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
8669 # Check whether --enable-debug was given.
8670 if test "${enable_debug+set}" = set; then
8671 enableval=$enable_debug; DEBUG=$enableval
8676 { echo "$as_me:$LINENO: result: $DEBUG" >&5
8677 echo "${ECHO_T}$DEBUG" >&6; }
8679 if test x$DEBUG = xyes; then
8685 ################################################################################
8686 { echo "$as_me:$LINENO: checking for C optimisation flag" >&5
8687 echo $ECHO_N "checking for C optimisation flag... $ECHO_C" >&6; }
8689 # Check whether --with-optimisation was given.
8690 if test "${with_optimisation+set}" = set; then
8691 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
8694 { echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
8695 echo "${ECHO_T}$COPTIMISE_FLAG" >&6; }
8697 ################################################################################
8698 { echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
8699 echo $ECHO_N "checking whether to gather gcov profiling data... $ECHO_C" >&6; }
8700 # Check whether --enable-profiling was given.
8701 if test "${enable_profiling+set}" = set; then
8702 enableval=$enable_profiling; PROFILING=$enableval
8707 { echo "$as_me:$LINENO: result: $PROFILING" >&5
8708 echo "${ECHO_T}$PROFILING" >&6; }
8710 if test "x$PROFILING" = xyes; then
8711 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
8712 # Extract the first word of "lcov", so it can be a program name with args.
8713 set dummy lcov; ac_word=$2
8714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8716 if test "${ac_cv_path_LCOV+set}" = set; then
8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8721 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
8724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8728 test -z "$as_dir" && as_dir=.
8729 for ac_exec_ext in '' $ac_executable_extensions; do
8730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8731 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
8732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8739 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
8743 LCOV=$ac_cv_path_LCOV
8744 if test -n "$LCOV"; then
8745 { echo "$as_me:$LINENO: result: $LCOV" >&5
8746 echo "${ECHO_T}$LCOV" >&6; }
8748 { echo "$as_me:$LINENO: result: no" >&5
8749 echo "${ECHO_T}no" >&6; }
8753 # Extract the first word of "genhtml", so it can be a program name with args.
8754 set dummy genhtml; ac_word=$2
8755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8757 if test "${ac_cv_path_GENHTML+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
8765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8769 test -z "$as_dir" && as_dir=.
8770 for ac_exec_ext in '' $ac_executable_extensions; do
8771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8772 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
8773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8780 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
8784 GENHTML=$ac_cv_path_GENHTML
8785 if test -n "$GENHTML"; then
8786 { echo "$as_me:$LINENO: result: $GENHTML" >&5
8787 echo "${ECHO_T}$GENHTML" >&6; }
8789 { echo "$as_me:$LINENO: result: no" >&5
8790 echo "${ECHO_T}no" >&6; }
8794 if test "$LCOV" = no -o "$GENHTML" = no ; then
8795 { { echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
8796 echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
8797 { (exit 1); exit 1; }; }
8801 ################################################################################
8802 { echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
8803 echo $ECHO_N "checking whether to use device-mapper... $ECHO_C" >&6; }
8804 # Check whether --enable-devmapper was given.
8805 if test "${enable_devmapper+set}" = set; then
8806 enableval=$enable_devmapper; DEVMAPPER=$enableval
8809 { echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
8810 echo "${ECHO_T}$DEVMAPPER" >&6; }
8812 if test x$DEVMAPPER = xyes; then
8814 cat >>confdefs.h <<\_ACEOF
8815 #define DEVMAPPER_SUPPORT 1
8820 ################################################################################
8821 # Check whether --enable-compat was given.
8822 if test "${enable_compat+set}" = set; then
8823 enableval=$enable_compat; DM_COMPAT=$enableval
8829 ################################################################################
8830 # Check whether --enable-ioctl was given.
8831 if test "${enable_ioctl+set}" = set; then
8832 enableval=$enable_ioctl; DM_IOCTLS=$enableval
8836 ################################################################################
8837 { echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
8838 echo $ECHO_N "checking whether to enable O_DIRECT... $ECHO_C" >&6; }
8839 # Check whether --enable-o_direct was given.
8840 if test "${enable_o_direct+set}" = set; then
8841 enableval=$enable_o_direct; ODIRECT=$enableval
8844 { echo "$as_me:$LINENO: result: $ODIRECT" >&5
8845 echo "${ECHO_T}$ODIRECT" >&6; }
8847 if test x$ODIRECT = xyes; then
8849 cat >>confdefs.h <<\_ACEOF
8850 #define O_DIRECT_SUPPORT 1
8855 ################################################################################
8856 { echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
8857 echo $ECHO_N "checking whether to compile liblvm2cmd.so... $ECHO_C" >&6; }
8858 # Check whether --enable-cmdlib was given.
8859 if test "${enable_cmdlib+set}" = set; then
8860 enableval=$enable_cmdlib; CMDLIB=$enableval
8865 { echo "$as_me:$LINENO: result: $CMDLIB" >&5
8866 echo "${ECHO_T}$CMDLIB" >&6; }
8868 test x$CMDLIB = xyes \
8869 && LVM2CMD_LIB=-llvm2cmd \
8872 ################################################################################
8873 # Check whether --enable-pkgconfig was given.
8874 if test "${enable_pkgconfig+set}" = set; then
8875 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
8881 ################################################################################
8882 { echo "$as_me:$LINENO: checking whether to install fsadm" >&5
8883 echo $ECHO_N "checking whether to install fsadm... $ECHO_C" >&6; }
8884 # Check whether --enable-fsadm was given.
8885 if test "${enable_fsadm+set}" = set; then
8886 enableval=$enable_fsadm; FSADM=$enableval
8889 { echo "$as_me:$LINENO: result: $FSADM" >&5
8890 echo "${ECHO_T}$FSADM" >&6; }
8892 ################################################################################
8893 { echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
8894 echo $ECHO_N "checking whether to use dmeventd... $ECHO_C" >&6; }
8895 # Check whether --enable-dmeventd was given.
8896 if test "${enable_dmeventd+set}" = set; then
8897 enableval=$enable_dmeventd; DMEVENTD=$enableval
8900 { echo "$as_me:$LINENO: result: $DMEVENTD" >&5
8901 echo "${ECHO_T}$DMEVENTD" >&6; }
8903 BUILD_DMEVENTD=$DMEVENTD
8905 if test x$DMEVENTD = xyes; then
8906 if test x$MIRRORS != xinternal; then
8907 { { echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
8909 echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
8911 { (exit 1); exit 1; }; }
8913 if test x$CMDLIB = xno; then
8914 { { echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8916 echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8918 { (exit 1); exit 1; }; }
8922 if test x$DMEVENTD = xyes; then
8924 cat >>confdefs.h <<\_ACEOF
8930 ################################################################################
8932 { echo "$as_me:$LINENO: checking for getline in -lc" >&5
8933 echo $ECHO_N "checking for getline in -lc... $ECHO_C" >&6; }
8934 if test "${ac_cv_lib_c_getline+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 ac_check_lib_save_LIBS=$LIBS
8939 cat >conftest.$ac_ext <<_ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8961 rm -f conftest.$ac_objext conftest$ac_exeext
8962 if { (ac_try="$ac_link"
8964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8965 *) ac_try_echo
=$ac_try;;
8967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8968 (eval "$ac_link") 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } && {
8975 test -z "$ac_c_werror_flag" ||
8976 test ! -s conftest.err
8977 } && test -s conftest
$ac_exeext &&
8978 $as_test_x conftest
$ac_exeext; then
8979 ac_cv_lib_c_getline
=yes
8981 echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.
$ac_ext >&5
8984 ac_cv_lib_c_getline
=no
8987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8988 conftest
$ac_exeext conftest.
$ac_ext
8989 LIBS
=$ac_check_lib_save_LIBS
8991 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
8992 echo "${ECHO_T}$ac_cv_lib_c_getline" >&6; }
8993 if test $ac_cv_lib_c_getline = yes; then
8995 cat >>confdefs.h
<<\_ACEOF
8996 #define HAVE_GETLINE 1
9002 ################################################################################
9004 { echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
9005 echo $ECHO_N "checking for canonicalize_file_name in -lc... $ECHO_C" >&6; }
9006 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9009 ac_check_lib_save_LIBS
=$LIBS
9011 cat >conftest.
$ac_ext <<_ACEOF
9014 cat confdefs.h
>>conftest.
$ac_ext
9015 cat >>conftest.
$ac_ext <<_ACEOF
9016 /* end confdefs.h. */
9018 /* Override any GCC internal prototype to avoid an error.
9019 Use char because int might match the return type of a GCC
9020 builtin and then its argument prototype would still apply. */
9024 char canonicalize_file_name ();
9028 return canonicalize_file_name ();
9033 rm -f conftest.
$ac_objext conftest
$ac_exeext
9034 if { (ac_try
="$ac_link"
9036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9037 *) ac_try_echo=$ac_try;;
9039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9040 (eval "$ac_link") 2>conftest.er1
9042 grep -v '^ *+' conftest.er1 >conftest.err
9044 cat conftest.err >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } && {
9047 test -z "$ac_c_werror_flag" ||
9048 test ! -s conftest.err
9049 } && test -s conftest$ac_exeext &&
9050 $as_test_x conftest$ac_exeext; then
9051 ac_cv_lib_c_canonicalize_file_name=yes
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.$ac_ext >&5
9056 ac_cv_lib_c_canonicalize_file_name=no
9059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9060 conftest$ac_exeext conftest.$ac_ext
9061 LIBS=$ac_check_lib_save_LIBS
9063 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
9064 echo "${ECHO_T}$ac_cv_lib_c_canonicalize_file_name" >&6; }
9065 if test $ac_cv_lib_c_canonicalize_file_name = yes; then
9067 cat >>confdefs.h <<\_ACEOF
9068 #define HAVE_CANONICALIZE_FILE_NAME 1
9074 ################################################################################
9075 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
9076 then exec_prefix="";
9079 ################################################################################
9080 if test x$READLINE != xno; then
9081 { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
9082 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
9083 if test "${ac_cv_search_tgetent+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 ac_func_search_save_LIBS=$LIBS
9087 cat >conftest.$ac_ext <<_ACEOF
9090 cat confdefs.h >>conftest.$ac_ext
9091 cat >>conftest.$ac_ext <<_ACEOF
9092 /* end confdefs.h. */
9094 /* Override any GCC internal prototype to avoid an error.
9095 Use char because int might match the return type of a GCC
9096 builtin and then its argument prototype would still apply. */
9109 for ac_lib in '' ncurses curses termcap termlib; do
9110 if test -z "$ac_lib"; then
9111 ac_res="none required"
9114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9116 rm -f conftest.$ac_objext conftest$ac_exeext
9117 if { (ac_try="$ac_link"
9119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9120 *) ac_try_echo
=$ac_try;;
9122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9123 (eval "$ac_link") 2>conftest.er1
9125 grep -v '^ *+' conftest.er1
>conftest.err
9127 cat conftest.err
>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } && {
9130 test -z "$ac_c_werror_flag" ||
9131 test ! -s conftest.err
9132 } && test -s conftest
$ac_exeext &&
9133 $as_test_x conftest
$ac_exeext; then
9134 ac_cv_search_tgetent
=$ac_res
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.
$ac_ext >&5
9142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9144 if test "${ac_cv_search_tgetent+set}" = set; then
9148 if test "${ac_cv_search_tgetent+set}" = set; then
9151 ac_cv_search_tgetent
=no
9154 LIBS
=$ac_func_search_save_LIBS
9156 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
9157 echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
9158 ac_res
=$ac_cv_search_tgetent
9159 if test "$ac_res" != no
; then
9160 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9166 test x
$READLINE:$tg_found = xyes
:no
&&
9167 { { echo "$as_me:$LINENO: error: termcap could not be found which is required for the
9168 --enable-readline option (which is enabled by default). Either disable readline
9169 support with --disable-readline or download and install termcap from:
9170 ftp.gnu.org/gnu/termcap
9171 Note: if you are using precompiled packages you will also need the development
9172 package as well (which may be called termcap-devel or something similar).
9173 Note: (n)curses also seems to work as a substitute for termcap. This was
9174 not found either - but you could try installing that as well.
9176 echo "$as_me: error: termcap could not be found which is required for the
9177 --enable-readline option (which is enabled by default). Either disable readline
9178 support with --disable-readline or download and install termcap from:
9179 ftp.gnu.org/gnu/termcap
9180 Note: if you are using precompiled packages you will also need the development
9181 package as well (which may be called termcap-devel or something similar).
9182 Note: (n)curses also seems to work as a substitute for termcap. This was
9183 not found either - but you could try installing that as well.
9185 { (exit 1); exit 1; }; }
9188 ################################################################################
9189 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9190 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9191 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 ac_check_lib_save_LIBS
=$LIBS
9196 cat >conftest.
$ac_ext <<_ACEOF
9199 cat confdefs.h
>>conftest.
$ac_ext
9200 cat >>conftest.
$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9218 rm -f conftest.
$ac_objext conftest
$ac_exeext
9219 if { (ac_try
="$ac_link"
9221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9222 *) ac_try_echo=$ac_try;;
9224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9225 (eval "$ac_link") 2>conftest.er1
9227 grep -v '^ *+' conftest.er1 >conftest.err
9229 cat conftest.err >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } && {
9232 test -z "$ac_c_werror_flag" ||
9233 test ! -s conftest.err
9234 } && test -s conftest$ac_exeext &&
9235 $as_test_x conftest$ac_exeext; then
9236 ac_cv_lib_dl_dlopen=yes
9238 echo "$as_me: failed program was:" >&5
9239 sed 's/^/| /' conftest.$ac_ext >&5
9241 ac_cv_lib_dl_dlopen=no
9244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_lib_save_LIBS
9248 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9249 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9250 if test $ac_cv_lib_dl_dlopen = yes; then
9257 if [ "x$HAVE_LIBDL" = xyes ]; then
9259 cat >>confdefs.h <<\_ACEOF
9260 #define HAVE_LIBDL 1
9268 ################################################################################
9269 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
9270 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
9271 \) -a "x$STATIC_LINK" = xyes ];
9272 then { { echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
9274 echo "$as_me: error: Features cannot be 'shared' when building statically
9276 { (exit 1); exit 1; }; }
9279 ################################################################################
9280 { echo "$as_me:$LINENO: checking whether to use static linking" >&5
9281 echo $ECHO_N "checking whether to use static linking... $ECHO_C" >&6; }
9282 # Check whether --enable-static_link was given.
9283 if test "${enable_static_link+set}" = set; then
9284 enableval=$enable_static_link; STATIC_LINK=$enableval
9289 { echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
9290 echo "${ECHO_T}$STATIC_LINK" >&6; }
9292 ################################################################################
9293 { echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
9294 echo $ECHO_N "checking whether to enable selinux support... $ECHO_C" >&6; }
9295 # Check whether --enable-selinux was given.
9296 if test "${enable_selinux+set}" = set; then
9297 enableval=$enable_selinux; SELINUX=$enableval
9300 { echo "$as_me:$LINENO: result: $SELINUX" >&5
9301 echo "${ECHO_T}$SELINUX" >&6; }
9303 ################################################################################
9304 if test x$SELINUX = xyes; then
9305 { echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
9306 echo $ECHO_N "checking for sepol_check_context in -lsepol... $ECHO_C" >&6; }
9307 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-lsepol $LIBS"
9312 cat >conftest.$ac_ext <<_ACEOF
9315 cat confdefs.h >>conftest.$ac_ext
9316 cat >>conftest.$ac_ext <<_ACEOF
9317 /* end confdefs.h. */
9319 /* Override any GCC internal prototype to avoid an error.
9320 Use char because int might match the return type of a GCC
9321 builtin and then its argument prototype would still apply. */
9325 char sepol_check_context ();
9329 return sepol_check_context ();
9334 rm -f conftest.$ac_objext conftest$ac_exeext
9335 if { (ac_try="$ac_link"
9337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9338 *) ac_try_echo
=$ac_try;;
9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341 (eval "$ac_link") 2>conftest.er1
9343 grep -v '^ *+' conftest.er1
>conftest.err
9345 cat conftest.err
>&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } && {
9348 test -z "$ac_c_werror_flag" ||
9349 test ! -s conftest.err
9350 } && test -s conftest
$ac_exeext &&
9351 $as_test_x conftest
$ac_exeext; then
9352 ac_cv_lib_sepol_sepol_check_context
=yes
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.
$ac_ext >&5
9357 ac_cv_lib_sepol_sepol_check_context
=no
9360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9361 conftest
$ac_exeext conftest.
$ac_ext
9362 LIBS
=$ac_check_lib_save_LIBS
9364 { echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
9365 echo "${ECHO_T}$ac_cv_lib_sepol_sepol_check_context" >&6; }
9366 if test $ac_cv_lib_sepol_sepol_check_context = yes; then
9373 if test x
$HAVE_SEPOL = xyes
; then
9375 cat >>confdefs.h
<<\_ACEOF
9376 #define HAVE_SEPOL 1
9379 LIBS
="-lsepol $LIBS"
9382 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
9383 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
9384 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 ac_check_lib_save_LIBS
=$LIBS
9388 LIBS
="-lselinux $LIBS"
9389 cat >conftest.
$ac_ext <<_ACEOF
9392 cat confdefs.h
>>conftest.
$ac_ext
9393 cat >>conftest.
$ac_ext <<_ACEOF
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9402 char is_selinux_enabled ();
9406 return is_selinux_enabled ();
9411 rm -f conftest.
$ac_objext conftest
$ac_exeext
9412 if { (ac_try
="$ac_link"
9414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9415 *) ac_try_echo=$ac_try;;
9417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9418 (eval "$ac_link") 2>conftest.er1
9420 grep -v '^ *+' conftest.er1 >conftest.err
9422 cat conftest.err >&5
9423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424 (exit $ac_status); } && {
9425 test -z "$ac_c_werror_flag" ||
9426 test ! -s conftest.err
9427 } && test -s conftest$ac_exeext &&
9428 $as_test_x conftest$ac_exeext; then
9429 ac_cv_lib_selinux_is_selinux_enabled=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.$ac_ext >&5
9434 ac_cv_lib_selinux_is_selinux_enabled=no
9437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9438 conftest$ac_exeext conftest.$ac_ext
9439 LIBS=$ac_check_lib_save_LIBS
9441 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
9442 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
9443 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
9450 if test x$HAVE_SELINUX = xyes; then
9452 cat >>confdefs.h <<\_ACEOF
9453 #define HAVE_SELINUX 1
9456 LIBS="-lselinux $LIBS"
9458 { echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
9459 echo "$as_me: WARNING: Disabling selinux" >&2;}
9462 # With --enable-static_link and selinux enabled, linking
9463 # fails on at least Debian unstable due to unsatisfied references
9464 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
9465 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
9466 lvm_saved_libs=$LIBS
9467 LIBS="$LIBS -static"
9468 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
9469 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
9470 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6
9473 ac_func_search_save_LIBS=$LIBS
9474 cat >conftest.$ac_ext <<_ACEOF
9477 cat confdefs.h >>conftest.$ac_ext
9478 cat >>conftest.$ac_ext <<_ACEOF
9479 /* end confdefs.h. */
9481 /* Override any GCC internal prototype to avoid an error.
9482 Use char because int might match the return type of a GCC
9483 builtin and then its argument prototype would still apply. */
9487 char pthread_mutex_lock ();
9491 return pthread_mutex_lock ();
9496 for ac_lib in '' pthread; do
9497 if test -z "$ac_lib"; then
9498 ac_res="none required"
9501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9503 rm -f conftest.$ac_objext conftest$ac_exeext
9504 if { (ac_try="$ac_link"
9506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9507 *) ac_try_echo
=$ac_try;;
9509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9510 (eval "$ac_link") 2>conftest.er1
9512 grep -v '^ *+' conftest.er1
>conftest.err
9514 cat conftest.err
>&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } && {
9517 test -z "$ac_c_werror_flag" ||
9518 test ! -s conftest.err
9519 } && test -s conftest
$ac_exeext &&
9520 $as_test_x conftest
$ac_exeext; then
9521 ac_cv_search_pthread_mutex_lock
=$ac_res
9523 echo "$as_me: failed program was:" >&5
9524 sed 's/^/| /' conftest.
$ac_ext >&5
9529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9531 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9535 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9538 ac_cv_search_pthread_mutex_lock
=no
9541 LIBS
=$ac_func_search_save_LIBS
9543 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
9544 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
9545 ac_res
=$ac_cv_search_pthread_mutex_lock
9546 if test "$ac_res" != no
; then
9547 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9548 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
9549 LIB_PTHREAD
=-lpthread
9552 LIBS
=$lvm_saved_libs
9556 ################################################################################
9557 if test x
$REALTIME = xyes
; then
9558 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
9559 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
9560 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 ac_check_lib_save_LIBS
=$LIBS
9565 cat >conftest.
$ac_ext <<_ACEOF
9568 cat confdefs.h
>>conftest.
$ac_ext
9569 cat >>conftest.
$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9578 char clock_gettime ();
9582 return clock_gettime ();
9587 rm -f conftest.
$ac_objext conftest
$ac_exeext
9588 if { (ac_try
="$ac_link"
9590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9591 *) ac_try_echo=$ac_try;;
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_link") 2>conftest.er1
9596 grep -v '^ *+' conftest.er1 >conftest.err
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } && {
9601 test -z "$ac_c_werror_flag" ||
9602 test ! -s conftest.err
9603 } && test -s conftest$ac_exeext &&
9604 $as_test_x conftest$ac_exeext; then
9605 ac_cv_lib_rt_clock_gettime=yes
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 ac_cv_lib_rt_clock_gettime=no
9613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
9618 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
9619 if test $ac_cv_lib_rt_clock_gettime = yes; then
9626 if test x$HAVE_REALTIME = xyes; then
9628 cat >>confdefs.h <<\_ACEOF
9629 #define HAVE_REALTIME 1
9634 { echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
9635 echo "$as_me: WARNING: Disabling realtime clock" >&2;}
9639 ################################################################################
9641 for ac_header in getopt.h
9643 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_res=`eval echo '${'$as_ac_Header'}'`
9651 { echo "$as_me:$LINENO: result: $ac_res" >&5
9652 echo "${ECHO_T}$ac_res" >&6; }
9654 # Is the header compilable?
9655 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9657 cat >conftest.$ac_ext <<_ACEOF
9660 cat confdefs.h >>conftest.$ac_ext
9661 cat >>conftest.$ac_ext <<_ACEOF
9662 /* end confdefs.h. */
9663 $ac_includes_default
9664 #include <$ac_header>
9666 rm -f conftest.$ac_objext
9667 if { (ac_try="$ac_compile"
9669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9670 *) ac_try_echo
=$ac_try;;
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_compile") 2>conftest.er1
9675 grep -v '^ *+' conftest.er1
>conftest.err
9677 cat conftest.err
>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest.
$ac_objext; then
9683 ac_header_compiler
=yes
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.
$ac_ext >&5
9688 ac_header_compiler
=no
9691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9693 echo "${ECHO_T}$ac_header_compiler" >&6; }
9695 # Is the header present?
9696 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9698 cat >conftest.
$ac_ext <<_ACEOF
9701 cat confdefs.h
>>conftest.
$ac_ext
9702 cat >>conftest.
$ac_ext <<_ACEOF
9703 /* end confdefs.h. */
9704 #include <$ac_header>
9706 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9709 *) ac_try_echo=$ac_try;;
9711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9714 grep -v '^ *+' conftest.er1 >conftest.err
9716 cat conftest.err >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } >/dev/null && {
9719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9720 test ! -s conftest.err
9722 ac_header_preproc=yes
9724 echo "$as_me: failed program was:" >&5
9725 sed 's/^/| /' conftest.$ac_ext >&5
9727 ac_header_preproc=no
9730 rm -f conftest.err conftest.$ac_ext
9731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9732 echo "${ECHO_T}$ac_header_preproc" >&6; }
9734 # So? What about this header?
9735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9741 ac_header_preproc=yes
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 eval "$as_ac_Header=\$ac_header_preproc"
9766 ac_res=`eval echo '${'$as_ac_Header'}'`
9767 { echo "$as_me:$LINENO: result: $ac_res" >&5
9768 echo "${ECHO_T}$ac_res" >&6; }
9771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9772 cat >>confdefs.h <<_ACEOF
9773 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9776 cat >>confdefs.h <<\_ACEOF
9777 #define HAVE_GETOPTLONG 1
9785 ################################################################################
9786 if test x$READLINE != xno; then
9789 { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
9790 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
9791 if test "${ac_cv_lib_readline_readline+set}" = set; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 ac_check_lib_save_LIBS=$LIBS
9795 LIBS="-lreadline $LIBS"
9796 cat >conftest.$ac_ext <<_ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (ac_try="$ac_link"
9821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9822 *) ac_try_echo
=$ac_try;;
9824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9825 (eval "$ac_link") 2>conftest.er1
9827 grep -v '^ *+' conftest.er1
>conftest.err
9829 cat conftest.err
>&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } && {
9832 test -z "$ac_c_werror_flag" ||
9833 test ! -s conftest.err
9834 } && test -s conftest
$ac_exeext &&
9835 $as_test_x conftest
$ac_exeext; then
9836 ac_cv_lib_readline_readline
=yes
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.
$ac_ext >&5
9841 ac_cv_lib_readline_readline
=no
9844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9845 conftest
$ac_exeext conftest.
$ac_ext
9846 LIBS
=$ac_check_lib_save_LIBS
9848 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
9849 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
9850 if test $ac_cv_lib_readline_readline = yes; then
9851 cat >>confdefs.h
<<_ACEOF
9852 #define HAVE_LIBREADLINE 1
9855 LIBS
="-lreadline $LIBS"
9861 test x
$READLINE:$rl_found = xyes
:no
&&
9862 { { echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
9863 --enable-readline option (which is enabled by default). Either disable readline
9864 support with --disable-readline or download and install readline from:
9865 ftp.gnu.org/gnu/readline
9866 Note: if you are using precompiled packages you will also need the development
9867 package as well (which may be called readline-devel or something similar).
9869 echo "$as_me: error: GNU Readline could not be found which is required for the
9870 --enable-readline option (which is enabled by default). Either disable readline
9871 support with --disable-readline or download and install readline from:
9872 ftp.gnu.org/gnu/readline
9873 Note: if you are using precompiled packages you will also need the development
9874 package as well (which may be called readline-devel or something similar).
9876 { (exit 1); exit 1; }; }
9877 if test $rl_found = yes; then
9879 for ac_func
in rl_completion_matches
9881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9884 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9885 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 cat >conftest.
$ac_ext <<_ACEOF
9890 cat confdefs.h
>>conftest.
$ac_ext
9891 cat >>conftest.
$ac_ext <<_ACEOF
9892 /* end confdefs.h. */
9893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9895 #define $ac_func innocuous_$ac_func
9897 /* System header to define __stub macros and hopefully few prototypes,
9898 which can conflict with char $ac_func (); below.
9899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9900 <limits.h> exists even on freestanding compilers. */
9903 # include <limits.h>
9905 # include <assert.h>
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9917 /* The GNU C library defines this for functions which it implements
9918 to always fail with ENOSYS. Some functions are actually named
9919 something starting with __ and the normal name is an alias. */
9920 #if defined __stub_$ac_func || defined __stub___$ac_func
9932 rm -f conftest.
$ac_objext conftest
$ac_exeext
9933 if { (ac_try
="$ac_link"
9935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9936 *) ac_try_echo=$ac_try;;
9938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9939 (eval "$ac_link") 2>conftest.er1
9941 grep -v '^ *+' conftest.er1 >conftest.err
9943 cat conftest.err >&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } && {
9946 test -z "$ac_c_werror_flag" ||
9947 test ! -s conftest.err
9948 } && test -s conftest$ac_exeext &&
9949 $as_test_x conftest$ac_exeext; then
9950 eval "$as_ac_var=yes"
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9955 eval "$as_ac_var=no"
9958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9959 conftest$ac_exeext conftest.$ac_ext
9961 ac_res=`eval echo '${'$as_ac_var'}'`
9962 { echo "$as_me:$LINENO: result: $ac_res" >&5
9963 echo "${ECHO_T}$ac_res" >&6; }
9964 if test `eval echo '${'$as_ac_var'}'` = yes; then
9965 cat >>confdefs.h <<_ACEOF
9966 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9973 cat >>confdefs.h <<\_ACEOF
9974 #define READLINE_SUPPORT 1
9980 ################################################################################
9981 { echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
9982 echo $ECHO_N "checking whether to enable internationalisation... $ECHO_C" >&6; }
9983 # Check whether --enable-nls was given.
9984 if test "${enable_nls+set}" = set; then
9985 enableval=$enable_nls; INTL=$enableval
9990 { echo "$as_me:$LINENO: result: $INTL" >&5
9991 echo "${ECHO_T}$INTL" >&6; }
9993 if test x$INTL = xyes; then
9994 # FIXME - Move this - can be device-mapper too
9996 # Extract the first word of "msgfmt", so it can be a program name with args.
9997 set dummy msgfmt; ac_word=$2
9998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10000 if test "${ac_cv_path_MSGFMT+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10009 for as_dir in $PATH
10012 test -z "$as_dir" && as_dir=.
10013 for ac_exec_ext in '' $ac_executable_extensions; do
10014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10015 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10026 MSGFMT=$ac_cv_path_MSGFMT
10027 if test -n "$MSGFMT"; then
10028 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
10029 echo "${ECHO_T}$MSGFMT" >&6; }
10031 { echo "$as_me:$LINENO: result: no" >&5
10032 echo "${ECHO_T}no" >&6; }
10036 if [ "x$MSGFMT" == x ];
10037 then { { echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
10039 echo "$as_me: error: msgfmt not found in path $PATH
10041 { (exit 1); exit 1; }; }
10045 # Check whether --with-localedir was given.
10046 if test "${with_localedir+set}" = set; then
10047 withval=$with_localedir; LOCALEDIR="$withval"
10049 LOCALEDIR='${prefix}/share/locale'
10054 ################################################################################
10056 # Check whether --with-confdir was given.
10057 if test "${with_confdir+set}" = set; then
10058 withval=$with_confdir; CONFDIR="$withval"
10065 # Check whether --with-staticdir was given.
10066 if test "${with_staticdir+set}" = set; then
10067 withval=$with_staticdir; STATICDIR="$withval"
10069 STATICDIR='${exec_prefix}/sbin'
10074 # Check whether --with-dmdir was given.
10075 if test "${with_dmdir+set}" = set; then
10076 withval=$with_dmdir; DMDIR="$withval" CPPFLAGS="$CPPFLAGS -I$DMDIR/include"
10082 # Convert a relative dir name to absolute.
10085 *) DMDIR="`pwd`/$DMDIR" ;;
10089 # Check whether --with-usrlibdir was given.
10090 if test "${with_usrlibdir+set}" = set; then
10091 withval=$with_usrlibdir; usrlibdir="$withval"
10093 usrlibdir='${prefix}/lib'
10098 # Check whether --with-usrsbindir was given.
10099 if test "${with_usrsbindir+set}" = set; then
10100 withval=$with_usrsbindir; usrsbindir="$withval"
10102 usrsbindir='${prefix}/sbin'
10106 ################################################################################
10107 if test x$READLINE = xyes; then
10110 for ac_header in readline/readline.h readline/history.h
10112 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10119 ac_res=`eval echo '${'$as_ac_Header'}'`
10120 { echo "$as_me:$LINENO: result: $ac_res" >&5
10121 echo "${ECHO_T}$ac_res" >&6; }
10123 # Is the header compilable?
10124 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10126 cat >conftest.$ac_ext <<_ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10132 $ac_includes_default
10133 #include <$ac_header>
10135 rm -f conftest.$ac_objext
10136 if { (ac_try="$ac_compile"
10137 case "(($ac_try" in
10138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10139 *) ac_try_echo
=$ac_try;;
10141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10142 (eval "$ac_compile") 2>conftest.er1
10144 grep -v '^ *+' conftest.er1
>conftest.err
10146 cat conftest.err
>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && {
10149 test -z "$ac_c_werror_flag" ||
10150 test ! -s conftest.err
10151 } && test -s conftest.
$ac_objext; then
10152 ac_header_compiler
=yes
10154 echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.
$ac_ext >&5
10157 ac_header_compiler
=no
10160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10161 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10162 echo "${ECHO_T}$ac_header_compiler" >&6; }
10164 # Is the header present?
10165 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10167 cat >conftest.
$ac_ext <<_ACEOF
10170 cat confdefs.h
>>conftest.
$ac_ext
10171 cat >>conftest.
$ac_ext <<_ACEOF
10172 /* end confdefs.h. */
10173 #include <$ac_header>
10175 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10176 case "(($ac_try" in
10177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10178 *) ac_try_echo=$ac_try;;
10180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10183 grep -v '^ *+' conftest.er1 >conftest.err
10185 cat conftest.err >&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } >/dev/null && {
10188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10189 test ! -s conftest.err
10191 ac_header_preproc=yes
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 ac_header_preproc=no
10199 rm -f conftest.err conftest.$ac_ext
10200 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10201 echo "${ECHO_T}$ac_header_preproc" >&6; }
10203 # So? What about this header?
10204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10210 ac_header_preproc=yes
10213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 eval "$as_ac_Header=\$ac_header_preproc"
10235 ac_res=`eval echo '${'$as_ac_Header'}'`
10236 { echo "$as_me:$LINENO: result: $ac_res" >&5
10237 echo "${ECHO_T}$ac_res" >&6; }
10240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10241 cat >>confdefs.h <<_ACEOF
10242 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10246 { { echo "$as_me:$LINENO: error: bailing out" >&5
10247 echo "$as_me: error: bailing out" >&2;}
10248 { (exit 1); exit 1; }; }
10255 if test x$CLVMD != xnone; then
10266 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
10268 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 ac_res=`eval echo '${'$as_ac_Header'}'`
10276 { echo "$as_me:$LINENO: result: $ac_res" >&5
10277 echo "${ECHO_T}$ac_res" >&6; }
10279 # Is the header compilable?
10280 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10282 cat >conftest.$ac_ext <<_ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10288 $ac_includes_default
10289 #include <$ac_header>
10291 rm -f conftest.$ac_objext
10292 if { (ac_try="$ac_compile"
10293 case "(($ac_try" in
10294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10295 *) ac_try_echo
=$ac_try;;
10297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10298 (eval "$ac_compile") 2>conftest.er1
10300 grep -v '^ *+' conftest.er1
>conftest.err
10302 cat conftest.err
>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } && {
10305 test -z "$ac_c_werror_flag" ||
10306 test ! -s conftest.err
10307 } && test -s conftest.
$ac_objext; then
10308 ac_header_compiler
=yes
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.
$ac_ext >&5
10313 ac_header_compiler
=no
10316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10317 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10318 echo "${ECHO_T}$ac_header_compiler" >&6; }
10320 # Is the header present?
10321 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10323 cat >conftest.
$ac_ext <<_ACEOF
10326 cat confdefs.h
>>conftest.
$ac_ext
10327 cat >>conftest.
$ac_ext <<_ACEOF
10328 /* end confdefs.h. */
10329 #include <$ac_header>
10331 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10332 case "(($ac_try" in
10333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10334 *) ac_try_echo=$ac_try;;
10336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10339 grep -v '^ *+' conftest.er1 >conftest.err
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } >/dev/null && {
10344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10345 test ! -s conftest.err
10347 ac_header_preproc=yes
10349 echo "$as_me: failed program was:" >&5
10350 sed 's/^/| /' conftest.$ac_ext >&5
10352 ac_header_preproc=no
10355 rm -f conftest.err conftest.$ac_ext
10356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10357 echo "${ECHO_T}$ac_header_preproc" >&6; }
10359 # So? What about this header?
10360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10363 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10365 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10366 ac_header_preproc=yes
10369 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10371 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10372 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10373 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10374 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10375 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10376 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10379 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10380 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10387 echo $ECHO_N "(cached) $ECHO_C" >&6
10389 eval "$as_ac_Header=\$ac_header_preproc"
10391 ac_res=`eval echo '${'$as_ac_Header'}'`
10392 { echo "$as_me:$LINENO: result: $ac_res" >&5
10393 echo "${ECHO_T}$ac_res" >&6; }
10396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10397 cat >>confdefs.h <<_ACEOF
10398 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10402 { { echo "$as_me:$LINENO: error: bailing out" >&5
10403 echo "$as_me: error: bailing out" >&2;}
10404 { (exit 1); exit 1; }; }
10414 for ac_func in dup2 getmntent memmove select socket
10416 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10419 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 cat >conftest.$ac_ext <<_ACEOF
10425 cat confdefs.h >>conftest.$ac_ext
10426 cat >>conftest.$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10430 #define $ac_func innocuous_$ac_func
10432 /* System header to define __stub macros and hopefully few prototypes,
10433 which can conflict with char $ac_func (); below.
10434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10435 <limits.h> exists even on freestanding compilers. */
10438 # include <limits.h>
10440 # include <assert.h>
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10452 /* The GNU C library defines this for functions which it implements
10453 to always fail with ENOSYS. Some functions are actually named
10454 something starting with __ and the normal name is an alias. */
10455 #if defined __stub_$ac_func || defined __stub___$ac_func
10462 return $ac_func ();
10467 rm -f conftest.$ac_objext conftest$ac_exeext
10468 if { (ac_try="$ac_link"
10469 case "(($ac_try" in
10470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10471 *) ac_try_echo
=$ac_try;;
10473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10474 (eval "$ac_link") 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } && {
10481 test -z "$ac_c_werror_flag" ||
10482 test ! -s conftest.err
10483 } && test -s conftest
$ac_exeext &&
10484 $as_test_x conftest
$ac_exeext; then
10485 eval "$as_ac_var=yes"
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10490 eval "$as_ac_var=no"
10493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10494 conftest
$ac_exeext conftest.
$ac_ext
10496 ac_res
=`eval echo '${'$as_ac_var'}'`
10497 { echo "$as_me:$LINENO: result: $ac_res" >&5
10498 echo "${ECHO_T}$ac_res" >&6; }
10499 if test `eval echo '${'$as_ac_var'}'` = yes; then
10500 cat >>confdefs.h
<<_ACEOF
10501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10505 { { echo "$as_me:$LINENO: error: bailing out" >&5
10506 echo "$as_me: error: bailing out" >&2;}
10507 { (exit 1); exit 1; }; }
10511 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10512 # -lseq on Dynix/PTX, -lgen on Unixware.
10513 { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
10514 echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
10515 if test "${ac_cv_search_getmntent+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 ac_func_search_save_LIBS
=$LIBS
10519 cat >conftest.
$ac_ext <<_ACEOF
10522 cat confdefs.h
>>conftest.
$ac_ext
10523 cat >>conftest.
$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10536 return getmntent ();
10541 for ac_lib
in '' sun
seq gen
; do
10542 if test -z "$ac_lib"; then
10543 ac_res
="none required"
10546 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10548 rm -f conftest.
$ac_objext conftest
$ac_exeext
10549 if { (ac_try
="$ac_link"
10550 case "(($ac_try" in
10551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10552 *) ac_try_echo=$ac_try;;
10554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555 (eval "$ac_link") 2>conftest.er1
10557 grep -v '^ *+' conftest.er1 >conftest.err
10559 cat conftest.err >&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } && {
10562 test -z "$ac_c_werror_flag" ||
10563 test ! -s conftest.err
10564 } && test -s conftest$ac_exeext &&
10565 $as_test_x conftest$ac_exeext; then
10566 ac_cv_search_getmntent=$ac_res
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10576 if test "${ac_cv_search_getmntent+set}" = set; then
10580 if test "${ac_cv_search_getmntent+set}" = set; then
10583 ac_cv_search_getmntent=no
10585 rm conftest.$ac_ext
10586 LIBS=$ac_func_search_save_LIBS
10588 { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
10589 echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
10590 ac_res=$ac_cv_search_getmntent
10591 if test "$ac_res" != no; then
10592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10593 ac_cv_func_getmntent=yes
10595 cat >>confdefs.h <<\_ACEOF
10596 #define HAVE_GETMNTENT
10600 ac_cv_func_getmntent=no
10607 for ac_header in sys/select.h sys/socket.h
10609 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 ac_res=`eval echo '${'$as_ac_Header'}'`
10617 { echo "$as_me:$LINENO: result: $ac_res" >&5
10618 echo "${ECHO_T}$ac_res" >&6; }
10620 # Is the header compilable?
10621 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10623 cat >conftest.$ac_ext <<_ACEOF
10626 cat confdefs.h >>conftest.$ac_ext
10627 cat >>conftest.$ac_ext <<_ACEOF
10628 /* end confdefs.h. */
10629 $ac_includes_default
10630 #include <$ac_header>
10632 rm -f conftest.$ac_objext
10633 if { (ac_try="$ac_compile"
10634 case "(($ac_try" in
10635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10636 *) ac_try_echo
=$ac_try;;
10638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10639 (eval "$ac_compile") 2>conftest.er1
10641 grep -v '^ *+' conftest.er1
>conftest.err
10643 cat conftest.err
>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } && {
10646 test -z "$ac_c_werror_flag" ||
10647 test ! -s conftest.err
10648 } && test -s conftest.
$ac_objext; then
10649 ac_header_compiler
=yes
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.
$ac_ext >&5
10654 ac_header_compiler
=no
10657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10658 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10659 echo "${ECHO_T}$ac_header_compiler" >&6; }
10661 # Is the header present?
10662 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10664 cat >conftest.
$ac_ext <<_ACEOF
10667 cat confdefs.h
>>conftest.
$ac_ext
10668 cat >>conftest.
$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10670 #include <$ac_header>
10672 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10673 case "(($ac_try" in
10674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10675 *) ac_try_echo=$ac_try;;
10677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10680 grep -v '^ *+' conftest.er1 >conftest.err
10682 cat conftest.err >&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } >/dev/null && {
10685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10686 test ! -s conftest.err
10688 ac_header_preproc=yes
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 ac_header_preproc=no
10696 rm -f conftest.err conftest.$ac_ext
10697 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10698 echo "${ECHO_T}$ac_header_preproc" >&6; }
10700 # So? What about this header?
10701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10707 ac_header_preproc=yes
10710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 eval "$as_ac_Header=\$ac_header_preproc"
10732 ac_res=`eval echo '${'$as_ac_Header'}'`
10733 { echo "$as_me:$LINENO: result: $ac_res" >&5
10734 echo "${ECHO_T}$ac_res" >&6; }
10737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10738 cat >>confdefs.h <<_ACEOF
10739 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10746 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
10747 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10748 if test "${ac_cv_func_select_args+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10752 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10753 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 $ac_includes_default
10761 #ifdef HAVE_SYS_SELECT_H
10762 # include <sys/select.h>
10764 #ifdef HAVE_SYS_SOCKET_H
10765 # include <sys/socket.h>
10771 extern int select ($ac_arg1,
10772 $ac_arg234, $ac_arg234, $ac_arg234,
10778 rm -f conftest.$ac_objext
10779 if { (ac_try="$ac_compile"
10780 case "(($ac_try" in
10781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10782 *) ac_try_echo
=$ac_try;;
10784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10785 (eval "$ac_compile") 2>conftest.er1
10787 grep -v '^ *+' conftest.er1
>conftest.err
10789 cat conftest.err
>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); } && {
10792 test -z "$ac_c_werror_flag" ||
10793 test ! -s conftest.err
10794 } && test -s conftest.
$ac_objext; then
10795 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10797 echo "$as_me: failed program was:" >&5
10798 sed 's/^/| /' conftest.
$ac_ext >&5
10803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10807 # Provide a safe default value.
10808 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10811 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10812 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
10813 ac_save_IFS
=$IFS; IFS
=','
10814 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10818 cat >>confdefs.h
<<_ACEOF
10819 #define SELECT_TYPE_ARG1 $1
10823 cat >>confdefs.h
<<_ACEOF
10824 #define SELECT_TYPE_ARG234 ($2)
10828 cat >>confdefs.h
<<_ACEOF
10829 #define SELECT_TYPE_ARG5 ($3)
10836 if test x
$CLUSTER != xnone
; then
10839 for ac_header
in sys
/socket.h sys
/un.h
10841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10842 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10845 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 ac_res
=`eval echo '${'$as_ac_Header'}'`
10849 { echo "$as_me:$LINENO: result: $ac_res" >&5
10850 echo "${ECHO_T}$ac_res" >&6; }
10852 # Is the header compilable?
10853 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10855 cat >conftest.
$ac_ext <<_ACEOF
10858 cat confdefs.h
>>conftest.
$ac_ext
10859 cat >>conftest.
$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10861 $ac_includes_default
10862 #include <$ac_header>
10864 rm -f conftest.
$ac_objext
10865 if { (ac_try
="$ac_compile"
10866 case "(($ac_try" in
10867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10868 *) ac_try_echo=$ac_try;;
10870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10871 (eval "$ac_compile") 2>conftest.er1
10873 grep -v '^ *+' conftest.er1 >conftest.err
10875 cat conftest.err >&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); } && {
10878 test -z "$ac_c_werror_flag" ||
10879 test ! -s conftest.err
10880 } && test -s conftest.$ac_objext; then
10881 ac_header_compiler=yes
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10886 ac_header_compiler=no
10889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10890 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10891 echo "${ECHO_T}$ac_header_compiler" >&6; }
10893 # Is the header present?
10894 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10896 cat >conftest.$ac_ext <<_ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10902 #include <$ac_header>
10904 if { (ac_try="$ac_cpp conftest.$ac_ext"
10905 case "(($ac_try" in
10906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10907 *) ac_try_echo
=$ac_try;;
10909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10912 grep -v '^ *+' conftest.er1
>conftest.err
10914 cat conftest.err
>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } >/dev
/null
&& {
10917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10918 test ! -s conftest.err
10920 ac_header_preproc
=yes
10922 echo "$as_me: failed program was:" >&5
10923 sed 's/^/| /' conftest.
$ac_ext >&5
10925 ac_header_preproc
=no
10928 rm -f conftest.err conftest.
$ac_ext
10929 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10930 echo "${ECHO_T}$ac_header_preproc" >&6; }
10932 # So? What about this header?
10933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10939 ac_header_preproc
=yes
10942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10959 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 eval "$as_ac_Header=\$ac_header_preproc"
10964 ac_res
=`eval echo '${'$as_ac_Header'}'`
10965 { echo "$as_me:$LINENO: result: $ac_res" >&5
10966 echo "${ECHO_T}$ac_res" >&6; }
10969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10970 cat >>confdefs.h
<<_ACEOF
10971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10975 { { echo "$as_me:$LINENO: error: bailing out" >&5
10976 echo "$as_me: error: bailing out" >&2;}
10977 { (exit 1); exit 1; }; }
10983 for ac_func
in socket
10985 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10986 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10988 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 cat >conftest.
$ac_ext <<_ACEOF
10994 cat confdefs.h
>>conftest.
$ac_ext
10995 cat >>conftest.
$ac_ext <<_ACEOF
10996 /* end confdefs.h. */
10997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10999 #define $ac_func innocuous_$ac_func
11001 /* System header to define __stub macros and hopefully few prototypes,
11002 which can conflict with char $ac_func (); below.
11003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11004 <limits.h> exists even on freestanding compilers. */
11007 # include <limits.h>
11009 # include <assert.h>
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11021 /* The GNU C library defines this for functions which it implements
11022 to always fail with ENOSYS. Some functions are actually named
11023 something starting with __ and the normal name is an alias. */
11024 #if defined __stub_$ac_func || defined __stub___$ac_func
11031 return $ac_func ();
11036 rm -f conftest.
$ac_objext conftest
$ac_exeext
11037 if { (ac_try
="$ac_link"
11038 case "(($ac_try" in
11039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11040 *) ac_try_echo=$ac_try;;
11042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11043 (eval "$ac_link") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1 >conftest.err
11047 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && {
11050 test -z "$ac_c_werror_flag" ||
11051 test ! -s conftest.err
11052 } && test -s conftest$ac_exeext &&
11053 $as_test_x conftest$ac_exeext; then
11054 eval "$as_ac_var=yes"
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11059 eval "$as_ac_var=no"
11062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11063 conftest$ac_exeext conftest.$ac_ext
11065 ac_res=`eval echo '${'$as_ac_var'}'`
11066 { echo "$as_me:$LINENO: result: $ac_res" >&5
11067 echo "${ECHO_T}$ac_res" >&6; }
11068 if test `eval echo '${'$as_ac_var'}'` = yes; then
11069 cat >>confdefs.h <<_ACEOF
11070 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11074 { { echo "$as_me:$LINENO: error: bailing out" >&5
11075 echo "$as_me: error: bailing out" >&2;}
11076 { (exit 1); exit 1; }; }
11082 if test x$HAVE_LIBDL = xyes; then
11084 for ac_header in dlfcn.h
11086 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11088 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 ac_res=`eval echo '${'$as_ac_Header'}'`
11094 { echo "$as_me:$LINENO: result: $ac_res" >&5
11095 echo "${ECHO_T}$ac_res" >&6; }
11097 # Is the header compilable?
11098 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11100 cat >conftest.$ac_ext <<_ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11106 $ac_includes_default
11107 #include <$ac_header>
11109 rm -f conftest.$ac_objext
11110 if { (ac_try="$ac_compile"
11111 case "(($ac_try" in
11112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11113 *) ac_try_echo
=$ac_try;;
11115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11116 (eval "$ac_compile") 2>conftest.er1
11118 grep -v '^ *+' conftest.er1
>conftest.err
11120 cat conftest.err
>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } && {
11123 test -z "$ac_c_werror_flag" ||
11124 test ! -s conftest.err
11125 } && test -s conftest.
$ac_objext; then
11126 ac_header_compiler
=yes
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11131 ac_header_compiler
=no
11134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11135 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11136 echo "${ECHO_T}$ac_header_compiler" >&6; }
11138 # Is the header present?
11139 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11141 cat >conftest.
$ac_ext <<_ACEOF
11144 cat confdefs.h
>>conftest.
$ac_ext
11145 cat >>conftest.
$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11147 #include <$ac_header>
11149 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11150 case "(($ac_try" in
11151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11152 *) ac_try_echo=$ac_try;;
11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11157 grep -v '^ *+' conftest.er1 >conftest.err
11159 cat conftest.err >&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } >/dev/null && {
11162 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11163 test ! -s conftest.err
11165 ac_header_preproc=yes
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11170 ac_header_preproc=no
11173 rm -f conftest.err conftest.$ac_ext
11174 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11175 echo "${ECHO_T}$ac_header_preproc" >&6; }
11177 # So? What about this header?
11178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11184 ac_header_preproc=yes
11187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11207 eval "$as_ac_Header=\$ac_header_preproc"
11209 ac_res=`eval echo '${'$as_ac_Header'}'`
11210 { echo "$as_me:$LINENO: result: $ac_res" >&5
11211 echo "${ECHO_T}$ac_res" >&6; }
11214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11215 cat >>confdefs.h <<_ACEOF
11216 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11220 { { echo "$as_me:$LINENO: error: bailing out" >&5
11221 echo "$as_me: error: bailing out" >&2;}
11222 { (exit 1); exit 1; }; }
11229 if test x$INTL = xyes; then
11231 for ac_header in libintl.h
11233 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 ac_res=`eval echo '${'$as_ac_Header'}'`
11241 { echo "$as_me:$LINENO: result: $ac_res" >&5
11242 echo "${ECHO_T}$ac_res" >&6; }
11244 # Is the header compilable?
11245 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11247 cat >conftest.$ac_ext <<_ACEOF
11250 cat confdefs.h >>conftest.$ac_ext
11251 cat >>conftest.$ac_ext <<_ACEOF
11252 /* end confdefs.h. */
11253 $ac_includes_default
11254 #include <$ac_header>
11256 rm -f conftest.$ac_objext
11257 if { (ac_try="$ac_compile"
11258 case "(($ac_try" in
11259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11260 *) ac_try_echo
=$ac_try;;
11262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11263 (eval "$ac_compile") 2>conftest.er1
11265 grep -v '^ *+' conftest.er1
>conftest.err
11267 cat conftest.err
>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest.
$ac_objext; then
11273 ac_header_compiler
=yes
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.
$ac_ext >&5
11278 ac_header_compiler
=no
11281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11283 echo "${ECHO_T}$ac_header_compiler" >&6; }
11285 # Is the header present?
11286 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11288 cat >conftest.
$ac_ext <<_ACEOF
11291 cat confdefs.h
>>conftest.
$ac_ext
11292 cat >>conftest.
$ac_ext <<_ACEOF
11293 /* end confdefs.h. */
11294 #include <$ac_header>
11296 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11297 case "(($ac_try" in
11298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11299 *) ac_try_echo=$ac_try;;
11301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11304 grep -v '^ *+' conftest.er1 >conftest.err
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } >/dev/null && {
11309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11310 test ! -s conftest.err
11312 ac_header_preproc=yes
11314 echo "$as_me: failed program was:" >&5
11315 sed 's/^/| /' conftest.$ac_ext >&5
11317 ac_header_preproc=no
11320 rm -f conftest.err conftest.$ac_ext
11321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11322 echo "${ECHO_T}$ac_header_preproc" >&6; }
11324 # So? What about this header?
11325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11331 ac_header_preproc=yes
11334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11349 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11352 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 eval "$as_ac_Header=\$ac_header_preproc"
11356 ac_res=`eval echo '${'$as_ac_Header'}'`
11357 { echo "$as_me:$LINENO: result: $ac_res" >&5
11358 echo "${ECHO_T}$ac_res" >&6; }
11361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11362 cat >>confdefs.h <<_ACEOF
11363 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11367 { { echo "$as_me:$LINENO: error: bailing out" >&5
11368 echo "$as_me: error: bailing out" >&2;}
11369 { (exit 1); exit 1; }; }
11377 for ac_header in libdevmapper.h
11379 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11381 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11384 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 ac_res=`eval echo '${'$as_ac_Header'}'`
11387 { echo "$as_me:$LINENO: result: $ac_res" >&5
11388 echo "${ECHO_T}$ac_res" >&6; }
11390 # Is the header compilable?
11391 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11392 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11393 cat >conftest.$ac_ext <<_ACEOF
11396 cat confdefs.h >>conftest.$ac_ext
11397 cat >>conftest.$ac_ext <<_ACEOF
11398 /* end confdefs.h. */
11399 $ac_includes_default
11400 #include <$ac_header>
11402 rm -f conftest.$ac_objext
11403 if { (ac_try="$ac_compile"
11404 case "(($ac_try" in
11405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11406 *) ac_try_echo
=$ac_try;;
11408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11409 (eval "$ac_compile") 2>conftest.er1
11411 grep -v '^ *+' conftest.er1
>conftest.err
11413 cat conftest.err
>&5
11414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415 (exit $ac_status); } && {
11416 test -z "$ac_c_werror_flag" ||
11417 test ! -s conftest.err
11418 } && test -s conftest.
$ac_objext; then
11419 ac_header_compiler
=yes
11421 echo "$as_me: failed program was:" >&5
11422 sed 's/^/| /' conftest.
$ac_ext >&5
11424 ac_header_compiler
=no
11427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11428 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11429 echo "${ECHO_T}$ac_header_compiler" >&6; }
11431 # Is the header present?
11432 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11434 cat >conftest.
$ac_ext <<_ACEOF
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11440 #include <$ac_header>
11442 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11443 case "(($ac_try" in
11444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11445 *) ac_try_echo=$ac_try;;
11447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11450 grep -v '^ *+' conftest.er1 >conftest.err
11452 cat conftest.err >&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } >/dev/null && {
11455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11456 test ! -s conftest.err
11458 ac_header_preproc=yes
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.$ac_ext >&5
11463 ac_header_preproc=no
11466 rm -f conftest.err conftest.$ac_ext
11467 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11468 echo "${ECHO_T}$ac_header_preproc" >&6; }
11470 # So? What about this header?
11471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11474 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11476 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11477 ac_header_preproc=yes
11480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11485 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11487 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11491 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11500 eval "$as_ac_Header=\$ac_header_preproc"
11502 ac_res=`eval echo '${'$as_ac_Header'}'`
11503 { echo "$as_me:$LINENO: result: $ac_res" >&5
11504 echo "${ECHO_T}$ac_res" >&6; }
11507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11508 cat >>confdefs.h <<_ACEOF
11509 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11513 { { echo "$as_me:$LINENO: error: bailing out" >&5
11514 echo "$as_me: error: bailing out" >&2;}
11515 { (exit 1); exit 1; }; }
11521 if test x$HAVE_SELINUX = xyes; then
11523 for ac_header in selinux/selinux.h
11525 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11526 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11527 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11529 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 ac_res=`eval echo '${'$as_ac_Header'}'`
11533 { echo "$as_me:$LINENO: result: $ac_res" >&5
11534 echo "${ECHO_T}$ac_res" >&6; }
11536 # Is the header compilable?
11537 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11539 cat >conftest.$ac_ext <<_ACEOF
11542 cat confdefs.h >>conftest.$ac_ext
11543 cat >>conftest.$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11545 $ac_includes_default
11546 #include <$ac_header>
11548 rm -f conftest.$ac_objext
11549 if { (ac_try="$ac_compile"
11550 case "(($ac_try" in
11551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11552 *) ac_try_echo
=$ac_try;;
11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_compile") 2>conftest.er1
11557 grep -v '^ *+' conftest.er1
>conftest.err
11559 cat conftest.err
>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } && {
11562 test -z "$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11564 } && test -s conftest.
$ac_objext; then
11565 ac_header_compiler
=yes
11567 echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.
$ac_ext >&5
11570 ac_header_compiler
=no
11573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11574 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11575 echo "${ECHO_T}$ac_header_compiler" >&6; }
11577 # Is the header present?
11578 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11580 cat >conftest.
$ac_ext <<_ACEOF
11583 cat confdefs.h
>>conftest.
$ac_ext
11584 cat >>conftest.
$ac_ext <<_ACEOF
11585 /* end confdefs.h. */
11586 #include <$ac_header>
11588 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11589 case "(($ac_try" in
11590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11591 *) ac_try_echo=$ac_try;;
11593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11596 grep -v '^ *+' conftest.er1 >conftest.err
11598 cat conftest.err >&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); } >/dev/null && {
11601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11602 test ! -s conftest.err
11604 ac_header_preproc=yes
11606 echo "$as_me: failed program was:" >&5
11607 sed 's/^/| /' conftest.$ac_ext >&5
11609 ac_header_preproc=no
11612 rm -f conftest.err conftest.$ac_ext
11613 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11614 echo "${ECHO_T}$ac_header_preproc" >&6; }
11616 # So? What about this header?
11617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11623 ac_header_preproc=yes
11626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11630 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11632 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11633 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11641 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 eval "$as_ac_Header=\$ac_header_preproc"
11648 ac_res=`eval echo '${'$as_ac_Header'}'`
11649 { echo "$as_me:$LINENO: result: $ac_res" >&5
11650 echo "${ECHO_T}$ac_res" >&6; }
11653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11654 cat >>confdefs.h <<_ACEOF
11655 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11659 { { echo "$as_me:$LINENO: error: bailing out" >&5
11660 echo "$as_me: error: bailing out" >&2;}
11661 { (exit 1); exit 1; }; }
11668 ################################################################################
11669 # Extract the first word of "modprobe", so it can be a program name with args.
11670 set dummy modprobe; ac_word=$2
11671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11673 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
11674 echo $ECHO_N "(cached) $ECHO_C" >&6
11676 case $MODPROBE_CMD in
11678 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
11681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11682 for as_dir in $PATH
11685 test -z "$as_dir" && as_dir=.
11686 for ac_exec_ext in '' $ac_executable_extensions; do
11687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11688 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
11689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
11700 if test -n "$MODPROBE_CMD"; then
11701 { echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
11702 echo "${ECHO_T}$MODPROBE_CMD" >&6; }
11704 { echo "$as_me:$LINENO: result: no" >&5
11705 echo "${ECHO_T}no" >&6; }
11710 if test x$MODPROBE_CMD != x; then
11712 cat >>confdefs.h <<_ACEOF
11713 #define MODPROBE_CMD "$MODPROBE_CMD"
11718 ################################################################################
11721 if test "$BUILD_DMEVENTD" = yes; then
11723 # Check whether --with-dmeventd-pidfile was given.
11724 if test "${with_dmeventd_pidfile+set}" = set; then
11725 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
11726 #define DMEVENTD_PIDFILE "$withval"
11730 cat >>confdefs.h <<_ACEOF
11731 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
11740 if test "$BUILD_DMEVENTD" = yes; then
11741 dmeventd_prefix="$exec_prefix"
11742 if test "x$dmeventd_prefix" = "xNONE"; then
11743 dmeventd_prefix="$prefix"
11745 if test "x$dmeventd_prefix" = "xNONE"; then
11749 # Check whether --with-dmeventd-path was given.
11750 if test "${with_dmeventd_path+set}" = set; then
11751 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
11752 #define DMEVENTD_PATH "$withval"
11756 cat >>confdefs.h <<_ACEOF
11757 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
11764 ################################################################################
11765 { echo "$as_me:$LINENO: checking for kernel interface choice" >&5
11766 echo $ECHO_N "checking for kernel interface choice... $ECHO_C" >&6; }
11768 # Check whether --with-interface was given.
11769 if test "${with_interface+set}" = set; then
11770 withval=$with_interface; interface="$withval"
11775 if [ "x$interface" != xioctl ];
11777 { { echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
11778 echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
11779 { (exit 1); exit 1; }; }
11781 { echo "$as_me:$LINENO: result: $interface" >&5
11782 echo "${ECHO_T}$interface" >&6; }
11784 ################################################################################
11785 DM_LIB_VERSION="\"`cat VERSION_LIB
2>/dev
/null ||
echo Unknown
`\""
11786 LVM_VERSION="\"`cat VERSION
2>/dev
/null ||
echo Unknown
`\""
11788 ################################################################################
11843 ################################################################################
11844 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc man/Makefile po/Makefile scripts/Makefile test/Makefile tools/Makefile tools/version.h"
11846 cat >confcache <<\_ACEOF
11847 # This file is a shell script that caches the results of configure
11848 # tests run on this system so they can be shared between configure
11849 # scripts and configure runs, see configure's option --config-cache.
11850 # It is not useful on other systems. If it contains results you don't
11851 # want to keep, you may remove or edit it.
11853 # config.status only pays attention to the cache file if you give it
11854 # the --recheck option to rerun configure.
11856 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11857 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11858 # following values.
11862 # The following way of writing the cache mishandles newlines in values,
11863 # but we know of no workaround that is simple, portable, and efficient.
11864 # So, we kill variables containing newlines.
11865 # Ultrix sh set writes to stderr and can't be redirected directly,
11866 # and sets the high bit in the cache file unless we assign to the vars.
11868 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11869 eval ac_val
=\$
$ac_var
11873 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11874 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11877 _ | IFS | as_nl
) ;; #(
11878 *) $as_unset $ac_var ;;
11884 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11885 *${as_nl}ac_space
=\
*)
11886 # `set' does not quote correctly, so add quotes (double-quote
11887 # substitution turns \\\\ into \\, and sed turns \\ into \).
11890 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11893 # `set' quotes correctly as required by POSIX, so do not add quotes.
11894 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11903 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11905 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11907 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11908 if test -w "$cache_file"; then
11909 test "x$cache_file" != "x/dev/null" &&
11910 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11911 echo "$as_me: updating cache $cache_file" >&6;}
11912 cat confcache
>$cache_file
11914 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11915 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11920 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11921 # Let make expand exec_prefix.
11922 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11924 DEFS
=-DHAVE_CONFIG_H
11928 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11929 # 1. Remove the extension, and $U if already installed.
11930 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11931 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11932 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11933 # will be set to the directory where LIBOBJS objects are built.
11934 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11935 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11937 LIBOBJS
=$ac_libobjs
11939 LTLIBOBJS
=$ac_ltlibobjs
11943 : ${CONFIG_STATUS=./config.status}
11944 ac_clean_files_save
=$ac_clean_files
11945 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11946 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11947 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11948 cat >$CONFIG_STATUS <<_ACEOF
11950 # Generated by $as_me.
11951 # Run this file to recreate the current configuration.
11952 # Compiler output produced by configure, useful for debugging
11953 # configure, is in config.log if it exists.
11956 ac_cs_recheck=false
11958 SHELL=\${CONFIG_SHELL-$SHELL}
11961 cat >>$CONFIG_STATUS <<\_ACEOF
11962 ## --------------------- ##
11963 ## M4sh Initialization. ##
11964 ## --------------------- ##
11966 # Be more Bourne compatible
11967 DUALCASE
=1; export DUALCASE
# for MKS sh
11968 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11971 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11972 # is contrary to our usage. Disable this feature.
11973 alias -g '${1+"$@"}'='"$@"'
11974 setopt NO_GLOB_SUBST
11976 case `(set -o) 2>/dev/null` in
11977 *posix
*) set -o posix
;;
11986 # Avoid depending upon Character Ranges.
11987 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11988 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11989 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11990 as_cr_digits
='0123456789'
11991 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11993 # The user is always right.
11994 if test "${PATH_SEPARATOR+set}" != set; then
11995 echo "#! /bin/sh" >conf$$.sh
11996 echo "exit 0" >>conf$$.sh
11998 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12006 # Support unset when possible.
12007 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12015 # We need space, tab and new line, in precisely that order. Quoting is
12016 # there to prevent editors from complaining about space-tab.
12017 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12018 # splitting by setting IFS to empty value.)
12023 # Find who we are. Look in the path if we contain no directory separator.
12025 *[\\/]* ) as_myself
=$0 ;;
12026 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12027 for as_dir
in $PATH
12030 test -z "$as_dir" && as_dir
=.
12031 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12037 # We did not find ourselves, most probably we were run as `sh COMMAND'
12038 # in which case we are not to be found in the path.
12039 if test "x$as_myself" = x
; then
12042 if test ! -f "$as_myself"; then
12043 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12044 { (exit 1); exit 1; }
12047 # Work around bugs in pre-3.0 UWIN ksh.
12048 for as_var
in ENV MAIL MAILPATH
12049 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12057 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12058 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12059 LC_TELEPHONE LC_TIME
12061 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12062 eval $as_var=C
; export $as_var
12064 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12068 # Required to use basename.
12069 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12070 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12076 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12077 as_basename
=basename
12083 # Name of the executable.
12084 as_me
=`$as_basename -- "$0" ||
12085 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12086 X"$0" : 'X\(//\)$' \| \
12087 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12089 sed '/^.*\/\([^/][^/]*\)\/*$/{
12108 as_lineno_1
=$LINENO
12109 as_lineno_2
=$LINENO
12110 test "x$as_lineno_1" != "x$as_lineno_2" &&
12111 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12113 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12114 # uniformly replaced by the line number. The first 'sed' inserts a
12115 # line-number line after each line using $LINENO; the second 'sed'
12116 # does the real work. The second script uses 'N' to pair each
12117 # line-number line with the line containing $LINENO, and appends
12118 # trailing '-' during substitution so that $LINENO is not a special
12119 # case at line end.
12120 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12121 # scripts with optimization help from Paolo Bonzini. Blame Lee
12122 # E. McMahon (1931-1989) for sed's syntax. :-)
12134 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12137 ' >$as_me.lineno
&&
12138 chmod +x
"$as_me.lineno" ||
12139 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12140 { (exit 1); exit 1; }; }
12142 # Don't try to exec as it changes $[0], causing all sort of problems
12143 # (the dirname of $[0] is not the place where we might find the
12144 # original and so on. Autoconf is especially sensitive to this).
12145 .
"./$as_me.lineno"
12146 # Exit status is that of the last command.
12151 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12157 ECHO_C
= ECHO_N
= ECHO_T
=
12158 case `echo -n x` in
12160 case `echo 'x\c'` in
12161 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12168 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12169 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12175 rm -f conf$$ conf$$.exe conf$$.
file
12176 if test -d conf$$.dir
; then
12177 rm -f conf$$.dir
/conf$$.
file
12183 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12185 # ... but there are two gotchas:
12186 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12187 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12188 # In both cases, we have to default to `cp -p'.
12189 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12191 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12196 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12197 rmdir conf$$.dir
2>/dev
/null
12199 if mkdir
-p .
2>/dev
/null
; then
12202 test -d .
/-p && rmdir .
/-p
12206 if test -x / >/dev
/null
2>&1; then
12207 as_test_x
='test -x'
12209 if ls -dL / >/dev
/null
2>&1; then
12216 if test -d "$1"; then
12222 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12223 ???[sx]*):;;*)false;;esac;fi
12227 as_executable_p
=$as_test_x
12229 # Sed expression to map a string onto a valid CPP name.
12230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12232 # Sed expression to map a string onto a valid variable name.
12233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12238 # Save the log message, to keep $[0] and so on meaningful, and to
12239 # report actual input values of CONFIG_FILES etc. instead of their
12240 # values after options handling.
12242 This file was extended by $as_me, which was
12243 generated by GNU Autoconf 2.61. Invocation command line was
12245 CONFIG_FILES = $CONFIG_FILES
12246 CONFIG_HEADERS = $CONFIG_HEADERS
12247 CONFIG_LINKS = $CONFIG_LINKS
12248 CONFIG_COMMANDS = $CONFIG_COMMANDS
12251 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12256 cat >>$CONFIG_STATUS <<_ACEOF
12257 # Files that config.status was made for.
12258 config_files="$ac_config_files"
12259 config_headers="$ac_config_headers"
12263 cat >>$CONFIG_STATUS <<\_ACEOF
12265 \`$as_me' instantiates files from templates according to the
12266 current configuration.
12268 Usage: $0 [OPTIONS] [FILE]...
12270 -h, --help print this help, then exit
12271 -V, --version print version number and configuration settings, then exit
12272 -q, --quiet do not print progress messages
12273 -d, --debug don't remove temporary files
12274 --recheck update $as_me by reconfiguring in the same conditions
12275 --file=FILE[:TEMPLATE]
12276 instantiate the configuration file FILE
12277 --header=FILE[:TEMPLATE]
12278 instantiate the configuration header FILE
12280 Configuration files:
12283 Configuration headers:
12286 Report bugs to <bug-autoconf@gnu.org>."
12289 cat >>$CONFIG_STATUS <<_ACEOF
12292 configured by $0, generated by GNU Autoconf 2.61,
12293 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12295 Copyright (C) 2006 Free Software Foundation, Inc.
12296 This config.status script is free software; the Free Software Foundation
12297 gives unlimited permission to copy, distribute and modify it."
12305 cat >>$CONFIG_STATUS <<\_ACEOF
12306 # If no file are specified by the user, then we need to provide default
12307 # value. By we need to know if files were specified by the user.
12313 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12314 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12325 # Handling of the options.
12326 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12328 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12329 echo "$ac_cs_version"; exit ;;
12330 --debug |
--debu |
--deb |
--de |
--d |
-d )
12332 --file |
--fil |
--fi |
--f )
12334 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12335 ac_need_defaults
=false
;;
12336 --header |
--heade |
--head |
--hea )
12338 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12339 ac_need_defaults
=false
;;
12341 # Conflict between --help and --header
12342 { echo "$as_me: error: ambiguous option: $1
12343 Try \`$0 --help' for more information." >&2
12344 { (exit 1); exit 1; }; };;
12345 --help |
--hel |
-h )
12346 echo "$ac_cs_usage"; exit ;;
12347 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12348 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12351 # This is an error.
12352 -*) { echo "$as_me: error: unrecognized option: $1
12353 Try \`$0 --help' for more information." >&2
12354 { (exit 1); exit 1; }; } ;;
12356 *) ac_config_targets
="$ac_config_targets $1"
12357 ac_need_defaults
=false
;;
12363 ac_configure_extra_args
=
12365 if $ac_cs_silent; then
12367 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12371 cat >>$CONFIG_STATUS <<_ACEOF
12372 if \$ac_cs_recheck; then
12373 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12374 CONFIG_SHELL=$SHELL
12375 export CONFIG_SHELL
12376 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12380 cat >>$CONFIG_STATUS <<\_ACEOF
12384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12385 ## Running $as_me. ##
12391 cat >>$CONFIG_STATUS <<_ACEOF
12394 cat >>$CONFIG_STATUS <<\_ACEOF
12396 # Handling of arguments.
12397 for ac_config_target
in $ac_config_targets
12399 case $ac_config_target in
12400 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
12401 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12402 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
12403 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
12404 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
12405 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
12406 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
12407 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
12408 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
12409 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12410 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12411 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12412 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
12413 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
12414 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
12415 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
12416 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
12417 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
12418 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
12419 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12420 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
12421 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
12422 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
12423 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12424 "tools/version.h") CONFIG_FILES
="$CONFIG_FILES tools/version.h" ;;
12426 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12427 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12428 { (exit 1); exit 1; }; };;
12433 # If the user did not use the arguments to specify the items to instantiate,
12434 # then the envvar interface is used. Set only those that are not.
12435 # We use the long form for the default assignment because of an extremely
12436 # bizarre bug on SunOS 4.1.3.
12437 if $ac_need_defaults; then
12438 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12439 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12442 # Have a temporary directory for convenience. Make it in the build tree
12443 # simply because there is no reason against having it here, and in addition,
12444 # creating and moving files from /tmp can sometimes cause problems.
12445 # Hook for its removal unless debugging.
12446 # Note that there is a small window in which the directory will not be cleaned:
12447 # after its creation but before its name has been assigned to `$tmp'.
12451 trap 'exit_status=$?
12452 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12454 trap '{ (exit 1); exit 1; }' 1 2 13 15
12456 # Create a (secure) tmp directory for tmp files.
12459 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12460 test -n "$tmp" && test -d "$tmp"
12463 tmp
=.
/conf$$
-$RANDOM
12464 (umask 077 && mkdir
"$tmp")
12467 echo "$me: cannot create a temporary directory in ." >&2
12468 { (exit 1); exit 1; }
12472 # Set up the sed scripts for CONFIG_FILES section.
12475 # No need to generate the scripts if there are no CONFIG_FILES.
12476 # This happens for instance when ./config.status config.h
12477 if test -n "$CONFIG_FILES"; then
12484 for ac_last_try
in false false false false false
:; do
12485 cat >conf$
$subs.
sed <<_ACEOF
12486 SHELL!$SHELL$ac_delim
12487 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12488 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12489 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12490 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12491 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12492 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12493 exec_prefix!$exec_prefix$ac_delim
12494 prefix!$prefix$ac_delim
12495 program_transform_name!$program_transform_name$ac_delim
12496 bindir!$bindir$ac_delim
12497 sbindir!$sbindir$ac_delim
12498 libexecdir!$libexecdir$ac_delim
12499 datarootdir!$datarootdir$ac_delim
12500 datadir!$datadir$ac_delim
12501 sysconfdir!$sysconfdir$ac_delim
12502 sharedstatedir!$sharedstatedir$ac_delim
12503 localstatedir!$localstatedir$ac_delim
12504 includedir!$includedir$ac_delim
12505 oldincludedir!$oldincludedir$ac_delim
12506 docdir!$docdir$ac_delim
12507 infodir!$infodir$ac_delim
12508 htmldir!$htmldir$ac_delim
12509 dvidir!$dvidir$ac_delim
12510 pdfdir!$pdfdir$ac_delim
12511 psdir!$psdir$ac_delim
12512 libdir!$libdir$ac_delim
12513 localedir!$localedir$ac_delim
12514 mandir!$mandir$ac_delim
12515 DEFS!$DEFS$ac_delim
12516 ECHO_C!$ECHO_C$ac_delim
12517 ECHO_N!$ECHO_N$ac_delim
12518 ECHO_T!$ECHO_T$ac_delim
12519 LIBS!$LIBS$ac_delim
12520 build_alias!$build_alias$ac_delim
12521 host_alias!$host_alias$ac_delim
12522 target_alias!$target_alias$ac_delim
12523 build!$build$ac_delim
12524 build_cpu!$build_cpu$ac_delim
12525 build_vendor!$build_vendor$ac_delim
12526 build_os!$build_os$ac_delim
12527 host!$host$ac_delim
12528 host_cpu!$host_cpu$ac_delim
12529 host_vendor!$host_vendor$ac_delim
12530 host_os!$host_os$ac_delim
12531 target!$target$ac_delim
12532 target_cpu!$target_cpu$ac_delim
12533 target_vendor!$target_vendor$ac_delim
12534 target_os!$target_os$ac_delim
12538 CFLAGS!$CFLAGS$ac_delim
12539 LDFLAGS!$LDFLAGS$ac_delim
12540 CPPFLAGS!$CPPFLAGS$ac_delim
12541 ac_ct_CC!$ac_ct_CC$ac_delim
12542 EXEEXT!$EXEEXT$ac_delim
12543 OBJEXT!$OBJEXT$ac_delim
12545 GREP!$GREP$ac_delim
12546 EGREP!$EGREP$ac_delim
12547 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12548 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12549 INSTALL_DATA!$INSTALL_DATA$ac_delim
12550 LN_S!$LN_S$ac_delim
12551 SET_MAKE!$SET_MAKE$ac_delim
12552 RANLIB!$RANLIB$ac_delim
12553 CFLOW_CMD!$CFLOW_CMD$ac_delim
12554 CSCOPE_CMD!$CSCOPE_CMD$ac_delim
12555 ALLOCA!$ALLOCA$ac_delim
12556 LIBOBJS!$LIBOBJS$ac_delim
12557 POW_LIB!$POW_LIB$ac_delim
12558 LCOV!$LCOV$ac_delim
12559 GENHTML!$GENHTML$ac_delim
12560 LVM2CMD_LIB!$LVM2CMD_LIB$ac_delim
12561 MSGFMT!$MSGFMT$ac_delim
12562 MODPROBE_CMD!$MODPROBE_CMD$ac_delim
12563 BUILD_DMEVENTD!$BUILD_DMEVENTD$ac_delim
12564 CLDFLAGS!$CLDFLAGS$ac_delim
12565 CLDNOWHOLEARCHIVE!$CLDNOWHOLEARCHIVE$ac_delim
12566 CLDWHOLEARCHIVE!$CLDWHOLEARCHIVE$ac_delim
12567 CLUSTER!$CLUSTER$ac_delim
12568 CLVMD!$CLVMD$ac_delim
12569 CMDLIB!$CMDLIB$ac_delim
12570 COPTIMISE_FLAG!$COPTIMISE_FLAG$ac_delim
12571 DEBUG!$DEBUG$ac_delim
12572 DEVMAPPER!$DEVMAPPER$ac_delim
12573 DMDIR!$DMDIR$ac_delim
12574 DMEVENTD!$DMEVENTD$ac_delim
12575 DM_COMPAT!$DM_COMPAT$ac_delim
12576 DM_DEVICE_GID!$DM_DEVICE_GID$ac_delim
12577 DM_DEVICE_MODE!$DM_DEVICE_MODE$ac_delim
12578 DM_DEVICE_UID!$DM_DEVICE_UID$ac_delim
12579 DM_IOCTLS!$DM_IOCTLS$ac_delim
12580 DM_LIB_VERSION!$DM_LIB_VERSION$ac_delim
12581 FSADM!$FSADM$ac_delim
12582 GROUP!$GROUP$ac_delim
12585 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12587 elif $ac_last_try; then
12588 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12589 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12590 { (exit 1); exit 1; }; }
12592 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12596 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12597 if test -n "$ac_eof"; then
12598 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12599 ac_eof
=`expr $ac_eof + 1`
12602 cat >>$CONFIG_STATUS <<_ACEOF
12603 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12604 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12607 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12608 s/^/s,@/; s/!/@,|#_!!_#|/
12611 s/'"$ac_delim"'$/,g/; t
12613 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12614 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12615 rm -f conf$
$subs.
sed
12616 cat >>$CONFIG_STATUS <<_ACEOF
12622 for ac_last_try
in false false false false false
:; do
12623 cat >conf$
$subs.
sed <<_ACEOF
12624 HAVE_LIBDL!$HAVE_LIBDL$ac_delim
12625 HAVE_REALTIME!$HAVE_REALTIME$ac_delim
12626 HAVE_SELINUX!$HAVE_SELINUX$ac_delim
12627 INTL!$INTL$ac_delim
12628 INTL_PACKAGE!$INTL_PACKAGE$ac_delim
12629 JOBS!$JOBS$ac_delim
12630 LDDEPS!$LDDEPS$ac_delim
12631 LIB_SUFFIX!$LIB_SUFFIX$ac_delim
12632 LOCALEDIR!$LOCALEDIR$ac_delim
12633 LVM1!$LVM1$ac_delim
12634 LVM1_FALLBACK!$LVM1_FALLBACK$ac_delim
12635 CONFDIR!$CONFDIR$ac_delim
12636 LVM_VERSION!$LVM_VERSION$ac_delim
12637 MIRRORS!$MIRRORS$ac_delim
12638 OWNER!$OWNER$ac_delim
12639 PKGCONFIG!$PKGCONFIG$ac_delim
12640 POOL!$POOL$ac_delim
12641 SNAPSHOTS!$SNAPSHOTS$ac_delim
12642 STATICDIR!$STATICDIR$ac_delim
12643 STATIC_LINK!$STATIC_LINK$ac_delim
12644 LIB_PTHREAD!$LIB_PTHREAD$ac_delim
12645 interface!$interface$ac_delim
12646 kerneldir!$kerneldir$ac_delim
12647 missingkernel!$missingkernel$ac_delim
12648 kernelvsn!$kernelvsn$ac_delim
12649 tmpdir!$tmpdir$ac_delim
12650 usrlibdir!$usrlibdir$ac_delim
12651 usrsbindir!$usrsbindir$ac_delim
12652 LTLIBOBJS!$LTLIBOBJS$ac_delim
12655 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then
12657 elif $ac_last_try; then
12658 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12659 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12660 { (exit 1); exit 1; }; }
12662 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12666 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12667 if test -n "$ac_eof"; then
12668 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12669 ac_eof
=`expr $ac_eof + 1`
12672 cat >>$CONFIG_STATUS <<_ACEOF
12673 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12674 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12677 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12678 s/^/s,@/; s/!/@,|#_!!_#|/
12681 s/'"$ac_delim"'$/,g/; t
12683 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12684 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12685 rm -f conf$
$subs.
sed
12686 cat >>$CONFIG_STATUS <<_ACEOF
12693 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12694 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12695 # trailing colons and then remove the whole line if VPATH becomes empty
12696 # (actually we leave an empty line to preserve line numbers).
12697 if test "x$srcdir" = x.
; then
12698 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12699 s/:*\$(srcdir):*/:/
12700 s/:*\${srcdir}:*/:/
12702 s/^\([^=]*=[ ]*\):*/\1/
12708 cat >>$CONFIG_STATUS <<\_ACEOF
12709 fi # test -n "$CONFIG_FILES"
12712 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
12715 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12717 case $ac_mode$ac_tag in
12719 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12720 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12721 { (exit 1); exit 1; }; };;
12722 :[FH
]-) ac_tag
=-:-;;
12723 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12740 -) ac_f
="$tmp/stdin";;
12741 *) # Look for the file first in the build tree, then in the source tree
12742 # (if the path is not absolute). The absolute path cannot be DOS-style,
12743 # because $ac_f cannot contain `:'.
12747 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12749 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12750 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12751 { (exit 1); exit 1; }; };;
12753 ac_file_inputs
="$ac_file_inputs $ac_f"
12756 # Let's still pretend it is `configure' which instantiates (i.e., don't
12757 # use $as_me), people would be surprised to read:
12758 # /* config.h. Generated by config.status. */
12759 configure_input
="Generated from "`IFS=:
12760 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12761 if test x
"$ac_file" != x-
; then
12762 configure_input
="$ac_file. $configure_input"
12763 { echo "$as_me:$LINENO: creating $ac_file" >&5
12764 echo "$as_me: creating $ac_file" >&6;}
12768 *:-:* |
*:-) cat >"$tmp/stdin";;
12773 ac_dir
=`$as_dirname -- "$ac_file" ||
12774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12775 X"$ac_file" : 'X\(//\)[^/]' \| \
12776 X"$ac_file" : 'X\(//\)$' \| \
12777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12783 /^X\(\/\/\)[^/].*/{
12798 -*) as_dir
=.
/$as_dir;;
12800 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12804 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12805 *) as_qdir
=$as_dir;;
12807 as_dirs
="'$as_qdir' $as_dirs"
12808 as_dir
=`$as_dirname -- "$as_dir" ||
12809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12810 X"$as_dir" : 'X\(//\)[^/]' \| \
12811 X"$as_dir" : 'X\(//\)$' \| \
12812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12818 /^X\(\/\/\)[^/].*/{
12831 test -d "$as_dir" && break
12833 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12834 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12835 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12836 { (exit 1); exit 1; }; }; }
12840 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12842 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12843 # A ".." for each directory in $ac_dir_suffix.
12844 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12845 case $ac_top_builddir_sub in
12846 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12847 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12850 ac_abs_top_builddir
=$ac_pwd
12851 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12852 # for backward compatibility:
12853 ac_top_builddir
=$ac_top_build_prefix
12856 .
) # We are building in place.
12858 ac_top_srcdir
=$ac_top_builddir_sub
12859 ac_abs_top_srcdir
=$ac_pwd ;;
12860 [\\/]* | ?
:[\\/]* ) # Absolute name.
12861 ac_srcdir
=$srcdir$ac_dir_suffix;
12862 ac_top_srcdir
=$srcdir
12863 ac_abs_top_srcdir
=$srcdir ;;
12864 *) # Relative name.
12865 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12866 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12867 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12869 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12879 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12880 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12882 ac_MKDIR_P
=$MKDIR_P
12884 [\\/$
]* | ?
:[\\/]* ) ;;
12885 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12889 cat >>$CONFIG_STATUS <<\_ACEOF
12890 # If the template does not know about datarootdir, expand it.
12891 # FIXME: This hack should be removed a few years after 2.60.
12892 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12894 case `sed -n '/datarootdir/ {
12903 ' $ac_file_inputs` in
12904 *datarootdir
*) ac_datarootdir_seen
=yes;;
12905 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12906 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12907 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12909 cat >>$CONFIG_STATUS <<_ACEOF
12910 ac_datarootdir_hack='
12911 s&@datadir@&$datadir&g
12912 s&@docdir@&$docdir&g
12913 s&@infodir@&$infodir&g
12914 s&@localedir@&$localedir&g
12915 s&@mandir@&$mandir&g
12916 s&\\\${datarootdir}&$datarootdir&g' ;;
12920 # Neutralize VPATH when `$srcdir' = `.'.
12921 # Shell code in configure.ac might set extrasub.
12922 # FIXME: do we really want to maintain this feature?
12923 cat >>$CONFIG_STATUS <<_ACEOF
12927 cat >>$CONFIG_STATUS <<\_ACEOF
12929 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12930 s
&@configure_input@
&$configure_input&;t t
12931 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12932 s
&@srcdir@
&$ac_srcdir&;t t
12933 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12934 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12935 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12936 s
&@builddir@
&$ac_builddir&;t t
12937 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12938 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12939 s
&@INSTALL@
&$ac_INSTALL&;t t
12940 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12941 $ac_datarootdir_hack
12942 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
12944 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12945 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12946 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12947 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12948 which seems to be undefined. Please make sure it is defined." >&5
12949 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12950 which seems to be undefined. Please make sure it is defined." >&2;}
12954 -) cat "$tmp/out"; rm -f "$tmp/out";;
12955 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12964 # Transform confdefs.h into a sed script `conftest.defines', that
12965 # substitutes the proper values into config.h.in to produce config.h.
12966 rm -f conftest.defines conftest.
tail
12967 # First, append a space to every undef/define line, to ease matching.
12968 echo 's/$/ /' >conftest.defines
12969 # Then, protect against being on the right side of a sed subst, or in
12970 # an unquoted here document, in config.status. If some macros were
12971 # called several times there might be several #defines for the same
12972 # symbol, which is useless. But do not sort them, since the last
12973 # AC_DEFINE must be honored.
12974 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12975 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12976 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12977 # PARAMS is the parameter list in the macro definition--in most cases, it's
12978 # just an empty string.
12979 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12980 ac_dB
='\\)[ (].*,\\1define\\2'
12988 s/^[ ]*#[ ]*define[ ][ ]*//
12993 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12994 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12995 ' >>conftest.defines
12997 # Remove the space that was appended to ease matching.
12998 # Then replace #undef with comments. This is necessary, for
12999 # example, in the case of _POSIX_SOURCE, which is predefined and required
13000 # on some systems where configure will not decide to define it.
13001 # (The regexp can be short, since the line contains either #define or #undef.)
13003 s,^[ #]*u.*,/* & */,' >>conftest.defines
13005 # Break up conftest.defines:
13006 ac_max_sed_lines
=50
13008 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13009 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13010 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13012 ac_in
='$ac_file_inputs'
13013 ac_out
='"$tmp/out1"'
13014 ac_nxt
='"$tmp/out2"'
13018 # Write a here document:
13019 cat >>$CONFIG_STATUS <<_ACEOF
13020 # First, check the format of the line:
13021 cat >"\$tmp/defines.sed" <<\\CEOF
13022 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13023 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13027 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13029 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13030 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13031 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13032 grep . conftest.
tail >/dev
/null ||
break
13033 rm -f conftest.defines
13034 mv conftest.
tail conftest.defines
13036 rm -f conftest.defines conftest.
tail
13038 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13039 cat >>$CONFIG_STATUS <<\_ACEOF
13040 if test x
"$ac_file" != x-
; then
13041 echo "/* $configure_input */" >"$tmp/config.h"
13042 cat "$ac_result" >>"$tmp/config.h"
13043 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13044 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13045 echo "$as_me: $ac_file is unchanged" >&6;}
13048 mv "$tmp/config.h" $ac_file
13051 echo "/* $configure_input */"
13063 { (exit 0); exit 0; }
13065 chmod +x
$CONFIG_STATUS
13066 ac_clean_files
=$ac_clean_files_save
13069 # configure is writing to config.log, and then calls config.status.
13070 # config.status does its own redirection, appending to config.log.
13071 # Unfortunately, on DOS this fails, as config.log is still kept open
13072 # by configure, so config.status won't be able to write to it; its
13073 # output is simply discarded. So we exec the FD to /dev/null,
13074 # effectively closing config.log, so it can be properly (re)opened and
13075 # appended to by config.status. When coming back to configure, we
13076 # need to make the FD available again.
13077 if test "$no_create" != yes; then
13079 ac_config_status_args
=
13080 test "$silent" = yes &&
13081 ac_config_status_args
="$ac_config_status_args --quiet"
13083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13086 # would make configure fail if this is the last instruction.
13087 $ac_cs_success ||
{ (exit 1); exit 1; }
13091 if test x
$ODIRECT != xyes
; then
13092 { echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
13093 echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}