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-uid=UID Set the owner used
for new device nodes
[UID
=0]
1351 --with-device-gid=UID Set the group used
for new device nodes
[GID
=0]
1352 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1353 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1355 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1357 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1359 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1361 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1363 --with-clvmd=TYPE Build cluster LVM Daemon
: cman
/gulm
/none
/all
1365 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1366 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1367 --with-confdir=DIR Configuration files
in DIR
/etc
1368 --with-staticdir=DIR Static binary
in DIR EXEC_PREFIX
/sbin
1369 --with-usrlibdir=DIR
1370 --with-usrsbindir=DIR
1371 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1372 --with-dmeventd-path=PATH dmeventd path
[${exec_prefix}/sbin
/dmeventd
]
1373 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1375 Some influential environment variables
:
1376 CC C compiler
command
1377 CFLAGS C compiler flags
1378 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1379 nonstandard directory
<lib dir
>
1380 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1381 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1382 you have headers
in a nonstandard directory
<include dir
>
1385 Use these variables to override the choices made by
`configure' or to help
1386 it to find libraries and programs with nonstandard names/locations.
1392 if test "$ac_init_help" = "recursive"; then
1393 # If there are subdirs, report their specific --help.
1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1395 test -d "$ac_dir" || continue
1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1402 # A ".." for each directory in $ac_dir_suffix.
1403 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1404 case $ac_top_builddir_sub in
1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1409 ac_abs_top_builddir=$ac_pwd
1410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1411 # for backward compatibility:
1412 ac_top_builddir=$ac_top_build_prefix
1415 .) # We are building in place.
1417 ac_top_srcdir=$ac_top_builddir_sub
1418 ac_abs_top_srcdir=$ac_pwd ;;
1419 [\\/]* | ?:[\\/]* ) # Absolute name.
1420 ac_srcdir=$srcdir$ac_dir_suffix;
1421 ac_top_srcdir=$srcdir
1422 ac_abs_top_srcdir=$srcdir ;;
1424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1425 ac_top_srcdir=$ac_top_build_prefix$srcdir
1426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1430 cd "$ac_dir" || { ac_status=$?; continue; }
1431 # Check for guested configure.
1432 if test -f "$ac_srcdir/configure.gnu"; then
1434 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1435 elif test -f "$ac_srcdir/configure"; then
1437 $SHELL "$ac_srcdir/configure" --help=recursive
1439 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1441 cd "$ac_pwd" || { ac_status=$?; break; }
1445 test -n "$ac_init_help" && exit $ac_status
1446 if $ac_init_version; then
1449 generated by GNU Autoconf 2.61
1451 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1452 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1453 This configure script is free software; the Free Software Foundation
1454 gives unlimited permission to copy, distribute and modify it.
1458 cat >config.log <<_ACEOF
1459 This file contains any messages produced by compilers while
1460 running configure, to aid debugging if configure makes a mistake.
1462 It was created by $as_me, which was
1463 generated by GNU Autoconf 2.61. Invocation command line was
1475 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1476 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1477 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1478 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1479 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1481 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1482 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1484 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1485 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1486 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1487 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1488 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1489 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1490 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir=.
1499 echo "PATH: $as_dir"
1515 # Keep a trace of the command line.
1516 # Strip out --no-create and --no-recursion so they do not pile up.
1517 # Strip out --silent because we don't want to record it for future runs.
1518 # Also quote any args containing shell meta-characters.
1519 # Make two passes to allow for proper duplicate-argument suppression.
1523 ac_must_keep_next=false
1529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1531 | -silent | --silent | --silen | --sile | --sil)
1534 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1537 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1539 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1540 if test $ac_must_keep_next = true; then
1541 ac_must_keep_next=false # Got value, back to normal.
1544 *=* | --config-cache | -C | -disable-* | --disable-* \
1545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1547 | -with-* | --with-* | -without-* | --without-* | --x)
1548 case "$ac_configure_args0 " in
1549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1552 -* ) ac_must_keep_next=true ;;
1555 ac_configure_args="$ac_configure_args '$ac_arg'"
1560 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1561 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1563 # When interrupted or exit'd, cleanup temporary files, and complete
1564 # config.log. We remove comments because anyway the quotes in there
1565 # would cause problems or look ugly.
1566 # WARNING: Use '\'' to represent an apostrophe within the trap.
1567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568 trap 'exit_status=$?
1569 # Save into config.log some information that might help in debugging.
1574 ## ---------------- ##
1575 ## Cache variables. ##
1576 ## ---------------- ##
1579 # The following way of writing the cache mishandles newlines in values,
1581 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1582 eval ac_val=\$$ac_var
1586 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1587 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1590 _ | IFS | as_nl) ;; #(
1591 *) $as_unset $ac_var ;;
1596 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1597 *${as_nl}ac_space=\ *)
1599 "s/'\''/'\''\\\\'\'''\''/g;
1600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1611 ## ----------------- ##
1612 ## Output variables. ##
1613 ## ----------------- ##
1616 for ac_var in $ac_subst_vars
1618 eval ac_val=\$$ac_var
1620 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1622 echo "$ac_var='\''$ac_val'\''"
1626 if test -n "$ac_subst_files"; then
1628 ## ------------------- ##
1629 ## File substitutions. ##
1630 ## ------------------- ##
1633 for ac_var in $ac_subst_files
1635 eval ac_val=\$$ac_var
1637 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1639 echo "$ac_var='\''$ac_val'\''"
1644 if test -s confdefs.h; then
1654 test "$ac_signal" != 0 &&
1655 echo "$as_me: caught signal $ac_signal"
1656 echo "$as_me: exit $exit_status"
1658 rm -f core *.core core.conftest.* &&
1659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1662 for ac_signal in 1 2 13 15; do
1663 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1668 rm -f -r conftest* confdefs.h
1670 # Predefined preprocessor variables.
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_NAME "$PACKAGE_NAME"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_STRING "$PACKAGE_STRING"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1697 # Let the site file select an alternate cache file if it wants to.
1698 # Prefer explicitly selected file to automatically selected ones.
1699 if test -n "$CONFIG_SITE"; then
1700 set x "$CONFIG_SITE"
1701 elif test "x$prefix" != xNONE; then
1702 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1704 set x "$ac_default_prefix/share/config.site" \
1705 "$ac_default_prefix/etc/config.site"
1710 if test -r "$ac_site_file"; then
1711 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1712 echo "$as_me: loading site script $ac_site_file" >&6;}
1713 sed 's/^/| /' "$ac_site_file" >&5
1718 if test -r "$cache_file"; then
1719 # Some versions of bash will fail to source /dev/null (special
1720 # files actually), so we avoid doing that.
1721 if test -f "$cache_file"; then
1722 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1723 echo "$as_me: loading cache $cache_file" >&6;}
1725 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1726 *) . "./$cache_file";;
1730 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1731 echo "$as_me: creating cache $cache_file" >&6;}
1735 # Check that the precious variables saved in the cache have kept the same
1737 ac_cache_corrupted=false
1738 for ac_var in $ac_precious_vars; do
1739 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1740 eval ac_new_set=\$ac_env_${ac_var}_set
1741 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1742 eval ac_new_val=\$ac_env_${ac_var}_value
1743 case $ac_old_set,$ac_new_set in
1745 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1746 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1749 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1750 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1751 ac_cache_corrupted=: ;;
1754 if test "x$ac_old_val" != "x$ac_new_val"; then
1755 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1756 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1757 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1758 echo "$as_me: former value
: $ac_old_val" >&2;}
1759 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1760 echo "$as_me: current value
: $ac_new_val" >&2;}
1761 ac_cache_corrupted=:
1764 # Pass precious variables to config.status.
1765 if test "$ac_new_set" = set; then
1767 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1768 *) ac_arg=$ac_var=$ac_new_val ;;
1770 case " $ac_configure_args " in
1771 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1772 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1776 if $ac_cache_corrupted; then
1777 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1778 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1779 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1780 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1781 { (exit 1); exit 1; }; }
1801 ac_cpp='$CPP $CPPFLAGS'
1802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1808 ac_config_headers="$ac_config_headers lib/misc/configure.h"
1811 ################################################################################
1813 for ac_dir in autoconf "$srcdir"/autoconf; do
1814 if test -f "$ac_dir/install-sh"; then
1816 ac_install_sh="$ac_aux_dir/install-sh -c"
1818 elif test -f "$ac_dir/install.sh"; then
1820 ac_install_sh="$ac_aux_dir/install.sh -c"
1822 elif test -f "$ac_dir/shtool"; then
1824 ac_install_sh="$ac_aux_dir/shtool install -c"
1828 if test -z "$ac_aux_dir"; then
1829 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1830 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1831 { (exit 1); exit 1; }; }
1834 # These three variables are undocumented and unsupported,
1835 # and are intended to be withdrawn in a future Autoconf release.
1836 # They can cause serious problems if a builder's source tree is in a directory
1837 # whose full name contains unusual characters.
1838 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1839 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1840 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1844 ################################################################################
1845 # Make sure we can run config.sub.
1846 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1847 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1848 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1849 { (exit 1); exit 1; }; }
1851 { echo "$as_me:$LINENO: checking build system type" >&5
1852 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1853 if test "${ac_cv_build+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 ac_build_alias=$build_alias
1857 test "x$ac_build_alias" = x &&
1858 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1859 test "x$ac_build_alias" = x &&
1860 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1861 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1862 { (exit 1); exit 1; }; }
1863 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1864 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1865 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1866 { (exit 1); exit 1; }; }
1869 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1870 echo "${ECHO_T}$ac_cv_build" >&6; }
1871 case $ac_cv_build in
1873 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1874 echo "$as_me: error: invalid value of canonical build" >&2;}
1875 { (exit 1); exit 1; }; };;
1878 ac_save_IFS=$IFS; IFS='-'
1884 # Remember, the first character of IFS is used to create $*,
1885 # except with old shells:
1888 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1891 { echo "$as_me:$LINENO: checking host system type" >&5
1892 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1893 if test "${ac_cv_host+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test "x$host_alias" = x; then
1897 ac_cv_host=$ac_cv_build
1899 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1900 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1901 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1902 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1907 echo "${ECHO_T}$ac_cv_host" >&6; }
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1911 echo "$as_me: error: invalid value of canonical host" >&2;}
1912 { (exit 1); exit 1; }; };;
1915 ac_save_IFS=$IFS; IFS='-'
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1925 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking target system type" >&5
1929 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_target+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test "x$target_alias" = x; then
1934 ac_cv_target=$ac_cv_host
1936 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1944 echo "${ECHO_T}$ac_cv_target" >&6; }
1945 case $ac_cv_target in
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1948 echo "$as_me: error: invalid value of canonical target" >&2;}
1949 { (exit 1); exit 1; }; };;
1951 target=$ac_cv_target
1952 ac_save_IFS=$IFS; IFS='-'
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1962 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1965 # The aliases save the names the user supplied, while $host etc.
1966 # will get canonicalized.
1967 test -n "$target_alias" &&
1968 test "$program_prefix$program_suffix$program_transform_name" = \
1970 program_prefix=${target_alias}-
1974 COPTIMISE_FLAG="-O2"
1975 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
1976 CLDWHOLEARCHIVE="-Wl,-whole-archive"
1977 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
1978 LDDEPS="$LDDEPS .export.sym"
1979 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
1990 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
1991 COPTIMISE_FLAG="-O2"
1992 CLDFLAGS="$CLDFLAGS"
1993 CLDWHOLEARCHIVE="-all_load"
2006 ################################################################################
2007 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2008 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2009 if test "${ac_cv_path_SED+set}" = set; then
2010 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2013 for ac_i in 1 2 3 4 5 6 7; do
2014 ac_script="$ac_script$as_nl$ac_script"
2016 echo "$ac_script" | sed 99q >conftest.sed
2017 $as_unset ac_script || ac_script=
2018 # Extract the first word of "sed gsed" to use in msg output
2019 if test -z "$SED"; then
2020 set dummy sed gsed; ac_prog_name=$2
2021 if test "${ac_cv_path_SED+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 ac_path_SED_found=false
2025 # Loop through the user's path and test for each of PROGNAME-LIST
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 for ac_prog in sed gsed; do
2032 for ac_exec_ext in '' $ac_executable_extensions; do
2033 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2034 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2035 # Check for GNU ac_path_SED and select it if it is found.
2036 # Check for GNU $ac_path_SED
2037 case `"$ac_path_SED" --version 2>&1` in
2039 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2042 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2045 cat "conftest.in" "conftest.in" >"conftest.tmp"
2046 mv "conftest.tmp" "conftest.in"
2047 cp "conftest.in" "conftest.nl"
2048 echo '' >> "conftest.nl"
2049 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2050 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2051 ac_count=`expr $ac_count + 1`
2052 if test $ac_count -gt ${ac_path_SED_max-0}; then
2053 # Best one so far, save it but keep looking for a better one
2054 ac_cv_path_SED="$ac_path_SED"
2055 ac_path_SED_max=$ac_count
2057 # 10*(2^10) chars as input seems more than enough
2058 test $ac_count -gt 10 && break
2060 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2064 $ac_path_SED_found && break 3
2074 SED="$ac_cv_path_SED"
2075 if test -z "$SED"; then
2076 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2077 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2078 { (exit 1); exit 1; }; }
2086 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2087 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2088 SED="$ac_cv_path_SED"
2091 for ac_prog in gawk mawk nawk awk
2093 # Extract the first word of "$ac_prog", so it can be a program name with args.
2094 set dummy $ac_prog; ac_word=$2
2095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2097 if test "${ac_cv_prog_AWK+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$AWK"; then
2101 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir=.
2108 for ac_exec_ext in '' $ac_executable_extensions; do
2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110 ac_cv_prog_AWK="$ac_prog"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 if test -n "$AWK"; then
2122 { echo "$as_me:$LINENO: result: $AWK" >&5
2123 echo "${ECHO_T}$AWK" >&6; }
2125 { echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6; }
2130 test -n "$AWK" && break
2134 ac_cpp='$CPP $CPPFLAGS'
2135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2143 if test "${ac_cv_prog_CC+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$CC"; then
2147 ac_cv_prog_CC="$CC" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 if test -n "$CC"; then
2168 { echo "$as_me:$LINENO: result: $CC" >&5
2169 echo "${ECHO_T}$CC" >&6; }
2171 { echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6; }
2177 if test -z "$ac_cv_prog_CC"; then
2179 # Extract the first word of "gcc", so it can be a program name with args.
2180 set dummy gcc; ac_word=$2
2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 ac_cv_prog_ac_ct_CC="gcc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2207 if test -n "$ac_ct_CC"; then
2208 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2209 echo "${ECHO_T}$ac_ct_CC" >&6; }
2211 { echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6; }
2215 if test "x$ac_ct_CC" = x; then
2218 case $cross_compiling:$ac_tool_warned in
2220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2221 whose name does not start with the host triplet. If you think this
2222 configuration is useful to you, please write to autoconf@gnu.org." >&5
2223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2224 whose name does not start with the host triplet. If you think this
2225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2226 ac_tool_warned=yes ;;
2234 if test -z "$CC"; then
2235 if test -n "$ac_tool_prefix"; then
2236 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2237 set dummy ${ac_tool_prefix}cc; ac_word=$2
2238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2240 if test "${ac_cv_prog_CC+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 if test -n "$CC"; then
2244 ac_cv_prog_CC="$CC" # Let the user override the test.
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir=.
2251 for ac_exec_ext in '' $ac_executable_extensions; do
2252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2253 ac_cv_prog_CC="${ac_tool_prefix}cc"
2254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 if test -n "$CC"; then
2265 { echo "$as_me:$LINENO: result: $CC" >&5
2266 echo "${ECHO_T}$CC" >&6; }
2268 { echo "$as_me:$LINENO: result: no" >&5
2269 echo "${ECHO_T}no" >&6; }
2275 if test -z "$CC"; then
2276 # Extract the first word of "cc", so it can be a program name with args.
2277 set dummy cc; ac_word=$2
2278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280 if test "${ac_cv_prog_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir=.
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2294 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2295 ac_prog_rejected=yes
2299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test $ac_prog_rejected = yes; then
2307 # We found a bogon in the path, so make sure we never use it.
2308 set dummy $ac_cv_prog_CC
2310 if test $# != 0; then
2311 # We chose a different compiler from the bogus one.
2312 # However, it has the same basename, so the bogon will be chosen
2313 # first if we set CC to just the basename; use the full file name.
2315 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2321 if test -n "$CC"; then
2322 { echo "$as_me:$LINENO: result: $CC" >&5
2323 echo "${ECHO_T}$CC" >&6; }
2325 { echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6; }
2331 if test -z "$CC"; then
2332 if test -n "$ac_tool_prefix"; then
2333 for ac_prog in cl.exe
2335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 { echo "$as_me:$LINENO: result: $CC" >&5
2365 echo "${ECHO_T}$CC" >&6; }
2367 { echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6; }
2372 test -n "$CC" && break
2375 if test -z "$CC"; then
2377 for ac_prog in cl.exe
2379 # Extract the first word of "$ac_prog", so it can be a program name with args.
2380 set dummy $ac_prog; ac_word=$2
2381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 if test -n "$ac_ct_CC"; then
2387 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir=.
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396 ac_cv_prog_ac_ct_CC="$ac_prog"
2397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2407 if test -n "$ac_ct_CC"; then
2408 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2409 echo "${ECHO_T}$ac_ct_CC" >&6; }
2411 { echo "$as_me:$LINENO: result: no" >&5
2412 echo "${ECHO_T}no" >&6; }
2416 test -n "$ac_ct_CC" && break
2419 if test "x$ac_ct_CC" = x; then
2422 case $cross_compiling:$ac_tool_warned in
2424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2425 whose name does not start with the host triplet. If you think this
2426 configuration is useful to you, please write to autoconf@gnu.org." >&5
2427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2428 whose name does not start with the host triplet. If you think this
2429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2430 ac_tool_warned=yes ;;
2439 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2440 See \`config.log
' for more details." >&5
2441 echo "$as_me: error: no acceptable C compiler found in \$PATH
2442 See \`config.log' for more details.
" >&2;}
2443 { (exit 1); exit 1; }; }
2445 # Provide some information about the compiler.
2446 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2447 ac_compiler=`set X $ac_compile; echo $2`
2448 { (ac_try="$ac_compiler --version >&5"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_compiler --version >&5") 2>&5
2456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2457 (exit $ac_status); }
2458 { (ac_try="$ac_compiler -v >&5"
2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461 *) ac_try_echo=$ac_try;;
2463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2464 (eval "$ac_compiler -v >&5") 2>&5
2466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2467 (exit $ac_status); }
2468 { (ac_try="$ac_compiler -V >&5"
2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471 *) ac_try_echo=$ac_try;;
2473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2474 (eval "$ac_compiler -V >&5") 2>&5
2476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2477 (exit $ac_status); }
2479 cat >conftest.$ac_ext <<_ACEOF
2482 cat confdefs.h >>conftest.$ac_ext
2483 cat >>conftest.$ac_ext <<_ACEOF
2484 /* end confdefs.h. */
2494 ac_clean_files_save=$ac_clean_files
2495 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2496 # Try to create an executable without -o first, disregard a.out.
2497 # It will help us diagnose broken compilers, and finding out an intuition
2499 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2500 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2501 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2503 # List of possible output files, starting from the most likely.
2504 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2505 # only as a last resort. b.out is created by i960 compilers.
2506 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2508 # The IRIX 6 linker writes into existing files which may not be
2509 # executable, retaining their permissions. Remove them first so a
2510 # subsequent execution test works.
2512 for ac_file in $ac_files
2515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2516 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2521 if { (ac_try="$ac_link_default"
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2527 (eval "$ac_link_default") 2>&5
2529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2530 (exit $ac_status); }; then
2531 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2532 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2533 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2534 # so that the user can short-circuit this test for compilers unknown to
2536 for ac_file in $ac_files ''
2538 test -f "$ac_file" || continue
2540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2543 # We found the default executable, but exeext='' is most
2547 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2549 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2551 # We set ac_cv_exeext here because the later test for it is not
2552 # safe: cross compilers may not add the suffix if given an `-o'
2553 # argument, so we may need to know it at that point already.
2554 # Even if this section looks crufty: it has the advantage of
2561 test "$ac_cv_exeext" = no && ac_cv_exeext=
2567 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2568 echo "${ECHO_T}$ac_file" >&6; }
2569 if test -z "$ac_file"; then
2570 echo "$as_me: failed program was
:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2573 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2574 See \
`config.log' for more details." >&5
2575 echo "$as_me: error: C compiler cannot create executables
2576 See \`config.log
' for more details." >&2;}
2577 { (exit 77); exit 77; }; }
2580 ac_exeext=$ac_cv_exeext
2582 # Check that the compiler produces executables we can run. If not, either
2583 # the compiler is broken, or we cross compile.
2584 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2585 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2586 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2587 # If not cross compiling, check that we can run a simple program.
2588 if test "$cross_compiling" != yes; then
2589 if { ac_try='.
/$ac_file'
2590 { (case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595 (eval "$ac_try") 2>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; }; then
2601 if test "$cross_compiling" = maybe; then
2604 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2605 If you meant to cross compile, use \`--host'.
2606 See \
`config.log' for more details." >&5
2607 echo "$as_me: error: cannot run C compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details.
" >&2;}
2610 { (exit 1); exit 1; }; }
2614 { echo "$as_me:$LINENO: result
: yes" >&5
2615 echo "${ECHO_T}yes" >&6; }
2617 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2618 ac_clean_files=$ac_clean_files_save
2619 # Check that the compiler produces executables we can run. If not, either
2620 # the compiler is broken, or we cross compile.
2621 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2622 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2623 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2624 echo "${ECHO_T}$cross_compiling" >&6; }
2626 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2627 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2628 if { (ac_try="$ac_link"
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2634 (eval "$ac_link") 2>&5
2636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2637 (exit $ac_status); }; then
2638 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2639 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2640 # work properly (i.e., refer to `conftest.exe'), while it won't with
2642 for ac_file in conftest.exe conftest conftest.*; do
2643 test -f "$ac_file" || continue
2645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2646 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2652 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2653 See \
`config.log' for more details." >&5
2654 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2655 See \`config.log
' for more details." >&2;}
2656 { (exit 1); exit 1; }; }
2659 rm -f conftest$ac_cv_exeext
2660 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2661 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2663 rm -f conftest.$ac_ext
2664 EXEEXT=$ac_cv_exeext
2666 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2667 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2668 if test "${ac_cv_objext+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 cat >conftest.$ac_ext <<_ACEOF
2674 cat confdefs.h >>conftest.$ac_ext
2675 cat >>conftest.$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2686 rm -f conftest.o conftest.obj
2687 if { (ac_try="$ac_compile"
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2693 (eval "$ac_compile") 2>&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; then
2697 for ac_file in conftest.o conftest.obj conftest.*; do
2698 test -f "$ac_file" || continue;
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2701 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2706 echo "$as_me: failed program was:" >&5
2707 sed 's
/^
/|
/' conftest.$ac_ext >&5
2709 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2710 See \`config.log' for more details.
" >&5
2711 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2712 See \
`config.log' for more details." >&2;}
2713 { (exit 1); exit 1; }; }
2716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2718 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2719 echo "${ECHO_T}$ac_cv_objext" >&6; }
2720 OBJEXT=$ac_cv_objext
2722 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2723 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2724 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2745 rm -f conftest.$ac_objext
2746 if { (ac_try="$ac_compile"
2748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2749 *) ac_try_echo
=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_compile") 2>conftest.er1
2754 grep -v '^ *+' conftest.er1
>conftest.err
2756 cat conftest.err
>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } && {
2759 test -z "$ac_c_werror_flag" ||
2760 test ! -s conftest.err
2761 } && test -s conftest.
$ac_objext; then
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2771 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2774 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2775 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2776 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2777 ac_test_CFLAGS
=${CFLAGS+set}
2778 ac_save_CFLAGS
=$CFLAGS
2779 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2780 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2781 if test "${ac_cv_prog_cc_g+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 ac_save_c_werror_flag
=$ac_c_werror_flag
2785 ac_c_werror_flag
=yes
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2803 rm -f conftest.
$ac_objext
2804 if { (ac_try
="$ac_compile"
2806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_compile") 2>conftest.er1
2812 grep -v '^ *+' conftest.er1 >conftest.err
2814 cat conftest.err >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); } && {
2817 test -z "$ac_c_werror_flag" ||
2818 test ! -s conftest.err
2819 } && test -s conftest.$ac_objext; then
2822 echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.$ac_ext >&5
2826 cat >conftest.$ac_ext <<_ACEOF
2829 cat confdefs.h >>conftest.$ac_ext
2830 cat >>conftest.$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2841 rm -f conftest.$ac_objext
2842 if { (ac_try="$ac_compile"
2844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2845 *) ac_try_echo
=$ac_try;;
2847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2848 (eval "$ac_compile") 2>conftest.er1
2850 grep -v '^ *+' conftest.er1
>conftest.err
2852 cat conftest.err
>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); } && {
2855 test -z "$ac_c_werror_flag" ||
2856 test ! -s conftest.err
2857 } && test -s conftest.
$ac_objext; then
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2863 ac_c_werror_flag
=$ac_save_c_werror_flag
2865 cat >conftest.
$ac_ext <<_ACEOF
2868 cat confdefs.h
>>conftest.
$ac_ext
2869 cat >>conftest.
$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2880 rm -f conftest.
$ac_objext
2881 if { (ac_try
="$ac_compile"
2883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2884 *) ac_try_echo=$ac_try;;
2886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887 (eval "$ac_compile") 2>conftest.er1
2889 grep -v '^ *+' conftest.er1 >conftest.err
2891 cat conftest.err >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } && {
2894 test -z "$ac_c_werror_flag" ||
2895 test ! -s conftest.err
2896 } && test -s conftest.$ac_objext; then
2899 echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.$ac_ext >&5
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 ac_c_werror_flag=$ac_save_c_werror_flag
2914 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2915 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2916 if test "$ac_test_CFLAGS" = set; then
2917 CFLAGS=$ac_save_CFLAGS
2918 elif test $ac_cv_prog_cc_g = yes; then
2919 if test "$GCC" = yes; then
2925 if test "$GCC" = yes; then
2931 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2932 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2933 if test "${ac_cv_prog_cc_c89+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 ac_cv_prog_cc_c89=no
2938 cat >conftest.$ac_ext <<_ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2946 #include <sys/types.h>
2947 #include <sys/stat.h>
2948 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2949 struct buf { int x; };
2950 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2951 static char *e (p, i)
2957 static char *f (char * (*g) (char **, int), char **p, ...)
2962 s = g (p, va_arg (v,int));
2967 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2968 function prototypes and stuff, but not '\xHH' hex character constants.
2969 These don't provoke an error unfortunately, instead are silently treated
2970 as 'x'. The following induces an error, until -std is added to get
2971 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2972 array size at least. It's necessary to write '\x00'==0 to get something
2973 that's true only with -std. */
2974 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2976 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2977 inside strings and character constants. */
2979 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2981 int test (int i, double x);
2982 struct s1 {int (*f) (int a);};
2983 struct s2 {int (*f) (double a);};
2984 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2990 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2995 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2996 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2998 CC="$ac_save_CC $ac_arg"
2999 rm -f conftest.$ac_objext
3000 if { (ac_try="$ac_compile"
3002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3003 *) ac_try_echo
=$ac_try;;
3005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3006 (eval "$ac_compile") 2>conftest.er1
3008 grep -v '^ *+' conftest.er1
>conftest.err
3010 cat conftest.err
>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } && {
3013 test -z "$ac_c_werror_flag" ||
3014 test ! -s conftest.err
3015 } && test -s conftest.
$ac_objext; then
3016 ac_cv_prog_cc_c89
=$ac_arg
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.
$ac_ext >&5
3024 rm -f core conftest.err conftest.
$ac_objext
3025 test "x$ac_cv_prog_cc_c89" != "xno" && break
3027 rm -f conftest.
$ac_ext
3032 case "x$ac_cv_prog_cc_c89" in
3034 { echo "$as_me:$LINENO: result: none needed" >&5
3035 echo "${ECHO_T}none needed" >&6; } ;;
3037 { echo "$as_me:$LINENO: result: unsupported" >&5
3038 echo "${ECHO_T}unsupported" >&6; } ;;
3040 CC
="$CC $ac_cv_prog_cc_c89"
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3047 ac_cpp
='$CPP $CPPFLAGS'
3048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3055 ac_cpp
='$CPP $CPPFLAGS'
3056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3059 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3060 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3061 # On Suns, sometimes $CPP names a directory.
3062 if test -n "$CPP" && test -d "$CPP"; then
3065 if test -z "$CPP"; then
3066 if test "${ac_cv_prog_CPP+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 # Double quotes because CPP needs to be expanded
3070 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3073 for ac_c_preproc_warn_flag
in '' yes
3075 # Use a header file that comes with gcc, so configuring glibc
3076 # with a fresh cross-compiler works.
3077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3078 # <limits.h> exists even on freestanding compilers.
3079 # On the NeXT, cc -E runs the code through the compiler's parser,
3080 # not just through cpp. "Syntax error" is here to catch this case.
3081 cat >conftest.
$ac_ext <<_ACEOF
3084 cat confdefs.h
>>conftest.
$ac_ext
3085 cat >>conftest.
$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3088 # include <limits.h>
3090 # include <assert.h>
3094 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3102 grep -v '^ *+' conftest.er1 >conftest.err
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } >/dev/null && {
3107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3108 test ! -s conftest.err
3112 echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.$ac_ext >&5
3115 # Broken: fails on valid input.
3119 rm -f conftest.err conftest.$ac_ext
3121 # OK, works on sane cases. Now check whether nonexistent headers
3122 # can be detected and how.
3123 cat >conftest.$ac_ext <<_ACEOF
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3129 #include <ac_nonexistent.h>
3131 if { (ac_try="$ac_cpp conftest.$ac_ext"
3133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3134 *) ac_try_echo
=$ac_try;;
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3139 grep -v '^ *+' conftest.er1
>conftest.err
3141 cat conftest.err
>&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } >/dev
/null
&& {
3144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3145 test ! -s conftest.err
3147 # Broken: success on invalid input.
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.
$ac_ext >&5
3153 # Passes both tests.
3158 rm -f conftest.err conftest.
$ac_ext
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3162 rm -f conftest.err conftest.
$ac_ext
3163 if $ac_preproc_ok; then
3175 { echo "$as_me:$LINENO: result: $CPP" >&5
3176 echo "${ECHO_T}$CPP" >&6; }
3178 for ac_c_preproc_warn_flag
in '' yes
3180 # Use a header file that comes with gcc, so configuring glibc
3181 # with a fresh cross-compiler works.
3182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3183 # <limits.h> exists even on freestanding compilers.
3184 # On the NeXT, cc -E runs the code through the compiler's parser,
3185 # not just through cpp. "Syntax error" is here to catch this case.
3186 cat >conftest.
$ac_ext <<_ACEOF
3189 cat confdefs.h
>>conftest.
$ac_ext
3190 cat >>conftest.
$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3193 # include <limits.h>
3195 # include <assert.h>
3199 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } >/dev/null && {
3212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3213 test ! -s conftest.err
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3220 # Broken: fails on valid input.
3224 rm -f conftest.err conftest.$ac_ext
3226 # OK, works on sane cases. Now check whether nonexistent headers
3227 # can be detected and how.
3228 cat >conftest.$ac_ext <<_ACEOF
3231 cat confdefs.h >>conftest.$ac_ext
3232 cat >>conftest.$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3234 #include <ac_nonexistent.h>
3236 if { (ac_try="$ac_cpp conftest.$ac_ext"
3238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3239 *) ac_try_echo
=$ac_try;;
3241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3244 grep -v '^ *+' conftest.er1
>conftest.err
3246 cat conftest.err
>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } >/dev
/null
&& {
3249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3250 test ! -s conftest.err
3252 # Broken: success on invalid input.
3255 echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.
$ac_ext >&5
3258 # Passes both tests.
3263 rm -f conftest.err conftest.
$ac_ext
3266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3267 rm -f conftest.err conftest.
$ac_ext
3268 if $ac_preproc_ok; then
3271 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3272 See \`config.log' for more details." >&5
3273 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3274 See \`config.log' for more details." >&2;}
3275 { (exit 1); exit 1; }; }
3279 ac_cpp
='$CPP $CPPFLAGS'
3280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3285 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3286 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3287 if test "${ac_cv_path_GREP+set}" = set; then
3288 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 # Extract the first word of "grep ggrep" to use in msg output
3291 if test -z "$GREP"; then
3292 set dummy
grep ggrep
; ac_prog_name
=$2
3293 if test "${ac_cv_path_GREP+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 ac_path_GREP_found
=false
3297 # Loop through the user's path and test for each of PROGNAME-LIST
3298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3302 test -z "$as_dir" && as_dir
=.
3303 for ac_prog
in grep ggrep
; do
3304 for ac_exec_ext
in '' $ac_executable_extensions; do
3305 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3306 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3307 # Check for GNU ac_path_GREP and select it if it is found.
3308 # Check for GNU $ac_path_GREP
3309 case `"$ac_path_GREP" --version 2>&1` in
3311 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3314 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3317 cat "conftest.in" "conftest.in" >"conftest.tmp"
3318 mv "conftest.tmp" "conftest.in"
3319 cp "conftest.in" "conftest.nl"
3320 echo 'GREP' >> "conftest.nl"
3321 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3322 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3323 ac_count
=`expr $ac_count + 1`
3324 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3325 # Best one so far, save it but keep looking for a better one
3326 ac_cv_path_GREP
="$ac_path_GREP"
3327 ac_path_GREP_max
=$ac_count
3329 # 10*(2^10) chars as input seems more than enough
3330 test $ac_count -gt 10 && break
3332 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3336 $ac_path_GREP_found && break 3
3346 GREP
="$ac_cv_path_GREP"
3347 if test -z "$GREP"; then
3348 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3349 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3350 { (exit 1); exit 1; }; }
3354 ac_cv_path_GREP
=$GREP
3359 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3360 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3361 GREP
="$ac_cv_path_GREP"
3364 { echo "$as_me:$LINENO: checking for egrep" >&5
3365 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3366 if test "${ac_cv_path_EGREP+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3370 then ac_cv_path_EGREP
="$GREP -E"
3372 # Extract the first word of "egrep" to use in msg output
3373 if test -z "$EGREP"; then
3374 set dummy
egrep; ac_prog_name
=$2
3375 if test "${ac_cv_path_EGREP+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 ac_path_EGREP_found
=false
3379 # Loop through the user's path and test for each of PROGNAME-LIST
3380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3381 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3384 test -z "$as_dir" && as_dir
=.
3385 for ac_prog
in egrep; do
3386 for ac_exec_ext
in '' $ac_executable_extensions; do
3387 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3388 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3389 # Check for GNU ac_path_EGREP and select it if it is found.
3390 # Check for GNU $ac_path_EGREP
3391 case `"$ac_path_EGREP" --version 2>&1` in
3393 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3396 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3399 cat "conftest.in" "conftest.in" >"conftest.tmp"
3400 mv "conftest.tmp" "conftest.in"
3401 cp "conftest.in" "conftest.nl"
3402 echo 'EGREP' >> "conftest.nl"
3403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3404 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3405 ac_count
=`expr $ac_count + 1`
3406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3407 # Best one so far, save it but keep looking for a better one
3408 ac_cv_path_EGREP
="$ac_path_EGREP"
3409 ac_path_EGREP_max
=$ac_count
3411 # 10*(2^10) chars as input seems more than enough
3412 test $ac_count -gt 10 && break
3414 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3418 $ac_path_EGREP_found && break 3
3428 EGREP
="$ac_cv_path_EGREP"
3429 if test -z "$EGREP"; then
3430 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3431 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3432 { (exit 1); exit 1; }; }
3436 ac_cv_path_EGREP
=$EGREP
3442 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3443 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3444 EGREP
="$ac_cv_path_EGREP"
3447 if test $ac_cv_c_compiler_gnu = yes; then
3448 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3449 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3450 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 ac_pattern
="Autoconf.*'x'"
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3464 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3465 ac_cv_prog_gcc_traditional
=yes
3467 ac_cv_prog_gcc_traditional
=no
3472 if test $ac_cv_prog_gcc_traditional = no
; then
3473 cat >conftest.
$ac_ext <<_ACEOF
3476 cat confdefs.h
>>conftest.
$ac_ext
3477 cat >>conftest.
$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3483 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3484 ac_cv_prog_gcc_traditional
=yes
3490 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3491 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3492 if test $ac_cv_prog_gcc_traditional = yes; then
3493 CC
="$CC -traditional"
3497 # Find a good install program. We prefer a C program (faster),
3498 # so one script is as good as another. But avoid the broken or
3499 # incompatible versions:
3500 # SysV /etc/install, /usr/sbin/install
3501 # SunOS /usr/etc/install
3502 # IRIX /sbin/install
3504 # AmigaOS /C/install, which installs bootblocks on floppy discs
3505 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3506 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3507 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3508 # OS/2's system install, which has a completely different semantic
3509 # ./install, which can be erroneously created by make from ./install.sh.
3510 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3511 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3512 if test -z "$INSTALL"; then
3513 if test "${ac_cv_path_install+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir
=.
3521 # Account for people who put trailing slashes in PATH elements.
3523 .
/ | .
// |
/cC
/* | \
3524 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3525 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3528 # OSF1 and SCO ODT 3.0 have their own names for install.
3529 # Don't use installbsd from OSF since it installs stuff as root
3531 for ac_prog
in ginstall scoinst
install; do
3532 for ac_exec_ext
in '' $ac_executable_extensions; do
3533 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3534 if test $ac_prog = install &&
3535 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3536 # AIX install. It has an incompatible calling convention.
3538 elif test $ac_prog = install &&
3539 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3540 # program-specific install script used by HP pwplus--don't use.
3543 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3556 if test "${ac_cv_path_install+set}" = set; then
3557 INSTALL
=$ac_cv_path_install
3559 # As a last resort, use the slow shell script. Don't cache a
3560 # value for INSTALL within a source directory, because that will
3561 # break other packages using the cache if that directory is
3562 # removed, or if the value is a relative name.
3563 INSTALL
=$ac_install_sh
3566 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3567 echo "${ECHO_T}$INSTALL" >&6; }
3569 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3570 # It thinks the first close brace ends the variable substitution.
3571 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3573 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3575 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3577 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3578 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3580 if test "$LN_S" = "ln -s"; then
3581 { echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6; }
3584 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3585 echo "${ECHO_T}no, using $LN_S" >&6; }
3588 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3590 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3591 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 cat >conftest.
make <<\_ACEOF
3597 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3599 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3600 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3602 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3604 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3608 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3609 { echo "$as_me:$LINENO: result: yes" >&5
3610 echo "${ECHO_T}yes" >&6; }
3613 { echo "$as_me:$LINENO: result: no" >&5
3614 echo "${ECHO_T}no" >&6; }
3615 SET_MAKE
="MAKE=${MAKE-make}"
3618 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3619 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
3620 if test -z "$MKDIR_P"; then
3621 if test "${ac_cv_path_mkdir+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3625 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_prog
in mkdir gmkdir
; do
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3632 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3633 'mkdir (GNU coreutils) '* | \
3634 'mkdir (coreutils) '* | \
3635 'mkdir (fileutils) '4.1*)
3636 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3646 if test "${ac_cv_path_mkdir+set}" = set; then
3647 MKDIR_P
="$ac_cv_path_mkdir -p"
3649 # As a last resort, use the slow shell script. Don't cache a
3650 # value for MKDIR_P within a source directory, because that will
3651 # break other packages using the cache if that directory is
3652 # removed, or if the value is a relative name.
3653 test -d .
/--version && rmdir .
/--version
3654 MKDIR_P
="$ac_install_sh -d"
3657 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3658 echo "${ECHO_T}$MKDIR_P" >&6; }
3660 if test -n "$ac_tool_prefix"; then
3661 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3662 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3665 if test "${ac_cv_prog_RANLIB+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 if test -n "$RANLIB"; then
3669 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 test -z "$as_dir" && as_dir
=.
3676 for ac_exec_ext
in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3688 RANLIB
=$ac_cv_prog_RANLIB
3689 if test -n "$RANLIB"; then
3690 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3691 echo "${ECHO_T}$RANLIB" >&6; }
3693 { echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6; }
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700 ac_ct_RANLIB
=$RANLIB
3701 # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib
; ac_word
=$2
3703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 if test -n "$ac_ct_RANLIB"; then
3709 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3733 { echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6; }
3737 if test "x$ac_ct_RANLIB" = x
; then
3740 case $cross_compiling:$ac_tool_warned in
3742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3743 whose name does not start with the host triplet. If you think this
3744 configuration is useful to you, please write to autoconf@gnu.org." >&5
3745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3746 whose name does not start with the host triplet. If you think this
3747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3748 ac_tool_warned
=yes ;;
3750 RANLIB
=$ac_ct_RANLIB
3753 RANLIB
="$ac_cv_prog_RANLIB"
3756 # Extract the first word of "cflow", so it can be a program name with args.
3757 set dummy cflow
; ac_word
=$2
3758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3760 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3772 test -z "$as_dir" && as_dir
=.
3773 for ac_exec_ext
in '' $ac_executable_extensions; do
3774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3775 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
3787 if test -n "$CFLOW_CMD"; then
3788 { echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
3789 echo "${ECHO_T}$CFLOW_CMD" >&6; }
3791 { echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6; }
3796 # Extract the first word of "cscope", so it can be a program name with args.
3797 set dummy cscope
; ac_word
=$2
3798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3800 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3815 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
3816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
3827 if test -n "$CSCOPE_CMD"; then
3828 { echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
3829 echo "${ECHO_T}$CSCOPE_CMD" >&6; }
3831 { echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6; }
3837 ################################################################################
3844 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3845 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3846 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3847 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3848 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 cat >conftest.
$ac_ext <<_ACEOF
3854 cat confdefs.h
>>conftest.
$ac_ext
3855 cat >>conftest.
$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 #include <sys/types.h>
3869 rm -f conftest.
$ac_objext
3870 if { (ac_try
="$ac_compile"
3872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3873 *) ac_try_echo=$ac_try;;
3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876 (eval "$ac_compile") 2>conftest.er1
3878 grep -v '^ *+' conftest.er1 >conftest.err
3880 cat conftest.err >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } && {
3883 test -z "$ac_c_werror_flag" ||
3884 test ! -s conftest.err
3885 } && test -s conftest.$ac_objext; then
3886 eval "$as_ac_Header=yes"
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.$ac_ext >&5
3891 eval "$as_ac_Header=no"
3894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896 ac_res=`eval echo '${'$as_ac_Header'}'`
3897 { echo "$as_me:$LINENO: result: $ac_res" >&5
3898 echo "${ECHO_T}$ac_res" >&6; }
3899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3900 cat >>confdefs.h <<_ACEOF
3901 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
3904 ac_header_dirent=$ac_hdr; break
3908 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3909 if test $ac_header_dirent = dirent.h; then
3910 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3911 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3912 if test "${ac_cv_search_opendir+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 ac_func_search_save_LIBS=$LIBS
3916 cat >conftest.$ac_ext <<_ACEOF
3919 cat confdefs.h >>conftest.$ac_ext
3920 cat >>conftest.$ac_ext <<_ACEOF
3921 /* end confdefs.h. */
3923 /* Override any GCC internal prototype to avoid an error.
3924 Use char because int might match the return type of a GCC
3925 builtin and then its argument prototype would still apply. */
3938 for ac_lib in '' dir; do
3939 if test -z "$ac_lib"; then
3940 ac_res="none required"
3943 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3945 rm -f conftest.$ac_objext conftest$ac_exeext
3946 if { (ac_try="$ac_link"
3948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3949 *) ac_try_echo
=$ac_try;;
3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952 (eval "$ac_link") 2>conftest.er1
3954 grep -v '^ *+' conftest.er1
>conftest.err
3956 cat conftest.err
>&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); } && {
3959 test -z "$ac_c_werror_flag" ||
3960 test ! -s conftest.err
3961 } && test -s conftest
$ac_exeext &&
3962 $as_test_x conftest
$ac_exeext; then
3963 ac_cv_search_opendir
=$ac_res
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3971 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3973 if test "${ac_cv_search_opendir+set}" = set; then
3977 if test "${ac_cv_search_opendir+set}" = set; then
3980 ac_cv_search_opendir
=no
3983 LIBS
=$ac_func_search_save_LIBS
3985 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3986 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3987 ac_res
=$ac_cv_search_opendir
3988 if test "$ac_res" != no
; then
3989 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3994 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3995 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3996 if test "${ac_cv_search_opendir+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 ac_func_search_save_LIBS
=$LIBS
4000 cat >conftest.
$ac_ext <<_ACEOF
4003 cat confdefs.h
>>conftest.
$ac_ext
4004 cat >>conftest.
$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4007 /* Override any GCC internal prototype to avoid an error.
4008 Use char because int might match the return type of a GCC
4009 builtin and then its argument prototype would still apply. */
4022 for ac_lib
in '' x
; do
4023 if test -z "$ac_lib"; then
4024 ac_res
="none required"
4027 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4029 rm -f conftest.
$ac_objext conftest
$ac_exeext
4030 if { (ac_try
="$ac_link"
4032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_link") 2>conftest.er1
4038 grep -v '^ *+' conftest.er1 >conftest.err
4040 cat conftest.err >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } && {
4043 test -z "$ac_c_werror_flag" ||
4044 test ! -s conftest.err
4045 } && test -s conftest$ac_exeext &&
4046 $as_test_x conftest$ac_exeext; then
4047 ac_cv_search_opendir=$ac_res
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4057 if test "${ac_cv_search_opendir+set}" = set; then
4061 if test "${ac_cv_search_opendir+set}" = set; then
4064 ac_cv_search_opendir=no
4067 LIBS=$ac_func_search_save_LIBS
4069 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4070 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4071 ac_res=$ac_cv_search_opendir
4072 if test "$ac_res" != no; then
4073 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4079 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4080 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4081 if test "${ac_cv_header_stdc+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 cat >conftest.$ac_ext <<_ACEOF
4087 cat confdefs.h >>conftest.$ac_ext
4088 cat >>conftest.$ac_ext <<_ACEOF
4089 /* end confdefs.h. */
4103 rm -f conftest.$ac_objext
4104 if { (ac_try="$ac_compile"
4106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4107 *) ac_try_echo
=$ac_try;;
4109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4110 (eval "$ac_compile") 2>conftest.er1
4112 grep -v '^ *+' conftest.er1
>conftest.err
4114 cat conftest.err
>&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } && {
4117 test -z "$ac_c_werror_flag" ||
4118 test ! -s conftest.err
4119 } && test -s conftest.
$ac_objext; then
4120 ac_cv_header_stdc
=yes
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.
$ac_ext >&5
4125 ac_cv_header_stdc
=no
4128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4130 if test $ac_cv_header_stdc = yes; then
4131 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4142 $EGREP "memchr" >/dev
/null
2>&1; then
4145 ac_cv_header_stdc
=no
4151 if test $ac_cv_header_stdc = yes; then
4152 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4153 cat >conftest.
$ac_ext <<_ACEOF
4156 cat confdefs.h
>>conftest.
$ac_ext
4157 cat >>conftest.
$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4163 $EGREP "free" >/dev
/null
2>&1; then
4166 ac_cv_header_stdc
=no
4172 if test $ac_cv_header_stdc = yes; then
4173 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4174 if test "$cross_compiling" = yes; then
4177 cat >conftest.
$ac_ext <<_ACEOF
4180 cat confdefs.h
>>conftest.
$ac_ext
4181 cat >>conftest.
$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4185 #if ((' ' & 0x0FF) == 0x020)
4186 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4187 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4189 # define ISLOWER(c) \
4190 (('a' <= (c) && (c) <= 'i') \
4191 || ('j' <= (c) && (c) <= 'r') \
4192 || ('s' <= (c) && (c) <= 'z'))
4193 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4196 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4201 for (i = 0; i < 256; i++)
4202 if (XOR (islower (i), ISLOWER (i))
4203 || toupper (i) != TOUPPER (i))
4208 rm -f conftest
$ac_exeext
4209 if { (ac_try
="$ac_link"
4211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4219 { (case "(($ac_try" in
4220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4221 *) ac_try_echo
=$ac_try;;
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_try") 2>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4230 echo "$as_me: program exited with status $ac_status" >&5
4231 echo "$as_me: failed program was:" >&5
4232 sed 's/^/| /' conftest.
$ac_ext >&5
4235 ac_cv_header_stdc
=no
4237 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4243 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4244 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4245 if test $ac_cv_header_stdc = yes; then
4247 cat >>confdefs.h
<<\_ACEOF
4248 #define STDC_HEADERS 1
4253 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4254 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4255 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
4258 cat >conftest.
$ac_ext <<_ACEOF
4261 cat confdefs.h
>>conftest.
$ac_ext
4262 cat >>conftest.
$ac_ext <<_ACEOF
4263 /* end confdefs.h. */
4264 #include <sys/types.h>
4265 #include <sys/wait.h>
4267 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4270 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4278 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4283 rm -f conftest.
$ac_objext
4284 if { (ac_try
="$ac_compile"
4286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290 (eval "$ac_compile") 2>conftest.er1
4292 grep -v '^ *+' conftest.er1 >conftest.err
4294 cat conftest.err >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } && {
4297 test -z "$ac_c_werror_flag" ||
4298 test ! -s conftest.err
4299 } && test -s conftest.$ac_objext; then
4300 ac_cv_header_sys_wait_h=yes
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4305 ac_cv_header_sys_wait_h=no
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4311 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4312 if test $ac_cv_header_sys_wait_h = yes; then
4314 cat >>confdefs.h <<\_ACEOF
4315 #define HAVE_SYS_WAIT_H 1
4320 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4321 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4322 if test "${ac_cv_header_time+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 cat >conftest.$ac_ext <<_ACEOF
4328 cat confdefs.h >>conftest.$ac_ext
4329 cat >>conftest.$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4331 #include <sys/types.h>
4332 #include <sys/time.h>
4338 if ((struct tm *) 0)
4344 rm -f conftest.$ac_objext
4345 if { (ac_try="$ac_compile"
4347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4348 *) ac_try_echo
=$ac_try;;
4350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4351 (eval "$ac_compile") 2>conftest.er1
4353 grep -v '^ *+' conftest.er1
>conftest.err
4355 cat conftest.err
>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } && {
4358 test -z "$ac_c_werror_flag" ||
4359 test ! -s conftest.err
4360 } && test -s conftest.
$ac_objext; then
4361 ac_cv_header_time
=yes
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.
$ac_ext >&5
4366 ac_cv_header_time
=no
4369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4373 if test $ac_cv_header_time = yes; then
4375 cat >>confdefs.h
<<\_ACEOF
4376 #define TIME_WITH_SYS_TIME 1
4382 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4392 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4393 inttypes.h stdint.h unistd.h
4395 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4398 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 cat >conftest.
$ac_ext <<_ACEOF
4404 cat confdefs.h
>>conftest.
$ac_ext
4405 cat >>conftest.
$ac_ext <<_ACEOF
4406 /* end confdefs.h. */
4407 $ac_includes_default
4409 #include <$ac_header>
4411 rm -f conftest.
$ac_objext
4412 if { (ac_try
="$ac_compile"
4414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4418 (eval "$ac_compile") 2>conftest.er1
4420 grep -v '^ *+' conftest.er1 >conftest.err
4422 cat conftest.err >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } && {
4425 test -z "$ac_c_werror_flag" ||
4426 test ! -s conftest.err
4427 } && test -s conftest.$ac_objext; then
4428 eval "$as_ac_Header=yes"
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4433 eval "$as_ac_Header=no"
4436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 ac_res=`eval echo '${'$as_ac_Header'}'`
4439 { echo "$as_me:$LINENO: result: $ac_res" >&5
4440 echo "${ECHO_T}$ac_res" >&6; }
4441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4442 cat >>confdefs.h <<_ACEOF
4443 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4464 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4465 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4467 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 ac_res=`eval echo '${'$as_ac_Header'}'`
4475 { echo "$as_me:$LINENO: result: $ac_res" >&5
4476 echo "${ECHO_T}$ac_res" >&6; }
4478 # Is the header compilable?
4479 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4481 cat >conftest.$ac_ext <<_ACEOF
4484 cat confdefs.h >>conftest.$ac_ext
4485 cat >>conftest.$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4487 $ac_includes_default
4488 #include <$ac_header>
4490 rm -f conftest.$ac_objext
4491 if { (ac_try="$ac_compile"
4493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4494 *) ac_try_echo
=$ac_try;;
4496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4497 (eval "$ac_compile") 2>conftest.er1
4499 grep -v '^ *+' conftest.er1
>conftest.err
4501 cat conftest.err
>&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); } && {
4504 test -z "$ac_c_werror_flag" ||
4505 test ! -s conftest.err
4506 } && test -s conftest.
$ac_objext; then
4507 ac_header_compiler
=yes
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.
$ac_ext >&5
4512 ac_header_compiler
=no
4515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4517 echo "${ECHO_T}$ac_header_compiler" >&6; }
4519 # Is the header present?
4520 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4522 cat >conftest.
$ac_ext <<_ACEOF
4525 cat confdefs.h
>>conftest.
$ac_ext
4526 cat >>conftest.
$ac_ext <<_ACEOF
4527 /* end confdefs.h. */
4528 #include <$ac_header>
4530 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4538 grep -v '^ *+' conftest.er1 >conftest.err
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } >/dev/null && {
4543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4546 ac_header_preproc=yes
4548 echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.$ac_ext >&5
4551 ac_header_preproc=no
4554 rm -f conftest.err conftest.$ac_ext
4555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4556 echo "${ECHO_T}$ac_header_preproc" >&6; }
4558 # So? What about this header?
4559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4565 ac_header_preproc=yes
4568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 eval "$as_ac_Header=\$ac_header_preproc"
4590 ac_res=`eval echo '${'$as_ac_Header'}'`
4591 { echo "$as_me:$LINENO: result: $ac_res" >&5
4592 echo "${ECHO_T}$ac_res" >&6; }
4595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4596 cat >>confdefs.h <<_ACEOF
4597 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4601 { { echo "$as_me:$LINENO: error: bailing out" >&5
4602 echo "$as_me: error: bailing out" >&2;}
4603 { (exit 1); exit 1; }; }
4614 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4616 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 ac_res=`eval echo '${'$as_ac_Header'}'`
4624 { echo "$as_me:$LINENO: result: $ac_res" >&5
4625 echo "${ECHO_T}$ac_res" >&6; }
4627 # Is the header compilable?
4628 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4630 cat >conftest.$ac_ext <<_ACEOF
4633 cat confdefs.h >>conftest.$ac_ext
4634 cat >>conftest.$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4636 $ac_includes_default
4637 #include <$ac_header>
4639 rm -f conftest.$ac_objext
4640 if { (ac_try="$ac_compile"
4642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4643 *) ac_try_echo
=$ac_try;;
4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 (eval "$ac_compile") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1
>conftest.err
4650 cat conftest.err
>&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } && {
4653 test -z "$ac_c_werror_flag" ||
4654 test ! -s conftest.err
4655 } && test -s conftest.
$ac_objext; then
4656 ac_header_compiler
=yes
4658 echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.
$ac_ext >&5
4661 ac_header_compiler
=no
4664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4666 echo "${ECHO_T}$ac_header_compiler" >&6; }
4668 # Is the header present?
4669 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4671 cat >conftest.
$ac_ext <<_ACEOF
4674 cat confdefs.h
>>conftest.
$ac_ext
4675 cat >>conftest.
$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4677 #include <$ac_header>
4679 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4687 grep -v '^ *+' conftest.er1 >conftest.err
4689 cat conftest.err >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } >/dev/null && {
4692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4693 test ! -s conftest.err
4695 ac_header_preproc=yes
4697 echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4700 ac_header_preproc=no
4703 rm -f conftest.err conftest.$ac_ext
4704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4705 echo "${ECHO_T}$ac_header_preproc" >&6; }
4707 # So? What about this header?
4708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4714 ac_header_preproc=yes
4717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 eval "$as_ac_Header=\$ac_header_preproc"
4739 ac_res=`eval echo '${'$as_ac_Header'}'`
4740 { echo "$as_me:$LINENO: result: $ac_res" >&5
4741 echo "${ECHO_T}$ac_res" >&6; }
4744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4745 cat >>confdefs.h <<_ACEOF
4746 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4750 { { echo "$as_me:$LINENO: error: bailing out" >&5
4751 echo "$as_me: error: bailing out" >&2;}
4752 { (exit 1); exit 1; }; }
4760 for ac_header in machine/endian.h sys/disk.h
4762 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 ac_res=`eval echo '${'$as_ac_Header'}'`
4770 { echo "$as_me:$LINENO: result: $ac_res" >&5
4771 echo "${ECHO_T}$ac_res" >&6; }
4773 # Is the header compilable?
4774 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 $ac_includes_default
4783 #include <$ac_header>
4785 rm -f conftest.$ac_objext
4786 if { (ac_try="$ac_compile"
4788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4789 *) ac_try_echo
=$ac_try;;
4791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4792 (eval "$ac_compile") 2>conftest.er1
4794 grep -v '^ *+' conftest.er1
>conftest.err
4796 cat conftest.err
>&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); } && {
4799 test -z "$ac_c_werror_flag" ||
4800 test ! -s conftest.err
4801 } && test -s conftest.
$ac_objext; then
4802 ac_header_compiler
=yes
4804 echo "$as_me: failed program was:" >&5
4805 sed 's/^/| /' conftest.
$ac_ext >&5
4807 ac_header_compiler
=no
4810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4811 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4812 echo "${ECHO_T}$ac_header_compiler" >&6; }
4814 # Is the header present?
4815 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4823 #include <$ac_header>
4825 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4833 grep -v '^ *+' conftest.er1 >conftest.err
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev/null && {
4838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4839 test ! -s conftest.err
4841 ac_header_preproc=yes
4843 echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.$ac_ext >&5
4846 ac_header_preproc=no
4849 rm -f conftest.err conftest.$ac_ext
4850 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4851 echo "${ECHO_T}$ac_header_preproc" >&6; }
4853 # So? What about this header?
4854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4860 ac_header_preproc=yes
4863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 eval "$as_ac_Header=\$ac_header_preproc"
4885 ac_res=`eval echo '${'$as_ac_Header'}'`
4886 { echo "$as_me:$LINENO: result: $ac_res" >&5
4887 echo "${ECHO_T}$ac_res" >&6; }
4890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4891 cat >>confdefs.h <<_ACEOF
4892 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4896 { { echo "$as_me:$LINENO: error: bailing out" >&5
4897 echo "$as_me: error: bailing out" >&2;}
4898 { (exit 1); exit 1; }; }
4921 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
4922 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
4923 sys/types.h unistd.h
4925 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 ac_res=`eval echo '${'$as_ac_Header'}'`
4933 { echo "$as_me:$LINENO: result: $ac_res" >&5
4934 echo "${ECHO_T}$ac_res" >&6; }
4936 # Is the header compilable?
4937 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4939 cat >conftest.$ac_ext <<_ACEOF
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4945 $ac_includes_default
4946 #include <$ac_header>
4948 rm -f conftest.$ac_objext
4949 if { (ac_try="$ac_compile"
4951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4952 *) ac_try_echo
=$ac_try;;
4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4955 (eval "$ac_compile") 2>conftest.er1
4957 grep -v '^ *+' conftest.er1
>conftest.err
4959 cat conftest.err
>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } && {
4962 test -z "$ac_c_werror_flag" ||
4963 test ! -s conftest.err
4964 } && test -s conftest.
$ac_objext; then
4965 ac_header_compiler
=yes
4967 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.
$ac_ext >&5
4970 ac_header_compiler
=no
4973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4974 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4975 echo "${ECHO_T}$ac_header_compiler" >&6; }
4977 # Is the header present?
4978 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4980 cat >conftest.
$ac_ext <<_ACEOF
4983 cat confdefs.h
>>conftest.
$ac_ext
4984 cat >>conftest.
$ac_ext <<_ACEOF
4985 /* end confdefs.h. */
4986 #include <$ac_header>
4988 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4991 *) ac_try_echo=$ac_try;;
4993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4996 grep -v '^ *+' conftest.er1 >conftest.err
4998 cat conftest.err >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); } >/dev/null && {
5001 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5002 test ! -s conftest.err
5004 ac_header_preproc=yes
5006 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.$ac_ext >&5
5009 ac_header_preproc=no
5012 rm -f conftest.err conftest.$ac_ext
5013 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5014 echo "${ECHO_T}$ac_header_preproc" >&6; }
5016 # So? What about this header?
5017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5023 ac_header_preproc=yes
5026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 eval "$as_ac_Header=\$ac_header_preproc"
5048 ac_res=`eval echo '${'$as_ac_Header'}'`
5049 { echo "$as_me:$LINENO: result: $ac_res" >&5
5050 echo "${ECHO_T}$ac_res" >&6; }
5053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5054 cat >>confdefs.h <<_ACEOF
5055 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5059 { { echo "$as_me:$LINENO: error: bailing out" >&5
5060 echo "$as_me: error: bailing out" >&2;}
5061 { (exit 1); exit 1; }; }
5068 for ac_header in termios.h sys/statvfs.h
5070 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5072 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 ac_res=`eval echo '${'$as_ac_Header'}'`
5078 { echo "$as_me:$LINENO: result: $ac_res" >&5
5079 echo "${ECHO_T}$ac_res" >&6; }
5081 # Is the header compilable?
5082 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5084 cat >conftest.$ac_ext <<_ACEOF
5087 cat confdefs.h >>conftest.$ac_ext
5088 cat >>conftest.$ac_ext <<_ACEOF
5089 /* end confdefs.h. */
5090 $ac_includes_default
5091 #include <$ac_header>
5093 rm -f conftest.$ac_objext
5094 if { (ac_try="$ac_compile"
5096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5097 *) ac_try_echo
=$ac_try;;
5099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5100 (eval "$ac_compile") 2>conftest.er1
5102 grep -v '^ *+' conftest.er1
>conftest.err
5104 cat conftest.err
>&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } && {
5107 test -z "$ac_c_werror_flag" ||
5108 test ! -s conftest.err
5109 } && test -s conftest.
$ac_objext; then
5110 ac_header_compiler
=yes
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5115 ac_header_compiler
=no
5118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5119 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5120 echo "${ECHO_T}$ac_header_compiler" >&6; }
5122 # Is the header present?
5123 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5125 cat >conftest.
$ac_ext <<_ACEOF
5128 cat confdefs.h
>>conftest.
$ac_ext
5129 cat >>conftest.
$ac_ext <<_ACEOF
5130 /* end confdefs.h. */
5131 #include <$ac_header>
5133 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5136 *) ac_try_echo=$ac_try;;
5138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5141 grep -v '^ *+' conftest.er1 >conftest.err
5143 cat conftest.err >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } >/dev/null && {
5146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5147 test ! -s conftest.err
5149 ac_header_preproc=yes
5151 echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.$ac_ext >&5
5154 ac_header_preproc=no
5157 rm -f conftest.err conftest.$ac_ext
5158 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5159 echo "${ECHO_T}$ac_header_preproc" >&6; }
5161 # So? What about this header?
5162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5168 ac_header_preproc=yes
5171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 eval "$as_ac_Header=\$ac_header_preproc"
5193 ac_res=`eval echo '${'$as_ac_Header'}'`
5194 { echo "$as_me:$LINENO: result: $ac_res" >&5
5195 echo "${ECHO_T}$ac_res" >&6; }
5198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5199 cat >>confdefs.h <<_ACEOF
5200 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5208 ################################################################################
5209 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5210 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5211 if test "${ac_cv_c_const+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5224 /* FIXME: Include the comments suggested by Paul. */
5226 /* Ultrix mips cc rejects this. */
5227 typedef int charset[2];
5229 /* SunOS 4.1.1 cc rejects this. */
5230 char const *const *pcpcc;
5232 /* NEC SVR4.0.2 mips cc rejects this. */
5233 struct point {int x, y;};
5234 static struct point const zero = {0,0};
5235 /* AIX XL C 1.02.0.0 rejects this.
5236 It does not let you subtract one const X* pointer from another in
5237 an arm of an if-expression whose if-part is not a constant
5239 const char *g = "string";
5240 pcpcc = &g + (g ? g-g : 0);
5241 /* HPUX 7.0 cc rejects these. */
5243 ppc = (char**) pcpcc;
5244 pcpcc = (char const *const *) ppc;
5245 { /* SCO 3.2v4 cc rejects this. */
5247 char const *s = 0 ? (char *) 0 : (char const *) 0;
5252 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5254 const int *foo = &x[0];
5257 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5258 typedef const int *iptr;
5262 { /* AIX XL C 1.02.0.0 rejects this saying
5263 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5264 struct s { int j; const int *ap[3]; };
5265 struct s *b; b->j = 5;
5267 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5271 return !cs[0] && !zero.x;
5278 rm -f conftest.$ac_objext
5279 if { (ac_try="$ac_compile"
5281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5282 *) ac_try_echo
=$ac_try;;
5284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5285 (eval "$ac_compile") 2>conftest.er1
5287 grep -v '^ *+' conftest.er1
>conftest.err
5289 cat conftest.err
>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } && {
5292 test -z "$ac_c_werror_flag" ||
5293 test ! -s conftest.err
5294 } && test -s conftest.
$ac_objext; then
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5305 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5306 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5307 if test $ac_cv_c_const = no
; then
5309 cat >>confdefs.h
<<\_ACEOF
5315 { echo "$as_me:$LINENO: checking for inline" >&5
5316 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5317 if test "${ac_cv_c_inline+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5321 for ac_kw
in inline __inline__ __inline
; do
5322 cat >conftest.
$ac_ext <<_ACEOF
5325 cat confdefs.h
>>conftest.
$ac_ext
5326 cat >>conftest.
$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5330 static $ac_kw foo_t static_foo () {return 0; }
5331 $ac_kw foo_t foo () {return 0; }
5335 rm -f conftest.
$ac_objext
5336 if { (ac_try
="$ac_compile"
5338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5339 *) ac_try_echo=$ac_try;;
5341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5342 (eval "$ac_compile") 2>conftest.er1
5344 grep -v '^ *+' conftest.er1 >conftest.err
5346 cat conftest.err >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } && {
5349 test -z "$ac_c_werror_flag" ||
5350 test ! -s conftest.err
5351 } && test -s conftest.$ac_objext; then
5352 ac_cv_c_inline=$ac_kw
5354 echo "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.$ac_ext >&5
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 test "$ac_cv_c_inline" != no && break
5365 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5366 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5369 case $ac_cv_c_inline in
5372 case $ac_cv_c_inline in
5374 *) ac_val=$ac_cv_c_inline;;
5376 cat >>confdefs.h <<_ACEOF
5378 #define inline $ac_val
5384 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5385 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5386 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 cat >conftest.$ac_ext <<_ACEOF
5392 cat confdefs.h >>conftest.$ac_ext
5393 cat >>conftest.$ac_ext <<_ACEOF
5394 /* end confdefs.h. */
5395 $ac_includes_default
5399 static struct stat ac_aggr;
5400 if (ac_aggr.st_rdev)
5406 rm -f conftest.$ac_objext
5407 if { (ac_try="$ac_compile"
5409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5410 *) ac_try_echo
=$ac_try;;
5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 (eval "$ac_compile") 2>conftest.er1
5415 grep -v '^ *+' conftest.er1
>conftest.err
5417 cat conftest.err
>&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } && {
5420 test -z "$ac_c_werror_flag" ||
5421 test ! -s conftest.err
5422 } && test -s conftest.
$ac_objext; then
5423 ac_cv_member_struct_stat_st_rdev
=yes
5425 echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.
$ac_ext >&5
5428 cat >conftest.
$ac_ext <<_ACEOF
5431 cat confdefs.h
>>conftest.
$ac_ext
5432 cat >>conftest.
$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5434 $ac_includes_default
5438 static struct stat ac_aggr;
5439 if (sizeof ac_aggr.st_rdev)
5445 rm -f conftest.
$ac_objext
5446 if { (ac_try
="$ac_compile"
5448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5449 *) ac_try_echo=$ac_try;;
5451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5452 (eval "$ac_compile") 2>conftest.er1
5454 grep -v '^ *+' conftest.er1 >conftest.err
5456 cat conftest.err >&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } && {
5459 test -z "$ac_c_werror_flag" ||
5460 test ! -s conftest.err
5461 } && test -s conftest.$ac_objext; then
5462 ac_cv_member_struct_stat_st_rdev=yes
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.$ac_ext >&5
5467 ac_cv_member_struct_stat_st_rdev=no
5470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5475 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5476 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5477 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5479 cat >>confdefs.h <<_ACEOF
5480 #define HAVE_STRUCT_STAT_ST_RDEV 1
5486 { echo "$as_me:$LINENO: checking for off_t" >&5
5487 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5488 if test "${ac_cv_type_off_t+set}" = set; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 cat >conftest.$ac_ext <<_ACEOF
5494 cat confdefs.h >>conftest.$ac_ext
5495 cat >>conftest.$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5497 $ac_includes_default
5498 typedef off_t ac__type_new_;
5502 if ((ac__type_new_ *) 0)
5504 if (sizeof (ac__type_new_))
5510 rm -f conftest.$ac_objext
5511 if { (ac_try="$ac_compile"
5513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5514 *) ac_try_echo
=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_compile") 2>conftest.er1
5519 grep -v '^ *+' conftest.er1
>conftest.err
5521 cat conftest.err
>&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); } && {
5524 test -z "$ac_c_werror_flag" ||
5525 test ! -s conftest.err
5526 } && test -s conftest.
$ac_objext; then
5527 ac_cv_type_off_t
=yes
5529 echo "$as_me: failed program was:" >&5
5530 sed 's/^/| /' conftest.
$ac_ext >&5
5535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5537 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5538 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5539 if test $ac_cv_type_off_t = yes; then
5543 cat >>confdefs.h
<<_ACEOF
5544 #define off_t long int
5549 { echo "$as_me:$LINENO: checking for pid_t" >&5
5550 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5551 if test "${ac_cv_type_pid_t+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 cat >conftest.
$ac_ext <<_ACEOF
5557 cat confdefs.h
>>conftest.
$ac_ext
5558 cat >>conftest.
$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5560 $ac_includes_default
5561 typedef pid_t ac__type_new_;
5565 if ((ac__type_new_ *) 0)
5567 if (sizeof (ac__type_new_))
5573 rm -f conftest.
$ac_objext
5574 if { (ac_try
="$ac_compile"
5576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5577 *) ac_try_echo=$ac_try;;
5579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5580 (eval "$ac_compile") 2>conftest.er1
5582 grep -v '^ *+' conftest.er1 >conftest.err
5584 cat conftest.err >&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } && {
5587 test -z "$ac_c_werror_flag" ||
5588 test ! -s conftest.err
5589 } && test -s conftest.$ac_objext; then
5590 ac_cv_type_pid_t=yes
5592 echo "$as_me: failed program was:" >&5
5593 sed 's/^/| /' conftest.$ac_ext >&5
5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5600 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5601 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5602 if test $ac_cv_type_pid_t = yes; then
5606 cat >>confdefs.h <<_ACEOF
5612 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5613 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5614 if test "${ac_cv_type_signal+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 cat >conftest.$ac_ext <<_ACEOF
5620 cat confdefs.h >>conftest.$ac_ext
5621 cat >>conftest.$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 #include <sys/types.h>
5629 return *(signal (0, 0)) (0) == 1;
5634 rm -f conftest.$ac_objext
5635 if { (ac_try="$ac_compile"
5637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5638 *) ac_try_echo
=$ac_try;;
5640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5641 (eval "$ac_compile") 2>conftest.er1
5643 grep -v '^ *+' conftest.er1
>conftest.err
5645 cat conftest.err
>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } && {
5648 test -z "$ac_c_werror_flag" ||
5649 test ! -s conftest.err
5650 } && test -s conftest.
$ac_objext; then
5651 ac_cv_type_signal
=int
5653 echo "$as_me: failed program was:" >&5
5654 sed 's/^/| /' conftest.
$ac_ext >&5
5656 ac_cv_type_signal
=void
5659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5661 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5662 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5664 cat >>confdefs.h
<<_ACEOF
5665 #define RETSIGTYPE $ac_cv_type_signal
5669 { echo "$as_me:$LINENO: checking for size_t" >&5
5670 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5671 if test "${ac_cv_type_size_t+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 cat >conftest.
$ac_ext <<_ACEOF
5677 cat confdefs.h
>>conftest.
$ac_ext
5678 cat >>conftest.
$ac_ext <<_ACEOF
5679 /* end confdefs.h. */
5680 $ac_includes_default
5681 typedef size_t ac__type_new_;
5685 if ((ac__type_new_ *) 0)
5687 if (sizeof (ac__type_new_))
5693 rm -f conftest.
$ac_objext
5694 if { (ac_try
="$ac_compile"
5696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_compile") 2>conftest.er1
5702 grep -v '^ *+' conftest.er1 >conftest.err
5704 cat conftest.err >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } && {
5707 test -z "$ac_c_werror_flag" ||
5708 test ! -s conftest.err
5709 } && test -s conftest.$ac_objext; then
5710 ac_cv_type_size_t=yes
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 ac_cv_type_size_t=no
5718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5720 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5721 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5722 if test $ac_cv_type_size_t = yes; then
5726 cat >>confdefs.h <<_ACEOF
5727 #define size_t unsigned int
5732 { echo "$as_me:$LINENO: checking for mode_t" >&5
5733 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5734 if test "${ac_cv_type_mode_t+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 cat >conftest.$ac_ext <<_ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 $ac_includes_default
5744 typedef mode_t ac__type_new_;
5748 if ((ac__type_new_ *) 0)
5750 if (sizeof (ac__type_new_))
5756 rm -f conftest.$ac_objext
5757 if { (ac_try="$ac_compile"
5759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5760 *) ac_try_echo
=$ac_try;;
5762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5763 (eval "$ac_compile") 2>conftest.er1
5765 grep -v '^ *+' conftest.er1
>conftest.err
5767 cat conftest.err
>&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); } && {
5770 test -z "$ac_c_werror_flag" ||
5771 test ! -s conftest.err
5772 } && test -s conftest.
$ac_objext; then
5773 ac_cv_type_mode_t
=yes
5775 echo "$as_me: failed program was:" >&5
5776 sed 's/^/| /' conftest.
$ac_ext >&5
5778 ac_cv_type_mode_t
=no
5781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5783 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5784 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5785 if test $ac_cv_type_mode_t = yes; then
5789 cat >>confdefs.h
<<_ACEOF
5795 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5796 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5797 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 cat >conftest.
$ac_ext <<_ACEOF
5803 cat confdefs.h
>>conftest.
$ac_ext
5804 cat >>conftest.
$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5806 $ac_includes_default
5810 static struct stat ac_aggr;
5811 if (ac_aggr.st_rdev)
5817 rm -f conftest.
$ac_objext
5818 if { (ac_try
="$ac_compile"
5820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5821 *) ac_try_echo=$ac_try;;
5823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5824 (eval "$ac_compile") 2>conftest.er1
5826 grep -v '^ *+' conftest.er1 >conftest.err
5828 cat conftest.err >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } && {
5831 test -z "$ac_c_werror_flag" ||
5832 test ! -s conftest.err
5833 } && test -s conftest.$ac_objext; then
5834 ac_cv_member_struct_stat_st_rdev=yes
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5839 cat >conftest.$ac_ext <<_ACEOF
5842 cat confdefs.h >>conftest.$ac_ext
5843 cat >>conftest.$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 $ac_includes_default
5849 static struct stat ac_aggr;
5850 if (sizeof ac_aggr.st_rdev)
5856 rm -f conftest.$ac_objext
5857 if { (ac_try="$ac_compile"
5859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5860 *) ac_try_echo
=$ac_try;;
5862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1
>conftest.err
5867 cat conftest.err
>&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_c_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.
$ac_objext; then
5873 ac_cv_member_struct_stat_st_rdev
=yes
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.
$ac_ext >&5
5878 ac_cv_member_struct_stat_st_rdev
=no
5881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5886 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5887 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5888 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5890 cat >>confdefs.h
<<_ACEOF
5891 #define HAVE_STRUCT_STAT_ST_RDEV 1
5897 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5898 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5899 if test "${ac_cv_struct_tm+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 cat >conftest.
$ac_ext <<_ACEOF
5905 cat confdefs.h
>>conftest.
$ac_ext
5906 cat >>conftest.
$ac_ext <<_ACEOF
5907 /* end confdefs.h. */
5908 #include <sys/types.h>
5915 int *p = &tm.tm_sec;
5921 rm -f conftest.
$ac_objext
5922 if { (ac_try
="$ac_compile"
5924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5925 *) ac_try_echo=$ac_try;;
5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5928 (eval "$ac_compile") 2>conftest.er1
5930 grep -v '^ *+' conftest.er1 >conftest.err
5932 cat conftest.err >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } && {
5935 test -z "$ac_c_werror_flag" ||
5936 test ! -s conftest.err
5937 } && test -s conftest.$ac_objext; then
5938 ac_cv_struct_tm=time.h
5940 echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.$ac_ext >&5
5943 ac_cv_struct_tm=sys/time.h
5946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5948 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5949 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5950 if test $ac_cv_struct_tm = sys/time.h; then
5952 cat >>confdefs.h <<\_ACEOF
5953 #define TM_IN_SYS_TIME 1
5959 ################################################################################
5977 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
5978 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
5981 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 cat >conftest.$ac_ext <<_ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5995 #define $ac_func innocuous_$ac_func
5997 /* System header to define __stub macros and hopefully few prototypes,
5998 which can conflict with char $ac_func (); below.
5999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6000 <limits.h> exists even on freestanding compilers. */
6003 # include <limits.h>
6005 # include <assert.h>
6010 /* Override any GCC internal prototype to avoid an error.
6011 Use char because int might match the return type of a GCC
6012 builtin and then its argument prototype would still apply. */
6017 /* The GNU C library defines this for functions which it implements
6018 to always fail with ENOSYS. Some functions are actually named
6019 something starting with __ and the normal name is an alias. */
6020 #if defined __stub_$ac_func || defined __stub___$ac_func
6032 rm -f conftest.$ac_objext conftest$ac_exeext
6033 if { (ac_try="$ac_link"
6035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6036 *) ac_try_echo
=$ac_try;;
6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039 (eval "$ac_link") 2>conftest.er1
6041 grep -v '^ *+' conftest.er1
>conftest.err
6043 cat conftest.err
>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } && {
6046 test -z "$ac_c_werror_flag" ||
6047 test ! -s conftest.err
6048 } && test -s conftest
$ac_exeext &&
6049 $as_test_x conftest
$ac_exeext; then
6050 eval "$as_ac_var=yes"
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.
$ac_ext >&5
6055 eval "$as_ac_var=no"
6058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6059 conftest
$ac_exeext conftest.
$ac_ext
6061 ac_res
=`eval echo '${'$as_ac_var'}'`
6062 { echo "$as_me:$LINENO: result: $ac_res" >&5
6063 echo "${ECHO_T}$ac_res" >&6; }
6064 if test `eval echo '${'$as_ac_var'}'` = yes; then
6065 cat >>confdefs.h
<<_ACEOF
6066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6070 { { echo "$as_me:$LINENO: error: bailing out" >&5
6071 echo "$as_me: error: bailing out" >&2;}
6072 { (exit 1); exit 1; }; }
6076 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6077 # for constant arguments. Useless!
6078 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6079 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6080 if test "${ac_cv_working_alloca_h+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 cat >conftest.
$ac_ext <<_ACEOF
6086 cat confdefs.h
>>conftest.
$ac_ext
6087 cat >>conftest.
$ac_ext <<_ACEOF
6088 /* end confdefs.h. */
6093 char *p = (char *) alloca (2 * sizeof (int));
6099 rm -f conftest.
$ac_objext conftest
$ac_exeext
6100 if { (ac_try
="$ac_link"
6102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6103 *) ac_try_echo=$ac_try;;
6105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6106 (eval "$ac_link") 2>conftest.er1
6108 grep -v '^ *+' conftest.er1 >conftest.err
6110 cat conftest.err >&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); } && {
6113 test -z "$ac_c_werror_flag" ||
6114 test ! -s conftest.err
6115 } && test -s conftest$ac_exeext &&
6116 $as_test_x conftest$ac_exeext; then
6117 ac_cv_working_alloca_h=yes
6119 echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.$ac_ext >&5
6122 ac_cv_working_alloca_h=no
6125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6126 conftest$ac_exeext conftest.$ac_ext
6128 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6129 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6130 if test $ac_cv_working_alloca_h = yes; then
6132 cat >>confdefs.h <<\_ACEOF
6133 #define HAVE_ALLOCA_H 1
6138 { echo "$as_me:$LINENO: checking for alloca" >&5
6139 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6140 if test "${ac_cv_func_alloca_works+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 cat >conftest.$ac_ext <<_ACEOF
6146 cat confdefs.h >>conftest.$ac_ext
6147 cat >>conftest.$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6150 # define alloca __builtin_alloca
6153 # include <malloc.h>
6154 # define alloca _alloca
6156 # ifdef HAVE_ALLOCA_H
6157 # include <alloca.h>
6162 # ifndef alloca /* predefined by HP cc +Olibcalls */
6173 char *p = (char *) alloca (1);
6179 rm -f conftest.$ac_objext conftest$ac_exeext
6180 if { (ac_try="$ac_link"
6182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6183 *) ac_try_echo
=$ac_try;;
6185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6186 (eval "$ac_link") 2>conftest.er1
6188 grep -v '^ *+' conftest.er1
>conftest.err
6190 cat conftest.err
>&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && {
6193 test -z "$ac_c_werror_flag" ||
6194 test ! -s conftest.err
6195 } && test -s conftest
$ac_exeext &&
6196 $as_test_x conftest
$ac_exeext; then
6197 ac_cv_func_alloca_works
=yes
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.
$ac_ext >&5
6202 ac_cv_func_alloca_works
=no
6205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6206 conftest
$ac_exeext conftest.
$ac_ext
6208 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6209 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6211 if test $ac_cv_func_alloca_works = yes; then
6213 cat >>confdefs.h
<<\_ACEOF
6214 #define HAVE_ALLOCA 1
6218 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6219 # that cause trouble. Some versions do not even contain alloca or
6220 # contain a buggy version. If you still want to use their alloca,
6221 # use ar to extract alloca.o from them instead of compiling alloca.c.
6223 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6225 cat >>confdefs.h
<<\_ACEOF
6230 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6231 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6232 if test "${ac_cv_os_cray+set}" = set; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 cat >conftest.
$ac_ext <<_ACEOF
6238 cat confdefs.h
>>conftest.
$ac_ext
6239 cat >>conftest.
$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6241 #if defined CRAY && ! defined CRAY2
6248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6249 $EGREP "webecray" >/dev
/null
2>&1; then
6257 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6258 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6259 if test $ac_cv_os_cray = yes; then
6260 for ac_func
in _getb67 GETB67 getb67
; do
6261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6264 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6267 cat >conftest.
$ac_ext <<_ACEOF
6270 cat confdefs.h
>>conftest.
$ac_ext
6271 cat >>conftest.
$ac_ext <<_ACEOF
6272 /* end confdefs.h. */
6273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6275 #define $ac_func innocuous_$ac_func
6277 /* System header to define __stub macros and hopefully few prototypes,
6278 which can conflict with char $ac_func (); below.
6279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6280 <limits.h> exists even on freestanding compilers. */
6283 # include <limits.h>
6285 # include <assert.h>
6290 /* Override any GCC internal prototype to avoid an error.
6291 Use char because int might match the return type of a GCC
6292 builtin and then its argument prototype would still apply. */
6297 /* The GNU C library defines this for functions which it implements
6298 to always fail with ENOSYS. Some functions are actually named
6299 something starting with __ and the normal name is an alias. */
6300 #if defined __stub_$ac_func || defined __stub___$ac_func
6312 rm -f conftest.
$ac_objext conftest
$ac_exeext
6313 if { (ac_try
="$ac_link"
6315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6316 *) ac_try_echo=$ac_try;;
6318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6319 (eval "$ac_link") 2>conftest.er1
6321 grep -v '^ *+' conftest.er1 >conftest.err
6323 cat conftest.err >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } && {
6326 test -z "$ac_c_werror_flag" ||
6327 test ! -s conftest.err
6328 } && test -s conftest$ac_exeext &&
6329 $as_test_x conftest$ac_exeext; then
6330 eval "$as_ac_var=yes"
6332 echo "$as_me: failed program was:" >&5
6333 sed 's/^/| /' conftest.$ac_ext >&5
6335 eval "$as_ac_var=no"
6338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6339 conftest$ac_exeext conftest.$ac_ext
6341 ac_res=`eval echo '${'$as_ac_var'}'`
6342 { echo "$as_me:$LINENO: result: $ac_res" >&5
6343 echo "${ECHO_T}$ac_res" >&6; }
6344 if test `eval echo '${'$as_ac_var'}'` = yes; then
6346 cat >>confdefs.h <<_ACEOF
6347 #define CRAY_STACKSEG_END $ac_func
6356 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6357 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6358 if test "${ac_cv_c_stack_direction+set}" = set; then
6359 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 if test "$cross_compiling" = yes; then
6362 ac_cv_c_stack_direction=0
6364 cat >conftest.$ac_ext <<_ACEOF
6367 cat confdefs.h >>conftest.$ac_ext
6368 cat >>conftest.$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6370 $ac_includes_default
6372 find_stack_direction ()
6374 static char *addr = 0;
6379 return find_stack_direction ();
6382 return (&dummy > addr) ? 1 : -1;
6388 return find_stack_direction () < 0;
6391 rm -f conftest$ac_exeext
6392 if { (ac_try="$ac_link"
6394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6395 *) ac_try_echo
=$ac_try;;
6397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6398 (eval "$ac_link") 2>&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6402 { (case "(($ac_try" in
6403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6404 *) ac_try_echo=$ac_try;;
6406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6407 (eval "$ac_try") 2>&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); }; }; then
6411 ac_cv_c_stack_direction=1
6413 echo "$as_me: program exited with status $ac_status" >&5
6414 echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.$ac_ext >&5
6418 ac_cv_c_stack_direction=-1
6420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6425 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6426 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6428 cat >>confdefs.h <<_ACEOF
6429 #define STACK_DIRECTION $ac_cv_c_stack_direction
6435 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6436 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
6437 if test "${ac_cv_func_closedir_void+set}" = set; then
6438 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 if test "$cross_compiling" = yes; then
6441 ac_cv_func_closedir_void=yes
6443 cat >conftest.$ac_ext <<_ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 $ac_includes_default
6450 #include <$ac_header_dirent>
6458 return closedir (opendir (".")) != 0;
6463 rm -f conftest$ac_exeext
6464 if { (ac_try="$ac_link"
6466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6467 *) ac_try_echo
=$ac_try;;
6469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6470 (eval "$ac_link") 2>&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6474 { (case "(($ac_try" in
6475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6476 *) ac_try_echo=$ac_try;;
6478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6479 (eval "$ac_try") 2>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; }; then
6483 ac_cv_func_closedir_void=no
6485 echo "$as_me: program exited with status $ac_status" >&5
6486 echo "$as_me: failed program was:" >&5
6487 sed 's/^/| /' conftest.$ac_ext >&5
6490 ac_cv_func_closedir_void=yes
6492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6497 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6498 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
6499 if test $ac_cv_func_closedir_void = yes; then
6501 cat >>confdefs.h <<\_ACEOF
6502 #define CLOSEDIR_VOID 1
6508 for ac_header in vfork.h
6510 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6515 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 ac_res=`eval echo '${'$as_ac_Header'}'`
6518 { echo "$as_me:$LINENO: result: $ac_res" >&5
6519 echo "${ECHO_T}$ac_res" >&6; }
6521 # Is the header compilable?
6522 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6524 cat >conftest.$ac_ext <<_ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 $ac_includes_default
6531 #include <$ac_header>
6533 rm -f conftest.$ac_objext
6534 if { (ac_try="$ac_compile"
6536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6537 *) ac_try_echo
=$ac_try;;
6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6540 (eval "$ac_compile") 2>conftest.er1
6542 grep -v '^ *+' conftest.er1
>conftest.err
6544 cat conftest.err
>&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); } && {
6547 test -z "$ac_c_werror_flag" ||
6548 test ! -s conftest.err
6549 } && test -s conftest.
$ac_objext; then
6550 ac_header_compiler
=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.
$ac_ext >&5
6555 ac_header_compiler
=no
6558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6560 echo "${ECHO_T}$ac_header_compiler" >&6; }
6562 # Is the header present?
6563 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6565 cat >conftest.
$ac_ext <<_ACEOF
6568 cat confdefs.h
>>conftest.
$ac_ext
6569 cat >>conftest.
$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6571 #include <$ac_header>
6573 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6576 *) ac_try_echo=$ac_try;;
6578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6581 grep -v '^ *+' conftest.er1 >conftest.err
6583 cat conftest.err >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } >/dev/null && {
6586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6587 test ! -s conftest.err
6589 ac_header_preproc=yes
6591 echo "$as_me: failed program was:" >&5
6592 sed 's/^/| /' conftest.$ac_ext >&5
6594 ac_header_preproc=no
6597 rm -f conftest.err conftest.$ac_ext
6598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6599 echo "${ECHO_T}$ac_header_preproc" >&6; }
6601 # So? What about this header?
6602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6608 ac_header_preproc=yes
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 eval "$as_ac_Header=\$ac_header_preproc"
6633 ac_res=`eval echo '${'$as_ac_Header'}'`
6634 { echo "$as_me:$LINENO: result: $ac_res" >&5
6635 echo "${ECHO_T}$ac_res" >&6; }
6638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6639 cat >>confdefs.h <<_ACEOF
6640 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6649 for ac_func in fork vfork
6651 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 cat >conftest.$ac_ext <<_ACEOF
6660 cat confdefs.h >>conftest.$ac_ext
6661 cat >>conftest.$ac_ext <<_ACEOF
6662 /* end confdefs.h. */
6663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6665 #define $ac_func innocuous_$ac_func
6667 /* System header to define __stub macros and hopefully few prototypes,
6668 which can conflict with char $ac_func (); below.
6669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6670 <limits.h> exists even on freestanding compilers. */
6673 # include <limits.h>
6675 # include <assert.h>
6680 /* Override any GCC internal prototype to avoid an error.
6681 Use char because int might match the return type of a GCC
6682 builtin and then its argument prototype would still apply. */
6687 /* The GNU C library defines this for functions which it implements
6688 to always fail with ENOSYS. Some functions are actually named
6689 something starting with __ and the normal name is an alias. */
6690 #if defined __stub_$ac_func || defined __stub___$ac_func
6702 rm -f conftest.$ac_objext conftest$ac_exeext
6703 if { (ac_try="$ac_link"
6705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6706 *) ac_try_echo
=$ac_try;;
6708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6709 (eval "$ac_link") 2>conftest.er1
6711 grep -v '^ *+' conftest.er1
>conftest.err
6713 cat conftest.err
>&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); } && {
6716 test -z "$ac_c_werror_flag" ||
6717 test ! -s conftest.err
6718 } && test -s conftest
$ac_exeext &&
6719 $as_test_x conftest
$ac_exeext; then
6720 eval "$as_ac_var=yes"
6722 echo "$as_me: failed program was:" >&5
6723 sed 's/^/| /' conftest.
$ac_ext >&5
6725 eval "$as_ac_var=no"
6728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6729 conftest
$ac_exeext conftest.
$ac_ext
6731 ac_res
=`eval echo '${'$as_ac_var'}'`
6732 { echo "$as_me:$LINENO: result: $ac_res" >&5
6733 echo "${ECHO_T}$ac_res" >&6; }
6734 if test `eval echo '${'$as_ac_var'}'` = yes; then
6735 cat >>confdefs.h
<<_ACEOF
6736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6742 if test "x$ac_cv_func_fork" = xyes
; then
6743 { echo "$as_me:$LINENO: checking for working fork" >&5
6744 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6745 if test "${ac_cv_func_fork_works+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 if test "$cross_compiling" = yes; then
6749 ac_cv_func_fork_works
=cross
6751 cat >conftest.
$ac_ext <<_ACEOF
6754 cat confdefs.h
>>conftest.
$ac_ext
6755 cat >>conftest.
$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6757 $ac_includes_default
6762 /* By Ruediger Kuhlmann. */
6769 rm -f conftest
$ac_exeext
6770 if { (ac_try
="$ac_link"
6772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_link") 2>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6780 { (case "(($ac_try" in
6781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6782 *) ac_try_echo
=$ac_try;;
6784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6785 (eval "$ac_try") 2>&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; }; then
6789 ac_cv_func_fork_works
=yes
6791 echo "$as_me: program exited with status $ac_status" >&5
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.
$ac_ext >&5
6796 ac_cv_func_fork_works
=no
6798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6803 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6804 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6807 ac_cv_func_fork_works
=$ac_cv_func_fork
6809 if test "x$ac_cv_func_fork_works" = xcross
; then
6811 *-*-amigaos* |
*-*-msdosdjgpp*)
6812 # Override, as these systems have only a dummy fork() stub
6813 ac_cv_func_fork_works
=no
6816 ac_cv_func_fork_works
=yes
6819 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6820 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6822 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6823 if test "x$ac_cv_func_vfork" = xyes
; then
6824 { echo "$as_me:$LINENO: checking for working vfork" >&5
6825 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6826 if test "${ac_cv_func_vfork_works+set}" = set; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 if test "$cross_compiling" = yes; then
6830 ac_cv_func_vfork_works
=cross
6832 cat >conftest.
$ac_ext <<_ACEOF
6835 cat confdefs.h
>>conftest.
$ac_ext
6836 cat >>conftest.
$ac_ext <<_ACEOF
6837 /* end confdefs.h. */
6838 /* Thanks to Paul Eggert for this test. */
6839 $ac_includes_default
6840 #include <sys/wait.h>
6844 /* On some sparc systems, changes by the child to local and incoming
6845 argument registers are propagated back to the parent. The compiler
6846 is told about this with #include <vfork.h>, but some compilers
6847 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6848 static variable whose address is put into a register that is
6849 clobbered by the vfork. */
6852 sparc_address_test (int arg)
6854 sparc_address_test (arg) int arg;
6875 pid_t parent = getpid ();
6878 sparc_address_test (0);
6883 /* Here is another test for sparc vfork register problems. This
6884 test uses lots of local variables, at least as many local
6885 variables as main has allocated so far including compiler
6886 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6887 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6888 reuse the register of parent for one of the local variables,
6889 since it will think that parent can't possibly be used any more
6890 in this routine. Assigning to the local variable will thus
6891 munge parent in the parent process. */
6893 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6894 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6895 /* Convince the compiler that p..p7 are live; otherwise, it might
6896 use the same hardware register for all 8 local variables. */
6897 if (p != p1 || p != p2 || p != p3 || p != p4
6898 || p != p5 || p != p6 || p != p7)
6901 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6902 from child file descriptors. If the child closes a descriptor
6903 before it execs or exits, this munges the parent's descriptor
6904 as well. Test for this by closing stdout in the child. */
6905 _exit(close(fileno(stdout)) != 0);
6910 while (wait(&status) != child)
6913 /* Was there some problem with vforking? */
6916 /* Did the child fail? (This shouldn't happen.) */
6919 /* Did the vfork/compiler bug occur? */
6920 || parent != getpid()
6922 /* Did the file descriptor bug occur? */
6923 || fstat(fileno(stdout), &st) != 0
6928 rm -f conftest
$ac_exeext
6929 if { (ac_try
="$ac_link"
6931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6932 *) ac_try_echo=$ac_try;;
6934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6935 (eval "$ac_link") 2>&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6939 { (case "(($ac_try" in
6940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6941 *) ac_try_echo
=$ac_try;;
6943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6944 (eval "$ac_try") 2>&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; }; then
6948 ac_cv_func_vfork_works
=yes
6950 echo "$as_me: program exited with status $ac_status" >&5
6951 echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.
$ac_ext >&5
6955 ac_cv_func_vfork_works
=no
6957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6962 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6963 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6966 if test "x$ac_cv_func_fork_works" = xcross
; then
6967 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6968 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6969 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6972 if test "x$ac_cv_func_vfork_works" = xyes
; then
6974 cat >>confdefs.h
<<\_ACEOF
6975 #define HAVE_WORKING_VFORK 1
6980 cat >>confdefs.h
<<\_ACEOF
6985 if test "x$ac_cv_func_fork_works" = xyes
; then
6987 cat >>confdefs.h
<<\_ACEOF
6988 #define HAVE_WORKING_FORK 1
6993 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6994 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6995 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6998 rm -f conftest.sym conftest.
file
7000 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
7001 if test "$cross_compiling" = yes; then
7002 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7004 cat >conftest.
$ac_ext <<_ACEOF
7007 cat confdefs.h
>>conftest.
$ac_ext
7008 cat >>conftest.
$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 $ac_includes_default
7015 /* Linux will dereference the symlink and fail.
7016 That is better in the sense that it means we will not
7017 have to compile and use the lstat wrapper. */
7018 return lstat ("conftest.sym/", &sbuf) == 0;
7023 rm -f conftest
$ac_exeext
7024 if { (ac_try
="$ac_link"
7026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7027 *) ac_try_echo=$ac_try;;
7029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7030 (eval "$ac_link") 2>&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7034 { (case "(($ac_try" in
7035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7036 *) ac_try_echo
=$ac_try;;
7038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039 (eval "$ac_try") 2>&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7043 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7045 echo "$as_me: program exited with status $ac_status" >&5
7046 echo "$as_me: failed program was:" >&5
7047 sed 's/^/| /' conftest.
$ac_ext >&5
7050 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7052 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7057 # If the `ln -s' command failed, then we probably don't even
7058 # have an lstat function.
7059 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7061 rm -f conftest.sym conftest.
file
7064 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7065 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7067 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7069 cat >>confdefs.h
<<_ACEOF
7070 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7074 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7075 case " $LIBOBJS " in
7076 *" lstat.$ac_objext "* ) ;;
7077 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7083 { echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7084 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
7085 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7086 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 if test "$cross_compiling" = yes; then
7089 ac_cv_func_lstat_empty_string_bug
=yes
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 $ac_includes_default
7102 return lstat ("", &sbuf) == 0;
7107 rm -f conftest
$ac_exeext
7108 if { (ac_try
="$ac_link"
7110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7111 *) ac_try_echo=$ac_try;;
7113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7114 (eval "$ac_link") 2>&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7118 { (case "(($ac_try" in
7119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7120 *) ac_try_echo
=$ac_try;;
7122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7123 (eval "$ac_try") 2>&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); }; }; then
7127 ac_cv_func_lstat_empty_string_bug
=no
7129 echo "$as_me: program exited with status $ac_status" >&5
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.
$ac_ext >&5
7134 ac_cv_func_lstat_empty_string_bug
=yes
7136 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7141 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7142 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
7143 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7144 case " $LIBOBJS " in
7145 *" lstat.$ac_objext "* ) ;;
7146 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7151 cat >>confdefs.h
<<_ACEOF
7152 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7158 for ac_header
in stdlib.h
7160 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7161 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7164 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 ac_res
=`eval echo '${'$as_ac_Header'}'`
7168 { echo "$as_me:$LINENO: result: $ac_res" >&5
7169 echo "${ECHO_T}$ac_res" >&6; }
7171 # Is the header compilable?
7172 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7174 cat >conftest.
$ac_ext <<_ACEOF
7177 cat confdefs.h
>>conftest.
$ac_ext
7178 cat >>conftest.
$ac_ext <<_ACEOF
7179 /* end confdefs.h. */
7180 $ac_includes_default
7181 #include <$ac_header>
7183 rm -f conftest.
$ac_objext
7184 if { (ac_try
="$ac_compile"
7186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7187 *) ac_try_echo=$ac_try;;
7189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7190 (eval "$ac_compile") 2>conftest.er1
7192 grep -v '^ *+' conftest.er1 >conftest.err
7194 cat conftest.err >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } && {
7197 test -z "$ac_c_werror_flag" ||
7198 test ! -s conftest.err
7199 } && test -s conftest.$ac_objext; then
7200 ac_header_compiler=yes
7202 echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7205 ac_header_compiler=no
7208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7209 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7210 echo "${ECHO_T}$ac_header_compiler" >&6; }
7212 # Is the header present?
7213 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7215 cat >conftest.$ac_ext <<_ACEOF
7218 cat confdefs.h >>conftest.$ac_ext
7219 cat >>conftest.$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7221 #include <$ac_header>
7223 if { (ac_try="$ac_cpp conftest.$ac_ext"
7225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7226 *) ac_try_echo
=$ac_try;;
7228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7231 grep -v '^ *+' conftest.er1
>conftest.err
7233 cat conftest.err
>&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); } >/dev
/null
&& {
7236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7237 test ! -s conftest.err
7239 ac_header_preproc
=yes
7241 echo "$as_me: failed program was:" >&5
7242 sed 's/^/| /' conftest.
$ac_ext >&5
7244 ac_header_preproc
=no
7247 rm -f conftest.err conftest.
$ac_ext
7248 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7249 echo "${ECHO_T}$ac_header_preproc" >&6; }
7251 # So? What about this header?
7252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7258 ac_header_preproc
=yes
7261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7278 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7279 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 eval "$as_ac_Header=\$ac_header_preproc"
7283 ac_res
=`eval echo '${'$as_ac_Header'}'`
7284 { echo "$as_me:$LINENO: result: $ac_res" >&5
7285 echo "${ECHO_T}$ac_res" >&6; }
7288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7289 cat >>confdefs.h
<<_ACEOF
7290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7297 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7298 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
7299 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 if test "$cross_compiling" = yes; then
7303 ac_cv_func_malloc_0_nonnull
=no
7305 cat >conftest.
$ac_ext <<_ACEOF
7308 cat confdefs.h
>>conftest.
$ac_ext
7309 cat >>conftest.
$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7312 # include <stdlib.h>
7320 return ! malloc (0);
7325 rm -f conftest
$ac_exeext
7326 if { (ac_try
="$ac_link"
7328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7329 *) ac_try_echo=$ac_try;;
7331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7332 (eval "$ac_link") 2>&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7336 { (case "(($ac_try" in
7337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7338 *) ac_try_echo
=$ac_try;;
7340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7341 (eval "$ac_try") 2>&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; }; then
7345 ac_cv_func_malloc_0_nonnull
=yes
7347 echo "$as_me: program exited with status $ac_status" >&5
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.
$ac_ext >&5
7352 ac_cv_func_malloc_0_nonnull
=no
7354 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7359 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7360 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
7361 if test $ac_cv_func_malloc_0_nonnull = yes; then
7363 cat >>confdefs.h
<<\_ACEOF
7364 #define HAVE_MALLOC 1
7368 cat >>confdefs.h
<<\_ACEOF
7369 #define HAVE_MALLOC 0
7372 case " $LIBOBJS " in
7373 *" malloc.$ac_objext "* ) ;;
7374 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7379 cat >>confdefs.h
<<\_ACEOF
7380 #define malloc rpl_malloc
7387 { echo "$as_me:$LINENO: checking for working memcmp" >&5
7388 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
7389 if test "${ac_cv_func_memcmp_working+set}" = set; then
7390 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 if test "$cross_compiling" = yes; then
7393 ac_cv_func_memcmp_working
=no
7395 cat >conftest.
$ac_ext <<_ACEOF
7398 cat confdefs.h
>>conftest.
$ac_ext
7399 cat >>conftest.
$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 $ac_includes_default
7406 /* Some versions of memcmp are not 8-bit clean. */
7407 char c0 = '\100', c1 = '\200', c2 = '\201';
7408 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7411 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7412 or more and with at least one buffer not starting on a 4-byte boundary.
7413 William Lewis provided this test program. */
7418 for (i = 0; i < 4; i++)
7422 strcpy (a, "--------01111111");
7423 strcpy (b, "--------10000000");
7424 if (memcmp (a, b, 16) >= 0)
7434 rm -f conftest
$ac_exeext
7435 if { (ac_try
="$ac_link"
7437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_link") 2>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7445 { (case "(($ac_try" in
7446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7447 *) ac_try_echo
=$ac_try;;
7449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7450 (eval "$ac_try") 2>&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 ac_cv_func_memcmp_working
=yes
7456 echo "$as_me: program exited with status $ac_status" >&5
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_cv_func_memcmp_working
=no
7463 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7468 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7469 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
7470 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7471 *" memcmp.$ac_objext "* ) ;;
7472 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7479 for ac_header
in stdlib.h unistd.h
7481 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7485 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 ac_res
=`eval echo '${'$as_ac_Header'}'`
7489 { echo "$as_me:$LINENO: result: $ac_res" >&5
7490 echo "${ECHO_T}$ac_res" >&6; }
7492 # Is the header compilable?
7493 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7495 cat >conftest.
$ac_ext <<_ACEOF
7498 cat confdefs.h
>>conftest.
$ac_ext
7499 cat >>conftest.
$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7501 $ac_includes_default
7502 #include <$ac_header>
7504 rm -f conftest.
$ac_objext
7505 if { (ac_try
="$ac_compile"
7507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7513 grep -v '^ *+' conftest.er1 >conftest.err
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 ac_header_compiler=yes
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7526 ac_header_compiler=no
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7530 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7531 echo "${ECHO_T}$ac_header_compiler" >&6; }
7533 # Is the header present?
7534 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7536 cat >conftest.$ac_ext <<_ACEOF
7539 cat confdefs.h >>conftest.$ac_ext
7540 cat >>conftest.$ac_ext <<_ACEOF
7541 /* end confdefs.h. */
7542 #include <$ac_header>
7544 if { (ac_try="$ac_cpp conftest.$ac_ext"
7546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7547 *) ac_try_echo
=$ac_try;;
7549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7552 grep -v '^ *+' conftest.er1
>conftest.err
7554 cat conftest.err
>&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); } >/dev
/null
&& {
7557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7558 test ! -s conftest.err
7560 ac_header_preproc
=yes
7562 echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.
$ac_ext >&5
7565 ac_header_preproc
=no
7568 rm -f conftest.err conftest.
$ac_ext
7569 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7570 echo "${ECHO_T}$ac_header_preproc" >&6; }
7572 # So? What about this header?
7573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7579 ac_header_preproc
=yes
7582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7599 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7600 echo $ECHO_N "(cached) $ECHO_C" >&6
7602 eval "$as_ac_Header=\$ac_header_preproc"
7604 ac_res
=`eval echo '${'$as_ac_Header'}'`
7605 { echo "$as_me:$LINENO: result: $ac_res" >&5
7606 echo "${ECHO_T}$ac_res" >&6; }
7609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7610 cat >>confdefs.h
<<_ACEOF
7611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 for ac_func
in getpagesize
7621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7624 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7627 cat >conftest.
$ac_ext <<_ACEOF
7630 cat confdefs.h
>>conftest.
$ac_ext
7631 cat >>conftest.
$ac_ext <<_ACEOF
7632 /* end confdefs.h. */
7633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7635 #define $ac_func innocuous_$ac_func
7637 /* System header to define __stub macros and hopefully few prototypes,
7638 which can conflict with char $ac_func (); below.
7639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7640 <limits.h> exists even on freestanding compilers. */
7643 # include <limits.h>
7645 # include <assert.h>
7650 /* Override any GCC internal prototype to avoid an error.
7651 Use char because int might match the return type of a GCC
7652 builtin and then its argument prototype would still apply. */
7657 /* The GNU C library defines this for functions which it implements
7658 to always fail with ENOSYS. Some functions are actually named
7659 something starting with __ and the normal name is an alias. */
7660 #if defined __stub_$ac_func || defined __stub___$ac_func
7672 rm -f conftest.
$ac_objext conftest
$ac_exeext
7673 if { (ac_try
="$ac_link"
7675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7676 *) ac_try_echo=$ac_try;;
7678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7679 (eval "$ac_link") 2>conftest.er1
7681 grep -v '^ *+' conftest.er1 >conftest.err
7683 cat conftest.err >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } && {
7686 test -z "$ac_c_werror_flag" ||
7687 test ! -s conftest.err
7688 } && test -s conftest$ac_exeext &&
7689 $as_test_x conftest$ac_exeext; then
7690 eval "$as_ac_var=yes"
7692 echo "$as_me: failed program was:" >&5
7693 sed 's/^/| /' conftest.$ac_ext >&5
7695 eval "$as_ac_var=no"
7698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7699 conftest$ac_exeext conftest.$ac_ext
7701 ac_res=`eval echo '${'$as_ac_var'}'`
7702 { echo "$as_me:$LINENO: result: $ac_res" >&5
7703 echo "${ECHO_T}$ac_res" >&6; }
7704 if test `eval echo '${'$as_ac_var'}'` = yes; then
7705 cat >>confdefs.h <<_ACEOF
7706 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7712 { echo "$as_me:$LINENO: checking for working mmap" >&5
7713 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7714 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7715 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 if test "$cross_compiling" = yes; then
7718 ac_cv_func_mmap_fixed_mapped=no
7720 cat >conftest.$ac_ext <<_ACEOF
7723 cat confdefs.h >>conftest.$ac_ext
7724 cat >>conftest.$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7726 $ac_includes_default
7727 /* malloc might have been renamed as rpl_malloc. */
7730 /* Thanks to Mike Haertel and Jim Avera for this test.
7731 Here is a matrix of mmap possibilities:
7732 mmap private not fixed
7733 mmap private fixed at somewhere currently unmapped
7734 mmap private fixed at somewhere already mapped
7735 mmap shared not fixed
7736 mmap shared fixed at somewhere currently unmapped
7737 mmap shared fixed at somewhere already mapped
7738 For private mappings, we should verify that changes cannot be read()
7739 back from the file, nor mmap's back from the file at a different
7740 address. (There have been systems where private was not correctly
7741 implemented like the infamous i386 svr4.0, and systems where the
7742 VM page cache was not coherent with the file system buffer cache
7743 like early versions of FreeBSD and possibly contemporary NetBSD.)
7744 For shared mappings, we should conversely verify that changes get
7745 propagated back to all the places they're supposed to be.
7747 Grep wants private fixed already mapped.
7748 The main things grep needs to know about mmap are:
7749 * does it exist and is it safe to write into the mmap'd area
7750 * how to use it (BSD variants) */
7753 #include <sys/mman.h>
7755 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7759 /* This mess was copied from the GNU getpagesize.h. */
7760 #ifndef HAVE_GETPAGESIZE
7761 /* Assume that all systems that can run configure have sys/param.h. */
7762 # ifndef HAVE_SYS_PARAM_H
7763 # define HAVE_SYS_PARAM_H 1
7766 # ifdef _SC_PAGESIZE
7767 # define getpagesize() sysconf(_SC_PAGESIZE)
7768 # else /* no _SC_PAGESIZE */
7769 # ifdef HAVE_SYS_PARAM_H
7770 # include <sys/param.h>
7771 # ifdef EXEC_PAGESIZE
7772 # define getpagesize() EXEC_PAGESIZE
7773 # else /* no EXEC_PAGESIZE */
7775 # define getpagesize() NBPG * CLSIZE
7778 # endif /* no CLSIZE */
7779 # else /* no NBPG */
7781 # define getpagesize() NBPC
7782 # else /* no NBPC */
7784 # define getpagesize() PAGESIZE
7785 # endif /* PAGESIZE */
7786 # endif /* no NBPC */
7787 # endif /* no NBPG */
7788 # endif /* no EXEC_PAGESIZE */
7789 # else /* no HAVE_SYS_PARAM_H */
7790 # define getpagesize() 8192 /* punt totally */
7791 # endif /* no HAVE_SYS_PARAM_H */
7792 # endif /* no _SC_PAGESIZE */
7794 #endif /* no HAVE_GETPAGESIZE */
7799 char *data, *data2, *data3;
7803 pagesize = getpagesize ();
7805 /* First, make a file with some known garbage in it. */
7806 data = (char *) malloc (pagesize);
7809 for (i = 0; i < pagesize; ++i)
7810 *(data + i) = rand ();
7812 fd = creat ("conftest.mmap", 0600);
7815 if (write (fd, data, pagesize) != pagesize)
7819 /* Next, try to mmap the file at a fixed address which already has
7820 something else allocated at it. If we can, also make sure that
7821 we see the same garbage. */
7822 fd = open ("conftest.mmap", O_RDWR);
7825 data2 = (char *) malloc (2 * pagesize);
7828 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7829 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7830 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7832 for (i = 0; i < pagesize; ++i)
7833 if (*(data + i) != *(data2 + i))
7836 /* Finally, make sure that changes to the mapped area do not
7837 percolate back to the file as seen by read(). (This is a bug on
7838 some variants of i386 svr4.0.) */
7839 for (i = 0; i < pagesize; ++i)
7840 *(data2 + i) = *(data2 + i) + 1;
7841 data3 = (char *) malloc (pagesize);
7844 if (read (fd, data3, pagesize) != pagesize)
7846 for (i = 0; i < pagesize; ++i)
7847 if (*(data + i) != *(data3 + i))
7853 rm -f conftest$ac_exeext
7854 if { (ac_try="$ac_link"
7856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7857 *) ac_try_echo
=$ac_try;;
7859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_link") 2>&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7864 { (case "(($ac_try" in
7865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_try") 2>&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); }; }; then
7873 ac_cv_func_mmap_fixed_mapped=yes
7875 echo "$as_me: program exited with status $ac_status" >&5
7876 echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.$ac_ext >&5
7880 ac_cv_func_mmap_fixed_mapped=no
7882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7887 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7888 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7889 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7891 cat >>confdefs.h <<\_ACEOF
7898 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
7899 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
7900 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 if test "$cross_compiling" = yes; then
7904 ac_cv_func_stat_empty_string_bug=yes
7906 cat >conftest.$ac_ext <<_ACEOF
7909 cat confdefs.h >>conftest.$ac_ext
7910 cat >>conftest.$ac_ext <<_ACEOF
7911 /* end confdefs.h. */
7912 $ac_includes_default
7917 return stat ("", &sbuf) == 0;
7922 rm -f conftest$ac_exeext
7923 if { (ac_try="$ac_link"
7925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7926 *) ac_try_echo
=$ac_try;;
7928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7929 (eval "$ac_link") 2>&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7933 { (case "(($ac_try" in
7934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7935 *) ac_try_echo=$ac_try;;
7937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7938 (eval "$ac_try") 2>&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; }; then
7942 ac_cv_func_stat_empty_string_bug=no
7944 echo "$as_me: program exited with status $ac_status" >&5
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7949 ac_cv_func_stat_empty_string_bug=yes
7951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7956 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
7957 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
7958 if test $ac_cv_func_stat_empty_string_bug = yes; then
7959 case " $LIBOBJS " in
7960 *" stat.$ac_objext "* ) ;;
7961 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7966 cat >>confdefs.h <<_ACEOF
7967 #define HAVE_STAT_EMPTY_STRING_BUG 1
7972 { echo "$as_me:$LINENO: checking for working strtod" >&5
7973 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
7974 if test "${ac_cv_func_strtod+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 if test "$cross_compiling" = yes; then
7978 ac_cv_func_strtod=no
7980 cat >conftest.$ac_ext <<_ACEOF
7983 cat confdefs.h >>conftest.$ac_ext
7984 cat >>conftest.$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7987 $ac_includes_default
7995 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
7996 char *string = " +69";
7999 value = strtod (string, &term);
8000 if (value != 69 || term != (string + 4))
8005 /* Under Solaris 2.4, strtod returns the wrong value for the
8006 terminating character under some conditions. */
8007 char *string = "NaN";
8009 strtod (string, &term);
8010 if (term != string && *(term - 1) == 0)
8017 rm -f conftest$ac_exeext
8018 if { (ac_try="$ac_link"
8020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8021 *) ac_try_echo
=$ac_try;;
8023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8024 (eval "$ac_link") 2>&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8028 { (case "(($ac_try" in
8029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8030 *) ac_try_echo=$ac_try;;
8032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8033 (eval "$ac_try") 2>&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; }; then
8037 ac_cv_func_strtod=yes
8039 echo "$as_me: program exited with status $ac_status" >&5
8040 echo "$as_me: failed program was:" >&5
8041 sed 's/^/| /' conftest.$ac_ext >&5
8044 ac_cv_func_strtod=no
8046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8051 { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8052 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
8053 if test $ac_cv_func_strtod = no; then
8054 case " $LIBOBJS " in
8055 *" strtod.$ac_objext "* ) ;;
8056 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8060 { echo "$as_me:$LINENO: checking for pow" >&5
8061 echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
8062 if test "${ac_cv_func_pow+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 cat >conftest.$ac_ext <<_ACEOF
8068 cat confdefs.h >>conftest.$ac_ext
8069 cat >>conftest.$ac_ext <<_ACEOF
8070 /* end confdefs.h. */
8071 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8073 #define pow innocuous_pow
8075 /* System header to define __stub macros and hopefully few prototypes,
8076 which can conflict with char pow (); below.
8077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8078 <limits.h> exists even on freestanding compilers. */
8081 # include <limits.h>
8083 # include <assert.h>
8088 /* Override any GCC internal prototype to avoid an error.
8089 Use char because int might match the return type of a GCC
8090 builtin and then its argument prototype would still apply. */
8095 /* The GNU C library defines this for functions which it implements
8096 to always fail with ENOSYS. Some functions are actually named
8097 something starting with __ and the normal name is an alias. */
8098 #if defined __stub_pow || defined __stub___pow
8110 rm -f conftest.$ac_objext conftest$ac_exeext
8111 if { (ac_try="$ac_link"
8113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8114 *) ac_try_echo
=$ac_try;;
8116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8117 (eval "$ac_link") 2>conftest.er1
8119 grep -v '^ *+' conftest.er1
>conftest.err
8121 cat conftest.err
>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } && {
8124 test -z "$ac_c_werror_flag" ||
8125 test ! -s conftest.err
8126 } && test -s conftest
$ac_exeext &&
8127 $as_test_x conftest
$ac_exeext; then
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.
$ac_ext >&5
8136 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8137 conftest
$ac_exeext conftest.
$ac_ext
8139 { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8140 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
8142 if test $ac_cv_func_pow = no
; then
8143 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
8144 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
8145 if test "${ac_cv_lib_m_pow+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 ac_check_lib_save_LIBS
=$LIBS
8150 cat >conftest.
$ac_ext <<_ACEOF
8153 cat confdefs.h
>>conftest.
$ac_ext
8154 cat >>conftest.
$ac_ext <<_ACEOF
8155 /* end confdefs.h. */
8157 /* Override any GCC internal prototype to avoid an error.
8158 Use char because int might match the return type of a GCC
8159 builtin and then its argument prototype would still apply. */
8172 rm -f conftest.
$ac_objext conftest
$ac_exeext
8173 if { (ac_try
="$ac_link"
8175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8176 *) ac_try_echo=$ac_try;;
8178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8179 (eval "$ac_link") 2>conftest.er1
8181 grep -v '^ *+' conftest.er1 >conftest.err
8183 cat conftest.err >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); } && {
8186 test -z "$ac_c_werror_flag" ||
8187 test ! -s conftest.err
8188 } && test -s conftest$ac_exeext &&
8189 $as_test_x conftest$ac_exeext; then
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8199 conftest$ac_exeext conftest.$ac_ext
8200 LIBS=$ac_check_lib_save_LIBS
8202 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8203 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
8204 if test $ac_cv_lib_m_pow = yes; then
8207 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8208 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8216 for ac_func in vprintf
8218 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8222 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 cat >conftest.$ac_ext <<_ACEOF
8227 cat confdefs.h >>conftest.$ac_ext
8228 cat >>conftest.$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8232 #define $ac_func innocuous_$ac_func
8234 /* System header to define __stub macros and hopefully few prototypes,
8235 which can conflict with char $ac_func (); below.
8236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8237 <limits.h> exists even on freestanding compilers. */
8240 # include <limits.h>
8242 # include <assert.h>
8247 /* Override any GCC internal prototype to avoid an error.
8248 Use char because int might match the return type of a GCC
8249 builtin and then its argument prototype would still apply. */
8254 /* The GNU C library defines this for functions which it implements
8255 to always fail with ENOSYS. Some functions are actually named
8256 something starting with __ and the normal name is an alias. */
8257 #if defined __stub_$ac_func || defined __stub___$ac_func
8269 rm -f conftest.$ac_objext conftest$ac_exeext
8270 if { (ac_try="$ac_link"
8272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8273 *) ac_try_echo
=$ac_try;;
8275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8276 (eval "$ac_link") 2>conftest.er1
8278 grep -v '^ *+' conftest.er1
>conftest.err
8280 cat conftest.err
>&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } && {
8283 test -z "$ac_c_werror_flag" ||
8284 test ! -s conftest.err
8285 } && test -s conftest
$ac_exeext &&
8286 $as_test_x conftest
$ac_exeext; then
8287 eval "$as_ac_var=yes"
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.
$ac_ext >&5
8292 eval "$as_ac_var=no"
8295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8296 conftest
$ac_exeext conftest.
$ac_ext
8298 ac_res
=`eval echo '${'$as_ac_var'}'`
8299 { echo "$as_me:$LINENO: result: $ac_res" >&5
8300 echo "${ECHO_T}$ac_res" >&6; }
8301 if test `eval echo '${'$as_ac_var'}'` = yes; then
8302 cat >>confdefs.h
<<_ACEOF
8303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8306 { echo "$as_me:$LINENO: checking for _doprnt" >&5
8307 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
8308 if test "${ac_cv_func__doprnt+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 cat >conftest.
$ac_ext <<_ACEOF
8314 cat confdefs.h
>>conftest.
$ac_ext
8315 cat >>conftest.
$ac_ext <<_ACEOF
8316 /* end confdefs.h. */
8317 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8319 #define _doprnt innocuous__doprnt
8321 /* System header to define __stub macros and hopefully few prototypes,
8322 which can conflict with char _doprnt (); below.
8323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8324 <limits.h> exists even on freestanding compilers. */
8327 # include <limits.h>
8329 # include <assert.h>
8334 /* Override any GCC internal prototype to avoid an error.
8335 Use char because int might match the return type of a GCC
8336 builtin and then its argument prototype would still apply. */
8341 /* The GNU C library defines this for functions which it implements
8342 to always fail with ENOSYS. Some functions are actually named
8343 something starting with __ and the normal name is an alias. */
8344 #if defined __stub__doprnt || defined __stub____doprnt
8356 rm -f conftest.
$ac_objext conftest
$ac_exeext
8357 if { (ac_try
="$ac_link"
8359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8360 *) ac_try_echo=$ac_try;;
8362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8363 (eval "$ac_link") 2>conftest.er1
8365 grep -v '^ *+' conftest.er1 >conftest.err
8367 cat conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); } && {
8370 test -z "$ac_c_werror_flag" ||
8371 test ! -s conftest.err
8372 } && test -s conftest$ac_exeext &&
8373 $as_test_x conftest$ac_exeext; then
8374 ac_cv_func__doprnt=yes
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8379 ac_cv_func__doprnt=no
8382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8383 conftest$ac_exeext conftest.$ac_ext
8385 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8386 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
8387 if test $ac_cv_func__doprnt = yes; then
8389 cat >>confdefs.h <<\_ACEOF
8390 #define HAVE_DOPRNT 1
8400 ################################################################################
8403 ################################################################################
8404 { echo "$as_me:$LINENO: checking file owner" >&5
8405 echo $ECHO_N "checking file owner... $ECHO_C" >&6; }
8409 # Check whether --with-user was given.
8410 if test "${with_user+set}" = set; then
8411 withval=$with_user; OWNER="$withval"
8414 { echo "$as_me:$LINENO: result: $OWNER" >&5
8415 echo "${ECHO_T}$OWNER" >&6; }
8417 if test x$OWNER != x; then
8421 ################################################################################
8422 { echo "$as_me:$LINENO: checking group owner" >&5
8423 echo $ECHO_N "checking group owner... $ECHO_C" >&6; }
8426 # Check whether --with-group was given.
8427 if test "${with_group+set}" = set; then
8428 withval=$with_group; GROUP="$withval"
8431 { echo "$as_me:$LINENO: result: $GROUP" >&5
8432 echo "${ECHO_T}$GROUP" >&6; }
8434 if test x$GROUP != x; then
8438 ################################################################################
8439 { echo "$as_me:$LINENO: checking device node uid" >&5
8440 echo $ECHO_N "checking device node uid... $ECHO_C" >&6; }
8443 # Check whether --with-device-uid was given.
8444 if test "${with_device_uid+set}" = set; then
8445 withval=$with_device_uid; DM_DEVICE_UID="$withval"
8450 { echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
8451 echo "${ECHO_T}$DM_DEVICE_UID" >&6; }
8453 ################################################################################
8454 { echo "$as_me:$LINENO: checking device node gid" >&5
8455 echo $ECHO_N "checking device node gid... $ECHO_C" >&6; }
8458 # Check whether --with-device-gid was given.
8459 if test "${with_device_gid+set}" = set; then
8460 withval=$with_device_gid; DM_DEVICE_GID="$withval"
8465 { echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
8466 echo "${ECHO_T}$DM_DEVICE_GID" >&6; }
8468 ################################################################################
8469 { echo "$as_me:$LINENO: checking device node mode" >&5
8470 echo $ECHO_N "checking device node mode... $ECHO_C" >&6; }
8473 # Check whether --with-device-mode was given.
8474 if test "${with_device_mode+set}" = set; then
8475 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
8477 DM_DEVICE_MODE="0600"
8480 { echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
8481 echo "${ECHO_T}$DM_DEVICE_MODE" >&6; }
8483 ################################################################################
8484 { echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
8485 echo $ECHO_N "checking whether to enable lvm1 fallback... $ECHO_C" >&6; }
8486 # Check whether --enable-lvm1_fallback was given.
8487 if test "${enable_lvm1_fallback+set}" = set; then
8488 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
8493 { echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
8494 echo "${ECHO_T}$LVM1_FALLBACK" >&6; }
8496 if test x$LVM1_FALLBACK = xyes; then
8498 cat >>confdefs.h <<\_ACEOF
8499 #define LVM1_FALLBACK 1
8504 ################################################################################
8505 { echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
8506 echo $ECHO_N "checking whether to include support for lvm1 metadata... $ECHO_C" >&6; }
8508 # Check whether --with-lvm1 was given.
8509 if test "${with_lvm1+set}" = set; then
8510 withval=$with_lvm1; LVM1="$withval"
8515 { echo "$as_me:$LINENO: result: $LVM1" >&5
8516 echo "${ECHO_T}$LVM1" >&6; }
8518 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
8519 then { { echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
8521 echo "$as_me: error: --with-lvm1 parameter invalid
8523 { (exit 1); exit 1; }; }
8526 if test x$LVM1 = xinternal; then
8528 cat >>confdefs.h <<\_ACEOF
8529 #define LVM1_INTERNAL 1
8534 ################################################################################
8535 { echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
8536 echo $ECHO_N "checking whether to include support for GFS pool metadata... $ECHO_C" >&6; }
8538 # Check whether --with-pool was given.
8539 if test "${with_pool+set}" = set; then
8540 withval=$with_pool; POOL="$withval"
8545 { echo "$as_me:$LINENO: result: $POOL" >&5
8546 echo "${ECHO_T}$POOL" >&6; }
8548 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
8549 then { { echo "$as_me:$LINENO: error: --with-pool parameter invalid
8551 echo "$as_me: error: --with-pool parameter invalid
8553 { (exit 1); exit 1; }; }
8556 if test x$POOL = xinternal; then
8558 cat >>confdefs.h <<\_ACEOF
8559 #define POOL_INTERNAL 1
8564 ################################################################################
8565 { echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
8566 echo $ECHO_N "checking whether to include support for cluster locking... $ECHO_C" >&6; }
8568 # Check whether --with-cluster was given.
8569 if test "${with_cluster+set}" = set; then
8570 withval=$with_cluster; CLUSTER="$withval"
8573 { echo "$as_me:$LINENO: result: $CLUSTER" >&5
8574 echo "${ECHO_T}$CLUSTER" >&6; }
8576 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
8577 then { { echo "$as_me:$LINENO: error: --with-cluster parameter invalid
8579 echo "$as_me: error: --with-cluster parameter invalid
8581 { (exit 1); exit 1; }; }
8584 if test x$CLUSTER = xinternal; then
8586 cat >>confdefs.h <<\_ACEOF
8587 #define CLUSTER_LOCKING_INTERNAL 1
8592 ################################################################################
8593 { echo "$as_me:$LINENO: checking whether to include snapshots" >&5
8594 echo $ECHO_N "checking whether to include snapshots... $ECHO_C" >&6; }
8596 # Check whether --with-snapshots was given.
8597 if test "${with_snapshots+set}" = set; then
8598 withval=$with_snapshots; SNAPSHOTS="$withval"
8600 SNAPSHOTS="internal"
8603 { echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
8604 echo "${ECHO_T}$SNAPSHOTS" >&6; }
8606 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
8607 then { { echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
8609 echo "$as_me: error: --with-snapshots parameter invalid
8611 { (exit 1); exit 1; }; }
8614 if test x$SNAPSHOTS = xinternal; then
8616 cat >>confdefs.h <<\_ACEOF
8617 #define SNAPSHOT_INTERNAL 1
8622 ################################################################################
8623 { echo "$as_me:$LINENO: checking whether to include mirrors" >&5
8624 echo $ECHO_N "checking whether to include mirrors... $ECHO_C" >&6; }
8626 # Check whether --with-mirrors was given.
8627 if test "${with_mirrors+set}" = set; then
8628 withval=$with_mirrors; MIRRORS="$withval"
8633 { echo "$as_me:$LINENO: result: $MIRRORS" >&5
8634 echo "${ECHO_T}$MIRRORS" >&6; }
8636 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
8637 then { { echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
8639 echo "$as_me: error: --with-mirrors parameter invalid
8641 { (exit 1); exit 1; }; }
8644 if test x$MIRRORS = xinternal; then
8646 cat >>confdefs.h <<\_ACEOF
8647 #define MIRRORED_INTERNAL 1
8652 ################################################################################
8653 { echo "$as_me:$LINENO: checking whether to enable readline" >&5
8654 echo $ECHO_N "checking whether to enable readline... $ECHO_C" >&6; }
8655 # Check whether --enable-readline was given.
8656 if test "${enable_readline+set}" = set; then
8657 enableval=$enable_readline; READLINE=$enableval
8662 { echo "$as_me:$LINENO: result: $READLINE" >&5
8663 echo "${ECHO_T}$READLINE" >&6; }
8665 ################################################################################
8666 { echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
8667 echo $ECHO_N "checking whether to enable realtime support... $ECHO_C" >&6; }
8668 # Check whether --enable-realtime was given.
8669 if test "${enable_realtime+set}" = set; then
8670 enableval=$enable_realtime; REALTIME=$enableval
8673 { echo "$as_me:$LINENO: result: $REALTIME" >&5
8674 echo "${ECHO_T}$REALTIME" >&6; }
8676 ################################################################################
8677 { echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
8678 echo $ECHO_N "checking whether to build cluster LVM daemon... $ECHO_C" >&6; }
8680 # Check whether --with-clvmd was given.
8681 if test "${with_clvmd+set}" = set; then
8682 withval=$with_clvmd; CLVMD="$withval"
8687 if test x$CLVMD = xyes; then
8690 { echo "$as_me:$LINENO: result: $CLVMD" >&5
8691 echo "${ECHO_T}$CLVMD" >&6; }
8693 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
8697 ################################################################################
8698 { echo "$as_me:$LINENO: checking whether to enable debugging" >&5
8699 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
8700 # Check whether --enable-debug was given.
8701 if test "${enable_debug+set}" = set; then
8702 enableval=$enable_debug; DEBUG=$enableval
8707 { echo "$as_me:$LINENO: result: $DEBUG" >&5
8708 echo "${ECHO_T}$DEBUG" >&6; }
8710 if test x$DEBUG = xyes; then
8716 ################################################################################
8717 { echo "$as_me:$LINENO: checking for C optimisation flag" >&5
8718 echo $ECHO_N "checking for C optimisation flag... $ECHO_C" >&6; }
8720 # Check whether --with-optimisation was given.
8721 if test "${with_optimisation+set}" = set; then
8722 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
8725 { echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
8726 echo "${ECHO_T}$COPTIMISE_FLAG" >&6; }
8728 ################################################################################
8729 { echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
8730 echo $ECHO_N "checking whether to gather gcov profiling data... $ECHO_C" >&6; }
8731 # Check whether --enable-profiling was given.
8732 if test "${enable_profiling+set}" = set; then
8733 enableval=$enable_profiling; PROFILING=$enableval
8738 { echo "$as_me:$LINENO: result: $PROFILING" >&5
8739 echo "${ECHO_T}$PROFILING" >&6; }
8741 if test "x$PROFILING" = xyes; then
8742 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
8743 # Extract the first word of "lcov", so it can be a program name with args.
8744 set dummy lcov; ac_word=$2
8745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8747 if test "${ac_cv_path_LCOV+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8752 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
8755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8759 test -z "$as_dir" && as_dir=.
8760 for ac_exec_ext in '' $ac_executable_extensions; do
8761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8762 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
8763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
8774 LCOV=$ac_cv_path_LCOV
8775 if test -n "$LCOV"; then
8776 { echo "$as_me:$LINENO: result: $LCOV" >&5
8777 echo "${ECHO_T}$LCOV" >&6; }
8779 { echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6; }
8784 # Extract the first word of "genhtml", so it can be a program name with args.
8785 set dummy genhtml; ac_word=$2
8786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8788 if test "${ac_cv_path_GENHTML+set}" = set; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8793 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir=.
8801 for ac_exec_ext in '' $ac_executable_extensions; do
8802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8803 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
8804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8811 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
8815 GENHTML=$ac_cv_path_GENHTML
8816 if test -n "$GENHTML"; then
8817 { echo "$as_me:$LINENO: result: $GENHTML" >&5
8818 echo "${ECHO_T}$GENHTML" >&6; }
8820 { echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6; }
8825 if test "$LCOV" = no -o "$GENHTML" = no ; then
8826 { { echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
8827 echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
8828 { (exit 1); exit 1; }; }
8832 ################################################################################
8833 { echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
8834 echo $ECHO_N "checking whether to use device-mapper... $ECHO_C" >&6; }
8835 # Check whether --enable-devmapper was given.
8836 if test "${enable_devmapper+set}" = set; then
8837 enableval=$enable_devmapper; DEVMAPPER=$enableval
8840 { echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
8841 echo "${ECHO_T}$DEVMAPPER" >&6; }
8843 if test x$DEVMAPPER = xyes; then
8845 cat >>confdefs.h <<\_ACEOF
8846 #define DEVMAPPER_SUPPORT 1
8851 ################################################################################
8852 # Check whether --enable-compat was given.
8853 if test "${enable_compat+set}" = set; then
8854 enableval=$enable_compat; DM_COMPAT=$enableval
8860 ################################################################################
8861 # Check whether --enable-ioctl was given.
8862 if test "${enable_ioctl+set}" = set; then
8863 enableval=$enable_ioctl; DM_IOCTLS=$enableval
8867 ################################################################################
8868 { echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
8869 echo $ECHO_N "checking whether to enable O_DIRECT... $ECHO_C" >&6; }
8870 # Check whether --enable-o_direct was given.
8871 if test "${enable_o_direct+set}" = set; then
8872 enableval=$enable_o_direct; ODIRECT=$enableval
8875 { echo "$as_me:$LINENO: result: $ODIRECT" >&5
8876 echo "${ECHO_T}$ODIRECT" >&6; }
8878 if test x$ODIRECT = xyes; then
8880 cat >>confdefs.h <<\_ACEOF
8881 #define O_DIRECT_SUPPORT 1
8886 ################################################################################
8887 { echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
8888 echo $ECHO_N "checking whether to compile liblvm2cmd.so... $ECHO_C" >&6; }
8889 # Check whether --enable-cmdlib was given.
8890 if test "${enable_cmdlib+set}" = set; then
8891 enableval=$enable_cmdlib; CMDLIB=$enableval
8896 { echo "$as_me:$LINENO: result: $CMDLIB" >&5
8897 echo "${ECHO_T}$CMDLIB" >&6; }
8899 test x$CMDLIB = xyes \
8900 && LVM2CMD_LIB=-llvm2cmd \
8903 ################################################################################
8904 # Check whether --enable-pkgconfig was given.
8905 if test "${enable_pkgconfig+set}" = set; then
8906 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
8912 ################################################################################
8913 { echo "$as_me:$LINENO: checking whether to install fsadm" >&5
8914 echo $ECHO_N "checking whether to install fsadm... $ECHO_C" >&6; }
8915 # Check whether --enable-fsadm was given.
8916 if test "${enable_fsadm+set}" = set; then
8917 enableval=$enable_fsadm; FSADM=$enableval
8920 { echo "$as_me:$LINENO: result: $FSADM" >&5
8921 echo "${ECHO_T}$FSADM" >&6; }
8923 ################################################################################
8924 { echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
8925 echo $ECHO_N "checking whether to use dmeventd... $ECHO_C" >&6; }
8926 # Check whether --enable-dmeventd was given.
8927 if test "${enable_dmeventd+set}" = set; then
8928 enableval=$enable_dmeventd; DMEVENTD=$enableval
8931 { echo "$as_me:$LINENO: result: $DMEVENTD" >&5
8932 echo "${ECHO_T}$DMEVENTD" >&6; }
8934 BUILD_DMEVENTD=$DMEVENTD
8936 if test x$DMEVENTD = xyes; then
8937 if test x$MIRRORS != xinternal; then
8938 { { echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
8940 echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
8942 { (exit 1); exit 1; }; }
8944 if test x$CMDLIB = xno; then
8945 { { echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8947 echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8949 { (exit 1); exit 1; }; }
8953 if test x$DMEVENTD = xyes; then
8955 cat >>confdefs.h <<\_ACEOF
8961 ################################################################################
8963 { echo "$as_me:$LINENO: checking for getline in -lc" >&5
8964 echo $ECHO_N "checking for getline in -lc... $ECHO_C" >&6; }
8965 if test "${ac_cv_lib_c_getline+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8968 ac_check_lib_save_LIBS=$LIBS
8970 cat >conftest.$ac_ext <<_ACEOF
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8977 /* Override any GCC internal prototype to avoid an error.
8978 Use char because int might match the return type of a GCC
8979 builtin and then its argument prototype would still apply. */
8992 rm -f conftest.$ac_objext conftest$ac_exeext
8993 if { (ac_try="$ac_link"
8995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8996 *) ac_try_echo
=$ac_try;;
8998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8999 (eval "$ac_link") 2>conftest.er1
9001 grep -v '^ *+' conftest.er1
>conftest.err
9003 cat conftest.err
>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } && {
9006 test -z "$ac_c_werror_flag" ||
9007 test ! -s conftest.err
9008 } && test -s conftest
$ac_exeext &&
9009 $as_test_x conftest
$ac_exeext; then
9010 ac_cv_lib_c_getline
=yes
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.
$ac_ext >&5
9015 ac_cv_lib_c_getline
=no
9018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9019 conftest
$ac_exeext conftest.
$ac_ext
9020 LIBS
=$ac_check_lib_save_LIBS
9022 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
9023 echo "${ECHO_T}$ac_cv_lib_c_getline" >&6; }
9024 if test $ac_cv_lib_c_getline = yes; then
9026 cat >>confdefs.h
<<\_ACEOF
9027 #define HAVE_GETLINE 1
9033 ################################################################################
9035 { echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
9036 echo $ECHO_N "checking for canonicalize_file_name in -lc... $ECHO_C" >&6; }
9037 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 ac_check_lib_save_LIBS
=$LIBS
9042 cat >conftest.
$ac_ext <<_ACEOF
9045 cat confdefs.h
>>conftest.
$ac_ext
9046 cat >>conftest.
$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9055 char canonicalize_file_name ();
9059 return canonicalize_file_name ();
9064 rm -f conftest.
$ac_objext conftest
$ac_exeext
9065 if { (ac_try
="$ac_link"
9067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_link") 2>conftest.er1
9073 grep -v '^ *+' conftest.er1 >conftest.err
9075 cat conftest.err >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); } && {
9078 test -z "$ac_c_werror_flag" ||
9079 test ! -s conftest.err
9080 } && test -s conftest$ac_exeext &&
9081 $as_test_x conftest$ac_exeext; then
9082 ac_cv_lib_c_canonicalize_file_name=yes
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_c_canonicalize_file_name=no
9090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
9095 echo "${ECHO_T}$ac_cv_lib_c_canonicalize_file_name" >&6; }
9096 if test $ac_cv_lib_c_canonicalize_file_name = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_CANONICALIZE_FILE_NAME 1
9105 ################################################################################
9106 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
9107 then exec_prefix="";
9110 ################################################################################
9111 if test x$READLINE != xno; then
9112 { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
9113 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
9114 if test "${ac_cv_search_tgetent+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 ac_func_search_save_LIBS=$LIBS
9118 cat >conftest.$ac_ext <<_ACEOF
9121 cat confdefs.h >>conftest.$ac_ext
9122 cat >>conftest.$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9125 /* Override any GCC internal prototype to avoid an error.
9126 Use char because int might match the return type of a GCC
9127 builtin and then its argument prototype would still apply. */
9140 for ac_lib in '' ncurses curses termcap termlib; do
9141 if test -z "$ac_lib"; then
9142 ac_res="none required"
9145 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9147 rm -f conftest.$ac_objext conftest$ac_exeext
9148 if { (ac_try="$ac_link"
9150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9151 *) ac_try_echo
=$ac_try;;
9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9154 (eval "$ac_link") 2>conftest.er1
9156 grep -v '^ *+' conftest.er1
>conftest.err
9158 cat conftest.err
>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } && {
9161 test -z "$ac_c_werror_flag" ||
9162 test ! -s conftest.err
9163 } && test -s conftest
$ac_exeext &&
9164 $as_test_x conftest
$ac_exeext; then
9165 ac_cv_search_tgetent
=$ac_res
9167 echo "$as_me: failed program was:" >&5
9168 sed 's/^/| /' conftest.
$ac_ext >&5
9173 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9175 if test "${ac_cv_search_tgetent+set}" = set; then
9179 if test "${ac_cv_search_tgetent+set}" = set; then
9182 ac_cv_search_tgetent
=no
9185 LIBS
=$ac_func_search_save_LIBS
9187 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
9188 echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
9189 ac_res
=$ac_cv_search_tgetent
9190 if test "$ac_res" != no
; then
9191 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9197 test x
$READLINE:$tg_found = xyes
:no
&&
9198 { { echo "$as_me:$LINENO: error: termcap could not be found which is required for the
9199 --enable-readline option (which is enabled by default). Either disable readline
9200 support with --disable-readline or download and install termcap from:
9201 ftp.gnu.org/gnu/termcap
9202 Note: if you are using precompiled packages you will also need the development
9203 package as well (which may be called termcap-devel or something similar).
9204 Note: (n)curses also seems to work as a substitute for termcap. This was
9205 not found either - but you could try installing that as well.
9207 echo "$as_me: error: termcap could not be found which is required for the
9208 --enable-readline option (which is enabled by default). Either disable readline
9209 support with --disable-readline or download and install termcap from:
9210 ftp.gnu.org/gnu/termcap
9211 Note: if you are using precompiled packages you will also need the development
9212 package as well (which may be called termcap-devel or something similar).
9213 Note: (n)curses also seems to work as a substitute for termcap. This was
9214 not found either - but you could try installing that as well.
9216 { (exit 1); exit 1; }; }
9219 ################################################################################
9220 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9221 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9223 echo $ECHO_N "(cached) $ECHO_C" >&6
9225 ac_check_lib_save_LIBS
=$LIBS
9227 cat >conftest.
$ac_ext <<_ACEOF
9230 cat confdefs.h
>>conftest.
$ac_ext
9231 cat >>conftest.
$ac_ext <<_ACEOF
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9249 rm -f conftest.
$ac_objext conftest
$ac_exeext
9250 if { (ac_try
="$ac_link"
9252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9253 *) ac_try_echo=$ac_try;;
9255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9256 (eval "$ac_link") 2>conftest.er1
9258 grep -v '^ *+' conftest.er1 >conftest.err
9260 cat conftest.err >&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); } && {
9263 test -z "$ac_c_werror_flag" ||
9264 test ! -s conftest.err
9265 } && test -s conftest$ac_exeext &&
9266 $as_test_x conftest$ac_exeext; then
9267 ac_cv_lib_dl_dlopen=yes
9269 echo "$as_me: failed program was:" >&5
9270 sed 's/^/| /' conftest.$ac_ext >&5
9272 ac_cv_lib_dl_dlopen=no
9275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9276 conftest$ac_exeext conftest.$ac_ext
9277 LIBS=$ac_check_lib_save_LIBS
9279 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9280 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9281 if test $ac_cv_lib_dl_dlopen = yes; then
9288 if [ "x$HAVE_LIBDL" = xyes ]; then
9290 cat >>confdefs.h <<\_ACEOF
9291 #define HAVE_LIBDL 1
9299 ################################################################################
9300 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
9301 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
9302 \) -a "x$STATIC_LINK" = xyes ];
9303 then { { echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
9305 echo "$as_me: error: Features cannot be 'shared' when building statically
9307 { (exit 1); exit 1; }; }
9310 ################################################################################
9311 { echo "$as_me:$LINENO: checking whether to use static linking" >&5
9312 echo $ECHO_N "checking whether to use static linking... $ECHO_C" >&6; }
9313 # Check whether --enable-static_link was given.
9314 if test "${enable_static_link+set}" = set; then
9315 enableval=$enable_static_link; STATIC_LINK=$enableval
9320 { echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
9321 echo "${ECHO_T}$STATIC_LINK" >&6; }
9323 ################################################################################
9324 { echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
9325 echo $ECHO_N "checking whether to enable selinux support... $ECHO_C" >&6; }
9326 # Check whether --enable-selinux was given.
9327 if test "${enable_selinux+set}" = set; then
9328 enableval=$enable_selinux; SELINUX=$enableval
9331 { echo "$as_me:$LINENO: result: $SELINUX" >&5
9332 echo "${ECHO_T}$SELINUX" >&6; }
9334 ################################################################################
9335 if test x$SELINUX = xyes; then
9336 { echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
9337 echo $ECHO_N "checking for sepol_check_context in -lsepol... $ECHO_C" >&6; }
9338 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9341 ac_check_lib_save_LIBS=$LIBS
9342 LIBS="-lsepol $LIBS"
9343 cat >conftest.$ac_ext <<_ACEOF
9346 cat confdefs.h >>conftest.$ac_ext
9347 cat >>conftest.$ac_ext <<_ACEOF
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9356 char sepol_check_context ();
9360 return sepol_check_context ();
9365 rm -f conftest.$ac_objext conftest$ac_exeext
9366 if { (ac_try="$ac_link"
9368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9369 *) ac_try_echo
=$ac_try;;
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9372 (eval "$ac_link") 2>conftest.er1
9374 grep -v '^ *+' conftest.er1
>conftest.err
9376 cat conftest.err
>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && {
9379 test -z "$ac_c_werror_flag" ||
9380 test ! -s conftest.err
9381 } && test -s conftest
$ac_exeext &&
9382 $as_test_x conftest
$ac_exeext; then
9383 ac_cv_lib_sepol_sepol_check_context
=yes
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.
$ac_ext >&5
9388 ac_cv_lib_sepol_sepol_check_context
=no
9391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9392 conftest
$ac_exeext conftest.
$ac_ext
9393 LIBS
=$ac_check_lib_save_LIBS
9395 { echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
9396 echo "${ECHO_T}$ac_cv_lib_sepol_sepol_check_context" >&6; }
9397 if test $ac_cv_lib_sepol_sepol_check_context = yes; then
9404 if test x
$HAVE_SEPOL = xyes
; then
9406 cat >>confdefs.h
<<\_ACEOF
9407 #define HAVE_SEPOL 1
9410 LIBS
="-lsepol $LIBS"
9413 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
9414 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
9415 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
9416 echo $ECHO_N "(cached) $ECHO_C" >&6
9418 ac_check_lib_save_LIBS
=$LIBS
9419 LIBS
="-lselinux $LIBS"
9420 cat >conftest.
$ac_ext <<_ACEOF
9423 cat confdefs.h
>>conftest.
$ac_ext
9424 cat >>conftest.
$ac_ext <<_ACEOF
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9433 char is_selinux_enabled ();
9437 return is_selinux_enabled ();
9442 rm -f conftest.
$ac_objext conftest
$ac_exeext
9443 if { (ac_try
="$ac_link"
9445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9446 *) ac_try_echo=$ac_try;;
9448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9449 (eval "$ac_link") 2>conftest.er1
9451 grep -v '^ *+' conftest.er1 >conftest.err
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } && {
9456 test -z "$ac_c_werror_flag" ||
9457 test ! -s conftest.err
9458 } && test -s conftest$ac_exeext &&
9459 $as_test_x conftest$ac_exeext; then
9460 ac_cv_lib_selinux_is_selinux_enabled=yes
9462 echo "$as_me: failed program was:" >&5
9463 sed 's/^/| /' conftest.$ac_ext >&5
9465 ac_cv_lib_selinux_is_selinux_enabled=no
9468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9469 conftest$ac_exeext conftest.$ac_ext
9470 LIBS=$ac_check_lib_save_LIBS
9472 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
9473 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
9474 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
9481 if test x$HAVE_SELINUX = xyes; then
9483 cat >>confdefs.h <<\_ACEOF
9484 #define HAVE_SELINUX 1
9487 LIBS="-lselinux $LIBS"
9489 { echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
9490 echo "$as_me: WARNING: Disabling selinux" >&2;}
9493 # With --enable-static_link and selinux enabled, linking
9494 # fails on at least Debian unstable due to unsatisfied references
9495 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
9496 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
9497 lvm_saved_libs=$LIBS
9498 LIBS="$LIBS -static"
9499 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
9500 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
9501 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 ac_func_search_save_LIBS=$LIBS
9505 cat >conftest.$ac_ext <<_ACEOF
9508 cat confdefs.h >>conftest.$ac_ext
9509 cat >>conftest.$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9518 char pthread_mutex_lock ();
9522 return pthread_mutex_lock ();
9527 for ac_lib in '' pthread; do
9528 if test -z "$ac_lib"; then
9529 ac_res="none required"
9532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9534 rm -f conftest.$ac_objext conftest$ac_exeext
9535 if { (ac_try="$ac_link"
9537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9538 *) ac_try_echo
=$ac_try;;
9540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9541 (eval "$ac_link") 2>conftest.er1
9543 grep -v '^ *+' conftest.er1
>conftest.err
9545 cat conftest.err
>&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } && {
9548 test -z "$ac_c_werror_flag" ||
9549 test ! -s conftest.err
9550 } && test -s conftest
$ac_exeext &&
9551 $as_test_x conftest
$ac_exeext; then
9552 ac_cv_search_pthread_mutex_lock
=$ac_res
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.
$ac_ext >&5
9560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9562 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9566 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9569 ac_cv_search_pthread_mutex_lock
=no
9572 LIBS
=$ac_func_search_save_LIBS
9574 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
9575 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
9576 ac_res
=$ac_cv_search_pthread_mutex_lock
9577 if test "$ac_res" != no
; then
9578 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9579 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
9580 LIB_PTHREAD
=-lpthread
9583 LIBS
=$lvm_saved_libs
9587 ################################################################################
9588 if test x
$REALTIME = xyes
; then
9589 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
9590 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
9591 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
9592 echo $ECHO_N "(cached) $ECHO_C" >&6
9594 ac_check_lib_save_LIBS
=$LIBS
9596 cat >conftest.
$ac_ext <<_ACEOF
9599 cat confdefs.h
>>conftest.
$ac_ext
9600 cat >>conftest.
$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9609 char clock_gettime ();
9613 return clock_gettime ();
9618 rm -f conftest.
$ac_objext conftest
$ac_exeext
9619 if { (ac_try
="$ac_link"
9621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9622 *) ac_try_echo=$ac_try;;
9624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9625 (eval "$ac_link") 2>conftest.er1
9627 grep -v '^ *+' conftest.er1 >conftest.err
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } && {
9632 test -z "$ac_c_werror_flag" ||
9633 test ! -s conftest.err
9634 } && test -s conftest$ac_exeext &&
9635 $as_test_x conftest$ac_exeext; then
9636 ac_cv_lib_rt_clock_gettime=yes
9638 echo "$as_me: failed program was:" >&5
9639 sed 's/^/| /' conftest.$ac_ext >&5
9641 ac_cv_lib_rt_clock_gettime=no
9644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9645 conftest$ac_exeext conftest.$ac_ext
9646 LIBS=$ac_check_lib_save_LIBS
9648 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
9649 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
9650 if test $ac_cv_lib_rt_clock_gettime = yes; then
9657 if test x$HAVE_REALTIME = xyes; then
9659 cat >>confdefs.h <<\_ACEOF
9660 #define HAVE_REALTIME 1
9665 { echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
9666 echo "$as_me: WARNING: Disabling realtime clock" >&2;}
9670 ################################################################################
9672 for ac_header in getopt.h
9674 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9679 echo $ECHO_N "(cached) $ECHO_C" >&6
9681 ac_res=`eval echo '${'$as_ac_Header'}'`
9682 { echo "$as_me:$LINENO: result: $ac_res" >&5
9683 echo "${ECHO_T}$ac_res" >&6; }
9685 # Is the header compilable?
9686 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9688 cat >conftest.$ac_ext <<_ACEOF
9691 cat confdefs.h >>conftest.$ac_ext
9692 cat >>conftest.$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9694 $ac_includes_default
9695 #include <$ac_header>
9697 rm -f conftest.$ac_objext
9698 if { (ac_try="$ac_compile"
9700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9701 *) ac_try_echo
=$ac_try;;
9703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9704 (eval "$ac_compile") 2>conftest.er1
9706 grep -v '^ *+' conftest.er1
>conftest.err
9708 cat conftest.err
>&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); } && {
9711 test -z "$ac_c_werror_flag" ||
9712 test ! -s conftest.err
9713 } && test -s conftest.
$ac_objext; then
9714 ac_header_compiler
=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.
$ac_ext >&5
9719 ac_header_compiler
=no
9722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9724 echo "${ECHO_T}$ac_header_compiler" >&6; }
9726 # Is the header present?
9727 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9729 cat >conftest.
$ac_ext <<_ACEOF
9732 cat confdefs.h
>>conftest.
$ac_ext
9733 cat >>conftest.
$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9735 #include <$ac_header>
9737 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9745 grep -v '^ *+' conftest.er1 >conftest.err
9747 cat conftest.err >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } >/dev/null && {
9750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9751 test ! -s conftest.err
9753 ac_header_preproc=yes
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.$ac_ext >&5
9758 ac_header_preproc=no
9761 rm -f conftest.err conftest.$ac_ext
9762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9763 echo "${ECHO_T}$ac_header_preproc" >&6; }
9765 # So? What about this header?
9766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9772 ac_header_preproc=yes
9775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 eval "$as_ac_Header=\$ac_header_preproc"
9797 ac_res=`eval echo '${'$as_ac_Header'}'`
9798 { echo "$as_me:$LINENO: result: $ac_res" >&5
9799 echo "${ECHO_T}$ac_res" >&6; }
9802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9803 cat >>confdefs.h <<_ACEOF
9804 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9807 cat >>confdefs.h <<\_ACEOF
9808 #define HAVE_GETOPTLONG 1
9816 ################################################################################
9817 if test x$READLINE != xno; then
9820 { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
9821 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
9822 if test "${ac_cv_lib_readline_readline+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9825 ac_check_lib_save_LIBS=$LIBS
9826 LIBS="-lreadline $LIBS"
9827 cat >conftest.$ac_ext <<_ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9849 rm -f conftest.$ac_objext conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9853 *) ac_try_echo
=$ac_try;;
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>conftest.er1
9858 grep -v '^ *+' conftest.er1
>conftest.err
9860 cat conftest.err
>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } && {
9863 test -z "$ac_c_werror_flag" ||
9864 test ! -s conftest.err
9865 } && test -s conftest
$ac_exeext &&
9866 $as_test_x conftest
$ac_exeext; then
9867 ac_cv_lib_readline_readline
=yes
9869 echo "$as_me: failed program was:" >&5
9870 sed 's/^/| /' conftest.
$ac_ext >&5
9872 ac_cv_lib_readline_readline
=no
9875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9876 conftest
$ac_exeext conftest.
$ac_ext
9877 LIBS
=$ac_check_lib_save_LIBS
9879 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
9880 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
9881 if test $ac_cv_lib_readline_readline = yes; then
9882 cat >>confdefs.h
<<_ACEOF
9883 #define HAVE_LIBREADLINE 1
9886 LIBS
="-lreadline $LIBS"
9892 test x
$READLINE:$rl_found = xyes
:no
&&
9893 { { echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
9894 --enable-readline option (which is enabled by default). Either disable readline
9895 support with --disable-readline or download and install readline from:
9896 ftp.gnu.org/gnu/readline
9897 Note: if you are using precompiled packages you will also need the development
9898 package as well (which may be called readline-devel or something similar).
9900 echo "$as_me: error: GNU Readline could not be found which is required for the
9901 --enable-readline option (which is enabled by default). Either disable readline
9902 support with --disable-readline or download and install readline from:
9903 ftp.gnu.org/gnu/readline
9904 Note: if you are using precompiled packages you will also need the development
9905 package as well (which may be called readline-devel or something similar).
9907 { (exit 1); exit 1; }; }
9908 if test $rl_found = yes; then
9910 for ac_func
in rl_completion_matches
9912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9913 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9915 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 cat >conftest.
$ac_ext <<_ACEOF
9921 cat confdefs.h
>>conftest.
$ac_ext
9922 cat >>conftest.
$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9926 #define $ac_func innocuous_$ac_func
9928 /* System header to define __stub macros and hopefully few prototypes,
9929 which can conflict with char $ac_func (); below.
9930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9931 <limits.h> exists even on freestanding compilers. */
9934 # include <limits.h>
9936 # include <assert.h>
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9948 /* The GNU C library defines this for functions which it implements
9949 to always fail with ENOSYS. Some functions are actually named
9950 something starting with __ and the normal name is an alias. */
9951 #if defined __stub_$ac_func || defined __stub___$ac_func
9963 rm -f conftest.
$ac_objext conftest
$ac_exeext
9964 if { (ac_try
="$ac_link"
9966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9967 *) ac_try_echo=$ac_try;;
9969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9970 (eval "$ac_link") 2>conftest.er1
9972 grep -v '^ *+' conftest.er1 >conftest.err
9974 cat conftest.err >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); } && {
9977 test -z "$ac_c_werror_flag" ||
9978 test ! -s conftest.err
9979 } && test -s conftest$ac_exeext &&
9980 $as_test_x conftest$ac_exeext; then
9981 eval "$as_ac_var=yes"
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.$ac_ext >&5
9986 eval "$as_ac_var=no"
9989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9990 conftest$ac_exeext conftest.$ac_ext
9992 ac_res=`eval echo '${'$as_ac_var'}'`
9993 { echo "$as_me:$LINENO: result: $ac_res" >&5
9994 echo "${ECHO_T}$ac_res" >&6; }
9995 if test `eval echo '${'$as_ac_var'}'` = yes; then
9996 cat >>confdefs.h <<_ACEOF
9997 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10004 cat >>confdefs.h <<\_ACEOF
10005 #define READLINE_SUPPORT 1
10011 ################################################################################
10012 { echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
10013 echo $ECHO_N "checking whether to enable internationalisation... $ECHO_C" >&6; }
10014 # Check whether --enable-nls was given.
10015 if test "${enable_nls+set}" = set; then
10016 enableval=$enable_nls; INTL=$enableval
10021 { echo "$as_me:$LINENO: result: $INTL" >&5
10022 echo "${ECHO_T}$INTL" >&6; }
10024 if test x$INTL = xyes; then
10025 # FIXME - Move this - can be device-mapper too
10026 INTL_PACKAGE="lvm2"
10027 # Extract the first word of "msgfmt", so it can be a program name with args.
10028 set dummy msgfmt; ac_word=$2
10029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10031 if test "${ac_cv_path_MSGFMT+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10040 for as_dir in $PATH
10043 test -z "$as_dir" && as_dir=.
10044 for ac_exec_ext in '' $ac_executable_extensions; do
10045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10046 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10057 MSGFMT=$ac_cv_path_MSGFMT
10058 if test -n "$MSGFMT"; then
10059 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
10060 echo "${ECHO_T}$MSGFMT" >&6; }
10062 { echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6; }
10067 if [ "x$MSGFMT" == x ];
10068 then { { echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
10070 echo "$as_me: error: msgfmt not found in path $PATH
10072 { (exit 1); exit 1; }; }
10076 # Check whether --with-localedir was given.
10077 if test "${with_localedir+set}" = set; then
10078 withval=$with_localedir; LOCALEDIR="$withval"
10080 LOCALEDIR='${prefix}/share/locale'
10085 ################################################################################
10087 # Check whether --with-confdir was given.
10088 if test "${with_confdir+set}" = set; then
10089 withval=$with_confdir; CONFDIR="$withval"
10096 # Check whether --with-staticdir was given.
10097 if test "${with_staticdir+set}" = set; then
10098 withval=$with_staticdir; STATICDIR="$withval"
10100 STATICDIR='${exec_prefix}/sbin'
10105 # Check whether --with-usrlibdir was given.
10106 if test "${with_usrlibdir+set}" = set; then
10107 withval=$with_usrlibdir; usrlibdir="$withval"
10109 usrlibdir='${prefix}/lib'
10114 # Check whether --with-usrsbindir was given.
10115 if test "${with_usrsbindir+set}" = set; then
10116 withval=$with_usrsbindir; usrsbindir="$withval"
10118 usrsbindir='${prefix}/sbin'
10122 ################################################################################
10123 if test x$READLINE = xyes; then
10126 for ac_header in readline/readline.h readline/history.h
10128 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 ac_res=`eval echo '${'$as_ac_Header'}'`
10136 { echo "$as_me:$LINENO: result: $ac_res" >&5
10137 echo "${ECHO_T}$ac_res" >&6; }
10139 # Is the header compilable?
10140 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10142 cat >conftest.$ac_ext <<_ACEOF
10145 cat confdefs.h >>conftest.$ac_ext
10146 cat >>conftest.$ac_ext <<_ACEOF
10147 /* end confdefs.h. */
10148 $ac_includes_default
10149 #include <$ac_header>
10151 rm -f conftest.$ac_objext
10152 if { (ac_try="$ac_compile"
10153 case "(($ac_try" in
10154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10155 *) ac_try_echo
=$ac_try;;
10157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10158 (eval "$ac_compile") 2>conftest.er1
10160 grep -v '^ *+' conftest.er1
>conftest.err
10162 cat conftest.err
>&5
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); } && {
10165 test -z "$ac_c_werror_flag" ||
10166 test ! -s conftest.err
10167 } && test -s conftest.
$ac_objext; then
10168 ac_header_compiler
=yes
10170 echo "$as_me: failed program was:" >&5
10171 sed 's/^/| /' conftest.
$ac_ext >&5
10173 ac_header_compiler
=no
10176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10177 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10178 echo "${ECHO_T}$ac_header_compiler" >&6; }
10180 # Is the header present?
10181 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10183 cat >conftest.
$ac_ext <<_ACEOF
10186 cat confdefs.h
>>conftest.
$ac_ext
10187 cat >>conftest.
$ac_ext <<_ACEOF
10188 /* end confdefs.h. */
10189 #include <$ac_header>
10191 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10192 case "(($ac_try" in
10193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10194 *) ac_try_echo=$ac_try;;
10196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10199 grep -v '^ *+' conftest.er1 >conftest.err
10201 cat conftest.err >&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } >/dev/null && {
10204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10205 test ! -s conftest.err
10207 ac_header_preproc=yes
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.$ac_ext >&5
10212 ac_header_preproc=no
10215 rm -f conftest.err conftest.$ac_ext
10216 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10217 echo "${ECHO_T}$ac_header_preproc" >&6; }
10219 # So? What about this header?
10220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10226 ac_header_preproc=yes
10229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10247 echo $ECHO_N "(cached) $ECHO_C" >&6
10249 eval "$as_ac_Header=\$ac_header_preproc"
10251 ac_res=`eval echo '${'$as_ac_Header'}'`
10252 { echo "$as_me:$LINENO: result: $ac_res" >&5
10253 echo "${ECHO_T}$ac_res" >&6; }
10256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10257 cat >>confdefs.h <<_ACEOF
10258 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10262 { { echo "$as_me:$LINENO: error: bailing out" >&5
10263 echo "$as_me: error: bailing out" >&2;}
10264 { (exit 1); exit 1; }; }
10271 if test x$CLVMD != xnone; then
10282 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
10284 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 ac_res=`eval echo '${'$as_ac_Header'}'`
10292 { echo "$as_me:$LINENO: result: $ac_res" >&5
10293 echo "${ECHO_T}$ac_res" >&6; }
10295 # Is the header compilable?
10296 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10298 cat >conftest.$ac_ext <<_ACEOF
10301 cat confdefs.h >>conftest.$ac_ext
10302 cat >>conftest.$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10304 $ac_includes_default
10305 #include <$ac_header>
10307 rm -f conftest.$ac_objext
10308 if { (ac_try="$ac_compile"
10309 case "(($ac_try" in
10310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10311 *) ac_try_echo
=$ac_try;;
10313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10314 (eval "$ac_compile") 2>conftest.er1
10316 grep -v '^ *+' conftest.er1
>conftest.err
10318 cat conftest.err
>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } && {
10321 test -z "$ac_c_werror_flag" ||
10322 test ! -s conftest.err
10323 } && test -s conftest.
$ac_objext; then
10324 ac_header_compiler
=yes
10326 echo "$as_me: failed program was:" >&5
10327 sed 's/^/| /' conftest.
$ac_ext >&5
10329 ac_header_compiler
=no
10332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10333 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10334 echo "${ECHO_T}$ac_header_compiler" >&6; }
10336 # Is the header present?
10337 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10339 cat >conftest.
$ac_ext <<_ACEOF
10342 cat confdefs.h
>>conftest.
$ac_ext
10343 cat >>conftest.
$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10345 #include <$ac_header>
10347 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10348 case "(($ac_try" in
10349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10350 *) ac_try_echo=$ac_try;;
10352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10355 grep -v '^ *+' conftest.er1 >conftest.err
10357 cat conftest.err >&5
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); } >/dev/null && {
10360 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10361 test ! -s conftest.err
10363 ac_header_preproc=yes
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10368 ac_header_preproc=no
10371 rm -f conftest.err conftest.$ac_ext
10372 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10373 echo "${ECHO_T}$ac_header_preproc" >&6; }
10375 # So? What about this header?
10376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10382 ac_header_preproc=yes
10385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10400 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10402 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 eval "$as_ac_Header=\$ac_header_preproc"
10407 ac_res=`eval echo '${'$as_ac_Header'}'`
10408 { echo "$as_me:$LINENO: result: $ac_res" >&5
10409 echo "${ECHO_T}$ac_res" >&6; }
10412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10413 cat >>confdefs.h <<_ACEOF
10414 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10418 { { echo "$as_me:$LINENO: error: bailing out" >&5
10419 echo "$as_me: error: bailing out" >&2;}
10420 { (exit 1); exit 1; }; }
10430 for ac_func in dup2 getmntent memmove select socket
10432 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 cat >conftest.$ac_ext <<_ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10446 #define $ac_func innocuous_$ac_func
10448 /* System header to define __stub macros and hopefully few prototypes,
10449 which can conflict with char $ac_func (); below.
10450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10451 <limits.h> exists even on freestanding compilers. */
10454 # include <limits.h>
10456 # include <assert.h>
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10468 /* The GNU C library defines this for functions which it implements
10469 to always fail with ENOSYS. Some functions are actually named
10470 something starting with __ and the normal name is an alias. */
10471 #if defined __stub_$ac_func || defined __stub___$ac_func
10478 return $ac_func ();
10483 rm -f conftest.$ac_objext conftest$ac_exeext
10484 if { (ac_try="$ac_link"
10485 case "(($ac_try" in
10486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10487 *) ac_try_echo
=$ac_try;;
10489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10490 (eval "$ac_link") 2>conftest.er1
10492 grep -v '^ *+' conftest.er1
>conftest.err
10494 cat conftest.err
>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); } && {
10497 test -z "$ac_c_werror_flag" ||
10498 test ! -s conftest.err
10499 } && test -s conftest
$ac_exeext &&
10500 $as_test_x conftest
$ac_exeext; then
10501 eval "$as_ac_var=yes"
10503 echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.
$ac_ext >&5
10506 eval "$as_ac_var=no"
10509 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10510 conftest
$ac_exeext conftest.
$ac_ext
10512 ac_res
=`eval echo '${'$as_ac_var'}'`
10513 { echo "$as_me:$LINENO: result: $ac_res" >&5
10514 echo "${ECHO_T}$ac_res" >&6; }
10515 if test `eval echo '${'$as_ac_var'}'` = yes; then
10516 cat >>confdefs.h
<<_ACEOF
10517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10521 { { echo "$as_me:$LINENO: error: bailing out" >&5
10522 echo "$as_me: error: bailing out" >&2;}
10523 { (exit 1); exit 1; }; }
10527 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10528 # -lseq on Dynix/PTX, -lgen on Unixware.
10529 { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
10530 echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
10531 if test "${ac_cv_search_getmntent+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 ac_func_search_save_LIBS
=$LIBS
10535 cat >conftest.
$ac_ext <<_ACEOF
10538 cat confdefs.h
>>conftest.
$ac_ext
10539 cat >>conftest.
$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10542 /* Override any GCC internal prototype to avoid an error.
10543 Use char because int might match the return type of a GCC
10544 builtin and then its argument prototype would still apply. */
10552 return getmntent ();
10557 for ac_lib
in '' sun
seq gen
; do
10558 if test -z "$ac_lib"; then
10559 ac_res
="none required"
10562 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10564 rm -f conftest.
$ac_objext conftest
$ac_exeext
10565 if { (ac_try
="$ac_link"
10566 case "(($ac_try" in
10567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10568 *) ac_try_echo=$ac_try;;
10570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10571 (eval "$ac_link") 2>conftest.er1
10573 grep -v '^ *+' conftest.er1 >conftest.err
10575 cat conftest.err >&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); } && {
10578 test -z "$ac_c_werror_flag" ||
10579 test ! -s conftest.err
10580 } && test -s conftest$ac_exeext &&
10581 $as_test_x conftest$ac_exeext; then
10582 ac_cv_search_getmntent=$ac_res
10584 echo "$as_me: failed program was:" >&5
10585 sed 's/^/| /' conftest.$ac_ext >&5
10590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10592 if test "${ac_cv_search_getmntent+set}" = set; then
10596 if test "${ac_cv_search_getmntent+set}" = set; then
10599 ac_cv_search_getmntent=no
10601 rm conftest.$ac_ext
10602 LIBS=$ac_func_search_save_LIBS
10604 { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
10605 echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
10606 ac_res=$ac_cv_search_getmntent
10607 if test "$ac_res" != no; then
10608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10609 ac_cv_func_getmntent=yes
10611 cat >>confdefs.h <<\_ACEOF
10612 #define HAVE_GETMNTENT
10616 ac_cv_func_getmntent=no
10623 for ac_header in sys/select.h sys/socket.h
10625 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 ac_res=`eval echo '${'$as_ac_Header'}'`
10633 { echo "$as_me:$LINENO: result: $ac_res" >&5
10634 echo "${ECHO_T}$ac_res" >&6; }
10636 # Is the header compilable?
10637 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10639 cat >conftest.$ac_ext <<_ACEOF
10642 cat confdefs.h >>conftest.$ac_ext
10643 cat >>conftest.$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10645 $ac_includes_default
10646 #include <$ac_header>
10648 rm -f conftest.$ac_objext
10649 if { (ac_try="$ac_compile"
10650 case "(($ac_try" in
10651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10652 *) ac_try_echo
=$ac_try;;
10654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10655 (eval "$ac_compile") 2>conftest.er1
10657 grep -v '^ *+' conftest.er1
>conftest.err
10659 cat conftest.err
>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } && {
10662 test -z "$ac_c_werror_flag" ||
10663 test ! -s conftest.err
10664 } && test -s conftest.
$ac_objext; then
10665 ac_header_compiler
=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.
$ac_ext >&5
10670 ac_header_compiler
=no
10673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10674 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10675 echo "${ECHO_T}$ac_header_compiler" >&6; }
10677 # Is the header present?
10678 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10680 cat >conftest.
$ac_ext <<_ACEOF
10683 cat confdefs.h
>>conftest.
$ac_ext
10684 cat >>conftest.
$ac_ext <<_ACEOF
10685 /* end confdefs.h. */
10686 #include <$ac_header>
10688 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10689 case "(($ac_try" in
10690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10691 *) ac_try_echo=$ac_try;;
10693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10696 grep -v '^ *+' conftest.er1 >conftest.err
10698 cat conftest.err >&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } >/dev/null && {
10701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10702 test ! -s conftest.err
10704 ac_header_preproc=yes
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.$ac_ext >&5
10709 ac_header_preproc=no
10712 rm -f conftest.err conftest.$ac_ext
10713 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10714 echo "${ECHO_T}$ac_header_preproc" >&6; }
10716 # So? What about this header?
10717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10723 ac_header_preproc=yes
10726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 eval "$as_ac_Header=\$ac_header_preproc"
10748 ac_res=`eval echo '${'$as_ac_Header'}'`
10749 { echo "$as_me:$LINENO: result: $ac_res" >&5
10750 echo "${ECHO_T}$ac_res" >&6; }
10753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10754 cat >>confdefs.h <<_ACEOF
10755 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10762 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
10763 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10764 if test "${ac_cv_func_select_args+set}" = set; then
10765 echo $ECHO_N "(cached) $ECHO_C" >&6
10767 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10768 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10769 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10770 cat >conftest.$ac_ext <<_ACEOF
10773 cat confdefs.h >>conftest.$ac_ext
10774 cat >>conftest.$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 $ac_includes_default
10777 #ifdef HAVE_SYS_SELECT_H
10778 # include <sys/select.h>
10780 #ifdef HAVE_SYS_SOCKET_H
10781 # include <sys/socket.h>
10787 extern int select ($ac_arg1,
10788 $ac_arg234, $ac_arg234, $ac_arg234,
10794 rm -f conftest.$ac_objext
10795 if { (ac_try="$ac_compile"
10796 case "(($ac_try" in
10797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10798 *) ac_try_echo
=$ac_try;;
10800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10801 (eval "$ac_compile") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } && {
10808 test -z "$ac_c_werror_flag" ||
10809 test ! -s conftest.err
10810 } && test -s conftest.
$ac_objext; then
10811 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10813 echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.
$ac_ext >&5
10819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10823 # Provide a safe default value.
10824 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10827 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10828 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
10829 ac_save_IFS
=$IFS; IFS
=','
10830 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10834 cat >>confdefs.h
<<_ACEOF
10835 #define SELECT_TYPE_ARG1 $1
10839 cat >>confdefs.h
<<_ACEOF
10840 #define SELECT_TYPE_ARG234 ($2)
10844 cat >>confdefs.h
<<_ACEOF
10845 #define SELECT_TYPE_ARG5 ($3)
10852 if test x
$CLUSTER != xnone
; then
10855 for ac_header
in sys
/socket.h sys
/un.h
10857 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10858 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10861 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 ac_res
=`eval echo '${'$as_ac_Header'}'`
10865 { echo "$as_me:$LINENO: result: $ac_res" >&5
10866 echo "${ECHO_T}$ac_res" >&6; }
10868 # Is the header compilable?
10869 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10871 cat >conftest.
$ac_ext <<_ACEOF
10874 cat confdefs.h
>>conftest.
$ac_ext
10875 cat >>conftest.
$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10877 $ac_includes_default
10878 #include <$ac_header>
10880 rm -f conftest.
$ac_objext
10881 if { (ac_try
="$ac_compile"
10882 case "(($ac_try" in
10883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10884 *) ac_try_echo=$ac_try;;
10886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10887 (eval "$ac_compile") 2>conftest.er1
10889 grep -v '^ *+' conftest.er1 >conftest.err
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err
10896 } && test -s conftest.$ac_objext; then
10897 ac_header_compiler=yes
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10902 ac_header_compiler=no
10905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10906 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10907 echo "${ECHO_T}$ac_header_compiler" >&6; }
10909 # Is the header present?
10910 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10912 cat >conftest.$ac_ext <<_ACEOF
10915 cat confdefs.h >>conftest.$ac_ext
10916 cat >>conftest.$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10918 #include <$ac_header>
10920 if { (ac_try="$ac_cpp conftest.$ac_ext"
10921 case "(($ac_try" in
10922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10923 *) ac_try_echo
=$ac_try;;
10925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10928 grep -v '^ *+' conftest.er1
>conftest.err
10930 cat conftest.err
>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } >/dev
/null
&& {
10933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10934 test ! -s conftest.err
10936 ac_header_preproc
=yes
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10941 ac_header_preproc
=no
10944 rm -f conftest.err conftest.
$ac_ext
10945 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10946 echo "${ECHO_T}$ac_header_preproc" >&6; }
10948 # So? What about this header?
10949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10955 ac_header_preproc
=yes
10958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10978 eval "$as_ac_Header=\$ac_header_preproc"
10980 ac_res
=`eval echo '${'$as_ac_Header'}'`
10981 { echo "$as_me:$LINENO: result: $ac_res" >&5
10982 echo "${ECHO_T}$ac_res" >&6; }
10985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10986 cat >>confdefs.h
<<_ACEOF
10987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10991 { { echo "$as_me:$LINENO: error: bailing out" >&5
10992 echo "$as_me: error: bailing out" >&2;}
10993 { (exit 1); exit 1; }; }
10999 for ac_func
in socket
11001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11004 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 cat >conftest.
$ac_ext <<_ACEOF
11010 cat confdefs.h
>>conftest.
$ac_ext
11011 cat >>conftest.
$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11015 #define $ac_func innocuous_$ac_func
11017 /* System header to define __stub macros and hopefully few prototypes,
11018 which can conflict with char $ac_func (); below.
11019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11020 <limits.h> exists even on freestanding compilers. */
11023 # include <limits.h>
11025 # include <assert.h>
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11037 /* The GNU C library defines this for functions which it implements
11038 to always fail with ENOSYS. Some functions are actually named
11039 something starting with __ and the normal name is an alias. */
11040 #if defined __stub_$ac_func || defined __stub___$ac_func
11047 return $ac_func ();
11052 rm -f conftest.
$ac_objext conftest
$ac_exeext
11053 if { (ac_try
="$ac_link"
11054 case "(($ac_try" in
11055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11056 *) ac_try_echo=$ac_try;;
11058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11059 (eval "$ac_link") 2>conftest.er1
11061 grep -v '^ *+' conftest.er1 >conftest.err
11063 cat conftest.err >&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); } && {
11066 test -z "$ac_c_werror_flag" ||
11067 test ! -s conftest.err
11068 } && test -s conftest$ac_exeext &&
11069 $as_test_x conftest$ac_exeext; then
11070 eval "$as_ac_var=yes"
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11075 eval "$as_ac_var=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11079 conftest$ac_exeext conftest.$ac_ext
11081 ac_res=`eval echo '${'$as_ac_var'}'`
11082 { echo "$as_me:$LINENO: result: $ac_res" >&5
11083 echo "${ECHO_T}$ac_res" >&6; }
11084 if test `eval echo '${'$as_ac_var'}'` = yes; then
11085 cat >>confdefs.h <<_ACEOF
11086 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11090 { { echo "$as_me:$LINENO: error: bailing out" >&5
11091 echo "$as_me: error: bailing out" >&2;}
11092 { (exit 1); exit 1; }; }
11098 if test x$HAVE_LIBDL = xyes; then
11100 for ac_header in dlfcn.h
11102 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11107 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 ac_res=`eval echo '${'$as_ac_Header'}'`
11110 { echo "$as_me:$LINENO: result: $ac_res" >&5
11111 echo "${ECHO_T}$ac_res" >&6; }
11113 # Is the header compilable?
11114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11116 cat >conftest.$ac_ext <<_ACEOF
11119 cat confdefs.h >>conftest.$ac_ext
11120 cat >>conftest.$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11122 $ac_includes_default
11123 #include <$ac_header>
11125 rm -f conftest.$ac_objext
11126 if { (ac_try="$ac_compile"
11127 case "(($ac_try" in
11128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11129 *) ac_try_echo
=$ac_try;;
11131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11132 (eval "$ac_compile") 2>conftest.er1
11134 grep -v '^ *+' conftest.er1
>conftest.err
11136 cat conftest.err
>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); } && {
11139 test -z "$ac_c_werror_flag" ||
11140 test ! -s conftest.err
11141 } && test -s conftest.
$ac_objext; then
11142 ac_header_compiler
=yes
11144 echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.
$ac_ext >&5
11147 ac_header_compiler
=no
11150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11152 echo "${ECHO_T}$ac_header_compiler" >&6; }
11154 # Is the header present?
11155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11157 cat >conftest.
$ac_ext <<_ACEOF
11160 cat confdefs.h
>>conftest.
$ac_ext
11161 cat >>conftest.
$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11163 #include <$ac_header>
11165 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11166 case "(($ac_try" in
11167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11168 *) ac_try_echo=$ac_try;;
11170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11173 grep -v '^ *+' conftest.er1 >conftest.err
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } >/dev/null && {
11178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11179 test ! -s conftest.err
11181 ac_header_preproc=yes
11183 echo "$as_me: failed program was:" >&5
11184 sed 's/^/| /' conftest.$ac_ext >&5
11186 ac_header_preproc=no
11189 rm -f conftest.err conftest.$ac_ext
11190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11191 echo "${ECHO_T}$ac_header_preproc" >&6; }
11193 # So? What about this header?
11194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11200 ac_header_preproc=yes
11203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 eval "$as_ac_Header=\$ac_header_preproc"
11225 ac_res=`eval echo '${'$as_ac_Header'}'`
11226 { echo "$as_me:$LINENO: result: $ac_res" >&5
11227 echo "${ECHO_T}$ac_res" >&6; }
11230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11231 cat >>confdefs.h <<_ACEOF
11232 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11236 { { echo "$as_me:$LINENO: error: bailing out" >&5
11237 echo "$as_me: error: bailing out" >&2;}
11238 { (exit 1); exit 1; }; }
11245 if test x$INTL = xyes; then
11247 for ac_header in libintl.h
11249 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 ac_res=`eval echo '${'$as_ac_Header'}'`
11257 { echo "$as_me:$LINENO: result: $ac_res" >&5
11258 echo "${ECHO_T}$ac_res" >&6; }
11260 # Is the header compilable?
11261 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11263 cat >conftest.$ac_ext <<_ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269 $ac_includes_default
11270 #include <$ac_header>
11272 rm -f conftest.$ac_objext
11273 if { (ac_try="$ac_compile"
11274 case "(($ac_try" in
11275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11276 *) ac_try_echo
=$ac_try;;
11278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11279 (eval "$ac_compile") 2>conftest.er1
11281 grep -v '^ *+' conftest.er1
>conftest.err
11283 cat conftest.err
>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } && {
11286 test -z "$ac_c_werror_flag" ||
11287 test ! -s conftest.err
11288 } && test -s conftest.
$ac_objext; then
11289 ac_header_compiler
=yes
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.
$ac_ext >&5
11294 ac_header_compiler
=no
11297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11298 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11299 echo "${ECHO_T}$ac_header_compiler" >&6; }
11301 # Is the header present?
11302 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11304 cat >conftest.
$ac_ext <<_ACEOF
11307 cat confdefs.h
>>conftest.
$ac_ext
11308 cat >>conftest.
$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 #include <$ac_header>
11312 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11313 case "(($ac_try" in
11314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11315 *) ac_try_echo=$ac_try;;
11317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11318 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11320 grep -v '^ *+' conftest.er1 >conftest.err
11322 cat conftest.err >&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } >/dev/null && {
11325 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11326 test ! -s conftest.err
11328 ac_header_preproc=yes
11330 echo "$as_me: failed program was:" >&5
11331 sed 's/^/| /' conftest.$ac_ext >&5
11333 ac_header_preproc=no
11336 rm -f conftest.err conftest.$ac_ext
11337 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11338 echo "${ECHO_T}$ac_header_preproc" >&6; }
11340 # So? What about this header?
11341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11347 ac_header_preproc=yes
11350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 eval "$as_ac_Header=\$ac_header_preproc"
11372 ac_res=`eval echo '${'$as_ac_Header'}'`
11373 { echo "$as_me:$LINENO: result: $ac_res" >&5
11374 echo "${ECHO_T}$ac_res" >&6; }
11377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11378 cat >>confdefs.h <<_ACEOF
11379 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11383 { { echo "$as_me:$LINENO: error: bailing out" >&5
11384 echo "$as_me: error: bailing out" >&2;}
11385 { (exit 1); exit 1; }; }
11393 for ac_header in libdevmapper.h
11395 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 ac_res=`eval echo '${'$as_ac_Header'}'`
11403 { echo "$as_me:$LINENO: result: $ac_res" >&5
11404 echo "${ECHO_T}$ac_res" >&6; }
11406 # Is the header compilable?
11407 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11409 cat >conftest.$ac_ext <<_ACEOF
11412 cat confdefs.h >>conftest.$ac_ext
11413 cat >>conftest.$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11415 $ac_includes_default
11416 #include <$ac_header>
11418 rm -f conftest.$ac_objext
11419 if { (ac_try="$ac_compile"
11420 case "(($ac_try" in
11421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11422 *) ac_try_echo
=$ac_try;;
11424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11425 (eval "$ac_compile") 2>conftest.er1
11427 grep -v '^ *+' conftest.er1
>conftest.err
11429 cat conftest.err
>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } && {
11432 test -z "$ac_c_werror_flag" ||
11433 test ! -s conftest.err
11434 } && test -s conftest.
$ac_objext; then
11435 ac_header_compiler
=yes
11437 echo "$as_me: failed program was:" >&5
11438 sed 's/^/| /' conftest.
$ac_ext >&5
11440 ac_header_compiler
=no
11443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11444 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11445 echo "${ECHO_T}$ac_header_compiler" >&6; }
11447 # Is the header present?
11448 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11450 cat >conftest.
$ac_ext <<_ACEOF
11453 cat confdefs.h
>>conftest.
$ac_ext
11454 cat >>conftest.
$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11456 #include <$ac_header>
11458 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11459 case "(($ac_try" in
11460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11461 *) ac_try_echo=$ac_try;;
11463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11466 grep -v '^ *+' conftest.er1 >conftest.err
11468 cat conftest.err >&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); } >/dev/null && {
11471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11472 test ! -s conftest.err
11474 ac_header_preproc=yes
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.$ac_ext >&5
11479 ac_header_preproc=no
11482 rm -f conftest.err conftest.$ac_ext
11483 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11484 echo "${ECHO_T}$ac_header_preproc" >&6; }
11486 # So? What about this header?
11487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11493 ac_header_preproc=yes
11496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11503 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 eval "$as_ac_Header=\$ac_header_preproc"
11518 ac_res=`eval echo '${'$as_ac_Header'}'`
11519 { echo "$as_me:$LINENO: result: $ac_res" >&5
11520 echo "${ECHO_T}$ac_res" >&6; }
11523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11524 cat >>confdefs.h <<_ACEOF
11525 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11529 { { echo "$as_me:$LINENO: error: bailing out" >&5
11530 echo "$as_me: error: bailing out" >&2;}
11531 { (exit 1); exit 1; }; }
11537 if test x$HAVE_SELINUX = xyes; then
11539 for ac_header in selinux/selinux.h
11541 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 ac_res=`eval echo '${'$as_ac_Header'}'`
11549 { echo "$as_me:$LINENO: result: $ac_res" >&5
11550 echo "${ECHO_T}$ac_res" >&6; }
11552 # Is the header compilable?
11553 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11555 cat >conftest.$ac_ext <<_ACEOF
11558 cat confdefs.h >>conftest.$ac_ext
11559 cat >>conftest.$ac_ext <<_ACEOF
11560 /* end confdefs.h. */
11561 $ac_includes_default
11562 #include <$ac_header>
11564 rm -f conftest.$ac_objext
11565 if { (ac_try="$ac_compile"
11566 case "(($ac_try" in
11567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11568 *) ac_try_echo
=$ac_try;;
11570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11571 (eval "$ac_compile") 2>conftest.er1
11573 grep -v '^ *+' conftest.er1
>conftest.err
11575 cat conftest.err
>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); } && {
11578 test -z "$ac_c_werror_flag" ||
11579 test ! -s conftest.err
11580 } && test -s conftest.
$ac_objext; then
11581 ac_header_compiler
=yes
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.
$ac_ext >&5
11586 ac_header_compiler
=no
11589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11590 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11591 echo "${ECHO_T}$ac_header_compiler" >&6; }
11593 # Is the header present?
11594 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11596 cat >conftest.
$ac_ext <<_ACEOF
11599 cat confdefs.h
>>conftest.
$ac_ext
11600 cat >>conftest.
$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11602 #include <$ac_header>
11604 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11605 case "(($ac_try" in
11606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11607 *) ac_try_echo=$ac_try;;
11609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11612 grep -v '^ *+' conftest.er1 >conftest.err
11614 cat conftest.err >&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); } >/dev/null && {
11617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11618 test ! -s conftest.err
11620 ac_header_preproc=yes
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.$ac_ext >&5
11625 ac_header_preproc=no
11628 rm -f conftest.err conftest.$ac_ext
11629 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11630 echo "${ECHO_T}$ac_header_preproc" >&6; }
11632 # So? What about this header?
11633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11639 ac_header_preproc=yes
11642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11660 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 eval "$as_ac_Header=\$ac_header_preproc"
11664 ac_res=`eval echo '${'$as_ac_Header'}'`
11665 { echo "$as_me:$LINENO: result: $ac_res" >&5
11666 echo "${ECHO_T}$ac_res" >&6; }
11669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11670 cat >>confdefs.h <<_ACEOF
11671 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11675 { { echo "$as_me:$LINENO: error: bailing out" >&5
11676 echo "$as_me: error: bailing out" >&2;}
11677 { (exit 1); exit 1; }; }
11684 ################################################################################
11685 # Extract the first word of "modprobe", so it can be a program name with args.
11686 set dummy modprobe; ac_word=$2
11687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11689 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 case $MODPROBE_CMD in
11694 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
11697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11701 test -z "$as_dir" && as_dir=.
11702 for ac_exec_ext in '' $ac_executable_extensions; do
11703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11704 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
11705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11715 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
11716 if test -n "$MODPROBE_CMD"; then
11717 { echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
11718 echo "${ECHO_T}$MODPROBE_CMD" >&6; }
11720 { echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6; }
11726 if test x$MODPROBE_CMD != x; then
11728 cat >>confdefs.h <<_ACEOF
11729 #define MODPROBE_CMD "$MODPROBE_CMD"
11734 ################################################################################
11737 if test "$BUILD_DMEVENTD" = yes; then
11739 # Check whether --with-dmeventd-pidfile was given.
11740 if test "${with_dmeventd_pidfile+set}" = set; then
11741 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
11742 #define DMEVENTD_PIDFILE "$withval"
11746 cat >>confdefs.h <<_ACEOF
11747 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
11756 if test "$BUILD_DMEVENTD" = yes; then
11757 dmeventd_prefix="$exec_prefix"
11758 if test "x$dmeventd_prefix" = "xNONE"; then
11759 dmeventd_prefix="$prefix"
11761 if test "x$dmeventd_prefix" = "xNONE"; then
11765 # Check whether --with-dmeventd-path was given.
11766 if test "${with_dmeventd_path+set}" = set; then
11767 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
11768 #define DMEVENTD_PATH "$withval"
11772 cat >>confdefs.h <<_ACEOF
11773 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
11780 ################################################################################
11781 { echo "$as_me:$LINENO: checking for kernel interface choice" >&5
11782 echo $ECHO_N "checking for kernel interface choice... $ECHO_C" >&6; }
11784 # Check whether --with-interface was given.
11785 if test "${with_interface+set}" = set; then
11786 withval=$with_interface; interface="$withval"
11791 if [ "x$interface" != xioctl ];
11793 { { echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
11794 echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
11795 { (exit 1); exit 1; }; }
11797 { echo "$as_me:$LINENO: result: $interface" >&5
11798 echo "${ECHO_T}$interface" >&6; }
11800 ################################################################################
11801 DM_LIB_VERSION="\"`cat VERSION_LIB
2>/dev
/null ||
echo Unknown
`\""
11803 cat >>confdefs.h <<_ACEOF
11804 #define DM_LIB_VERSION $DM_LIB_VERSION
11808 DM_LIB_PATCHLEVEL=`cat VERSION_LIB |
awk -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
11810 LVM_VERSION="\"`cat VERSION
2>/dev
/null ||
echo Unknown
`\""
11812 ################################################################################
11867 ################################################################################
11868 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc man/Makefile po/Makefile scripts/Makefile test/Makefile tools/Makefile tools/version.h"
11870 cat >confcache <<\_ACEOF
11871 # This file is a shell script that caches the results of configure
11872 # tests run on this system so they can be shared between configure
11873 # scripts and configure runs, see configure's option --config-cache.
11874 # It is not useful on other systems. If it contains results you don't
11875 # want to keep, you may remove or edit it.
11877 # config.status only pays attention to the cache file if you give it
11878 # the --recheck option to rerun configure.
11880 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11881 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11882 # following values.
11886 # The following way of writing the cache mishandles newlines in values,
11887 # but we know of no workaround that is simple, portable, and efficient.
11888 # So, we kill variables containing newlines.
11889 # Ultrix sh set writes to stderr and can't be redirected directly,
11890 # and sets the high bit in the cache file unless we assign to the vars.
11892 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11893 eval ac_val
=\$
$ac_var
11897 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11898 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11901 _ | IFS | as_nl
) ;; #(
11902 *) $as_unset $ac_var ;;
11908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11909 *${as_nl}ac_space
=\
*)
11910 # `set' does not quote correctly, so add quotes (double-quote
11911 # substitution turns \\\\ into \\, and sed turns \\ into \).
11914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11917 # `set' quotes correctly as required by POSIX, so do not add quotes.
11918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11931 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11932 if test -w "$cache_file"; then
11933 test "x$cache_file" != "x/dev/null" &&
11934 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11935 echo "$as_me: updating cache $cache_file" >&6;}
11936 cat confcache
>$cache_file
11938 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11939 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11944 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11945 # Let make expand exec_prefix.
11946 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11948 DEFS
=-DHAVE_CONFIG_H
11952 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11953 # 1. Remove the extension, and $U if already installed.
11954 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11955 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11956 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11957 # will be set to the directory where LIBOBJS objects are built.
11958 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11959 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11961 LIBOBJS
=$ac_libobjs
11963 LTLIBOBJS
=$ac_ltlibobjs
11967 : ${CONFIG_STATUS=./config.status}
11968 ac_clean_files_save
=$ac_clean_files
11969 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11970 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11971 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11972 cat >$CONFIG_STATUS <<_ACEOF
11974 # Generated by $as_me.
11975 # Run this file to recreate the current configuration.
11976 # Compiler output produced by configure, useful for debugging
11977 # configure, is in config.log if it exists.
11980 ac_cs_recheck=false
11982 SHELL=\${CONFIG_SHELL-$SHELL}
11985 cat >>$CONFIG_STATUS <<\_ACEOF
11986 ## --------------------- ##
11987 ## M4sh Initialization. ##
11988 ## --------------------- ##
11990 # Be more Bourne compatible
11991 DUALCASE
=1; export DUALCASE
# for MKS sh
11992 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11995 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11996 # is contrary to our usage. Disable this feature.
11997 alias -g '${1+"$@"}'='"$@"'
11998 setopt NO_GLOB_SUBST
12000 case `(set -o) 2>/dev/null` in
12001 *posix
*) set -o posix
;;
12010 # Avoid depending upon Character Ranges.
12011 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12012 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12013 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12014 as_cr_digits
='0123456789'
12015 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12017 # The user is always right.
12018 if test "${PATH_SEPARATOR+set}" != set; then
12019 echo "#! /bin/sh" >conf$$.sh
12020 echo "exit 0" >>conf$$.sh
12022 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12030 # Support unset when possible.
12031 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12039 # We need space, tab and new line, in precisely that order. Quoting is
12040 # there to prevent editors from complaining about space-tab.
12041 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12042 # splitting by setting IFS to empty value.)
12047 # Find who we are. Look in the path if we contain no directory separator.
12049 *[\\/]* ) as_myself
=$0 ;;
12050 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12051 for as_dir
in $PATH
12054 test -z "$as_dir" && as_dir
=.
12055 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12061 # We did not find ourselves, most probably we were run as `sh COMMAND'
12062 # in which case we are not to be found in the path.
12063 if test "x$as_myself" = x
; then
12066 if test ! -f "$as_myself"; then
12067 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12068 { (exit 1); exit 1; }
12071 # Work around bugs in pre-3.0 UWIN ksh.
12072 for as_var
in ENV MAIL MAILPATH
12073 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12081 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12082 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12083 LC_TELEPHONE LC_TIME
12085 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12086 eval $as_var=C
; export $as_var
12088 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12092 # Required to use basename.
12093 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12094 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12100 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12101 as_basename
=basename
12107 # Name of the executable.
12108 as_me
=`$as_basename -- "$0" ||
12109 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12110 X"$0" : 'X\(//\)$' \| \
12111 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12113 sed '/^.*\/\([^/][^/]*\)\/*$/{
12132 as_lineno_1
=$LINENO
12133 as_lineno_2
=$LINENO
12134 test "x$as_lineno_1" != "x$as_lineno_2" &&
12135 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12137 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12138 # uniformly replaced by the line number. The first 'sed' inserts a
12139 # line-number line after each line using $LINENO; the second 'sed'
12140 # does the real work. The second script uses 'N' to pair each
12141 # line-number line with the line containing $LINENO, and appends
12142 # trailing '-' during substitution so that $LINENO is not a special
12143 # case at line end.
12144 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12145 # scripts with optimization help from Paolo Bonzini. Blame Lee
12146 # E. McMahon (1931-1989) for sed's syntax. :-)
12158 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12161 ' >$as_me.lineno
&&
12162 chmod +x
"$as_me.lineno" ||
12163 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12164 { (exit 1); exit 1; }; }
12166 # Don't try to exec as it changes $[0], causing all sort of problems
12167 # (the dirname of $[0] is not the place where we might find the
12168 # original and so on. Autoconf is especially sensitive to this).
12169 .
"./$as_me.lineno"
12170 # Exit status is that of the last command.
12175 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12181 ECHO_C
= ECHO_N
= ECHO_T
=
12182 case `echo -n x` in
12184 case `echo 'x\c'` in
12185 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12192 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12193 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12199 rm -f conf$$ conf$$.exe conf$$.
file
12200 if test -d conf$$.dir
; then
12201 rm -f conf$$.dir
/conf$$.
file
12207 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12209 # ... but there are two gotchas:
12210 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12211 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12212 # In both cases, we have to default to `cp -p'.
12213 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12215 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12220 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12221 rmdir conf$$.dir
2>/dev
/null
12223 if mkdir
-p .
2>/dev
/null
; then
12226 test -d .
/-p && rmdir .
/-p
12230 if test -x / >/dev
/null
2>&1; then
12231 as_test_x
='test -x'
12233 if ls -dL / >/dev
/null
2>&1; then
12240 if test -d "$1"; then
12246 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12247 ???[sx]*):;;*)false;;esac;fi
12251 as_executable_p
=$as_test_x
12253 # Sed expression to map a string onto a valid CPP name.
12254 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12256 # Sed expression to map a string onto a valid variable name.
12257 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12262 # Save the log message, to keep $[0] and so on meaningful, and to
12263 # report actual input values of CONFIG_FILES etc. instead of their
12264 # values after options handling.
12266 This file was extended by $as_me, which was
12267 generated by GNU Autoconf 2.61. Invocation command line was
12269 CONFIG_FILES = $CONFIG_FILES
12270 CONFIG_HEADERS = $CONFIG_HEADERS
12271 CONFIG_LINKS = $CONFIG_LINKS
12272 CONFIG_COMMANDS = $CONFIG_COMMANDS
12275 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12280 cat >>$CONFIG_STATUS <<_ACEOF
12281 # Files that config.status was made for.
12282 config_files="$ac_config_files"
12283 config_headers="$ac_config_headers"
12287 cat >>$CONFIG_STATUS <<\_ACEOF
12289 \`$as_me' instantiates files from templates according to the
12290 current configuration.
12292 Usage: $0 [OPTIONS] [FILE]...
12294 -h, --help print this help, then exit
12295 -V, --version print version number and configuration settings, then exit
12296 -q, --quiet do not print progress messages
12297 -d, --debug don't remove temporary files
12298 --recheck update $as_me by reconfiguring in the same conditions
12299 --file=FILE[:TEMPLATE]
12300 instantiate the configuration file FILE
12301 --header=FILE[:TEMPLATE]
12302 instantiate the configuration header FILE
12304 Configuration files:
12307 Configuration headers:
12310 Report bugs to <bug-autoconf@gnu.org>."
12313 cat >>$CONFIG_STATUS <<_ACEOF
12316 configured by $0, generated by GNU Autoconf 2.61,
12317 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12319 Copyright (C) 2006 Free Software Foundation, Inc.
12320 This config.status script is free software; the Free Software Foundation
12321 gives unlimited permission to copy, distribute and modify it."
12329 cat >>$CONFIG_STATUS <<\_ACEOF
12330 # If no file are specified by the user, then we need to provide default
12331 # value. By we need to know if files were specified by the user.
12337 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12338 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12349 # Handling of the options.
12350 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12352 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12353 echo "$ac_cs_version"; exit ;;
12354 --debug |
--debu |
--deb |
--de |
--d |
-d )
12356 --file |
--fil |
--fi |
--f )
12358 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12359 ac_need_defaults
=false
;;
12360 --header |
--heade |
--head |
--hea )
12362 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12363 ac_need_defaults
=false
;;
12365 # Conflict between --help and --header
12366 { echo "$as_me: error: ambiguous option: $1
12367 Try \`$0 --help' for more information." >&2
12368 { (exit 1); exit 1; }; };;
12369 --help |
--hel |
-h )
12370 echo "$ac_cs_usage"; exit ;;
12371 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12372 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12375 # This is an error.
12376 -*) { echo "$as_me: error: unrecognized option: $1
12377 Try \`$0 --help' for more information." >&2
12378 { (exit 1); exit 1; }; } ;;
12380 *) ac_config_targets
="$ac_config_targets $1"
12381 ac_need_defaults
=false
;;
12387 ac_configure_extra_args
=
12389 if $ac_cs_silent; then
12391 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12395 cat >>$CONFIG_STATUS <<_ACEOF
12396 if \$ac_cs_recheck; then
12397 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12398 CONFIG_SHELL=$SHELL
12399 export CONFIG_SHELL
12400 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12404 cat >>$CONFIG_STATUS <<\_ACEOF
12408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12409 ## Running $as_me. ##
12415 cat >>$CONFIG_STATUS <<_ACEOF
12418 cat >>$CONFIG_STATUS <<\_ACEOF
12420 # Handling of arguments.
12421 for ac_config_target
in $ac_config_targets
12423 case $ac_config_target in
12424 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
12425 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12426 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
12427 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
12428 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
12429 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
12430 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
12431 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
12432 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
12433 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
12434 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12435 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12436 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12437 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
12438 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
12439 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
12440 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
12441 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
12442 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
12443 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
12444 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12445 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
12446 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
12447 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
12448 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12449 "tools/version.h") CONFIG_FILES
="$CONFIG_FILES tools/version.h" ;;
12451 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12452 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12453 { (exit 1); exit 1; }; };;
12458 # If the user did not use the arguments to specify the items to instantiate,
12459 # then the envvar interface is used. Set only those that are not.
12460 # We use the long form for the default assignment because of an extremely
12461 # bizarre bug on SunOS 4.1.3.
12462 if $ac_need_defaults; then
12463 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12464 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12467 # Have a temporary directory for convenience. Make it in the build tree
12468 # simply because there is no reason against having it here, and in addition,
12469 # creating and moving files from /tmp can sometimes cause problems.
12470 # Hook for its removal unless debugging.
12471 # Note that there is a small window in which the directory will not be cleaned:
12472 # after its creation but before its name has been assigned to `$tmp'.
12476 trap 'exit_status=$?
12477 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12479 trap '{ (exit 1); exit 1; }' 1 2 13 15
12481 # Create a (secure) tmp directory for tmp files.
12484 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12485 test -n "$tmp" && test -d "$tmp"
12488 tmp
=.
/conf$$
-$RANDOM
12489 (umask 077 && mkdir
"$tmp")
12492 echo "$me: cannot create a temporary directory in ." >&2
12493 { (exit 1); exit 1; }
12497 # Set up the sed scripts for CONFIG_FILES section.
12500 # No need to generate the scripts if there are no CONFIG_FILES.
12501 # This happens for instance when ./config.status config.h
12502 if test -n "$CONFIG_FILES"; then
12509 for ac_last_try
in false false false false false
:; do
12510 cat >conf$
$subs.
sed <<_ACEOF
12511 SHELL!$SHELL$ac_delim
12512 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12513 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12514 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12515 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12516 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12517 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12518 exec_prefix!$exec_prefix$ac_delim
12519 prefix!$prefix$ac_delim
12520 program_transform_name!$program_transform_name$ac_delim
12521 bindir!$bindir$ac_delim
12522 sbindir!$sbindir$ac_delim
12523 libexecdir!$libexecdir$ac_delim
12524 datarootdir!$datarootdir$ac_delim
12525 datadir!$datadir$ac_delim
12526 sysconfdir!$sysconfdir$ac_delim
12527 sharedstatedir!$sharedstatedir$ac_delim
12528 localstatedir!$localstatedir$ac_delim
12529 includedir!$includedir$ac_delim
12530 oldincludedir!$oldincludedir$ac_delim
12531 docdir!$docdir$ac_delim
12532 infodir!$infodir$ac_delim
12533 htmldir!$htmldir$ac_delim
12534 dvidir!$dvidir$ac_delim
12535 pdfdir!$pdfdir$ac_delim
12536 psdir!$psdir$ac_delim
12537 libdir!$libdir$ac_delim
12538 localedir!$localedir$ac_delim
12539 mandir!$mandir$ac_delim
12540 DEFS!$DEFS$ac_delim
12541 ECHO_C!$ECHO_C$ac_delim
12542 ECHO_N!$ECHO_N$ac_delim
12543 ECHO_T!$ECHO_T$ac_delim
12544 LIBS!$LIBS$ac_delim
12545 build_alias!$build_alias$ac_delim
12546 host_alias!$host_alias$ac_delim
12547 target_alias!$target_alias$ac_delim
12548 build!$build$ac_delim
12549 build_cpu!$build_cpu$ac_delim
12550 build_vendor!$build_vendor$ac_delim
12551 build_os!$build_os$ac_delim
12552 host!$host$ac_delim
12553 host_cpu!$host_cpu$ac_delim
12554 host_vendor!$host_vendor$ac_delim
12555 host_os!$host_os$ac_delim
12556 target!$target$ac_delim
12557 target_cpu!$target_cpu$ac_delim
12558 target_vendor!$target_vendor$ac_delim
12559 target_os!$target_os$ac_delim
12563 CFLAGS!$CFLAGS$ac_delim
12564 LDFLAGS!$LDFLAGS$ac_delim
12565 CPPFLAGS!$CPPFLAGS$ac_delim
12566 ac_ct_CC!$ac_ct_CC$ac_delim
12567 EXEEXT!$EXEEXT$ac_delim
12568 OBJEXT!$OBJEXT$ac_delim
12570 GREP!$GREP$ac_delim
12571 EGREP!$EGREP$ac_delim
12572 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12573 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12574 INSTALL_DATA!$INSTALL_DATA$ac_delim
12575 LN_S!$LN_S$ac_delim
12576 SET_MAKE!$SET_MAKE$ac_delim
12577 RANLIB!$RANLIB$ac_delim
12578 CFLOW_CMD!$CFLOW_CMD$ac_delim
12579 CSCOPE_CMD!$CSCOPE_CMD$ac_delim
12580 ALLOCA!$ALLOCA$ac_delim
12581 LIBOBJS!$LIBOBJS$ac_delim
12582 POW_LIB!$POW_LIB$ac_delim
12583 LCOV!$LCOV$ac_delim
12584 GENHTML!$GENHTML$ac_delim
12585 LVM2CMD_LIB!$LVM2CMD_LIB$ac_delim
12586 MSGFMT!$MSGFMT$ac_delim
12587 MODPROBE_CMD!$MODPROBE_CMD$ac_delim
12588 BUILD_DMEVENTD!$BUILD_DMEVENTD$ac_delim
12589 CLDFLAGS!$CLDFLAGS$ac_delim
12590 CLDNOWHOLEARCHIVE!$CLDNOWHOLEARCHIVE$ac_delim
12591 CLDWHOLEARCHIVE!$CLDWHOLEARCHIVE$ac_delim
12592 CLUSTER!$CLUSTER$ac_delim
12593 CLVMD!$CLVMD$ac_delim
12594 CMDLIB!$CMDLIB$ac_delim
12595 COPTIMISE_FLAG!$COPTIMISE_FLAG$ac_delim
12596 DEBUG!$DEBUG$ac_delim
12597 DEVMAPPER!$DEVMAPPER$ac_delim
12598 DMEVENTD!$DMEVENTD$ac_delim
12599 DM_COMPAT!$DM_COMPAT$ac_delim
12600 DM_DEVICE_GID!$DM_DEVICE_GID$ac_delim
12601 DM_DEVICE_MODE!$DM_DEVICE_MODE$ac_delim
12602 DM_DEVICE_UID!$DM_DEVICE_UID$ac_delim
12603 DM_IOCTLS!$DM_IOCTLS$ac_delim
12604 DM_LIB_VERSION!$DM_LIB_VERSION$ac_delim
12605 DM_LIB_PATCHLEVEL!$DM_LIB_PATCHLEVEL$ac_delim
12606 FSADM!$FSADM$ac_delim
12607 GROUP!$GROUP$ac_delim
12610 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12612 elif $ac_last_try; then
12613 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12614 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12615 { (exit 1); exit 1; }; }
12617 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12621 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12622 if test -n "$ac_eof"; then
12623 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12624 ac_eof
=`expr $ac_eof + 1`
12627 cat >>$CONFIG_STATUS <<_ACEOF
12628 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12632 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12633 s/^/s,@/; s/!/@,|#_!!_#|/
12636 s/'"$ac_delim"'$/,g/; t
12638 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12639 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12640 rm -f conf$
$subs.
sed
12641 cat >>$CONFIG_STATUS <<_ACEOF
12647 for ac_last_try
in false false false false false
:; do
12648 cat >conf$
$subs.
sed <<_ACEOF
12649 HAVE_LIBDL!$HAVE_LIBDL$ac_delim
12650 HAVE_REALTIME!$HAVE_REALTIME$ac_delim
12651 HAVE_SELINUX!$HAVE_SELINUX$ac_delim
12652 INTL!$INTL$ac_delim
12653 INTL_PACKAGE!$INTL_PACKAGE$ac_delim
12654 JOBS!$JOBS$ac_delim
12655 LDDEPS!$LDDEPS$ac_delim
12656 LIB_SUFFIX!$LIB_SUFFIX$ac_delim
12657 LOCALEDIR!$LOCALEDIR$ac_delim
12658 LVM1!$LVM1$ac_delim
12659 LVM1_FALLBACK!$LVM1_FALLBACK$ac_delim
12660 CONFDIR!$CONFDIR$ac_delim
12661 LVM_VERSION!$LVM_VERSION$ac_delim
12662 MIRRORS!$MIRRORS$ac_delim
12663 OWNER!$OWNER$ac_delim
12664 PKGCONFIG!$PKGCONFIG$ac_delim
12665 POOL!$POOL$ac_delim
12666 SNAPSHOTS!$SNAPSHOTS$ac_delim
12667 STATICDIR!$STATICDIR$ac_delim
12668 STATIC_LINK!$STATIC_LINK$ac_delim
12669 LIB_PTHREAD!$LIB_PTHREAD$ac_delim
12670 interface!$interface$ac_delim
12671 kerneldir!$kerneldir$ac_delim
12672 missingkernel!$missingkernel$ac_delim
12673 kernelvsn!$kernelvsn$ac_delim
12674 tmpdir!$tmpdir$ac_delim
12675 usrlibdir!$usrlibdir$ac_delim
12676 usrsbindir!$usrsbindir$ac_delim
12677 LTLIBOBJS!$LTLIBOBJS$ac_delim
12680 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then
12682 elif $ac_last_try; then
12683 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12684 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12685 { (exit 1); exit 1; }; }
12687 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12691 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12692 if test -n "$ac_eof"; then
12693 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12694 ac_eof
=`expr $ac_eof + 1`
12697 cat >>$CONFIG_STATUS <<_ACEOF
12698 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12702 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12703 s/^/s,@/; s/!/@,|#_!!_#|/
12706 s/'"$ac_delim"'$/,g/; t
12708 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12709 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12710 rm -f conf$
$subs.
sed
12711 cat >>$CONFIG_STATUS <<_ACEOF
12718 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12719 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12720 # trailing colons and then remove the whole line if VPATH becomes empty
12721 # (actually we leave an empty line to preserve line numbers).
12722 if test "x$srcdir" = x.
; then
12723 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12724 s/:*\$(srcdir):*/:/
12725 s/:*\${srcdir}:*/:/
12727 s/^\([^=]*=[ ]*\):*/\1/
12733 cat >>$CONFIG_STATUS <<\_ACEOF
12734 fi # test -n "$CONFIG_FILES"
12737 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
12740 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12742 case $ac_mode$ac_tag in
12744 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12745 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12746 { (exit 1); exit 1; }; };;
12747 :[FH
]-) ac_tag
=-:-;;
12748 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12765 -) ac_f
="$tmp/stdin";;
12766 *) # Look for the file first in the build tree, then in the source tree
12767 # (if the path is not absolute). The absolute path cannot be DOS-style,
12768 # because $ac_f cannot contain `:'.
12772 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12774 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12775 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12776 { (exit 1); exit 1; }; };;
12778 ac_file_inputs
="$ac_file_inputs $ac_f"
12781 # Let's still pretend it is `configure' which instantiates (i.e., don't
12782 # use $as_me), people would be surprised to read:
12783 # /* config.h. Generated by config.status. */
12784 configure_input
="Generated from "`IFS=:
12785 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12786 if test x
"$ac_file" != x-
; then
12787 configure_input
="$ac_file. $configure_input"
12788 { echo "$as_me:$LINENO: creating $ac_file" >&5
12789 echo "$as_me: creating $ac_file" >&6;}
12793 *:-:* |
*:-) cat >"$tmp/stdin";;
12798 ac_dir
=`$as_dirname -- "$ac_file" ||
12799 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12800 X"$ac_file" : 'X\(//\)[^/]' \| \
12801 X"$ac_file" : 'X\(//\)$' \| \
12802 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12808 /^X\(\/\/\)[^/].*/{
12823 -*) as_dir
=.
/$as_dir;;
12825 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12829 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12830 *) as_qdir
=$as_dir;;
12832 as_dirs
="'$as_qdir' $as_dirs"
12833 as_dir
=`$as_dirname -- "$as_dir" ||
12834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12835 X"$as_dir" : 'X\(//\)[^/]' \| \
12836 X"$as_dir" : 'X\(//\)$' \| \
12837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12843 /^X\(\/\/\)[^/].*/{
12856 test -d "$as_dir" && break
12858 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12859 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12860 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12861 { (exit 1); exit 1; }; }; }
12865 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12867 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12868 # A ".." for each directory in $ac_dir_suffix.
12869 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12870 case $ac_top_builddir_sub in
12871 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12872 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12875 ac_abs_top_builddir
=$ac_pwd
12876 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12877 # for backward compatibility:
12878 ac_top_builddir
=$ac_top_build_prefix
12881 .
) # We are building in place.
12883 ac_top_srcdir
=$ac_top_builddir_sub
12884 ac_abs_top_srcdir
=$ac_pwd ;;
12885 [\\/]* | ?
:[\\/]* ) # Absolute name.
12886 ac_srcdir
=$srcdir$ac_dir_suffix;
12887 ac_top_srcdir
=$srcdir
12888 ac_abs_top_srcdir
=$srcdir ;;
12889 *) # Relative name.
12890 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12891 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12892 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12894 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12904 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12905 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12907 ac_MKDIR_P
=$MKDIR_P
12909 [\\/$
]* | ?
:[\\/]* ) ;;
12910 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12914 cat >>$CONFIG_STATUS <<\_ACEOF
12915 # If the template does not know about datarootdir, expand it.
12916 # FIXME: This hack should be removed a few years after 2.60.
12917 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12919 case `sed -n '/datarootdir/ {
12928 ' $ac_file_inputs` in
12929 *datarootdir
*) ac_datarootdir_seen
=yes;;
12930 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12931 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12932 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12934 cat >>$CONFIG_STATUS <<_ACEOF
12935 ac_datarootdir_hack='
12936 s&@datadir@&$datadir&g
12937 s&@docdir@&$docdir&g
12938 s&@infodir@&$infodir&g
12939 s&@localedir@&$localedir&g
12940 s&@mandir@&$mandir&g
12941 s&\\\${datarootdir}&$datarootdir&g' ;;
12945 # Neutralize VPATH when `$srcdir' = `.'.
12946 # Shell code in configure.ac might set extrasub.
12947 # FIXME: do we really want to maintain this feature?
12948 cat >>$CONFIG_STATUS <<_ACEOF
12952 cat >>$CONFIG_STATUS <<\_ACEOF
12954 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12955 s
&@configure_input@
&$configure_input&;t t
12956 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12957 s
&@srcdir@
&$ac_srcdir&;t t
12958 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12959 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12960 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12961 s
&@builddir@
&$ac_builddir&;t t
12962 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12963 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12964 s
&@INSTALL@
&$ac_INSTALL&;t t
12965 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12966 $ac_datarootdir_hack
12967 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
12969 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12970 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12971 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12972 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12973 which seems to be undefined. Please make sure it is defined." >&5
12974 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12975 which seems to be undefined. Please make sure it is defined." >&2;}
12979 -) cat "$tmp/out"; rm -f "$tmp/out";;
12980 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12989 # Transform confdefs.h into a sed script `conftest.defines', that
12990 # substitutes the proper values into config.h.in to produce config.h.
12991 rm -f conftest.defines conftest.
tail
12992 # First, append a space to every undef/define line, to ease matching.
12993 echo 's/$/ /' >conftest.defines
12994 # Then, protect against being on the right side of a sed subst, or in
12995 # an unquoted here document, in config.status. If some macros were
12996 # called several times there might be several #defines for the same
12997 # symbol, which is useless. But do not sort them, since the last
12998 # AC_DEFINE must be honored.
12999 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13000 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13001 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13002 # PARAMS is the parameter list in the macro definition--in most cases, it's
13003 # just an empty string.
13004 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13005 ac_dB
='\\)[ (].*,\\1define\\2'
13013 s/^[ ]*#[ ]*define[ ][ ]*//
13018 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13019 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13020 ' >>conftest.defines
13022 # Remove the space that was appended to ease matching.
13023 # Then replace #undef with comments. This is necessary, for
13024 # example, in the case of _POSIX_SOURCE, which is predefined and required
13025 # on some systems where configure will not decide to define it.
13026 # (The regexp can be short, since the line contains either #define or #undef.)
13028 s,^[ #]*u.*,/* & */,' >>conftest.defines
13030 # Break up conftest.defines:
13031 ac_max_sed_lines
=50
13033 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13034 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13035 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13037 ac_in
='$ac_file_inputs'
13038 ac_out
='"$tmp/out1"'
13039 ac_nxt
='"$tmp/out2"'
13043 # Write a here document:
13044 cat >>$CONFIG_STATUS <<_ACEOF
13045 # First, check the format of the line:
13046 cat >"\$tmp/defines.sed" <<\\CEOF
13047 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13048 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13052 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13054 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13055 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13056 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13057 grep . conftest.
tail >/dev
/null ||
break
13058 rm -f conftest.defines
13059 mv conftest.
tail conftest.defines
13061 rm -f conftest.defines conftest.
tail
13063 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13064 cat >>$CONFIG_STATUS <<\_ACEOF
13065 if test x
"$ac_file" != x-
; then
13066 echo "/* $configure_input */" >"$tmp/config.h"
13067 cat "$ac_result" >>"$tmp/config.h"
13068 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13069 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13070 echo "$as_me: $ac_file is unchanged" >&6;}
13073 mv "$tmp/config.h" $ac_file
13076 echo "/* $configure_input */"
13088 { (exit 0); exit 0; }
13090 chmod +x
$CONFIG_STATUS
13091 ac_clean_files
=$ac_clean_files_save
13094 # configure is writing to config.log, and then calls config.status.
13095 # config.status does its own redirection, appending to config.log.
13096 # Unfortunately, on DOS this fails, as config.log is still kept open
13097 # by configure, so config.status won't be able to write to it; its
13098 # output is simply discarded. So we exec the FD to /dev/null,
13099 # effectively closing config.log, so it can be properly (re)opened and
13100 # appended to by config.status. When coming back to configure, we
13101 # need to make the FD available again.
13102 if test "$no_create" != yes; then
13104 ac_config_status_args
=
13105 test "$silent" = yes &&
13106 ac_config_status_args
="$ac_config_status_args --quiet"
13108 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13110 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13111 # would make configure fail if this is the last instruction.
13112 $ac_cs_success ||
{ (exit 1); exit 1; }
13116 if test x
$ODIRECT != xyes
; then
13117 { echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
13118 echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}