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
743 ac_precious_vars
='build_alias
754 # Initialize some variables set by options.
756 ac_init_version
=false
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name
=s
,x
,x
,
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir
='${exec_prefix}/bin'
781 sbindir
='${exec_prefix}/sbin'
782 libexecdir
='${exec_prefix}/libexec'
783 datarootdir
='${prefix}/share'
784 datadir
='${datarootdir}'
785 sysconfdir
='${prefix}/etc'
786 sharedstatedir
='${prefix}/com'
787 localstatedir
='${prefix}/var'
788 includedir
='${prefix}/include'
789 oldincludedir
='/usr/include'
790 docdir
='${datarootdir}/doc/${PACKAGE}'
791 infodir
='${datarootdir}/info'
796 libdir
='${exec_prefix}/lib'
797 localedir
='${datarootdir}/locale'
798 mandir
='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\
$ac_option
812 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
824 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
827 -build |
--build |
--buil |
--bui |
--bu)
828 ac_prev
=build_alias
;;
829 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
830 build_alias
=$ac_optarg ;;
832 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
833 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
834 ac_prev
=cache_file
;;
835 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
836 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
837 cache_file
=$ac_optarg ;;
840 cache_file
=config.cache
;;
842 -datadir |
--datadir |
--datadi |
--datad)
844 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
845 datadir
=$ac_optarg ;;
847 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
848 |
--dataroo |
--dataro |
--datar)
849 ac_prev
=datarootdir
;;
850 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
851 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
852 datarootdir
=$ac_optarg ;;
854 -disable-* |
--disable-*)
855 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
858 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
859 { (exit 1); exit 1; }; }
860 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
861 eval enable_
$ac_feature=no
;;
863 -docdir |
--docdir |
--docdi |
--doc |
--do)
865 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
868 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
870 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
873 -enable-* |
--enable-*)
874 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
877 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
878 { (exit 1); exit 1; }; }
879 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
880 eval enable_
$ac_feature=\
$ac_optarg ;;
882 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
883 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
884 |
--exec |
--exe |
--ex)
885 ac_prev
=exec_prefix
;;
886 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
887 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
888 |
--exec=* |
--exe=* |
--ex=*)
889 exec_prefix
=$ac_optarg ;;
891 -gas |
--gas |
--ga |
--g)
892 # Obsolete; use --with-gas.
895 -help |
--help |
--hel |
--he |
-h)
897 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
898 ac_init_help
=recursive
;;
899 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
900 ac_init_help
=short
;;
902 -host |
--host |
--hos |
--ho)
903 ac_prev
=host_alias
;;
904 -host=* |
--host=* |
--hos=* |
--ho=*)
905 host_alias
=$ac_optarg ;;
907 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
909 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
911 htmldir
=$ac_optarg ;;
913 -includedir |
--includedir |
--includedi |
--included |
--include \
914 |
--includ |
--inclu |
--incl |
--inc)
915 ac_prev
=includedir
;;
916 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
917 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
918 includedir
=$ac_optarg ;;
920 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
922 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
923 infodir
=$ac_optarg ;;
925 -libdir |
--libdir |
--libdi |
--libd)
927 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
930 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
931 |
--libexe |
--libex |
--libe)
932 ac_prev
=libexecdir
;;
933 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
934 |
--libexe=* |
--libex=* |
--libe=*)
935 libexecdir
=$ac_optarg ;;
937 -localedir |
--localedir |
--localedi |
--localed |
--locale)
939 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
940 localedir
=$ac_optarg ;;
942 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
943 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
944 ac_prev
=localstatedir
;;
945 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
946 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
947 localstatedir
=$ac_optarg ;;
949 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
951 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
955 # Obsolete; use --without-fp.
958 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
959 |
--no-cr |
--no-c |
-n)
962 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
963 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
966 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
967 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
968 |
--oldin |
--oldi |
--old |
--ol |
--o)
969 ac_prev
=oldincludedir
;;
970 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
971 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
972 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
973 oldincludedir
=$ac_optarg ;;
975 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
977 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
980 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
981 |
--program-pre |
--program-pr |
--program-p)
982 ac_prev
=program_prefix
;;
983 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
984 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
985 program_prefix
=$ac_optarg ;;
987 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
988 |
--program-suf |
--program-su |
--program-s)
989 ac_prev
=program_suffix
;;
990 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
991 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
992 program_suffix
=$ac_optarg ;;
994 -program-transform-name |
--program-transform-name \
995 |
--program-transform-nam |
--program-transform-na \
996 |
--program-transform-n |
--program-transform- \
997 |
--program-transform |
--program-transfor \
998 |
--program-transfo |
--program-transf \
999 |
--program-trans |
--program-tran \
1000 |
--progr-tra |
--program-tr |
--program-t)
1001 ac_prev
=program_transform_name
;;
1002 -program-transform-name=* |
--program-transform-name=* \
1003 |
--program-transform-nam=* |
--program-transform-na=* \
1004 |
--program-transform-n=* |
--program-transform-=* \
1005 |
--program-transform=* |
--program-transfor=* \
1006 |
--program-transfo=* |
--program-transf=* \
1007 |
--program-trans=* |
--program-tran=* \
1008 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1009 program_transform_name
=$ac_optarg ;;
1011 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1013 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1014 pdfdir
=$ac_optarg ;;
1016 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1018 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1021 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1022 |
-silent |
--silent |
--silen |
--sile |
--sil)
1025 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1027 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1029 sbindir
=$ac_optarg ;;
1031 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1032 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1033 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1035 ac_prev
=sharedstatedir
;;
1036 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1037 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1038 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1040 sharedstatedir
=$ac_optarg ;;
1042 -site |
--site |
--sit)
1044 -site=* |
--site=* |
--sit=*)
1047 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1049 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1050 srcdir
=$ac_optarg ;;
1052 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1053 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1054 ac_prev
=sysconfdir
;;
1055 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1056 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1057 sysconfdir
=$ac_optarg ;;
1059 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1060 ac_prev
=target_alias
;;
1061 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1062 target_alias
=$ac_optarg ;;
1064 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1067 -version |
--version |
--versio |
--versi |
--vers |
-V)
1068 ac_init_version
=: ;;
1071 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1074 { echo "$as_me: error: invalid package name: $ac_package" >&2
1075 { (exit 1); exit 1; }; }
1076 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1077 eval with_
$ac_package=\
$ac_optarg ;;
1079 -without-* |
--without-*)
1080 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 { echo "$as_me: error: invalid package name: $ac_package" >&2
1084 { (exit 1); exit 1; }; }
1085 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1086 eval with_
$ac_package=no
;;
1089 # Obsolete; use --with-x.
1092 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1093 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1094 ac_prev
=x_includes
;;
1095 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1096 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1097 x_includes
=$ac_optarg ;;
1099 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1100 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1101 ac_prev
=x_libraries
;;
1102 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1103 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1104 x_libraries
=$ac_optarg ;;
1106 -*) { echo "$as_me: error: unrecognized option: $ac_option
1107 Try \`$0 --help' for more information." >&2
1108 { (exit 1); exit 1; }; }
1112 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1115 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1116 { (exit 1); exit 1; }; }
1117 eval $ac_envvar=\
$ac_optarg
1118 export $ac_envvar ;;
1121 # FIXME: should be removed in autoconf 3.0.
1122 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1124 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131 if test -n "$ac_prev"; then
1132 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1133 { echo "$as_me: error: missing argument to $ac_option" >&2
1134 { (exit 1); exit 1; }; }
1137 # Be sure to have absolute directory names.
1138 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1139 datadir sysconfdir sharedstatedir localstatedir includedir \
1140 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1141 libdir localedir mandir
1143 eval ac_val
=\$
$ac_var
1145 [\\/$
]* | ?
:[\\/]* ) continue;;
1146 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1148 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1149 { (exit 1); exit 1; }; }
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1157 target
=$target_alias
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x
; then
1161 if test "x$build_alias" = x
; then
1162 cross_compiling
=maybe
1163 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1164 If a cross compiler is detected then cross compile mode will be used." >&2
1165 elif test "x$build_alias" != "x$host_alias"; then
1171 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1173 test "$silent" = yes && exec 6>/dev
/null
1176 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di
=`ls -di .` &&
1178 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1179 { echo "$as_me: error: Working directory cannot be determined" >&2
1180 { (exit 1); exit 1; }; }
1181 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1182 { echo "$as_me: error: pwd does not report name of working directory" >&2
1183 { (exit 1); exit 1; }; }
1186 # Find the source files, if location was not specified.
1187 if test -z "$srcdir"; then
1188 ac_srcdir_defaulted
=yes
1189 # Try the directory containing this script, then the parent directory.
1190 ac_confdir
=`$as_dirname -- "$0" ||
1191 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1192 X"$0" : 'X\(//\)[^/]' \| \
1193 X"$0" : 'X\(//\)$' \| \
1194 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1218 ac_srcdir_defaulted
=no
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1221 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1222 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1223 { (exit 1); exit 1; }; }
1225 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1227 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1228 { (exit 1); exit 1; }; }
1230 # When building in place, set srcdir=.
1231 if test "$ac_abs_confdir" = "$ac_pwd"; then
1234 # Remove unnecessary trailing slashes from srcdir.
1235 # Double slashes in file names in object file debugging info
1236 # mess up M-x gdb in Emacs.
1238 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1240 for ac_var
in $ac_precious_vars; do
1241 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1242 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1243 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1244 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1248 # Report the --help message.
1250 if test "$ac_init_help" = "long"; then
1251 # Omit some internal or obsolete options to make the list less imposing.
1252 # This message is too long to be a string in the A/UX 3.1 sh.
1254 \`configure' configures this package to adapt to many kinds of systems.
1256 Usage: $0 [OPTION]... [VAR=VALUE]...
1258 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1259 VAR=VALUE. See below for descriptions of some of the useful variables.
1261 Defaults for the options are specified in brackets.
1264 -h, --help display this help and exit
1265 --help=short display options specific to this package
1266 --help=recursive display the short help of all the included packages
1267 -V, --version display version information and exit
1268 -q, --quiet, --silent do not print \`checking...' messages
1269 --cache-file=FILE cache test results in FILE [disabled]
1270 -C, --config-cache alias for \`--cache-file=config.cache'
1271 -n, --no-create do not create output files
1272 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1274 Installation directories:
1275 --prefix=PREFIX install architecture-independent files in PREFIX
1276 [$ac_default_prefix]
1277 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1280 By default, \`make install' will install all the files in
1281 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1282 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1283 for instance \`--prefix=\$HOME'.
1285 For better control, use the options below.
1287 Fine tuning of the installation directories:
1288 --bindir=DIR user executables [EPREFIX/bin]
1289 --sbindir=DIR system admin executables [EPREFIX/sbin]
1290 --libexecdir=DIR program executables [EPREFIX/libexec]
1291 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1292 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1293 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1294 --libdir=DIR object code libraries [EPREFIX/lib]
1295 --includedir=DIR C header files [PREFIX/include]
1296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1299 --infodir=DIR info documentation [DATAROOTDIR/info]
1300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1301 --mandir=DIR man documentation [DATAROOTDIR/man]
1302 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1303 --htmldir=DIR html documentation [DOCDIR]
1304 --dvidir=DIR dvi documentation [DOCDIR]
1305 --pdfdir=DIR pdf documentation [DOCDIR]
1306 --psdir=DIR ps documentation [DOCDIR]
1312 --build=BUILD configure
for building on BUILD
[guessed
]
1313 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1314 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1318 if test -n "$ac_init_help"; then
1323 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1324 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1325 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1326 device-mapper is missing from the kernel
1327 --disable-readline Disable readline support
1328 --disable-realtime Disable realtime
clock support
1329 --enable-debug Enable debugging
1330 --enable-profiling Gather gcov profiling data
1331 --disable-devmapper Disable LVM2 device-mapper interaction
1332 --enable-compat Enable support
for old device-mapper versions
1333 --disable-driver Disable calls to device-mapper
in the kernel
1334 --disable-o_direct Disable O_DIRECT
1335 --enable-cmdlib Build shared
command library
1336 --enable-pkgconfig Install pkgconfig support
1337 --enable-fsadm Enable fsadm
1338 --enable-dmeventd Enable the device-mapper event daemon
1339 --enable-static_link Use this to link the tools to their libraries
1340 statically. Default is dynamic linking
1341 --disable-selinux Disable selinux support
1342 --enable-nls Enable Native Language Support
1345 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1346 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1347 --with-user=USER Set the owner of installed files
[USER
=root
]
1348 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1349 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1350 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1352 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1354 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1356 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1358 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1360 --with-clvmd=TYPE Build cluster LVM Daemon
: cman
/gulm
/none
/all
1362 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1363 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1364 --with-confdir=DIR Configuration files
in DIR
/etc
1365 --with-staticdir=DIR Static binary
in DIR EXEC_PREFIX
/sbin
1366 --with-usrlibdir=DIR
1367 --with-usrsbindir=DIR
1368 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1369 --with-dmeventd-path=PATH dmeventd path
[${exec_prefix}/sbin
/dmeventd
]
1370 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1372 Some influential environment variables
:
1373 CC C compiler
command
1374 CFLAGS C compiler flags
1375 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1376 nonstandard directory
<lib dir
>
1377 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1378 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1379 you have headers
in a nonstandard directory
<include dir
>
1382 Use these variables to override the choices made by
`configure' or to help
1383 it to find libraries and programs with nonstandard names/locations.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" || continue
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1412 .) # We are building in place.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1446 generated by GNU Autoconf 2.61
1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1450 This configure script is free software; the Free Software Foundation
1451 gives unlimited permission to copy, distribute and modify it.
1455 cat >config.log <<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by $as_me, which was
1460 generated by GNU Autoconf 2.61. Invocation command line was
1472 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1473 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1474 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1475 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1476 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1478 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1479 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1481 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1482 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1483 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1484 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1485 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1486 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1487 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next=false
1526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1531 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true; then
1538 ac_must_keep_next=false # Got value, back to normal.
1541 *=* | --config-cache | -C | -disable-* | --disable-* \
1542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1544 | -with-* | --with-* | -without-* | --without-* | --x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next=true ;;
1552 ac_configure_args="$ac_configure_args '$ac_arg'"
1557 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1558 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x "$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE; then
1699 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1701 set x "$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1723 *) . "./$cache_file";;
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted=false
1735 for ac_var in $ac_precious_vars; do
1736 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1737 eval ac_new_set=\$ac_env_${ac_var}_set
1738 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1739 eval ac_new_val=\$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1743 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1747 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1754 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1755 echo "$as_me: former value
: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1757 echo "$as_me: current value
: $ac_new_val" >&2;}
1758 ac_cache_corrupted=:
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1765 *) ac_arg=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1775 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1776 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1798 ac_cpp='$CPP $CPPFLAGS'
1799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1805 ac_config_headers="$ac_config_headers lib/misc/configure.h"
1808 ################################################################################
1810 for ac_dir in autoconf "$srcdir"/autoconf; do
1811 if test -f "$ac_dir/install-sh"; then
1813 ac_install_sh="$ac_aux_dir/install-sh -c"
1815 elif test -f "$ac_dir/install.sh"; then
1817 ac_install_sh="$ac_aux_dir/install.sh -c"
1819 elif test -f "$ac_dir/shtool"; then
1821 ac_install_sh="$ac_aux_dir/shtool install -c"
1825 if test -z "$ac_aux_dir"; then
1826 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5
1827 echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # These three variables are undocumented and unsupported,
1832 # and are intended to be withdrawn in a future Autoconf release.
1833 # They can cause serious problems if a builder's source tree is in a directory
1834 # whose full name contains unusual characters.
1835 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1836 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1837 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1841 ################################################################################
1842 # Make sure we can run config.sub.
1843 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1844 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1845 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1846 { (exit 1); exit 1; }; }
1848 { echo "$as_me:$LINENO: checking build system type" >&5
1849 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1850 if test "${ac_cv_build+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 ac_build_alias=$build_alias
1854 test "x$ac_build_alias" = x &&
1855 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1856 test "x$ac_build_alias" = x &&
1857 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1858 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1859 { (exit 1); exit 1; }; }
1860 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1861 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1862 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1863 { (exit 1); exit 1; }; }
1866 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1867 echo "${ECHO_T}$ac_cv_build" >&6; }
1868 case $ac_cv_build in
1870 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1871 echo "$as_me: error: invalid value of canonical build" >&2;}
1872 { (exit 1); exit 1; }; };;
1875 ac_save_IFS=$IFS; IFS='-'
1881 # Remember, the first character of IFS is used to create $*,
1882 # except with old shells:
1885 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1888 { echo "$as_me:$LINENO: checking host system type" >&5
1889 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_host+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 if test "x$host_alias" = x; then
1894 ac_cv_host=$ac_cv_build
1896 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1903 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1904 echo "${ECHO_T}$ac_cv_host" >&6; }
1907 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1908 echo "$as_me: error: invalid value of canonical host" >&2;}
1909 { (exit 1); exit 1; }; };;
1912 ac_save_IFS=$IFS; IFS='-'
1918 # Remember, the first character of IFS is used to create $*,
1919 # except with old shells:
1922 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1925 { echo "$as_me:$LINENO: checking target system type" >&5
1926 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1927 if test "${ac_cv_target+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test "x$target_alias" = x; then
1931 ac_cv_target=$ac_cv_host
1933 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1934 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1935 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1936 { (exit 1); exit 1; }; }
1940 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1941 echo "${ECHO_T}$ac_cv_target" >&6; }
1942 case $ac_cv_target in
1944 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1945 echo "$as_me: error: invalid value of canonical target" >&2;}
1946 { (exit 1); exit 1; }; };;
1948 target=$ac_cv_target
1949 ac_save_IFS=$IFS; IFS='-'
1955 # Remember, the first character of IFS is used to create $*,
1956 # except with old shells:
1959 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1962 # The aliases save the names the user supplied, while $host etc.
1963 # will get canonicalized.
1964 test -n "$target_alias" &&
1965 test "$program_prefix$program_suffix$program_transform_name" = \
1967 program_prefix=${target_alias}-
1971 COPTIMISE_FLAG="-O2"
1972 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
1973 CLDWHOLEARCHIVE="-Wl,-whole-archive"
1974 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
1975 LDDEPS="$LDDEPS .export.sym"
1976 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
1987 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
1988 COPTIMISE_FLAG="-O2"
1989 CLDFLAGS="$CLDFLAGS"
1990 CLDWHOLEARCHIVE="-all_load"
2003 ################################################################################
2004 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2005 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2006 if test "${ac_cv_path_SED+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2010 for ac_i in 1 2 3 4 5 6 7; do
2011 ac_script="$ac_script$as_nl$ac_script"
2013 echo "$ac_script" | sed 99q >conftest.sed
2014 $as_unset ac_script || ac_script=
2015 # Extract the first word of "sed gsed" to use in msg output
2016 if test -z "$SED"; then
2017 set dummy sed gsed; ac_prog_name=$2
2018 if test "${ac_cv_path_SED+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 ac_path_SED_found=false
2022 # Loop through the user's path and test for each of PROGNAME-LIST
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 for ac_prog in sed gsed; do
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2030 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2031 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2032 # Check for GNU ac_path_SED and select it if it is found.
2033 # Check for GNU $ac_path_SED
2034 case `"$ac_path_SED" --version 2>&1` in
2036 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2039 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2042 cat "conftest.in" "conftest.in" >"conftest.tmp"
2043 mv "conftest.tmp" "conftest.in"
2044 cp "conftest.in" "conftest.nl"
2045 echo '' >> "conftest.nl"
2046 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2047 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2048 ac_count=`expr $ac_count + 1`
2049 if test $ac_count -gt ${ac_path_SED_max-0}; then
2050 # Best one so far, save it but keep looking for a better one
2051 ac_cv_path_SED="$ac_path_SED"
2052 ac_path_SED_max=$ac_count
2054 # 10*(2^10) chars as input seems more than enough
2055 test $ac_count -gt 10 && break
2057 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2061 $ac_path_SED_found && break 3
2071 SED="$ac_cv_path_SED"
2072 if test -z "$SED"; then
2073 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2074 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2075 { (exit 1); exit 1; }; }
2083 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2084 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2085 SED="$ac_cv_path_SED"
2088 for ac_prog in gawk mawk nawk awk
2090 # Extract the first word of "$ac_prog", so it can be a program name with args.
2091 set dummy $ac_prog; ac_word=$2
2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2094 if test "${ac_cv_prog_AWK+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test -n "$AWK"; then
2098 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir=.
2105 for ac_exec_ext in '' $ac_executable_extensions; do
2106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2107 ac_cv_prog_AWK="$ac_prog"
2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test -n "$AWK"; then
2119 { echo "$as_me:$LINENO: result: $AWK" >&5
2120 echo "${ECHO_T}$AWK" >&6; }
2122 { echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6; }
2127 test -n "$AWK" && break
2131 ac_cpp='$CPP $CPPFLAGS'
2132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2135 if test -n "$ac_tool_prefix"; then
2136 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2137 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2140 if test "${ac_cv_prog_CC+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 if test -n "$CC"; then
2144 ac_cv_prog_CC="$CC" # Let the user override the test.
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir=.
2151 for ac_exec_ext in '' $ac_executable_extensions; do
2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2153 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 if test -n "$CC"; then
2165 { echo "$as_me:$LINENO: result: $CC" >&5
2166 echo "${ECHO_T}$CC" >&6; }
2168 { echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6; }
2174 if test -z "$ac_cv_prog_CC"; then
2176 # Extract the first word of "gcc", so it can be a program name with args.
2177 set dummy gcc; ac_word=$2
2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$ac_ct_CC"; then
2184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_ac_ct_CC="gcc"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204 if test -n "$ac_ct_CC"; then
2205 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2206 echo "${ECHO_T}$ac_ct_CC" >&6; }
2208 { echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6; }
2212 if test "x$ac_ct_CC" = x; then
2215 case $cross_compiling:$ac_tool_warned in
2217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2218 whose name does not start with the host triplet. If you think this
2219 configuration is useful to you, please write to autoconf@gnu.org." >&5
2220 echo "$as_me: 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." >&2;}
2223 ac_tool_warned=yes ;;
2231 if test -z "$CC"; then
2232 if test -n "$ac_tool_prefix"; then
2233 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2234 set dummy ${ac_tool_prefix}cc; ac_word=$2
2235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237 if test "${ac_cv_prog_CC+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 if test -n "$CC"; then
2241 ac_cv_prog_CC="$CC" # Let the user override the test.
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_prog_CC="${ac_tool_prefix}cc"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 if test -n "$CC"; then
2262 { echo "$as_me:$LINENO: result: $CC" >&5
2263 echo "${ECHO_T}$CC" >&6; }
2265 { echo "$as_me:$LINENO: result: no" >&5
2266 echo "${ECHO_T}no" >&6; }
2272 if test -z "$CC"; then
2273 # Extract the first word of "cc", so it can be a program name with args.
2274 set dummy cc; ac_word=$2
2275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2277 if test "${ac_cv_prog_CC+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 if test -n "$CC"; then
2281 ac_cv_prog_CC="$CC" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2292 ac_prog_rejected=yes
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 if test $ac_prog_rejected = yes; then
2304 # We found a bogon in the path, so make sure we never use it.
2305 set dummy $ac_cv_prog_CC
2307 if test $# != 0; then
2308 # We chose a different compiler from the bogus one.
2309 # However, it has the same basename, so the bogon will be chosen
2310 # first if we set CC to just the basename; use the full file name.
2312 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$CC"; then
2329 if test -n "$ac_tool_prefix"; then
2330 for ac_prog in cl.exe
2332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$CC"; then
2340 ac_cv_prog_CC="$CC" # Let the user override the test.
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 if test -n "$CC"; then
2361 { echo "$as_me:$LINENO: result: $CC" >&5
2362 echo "${ECHO_T}$CC" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2369 test -n "$CC" && break
2372 if test -z "$CC"; then
2374 for ac_prog in cl.exe
2376 # Extract the first word of "$ac_prog", so it can be a program name with args.
2377 set dummy $ac_prog; ac_word=$2
2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$ac_ct_CC"; then
2384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_ac_ct_CC="$ac_prog"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2404 if test -n "$ac_ct_CC"; then
2405 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2406 echo "${ECHO_T}$ac_ct_CC" >&6; }
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
2413 test -n "$ac_ct_CC" && break
2416 if test "x$ac_ct_CC" = x; then
2419 case $cross_compiling:$ac_tool_warned in
2421 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2422 whose name does not start with the host triplet. If you think this
2423 configuration is useful to you, please write to autoconf@gnu.org." >&5
2424 echo "$as_me: 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." >&2;}
2427 ac_tool_warned=yes ;;
2436 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2437 See \`config.log
' for more details." >&5
2438 echo "$as_me: error: no acceptable C compiler found in \$PATH
2439 See \`config.log' for more details.
" >&2;}
2440 { (exit 1); exit 1; }; }
2442 # Provide some information about the compiler.
2443 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2444 ac_compiler=`set X $ac_compile; echo $2`
2445 { (ac_try="$ac_compiler --version >&5"
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2451 (eval "$ac_compiler --version >&5") 2>&5
2453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2454 (exit $ac_status); }
2455 { (ac_try="$ac_compiler -v >&5"
2457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458 *) ac_try_echo=$ac_try;;
2460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2461 (eval "$ac_compiler -v >&5") 2>&5
2463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2464 (exit $ac_status); }
2465 { (ac_try="$ac_compiler -V >&5"
2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2471 (eval "$ac_compiler -V >&5") 2>&5
2473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2474 (exit $ac_status); }
2476 cat >conftest.$ac_ext <<_ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2491 ac_clean_files_save=$ac_clean_files
2492 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2493 # Try to create an executable without -o first, disregard a.out.
2494 # It will help us diagnose broken compilers, and finding out an intuition
2496 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2497 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2498 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2500 # List of possible output files, starting from the most likely.
2501 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2502 # only as a last resort. b.out is created by i960 compilers.
2503 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2505 # The IRIX 6 linker writes into existing files which may not be
2506 # executable, retaining their permissions. Remove them first so a
2507 # subsequent execution test works.
2509 for ac_file in $ac_files
2512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2513 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2518 if { (ac_try="$ac_link_default"
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2523 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2524 (eval "$ac_link_default") 2>&5
2526 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2527 (exit $ac_status); }; then
2528 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2529 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2530 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2531 # so that the user can short-circuit this test for compilers unknown to
2533 for ac_file in $ac_files ''
2535 test -f "$ac_file" || continue
2537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2540 # We found the default executable, but exeext='' is most
2544 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2546 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2548 # We set ac_cv_exeext here because the later test for it is not
2549 # safe: cross compilers may not add the suffix if given an `-o'
2550 # argument, so we may need to know it at that point already.
2551 # Even if this section looks crufty: it has the advantage of
2558 test "$ac_cv_exeext" = no && ac_cv_exeext=
2564 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2565 echo "${ECHO_T}$ac_file" >&6; }
2566 if test -z "$ac_file"; then
2567 echo "$as_me: failed program was
:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2571 See \
`config.log' for more details." >&5
2572 echo "$as_me: error: C compiler cannot create executables
2573 See \`config.log
' for more details." >&2;}
2574 { (exit 77); exit 77; }; }
2577 ac_exeext=$ac_cv_exeext
2579 # Check that the compiler produces executables we can run. If not, either
2580 # the compiler is broken, or we cross compile.
2581 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2582 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2583 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2584 # If not cross compiling, check that we can run a simple program.
2585 if test "$cross_compiling" != yes; then
2586 if { ac_try='.
/$ac_file'
2587 { (case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_try") 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; }; then
2598 if test "$cross_compiling" = maybe; then
2601 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2602 If you meant to cross compile, use \`--host'.
2603 See \
`config.log' for more details." >&5
2604 echo "$as_me: error: cannot run C compiled programs.
2605 If you meant to cross compile, use \`--host'.
2606 See \`config.log' for more details.
" >&2;}
2607 { (exit 1); exit 1; }; }
2611 { echo "$as_me:$LINENO: result
: yes" >&5
2612 echo "${ECHO_T}yes" >&6; }
2614 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2615 ac_clean_files=$ac_clean_files_save
2616 # Check that the compiler produces executables we can run. If not, either
2617 # the compiler is broken, or we cross compile.
2618 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2619 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2620 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2621 echo "${ECHO_T}$cross_compiling" >&6; }
2623 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2624 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2625 if { (ac_try="$ac_link"
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2631 (eval "$ac_link") 2>&5
2633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2634 (exit $ac_status); }; then
2635 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2636 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2637 # work properly (i.e., refer to `conftest.exe'), while it won't with
2639 for ac_file in conftest.exe conftest conftest.*; do
2640 test -f "$ac_file" || continue
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2643 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2649 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2650 See \
`config.log' for more details." >&5
2651 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2652 See \`config.log
' for more details." >&2;}
2653 { (exit 1); exit 1; }; }
2656 rm -f conftest$ac_cv_exeext
2657 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2658 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2660 rm -f conftest.$ac_ext
2661 EXEEXT=$ac_cv_exeext
2663 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2664 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2665 if test "${ac_cv_objext+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 cat >conftest.$ac_ext <<_ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2683 rm -f conftest.o conftest.obj
2684 if { (ac_try="$ac_compile"
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_compile") 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; then
2694 for ac_file in conftest.o conftest.obj conftest.*; do
2695 test -f "$ac_file" || continue;
2697 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2698 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2703 echo "$as_me: failed program was:" >&5
2704 sed 's
/^
/|
/' conftest.$ac_ext >&5
2706 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2707 See \`config.log' for more details.
" >&5
2708 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2709 See \
`config.log' for more details." >&2;}
2710 { (exit 1); exit 1; }; }
2713 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2715 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2716 echo "${ECHO_T}$ac_cv_objext" >&6; }
2717 OBJEXT=$ac_cv_objext
2719 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2720 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2721 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.$ac_ext <<_ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2742 rm -f conftest.$ac_objext
2743 if { (ac_try="$ac_compile"
2745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2746 *) ac_try_echo
=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_compile") 2>conftest.er1
2751 grep -v '^ *+' conftest.er1
>conftest.err
2753 cat conftest.err
>&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } && {
2756 test -z "$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2758 } && test -s conftest.
$ac_objext; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2768 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2771 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2772 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2773 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2774 ac_test_CFLAGS
=${CFLAGS+set}
2775 ac_save_CFLAGS
=$CFLAGS
2776 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2777 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2778 if test "${ac_cv_prog_cc_g+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 ac_save_c_werror_flag
=$ac_c_werror_flag
2782 ac_c_werror_flag
=yes
2785 cat >conftest.
$ac_ext <<_ACEOF
2788 cat confdefs.h
>>conftest.
$ac_ext
2789 cat >>conftest.
$ac_ext <<_ACEOF
2790 /* end confdefs.h. */
2800 rm -f conftest.
$ac_objext
2801 if { (ac_try
="$ac_compile"
2803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 (eval "$ac_compile") 2>conftest.er1
2809 grep -v '^ *+' conftest.er1 >conftest.err
2811 cat conftest.err >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } && {
2814 test -z "$ac_c_werror_flag" ||
2815 test ! -s conftest.err
2816 } && test -s conftest.$ac_objext; then
2819 echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2823 cat >conftest.$ac_ext <<_ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2838 rm -f conftest.$ac_objext
2839 if { (ac_try="$ac_compile"
2841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2842 *) ac_try_echo
=$ac_try;;
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2845 (eval "$ac_compile") 2>conftest.er1
2847 grep -v '^ *+' conftest.er1
>conftest.err
2849 cat conftest.err
>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } && {
2852 test -z "$ac_c_werror_flag" ||
2853 test ! -s conftest.err
2854 } && test -s conftest.
$ac_objext; then
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.
$ac_ext >&5
2860 ac_c_werror_flag
=$ac_save_c_werror_flag
2862 cat >conftest.
$ac_ext <<_ACEOF
2865 cat confdefs.h
>>conftest.
$ac_ext
2866 cat >>conftest.
$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2877 rm -f conftest.
$ac_objext
2878 if { (ac_try
="$ac_compile"
2880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_compile") 2>conftest.er1
2886 grep -v '^ *+' conftest.er1 >conftest.err
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 ac_c_werror_flag=$ac_save_c_werror_flag
2911 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2912 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2913 if test "$ac_test_CFLAGS" = set; then
2914 CFLAGS=$ac_save_CFLAGS
2915 elif test $ac_cv_prog_cc_g = yes; then
2916 if test "$GCC" = yes; then
2922 if test "$GCC" = yes; then
2928 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2929 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2930 if test "${ac_cv_prog_cc_c89+set}" = set; then
2931 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 ac_cv_prog_cc_c89=no
2935 cat >conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2943 #include <sys/types.h>
2944 #include <sys/stat.h>
2945 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2946 struct buf { int x; };
2947 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2948 static char *e (p, i)
2954 static char *f (char * (*g) (char **, int), char **p, ...)
2959 s = g (p, va_arg (v,int));
2964 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2965 function prototypes and stuff, but not '\xHH' hex character constants.
2966 These don't provoke an error unfortunately, instead are silently treated
2967 as 'x'. The following induces an error, until -std is added to get
2968 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2969 array size at least. It's necessary to write '\x00'==0 to get something
2970 that's true only with -std. */
2971 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2973 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2974 inside strings and character constants. */
2976 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2978 int test (int i, double x);
2979 struct s1 {int (*f) (int a);};
2980 struct s2 {int (*f) (double a);};
2981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2987 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2992 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2993 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2995 CC="$ac_save_CC $ac_arg"
2996 rm -f conftest.$ac_objext
2997 if { (ac_try="$ac_compile"
2999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3000 *) ac_try_echo
=$ac_try;;
3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 (eval "$ac_compile") 2>conftest.er1
3005 grep -v '^ *+' conftest.er1
>conftest.err
3007 cat conftest.err
>&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } && {
3010 test -z "$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 } && test -s conftest.
$ac_objext; then
3013 ac_cv_prog_cc_c89
=$ac_arg
3015 echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.
$ac_ext >&5
3021 rm -f core conftest.err conftest.
$ac_objext
3022 test "x$ac_cv_prog_cc_c89" != "xno" && break
3024 rm -f conftest.
$ac_ext
3029 case "x$ac_cv_prog_cc_c89" in
3031 { echo "$as_me:$LINENO: result: none needed" >&5
3032 echo "${ECHO_T}none needed" >&6; } ;;
3034 { echo "$as_me:$LINENO: result: unsupported" >&5
3035 echo "${ECHO_T}unsupported" >&6; } ;;
3037 CC
="$CC $ac_cv_prog_cc_c89"
3038 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3039 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3044 ac_cpp
='$CPP $CPPFLAGS'
3045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3052 ac_cpp
='$CPP $CPPFLAGS'
3053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3056 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3057 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3058 # On Suns, sometimes $CPP names a directory.
3059 if test -n "$CPP" && test -d "$CPP"; then
3062 if test -z "$CPP"; then
3063 if test "${ac_cv_prog_CPP+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 # Double quotes because CPP needs to be expanded
3067 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3070 for ac_c_preproc_warn_flag
in '' yes
3072 # Use a header file that comes with gcc, so configuring glibc
3073 # with a fresh cross-compiler works.
3074 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3075 # <limits.h> exists even on freestanding compilers.
3076 # On the NeXT, cc -E runs the code through the compiler's parser,
3077 # not just through cpp. "Syntax error" is here to catch this case.
3078 cat >conftest.
$ac_ext <<_ACEOF
3081 cat confdefs.h
>>conftest.
$ac_ext
3082 cat >>conftest.
$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3085 # include <limits.h>
3087 # include <assert.h>
3091 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev/null && {
3104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3109 echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3112 # Broken: fails on valid input.
3116 rm -f conftest.err conftest.$ac_ext
3118 # OK, works on sane cases. Now check whether nonexistent headers
3119 # can be detected and how.
3120 cat >conftest.$ac_ext <<_ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3126 #include <ac_nonexistent.h>
3128 if { (ac_try="$ac_cpp conftest.$ac_ext"
3130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3131 *) ac_try_echo
=$ac_try;;
3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3136 grep -v '^ *+' conftest.er1
>conftest.err
3138 cat conftest.err
>&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } >/dev
/null
&& {
3141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3142 test ! -s conftest.err
3144 # Broken: success on invalid input.
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.
$ac_ext >&5
3150 # Passes both tests.
3155 rm -f conftest.err conftest.
$ac_ext
3158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3159 rm -f conftest.err conftest.
$ac_ext
3160 if $ac_preproc_ok; then
3172 { echo "$as_me:$LINENO: result: $CPP" >&5
3173 echo "${ECHO_T}$CPP" >&6; }
3175 for ac_c_preproc_warn_flag
in '' yes
3177 # Use a header file that comes with gcc, so configuring glibc
3178 # with a fresh cross-compiler works.
3179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3180 # <limits.h> exists even on freestanding compilers.
3181 # On the NeXT, cc -E runs the code through the compiler's parser,
3182 # not just through cpp. "Syntax error" is here to catch this case.
3183 cat >conftest.
$ac_ext <<_ACEOF
3186 cat confdefs.h
>>conftest.
$ac_ext
3187 cat >>conftest.
$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3190 # include <limits.h>
3192 # include <assert.h>
3196 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } >/dev/null && {
3209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3210 test ! -s conftest.err
3214 echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3217 # Broken: fails on valid input.
3221 rm -f conftest.err conftest.$ac_ext
3223 # OK, works on sane cases. Now check whether nonexistent headers
3224 # can be detected and how.
3225 cat >conftest.$ac_ext <<_ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3231 #include <ac_nonexistent.h>
3233 if { (ac_try="$ac_cpp conftest.$ac_ext"
3235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3236 *) ac_try_echo
=$ac_try;;
3238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3241 grep -v '^ *+' conftest.er1
>conftest.err
3243 cat conftest.err
>&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } >/dev
/null
&& {
3246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3247 test ! -s conftest.err
3249 # Broken: success on invalid input.
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.
$ac_ext >&5
3255 # Passes both tests.
3260 rm -f conftest.err conftest.
$ac_ext
3263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3264 rm -f conftest.err conftest.
$ac_ext
3265 if $ac_preproc_ok; then
3268 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3269 See \`config.log' for more details." >&5
3270 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3271 See \`config.log' for more details." >&2;}
3272 { (exit 1); exit 1; }; }
3276 ac_cpp
='$CPP $CPPFLAGS'
3277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3282 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3283 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3284 if test "${ac_cv_path_GREP+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 # Extract the first word of "grep ggrep" to use in msg output
3288 if test -z "$GREP"; then
3289 set dummy
grep ggrep
; ac_prog_name
=$2
3290 if test "${ac_cv_path_GREP+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3293 ac_path_GREP_found
=false
3294 # Loop through the user's path and test for each of PROGNAME-LIST
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3296 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_prog
in grep ggrep
; do
3301 for ac_exec_ext
in '' $ac_executable_extensions; do
3302 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3303 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3304 # Check for GNU ac_path_GREP and select it if it is found.
3305 # Check for GNU $ac_path_GREP
3306 case `"$ac_path_GREP" --version 2>&1` in
3308 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3311 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3314 cat "conftest.in" "conftest.in" >"conftest.tmp"
3315 mv "conftest.tmp" "conftest.in"
3316 cp "conftest.in" "conftest.nl"
3317 echo 'GREP' >> "conftest.nl"
3318 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3319 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3320 ac_count
=`expr $ac_count + 1`
3321 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3322 # Best one so far, save it but keep looking for a better one
3323 ac_cv_path_GREP
="$ac_path_GREP"
3324 ac_path_GREP_max
=$ac_count
3326 # 10*(2^10) chars as input seems more than enough
3327 test $ac_count -gt 10 && break
3329 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3333 $ac_path_GREP_found && break 3
3343 GREP
="$ac_cv_path_GREP"
3344 if test -z "$GREP"; then
3345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3347 { (exit 1); exit 1; }; }
3351 ac_cv_path_GREP
=$GREP
3356 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3357 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3358 GREP
="$ac_cv_path_GREP"
3361 { echo "$as_me:$LINENO: checking for egrep" >&5
3362 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3363 if test "${ac_cv_path_EGREP+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3367 then ac_cv_path_EGREP
="$GREP -E"
3369 # Extract the first word of "egrep" to use in msg output
3370 if test -z "$EGREP"; then
3371 set dummy
egrep; ac_prog_name
=$2
3372 if test "${ac_cv_path_EGREP+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 ac_path_EGREP_found
=false
3376 # Loop through the user's path and test for each of PROGNAME-LIST
3377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3378 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3381 test -z "$as_dir" && as_dir
=.
3382 for ac_prog
in egrep; do
3383 for ac_exec_ext
in '' $ac_executable_extensions; do
3384 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3385 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3386 # Check for GNU ac_path_EGREP and select it if it is found.
3387 # Check for GNU $ac_path_EGREP
3388 case `"$ac_path_EGREP" --version 2>&1` in
3390 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3393 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3396 cat "conftest.in" "conftest.in" >"conftest.tmp"
3397 mv "conftest.tmp" "conftest.in"
3398 cp "conftest.in" "conftest.nl"
3399 echo 'EGREP' >> "conftest.nl"
3400 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3401 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3402 ac_count
=`expr $ac_count + 1`
3403 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3404 # Best one so far, save it but keep looking for a better one
3405 ac_cv_path_EGREP
="$ac_path_EGREP"
3406 ac_path_EGREP_max
=$ac_count
3408 # 10*(2^10) chars as input seems more than enough
3409 test $ac_count -gt 10 && break
3411 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3415 $ac_path_EGREP_found && break 3
3425 EGREP
="$ac_cv_path_EGREP"
3426 if test -z "$EGREP"; then
3427 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3428 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3429 { (exit 1); exit 1; }; }
3433 ac_cv_path_EGREP
=$EGREP
3439 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3440 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3441 EGREP
="$ac_cv_path_EGREP"
3444 if test $ac_cv_c_compiler_gnu = yes; then
3445 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3446 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3447 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 ac_pattern
="Autoconf.*'x'"
3451 cat >conftest.
$ac_ext <<_ACEOF
3454 cat confdefs.h
>>conftest.
$ac_ext
3455 cat >>conftest.
$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3461 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3462 ac_cv_prog_gcc_traditional
=yes
3464 ac_cv_prog_gcc_traditional
=no
3469 if test $ac_cv_prog_gcc_traditional = no
; then
3470 cat >conftest.
$ac_ext <<_ACEOF
3473 cat confdefs.h
>>conftest.
$ac_ext
3474 cat >>conftest.
$ac_ext <<_ACEOF
3475 /* end confdefs.h. */
3479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3480 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3481 ac_cv_prog_gcc_traditional
=yes
3487 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3488 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3489 if test $ac_cv_prog_gcc_traditional = yes; then
3490 CC
="$CC -traditional"
3494 # Find a good install program. We prefer a C program (faster),
3495 # so one script is as good as another. But avoid the broken or
3496 # incompatible versions:
3497 # SysV /etc/install, /usr/sbin/install
3498 # SunOS /usr/etc/install
3499 # IRIX /sbin/install
3501 # AmigaOS /C/install, which installs bootblocks on floppy discs
3502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3505 # OS/2's system install, which has a completely different semantic
3506 # ./install, which can be erroneously created by make from ./install.sh.
3507 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3508 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3509 if test -z "$INSTALL"; then
3510 if test "${ac_cv_path_install+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir
=.
3518 # Account for people who put trailing slashes in PATH elements.
3520 .
/ | .
// |
/cC
/* | \
3521 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3522 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3525 # OSF1 and SCO ODT 3.0 have their own names for install.
3526 # Don't use installbsd from OSF since it installs stuff as root
3528 for ac_prog
in ginstall scoinst
install; do
3529 for ac_exec_ext
in '' $ac_executable_extensions; do
3530 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3531 if test $ac_prog = install &&
3532 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3533 # AIX install. It has an incompatible calling convention.
3535 elif test $ac_prog = install &&
3536 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3537 # program-specific install script used by HP pwplus--don't use.
3540 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3553 if test "${ac_cv_path_install+set}" = set; then
3554 INSTALL
=$ac_cv_path_install
3556 # As a last resort, use the slow shell script. Don't cache a
3557 # value for INSTALL within a source directory, because that will
3558 # break other packages using the cache if that directory is
3559 # removed, or if the value is a relative name.
3560 INSTALL
=$ac_install_sh
3563 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3564 echo "${ECHO_T}$INSTALL" >&6; }
3566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3567 # It thinks the first close brace ends the variable substitution.
3568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3574 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3575 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3577 if test "$LN_S" = "ln -s"; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3581 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3582 echo "${ECHO_T}no, using $LN_S" >&6; }
3585 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3586 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3587 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3588 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 cat >conftest.
make <<\_ACEOF
3594 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3597 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3599 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3601 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3605 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3606 { echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6; }
3610 { echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6; }
3612 SET_MAKE
="MAKE=${MAKE-make}"
3615 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3616 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
3617 if test -z "$MKDIR_P"; then
3618 if test "${ac_cv_path_mkdir+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3625 test -z "$as_dir" && as_dir
=.
3626 for ac_prog
in mkdir gmkdir
; do
3627 for ac_exec_ext
in '' $ac_executable_extensions; do
3628 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3629 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3630 'mkdir (GNU coreutils) '* | \
3631 'mkdir (coreutils) '* | \
3632 'mkdir (fileutils) '4.1*)
3633 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3643 if test "${ac_cv_path_mkdir+set}" = set; then
3644 MKDIR_P
="$ac_cv_path_mkdir -p"
3646 # As a last resort, use the slow shell script. Don't cache a
3647 # value for MKDIR_P within a source directory, because that will
3648 # break other packages using the cache if that directory is
3649 # removed, or if the value is a relative name.
3650 test -d .
/--version && rmdir .
/--version
3651 MKDIR_P
="$ac_install_sh -d"
3654 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3655 echo "${ECHO_T}$MKDIR_P" >&6; }
3657 if test -n "$ac_tool_prefix"; then
3658 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3659 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3662 if test "${ac_cv_prog_RANLIB+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 if test -n "$RANLIB"; then
3666 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir
=.
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 RANLIB
=$ac_cv_prog_RANLIB
3686 if test -n "$RANLIB"; then
3687 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3688 echo "${ECHO_T}$RANLIB" >&6; }
3690 { echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6; }
3696 if test -z "$ac_cv_prog_RANLIB"; then
3697 ac_ct_RANLIB
=$RANLIB
3698 # Extract the first word of "ranlib", so it can be a program name with args.
3699 set dummy ranlib
; ac_word
=$2
3700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3702 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 if test -n "$ac_ct_RANLIB"; then
3706 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3726 if test -n "$ac_ct_RANLIB"; then
3727 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3728 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3730 { echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6; }
3734 if test "x$ac_ct_RANLIB" = x
; then
3737 case $cross_compiling:$ac_tool_warned in
3739 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3740 whose name does not start with the host triplet. If you think this
3741 configuration is useful to you, please write to autoconf@gnu.org." >&5
3742 echo "$as_me: 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." >&2;}
3745 ac_tool_warned
=yes ;;
3747 RANLIB
=$ac_ct_RANLIB
3750 RANLIB
="$ac_cv_prog_RANLIB"
3753 # Extract the first word of "cflow", so it can be a program name with args.
3754 set dummy cflow
; ac_word
=$2
3755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3757 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3769 test -z "$as_dir" && as_dir
=.
3770 for ac_exec_ext
in '' $ac_executable_extensions; do
3771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3772 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
3784 if test -n "$CFLOW_CMD"; then
3785 { echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
3786 echo "${ECHO_T}$CFLOW_CMD" >&6; }
3788 { echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6; }
3793 # Extract the first word of "cscope", so it can be a program name with args.
3794 set dummy cscope
; ac_word
=$2
3795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3797 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
3813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
3824 if test -n "$CSCOPE_CMD"; then
3825 { echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
3826 echo "${ECHO_T}$CSCOPE_CMD" >&6; }
3828 { echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6; }
3834 ################################################################################
3841 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3842 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3843 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3844 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3845 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 cat >conftest.
$ac_ext <<_ACEOF
3851 cat confdefs.h
>>conftest.
$ac_ext
3852 cat >>conftest.
$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3854 #include <sys/types.h>
3866 rm -f conftest.
$ac_objext
3867 if { (ac_try
="$ac_compile"
3869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3873 (eval "$ac_compile") 2>conftest.er1
3875 grep -v '^ *+' conftest.er1 >conftest.err
3877 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && {
3880 test -z "$ac_c_werror_flag" ||
3881 test ! -s conftest.err
3882 } && test -s conftest.$ac_objext; then
3883 eval "$as_ac_Header=yes"
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.$ac_ext >&5
3888 eval "$as_ac_Header=no"
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893 ac_res=`eval echo '${'$as_ac_Header'}'`
3894 { echo "$as_me:$LINENO: result: $ac_res" >&5
3895 echo "${ECHO_T}$ac_res" >&6; }
3896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3897 cat >>confdefs.h <<_ACEOF
3898 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
3901 ac_header_dirent=$ac_hdr; break
3905 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3906 if test $ac_header_dirent = dirent.h; then
3907 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3908 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3909 if test "${ac_cv_search_opendir+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 ac_func_search_save_LIBS=$LIBS
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3920 /* Override any GCC internal prototype to avoid an error.
3921 Use char because int might match the return type of a GCC
3922 builtin and then its argument prototype would still apply. */
3935 for ac_lib in '' dir; do
3936 if test -z "$ac_lib"; then
3937 ac_res="none required"
3940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3942 rm -f conftest.$ac_objext conftest$ac_exeext
3943 if { (ac_try="$ac_link"
3945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3946 *) ac_try_echo
=$ac_try;;
3948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949 (eval "$ac_link") 2>conftest.er1
3951 grep -v '^ *+' conftest.er1
>conftest.err
3953 cat conftest.err
>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } && {
3956 test -z "$ac_c_werror_flag" ||
3957 test ! -s conftest.err
3958 } && test -s conftest
$ac_exeext &&
3959 $as_test_x conftest
$ac_exeext; then
3960 ac_cv_search_opendir
=$ac_res
3962 echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.
$ac_ext >&5
3968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3970 if test "${ac_cv_search_opendir+set}" = set; then
3974 if test "${ac_cv_search_opendir+set}" = set; then
3977 ac_cv_search_opendir
=no
3980 LIBS
=$ac_func_search_save_LIBS
3982 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3983 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3984 ac_res
=$ac_cv_search_opendir
3985 if test "$ac_res" != no
; then
3986 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3991 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3992 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3993 if test "${ac_cv_search_opendir+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 ac_func_search_save_LIBS
=$LIBS
3997 cat >conftest.
$ac_ext <<_ACEOF
4000 cat confdefs.h
>>conftest.
$ac_ext
4001 cat >>conftest.
$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4004 /* Override any GCC internal prototype to avoid an error.
4005 Use char because int might match the return type of a GCC
4006 builtin and then its argument prototype would still apply. */
4019 for ac_lib
in '' x
; do
4020 if test -z "$ac_lib"; then
4021 ac_res
="none required"
4024 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4026 rm -f conftest.
$ac_objext conftest
$ac_exeext
4027 if { (ac_try
="$ac_link"
4029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4033 (eval "$ac_link") 2>conftest.er1
4035 grep -v '^ *+' conftest.er1 >conftest.err
4037 cat conftest.err >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } && {
4040 test -z "$ac_c_werror_flag" ||
4041 test ! -s conftest.err
4042 } && test -s conftest$ac_exeext &&
4043 $as_test_x conftest$ac_exeext; then
4044 ac_cv_search_opendir=$ac_res
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4054 if test "${ac_cv_search_opendir+set}" = set; then
4058 if test "${ac_cv_search_opendir+set}" = set; then
4061 ac_cv_search_opendir=no
4064 LIBS=$ac_func_search_save_LIBS
4066 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4067 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
4068 ac_res=$ac_cv_search_opendir
4069 if test "$ac_res" != no; then
4070 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4076 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4077 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4078 if test "${ac_cv_header_stdc+set}" = set; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 cat >conftest.$ac_ext <<_ACEOF
4084 cat confdefs.h >>conftest.$ac_ext
4085 cat >>conftest.$ac_ext <<_ACEOF
4086 /* end confdefs.h. */
4100 rm -f conftest.$ac_objext
4101 if { (ac_try="$ac_compile"
4103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4104 *) ac_try_echo
=$ac_try;;
4106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4107 (eval "$ac_compile") 2>conftest.er1
4109 grep -v '^ *+' conftest.er1
>conftest.err
4111 cat conftest.err
>&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); } && {
4114 test -z "$ac_c_werror_flag" ||
4115 test ! -s conftest.err
4116 } && test -s conftest.
$ac_objext; then
4117 ac_cv_header_stdc
=yes
4119 echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.
$ac_ext >&5
4122 ac_cv_header_stdc
=no
4125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4127 if test $ac_cv_header_stdc = yes; then
4128 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4129 cat >conftest.
$ac_ext <<_ACEOF
4132 cat confdefs.h
>>conftest.
$ac_ext
4133 cat >>conftest.
$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4139 $EGREP "memchr" >/dev
/null
2>&1; then
4142 ac_cv_header_stdc
=no
4148 if test $ac_cv_header_stdc = yes; then
4149 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4150 cat >conftest.
$ac_ext <<_ACEOF
4153 cat confdefs.h
>>conftest.
$ac_ext
4154 cat >>conftest.
$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4160 $EGREP "free" >/dev
/null
2>&1; then
4163 ac_cv_header_stdc
=no
4169 if test $ac_cv_header_stdc = yes; then
4170 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4171 if test "$cross_compiling" = yes; then
4174 cat >conftest.
$ac_ext <<_ACEOF
4177 cat confdefs.h
>>conftest.
$ac_ext
4178 cat >>conftest.
$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4182 #if ((' ' & 0x0FF) == 0x020)
4183 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4184 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4186 # define ISLOWER(c) \
4187 (('a' <= (c) && (c) <= 'i') \
4188 || ('j' <= (c) && (c) <= 'r') \
4189 || ('s' <= (c) && (c) <= 'z'))
4190 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4193 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4198 for (i = 0; i < 256; i++)
4199 if (XOR (islower (i), ISLOWER (i))
4200 || toupper (i) != TOUPPER (i))
4205 rm -f conftest
$ac_exeext
4206 if { (ac_try
="$ac_link"
4208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4212 (eval "$ac_link") 2>&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4216 { (case "(($ac_try" in
4217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4218 *) ac_try_echo
=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_try") 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; }; then
4227 echo "$as_me: program exited with status $ac_status" >&5
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4232 ac_cv_header_stdc
=no
4234 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4240 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4241 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4242 if test $ac_cv_header_stdc = yes; then
4244 cat >>confdefs.h
<<\_ACEOF
4245 #define STDC_HEADERS 1
4250 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4251 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4252 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 cat >conftest.
$ac_ext <<_ACEOF
4258 cat confdefs.h
>>conftest.
$ac_ext
4259 cat >>conftest.
$ac_ext <<_ACEOF
4260 /* end confdefs.h. */
4261 #include <sys/types.h>
4262 #include <sys/wait.h>
4264 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4267 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4275 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4280 rm -f conftest.
$ac_objext
4281 if { (ac_try
="$ac_compile"
4283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4287 (eval "$ac_compile") 2>conftest.er1
4289 grep -v '^ *+' conftest.er1 >conftest.err
4291 cat conftest.err >&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); } && {
4294 test -z "$ac_c_werror_flag" ||
4295 test ! -s conftest.err
4296 } && test -s conftest.$ac_objext; then
4297 ac_cv_header_sys_wait_h=yes
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.$ac_ext >&5
4302 ac_cv_header_sys_wait_h=no
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4308 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4309 if test $ac_cv_header_sys_wait_h = yes; then
4311 cat >>confdefs.h <<\_ACEOF
4312 #define HAVE_SYS_WAIT_H 1
4317 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4318 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4319 if test "${ac_cv_header_time+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 cat >conftest.$ac_ext <<_ACEOF
4325 cat confdefs.h >>conftest.$ac_ext
4326 cat >>conftest.$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4328 #include <sys/types.h>
4329 #include <sys/time.h>
4335 if ((struct tm *) 0)
4341 rm -f conftest.$ac_objext
4342 if { (ac_try="$ac_compile"
4344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4345 *) ac_try_echo
=$ac_try;;
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4348 (eval "$ac_compile") 2>conftest.er1
4350 grep -v '^ *+' conftest.er1
>conftest.err
4352 cat conftest.err
>&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } && {
4355 test -z "$ac_c_werror_flag" ||
4356 test ! -s conftest.err
4357 } && test -s conftest.
$ac_objext; then
4358 ac_cv_header_time
=yes
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.
$ac_ext >&5
4363 ac_cv_header_time
=no
4366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4368 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4369 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4370 if test $ac_cv_header_time = yes; then
4372 cat >>confdefs.h
<<\_ACEOF
4373 #define TIME_WITH_SYS_TIME 1
4379 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4389 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4390 inttypes.h stdint.h unistd.h
4392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4395 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 cat >conftest.
$ac_ext <<_ACEOF
4401 cat confdefs.h
>>conftest.
$ac_ext
4402 cat >>conftest.
$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4404 $ac_includes_default
4406 #include <$ac_header>
4408 rm -f conftest.
$ac_objext
4409 if { (ac_try
="$ac_compile"
4411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4415 (eval "$ac_compile") 2>conftest.er1
4417 grep -v '^ *+' conftest.er1 >conftest.err
4419 cat conftest.err >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } && {
4422 test -z "$ac_c_werror_flag" ||
4423 test ! -s conftest.err
4424 } && test -s conftest.$ac_objext; then
4425 eval "$as_ac_Header=yes"
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 eval "$as_ac_Header=no"
4433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435 ac_res=`eval echo '${'$as_ac_Header'}'`
4436 { echo "$as_me:$LINENO: result: $ac_res" >&5
4437 echo "${ECHO_T}$ac_res" >&6; }
4438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4439 cat >>confdefs.h <<_ACEOF
4440 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4461 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4462 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4464 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4466 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 ac_res=`eval echo '${'$as_ac_Header'}'`
4472 { echo "$as_me:$LINENO: result: $ac_res" >&5
4473 echo "${ECHO_T}$ac_res" >&6; }
4475 # Is the header compilable?
4476 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4478 cat >conftest.$ac_ext <<_ACEOF
4481 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 $ac_includes_default
4485 #include <$ac_header>
4487 rm -f conftest.$ac_objext
4488 if { (ac_try="$ac_compile"
4490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4491 *) ac_try_echo
=$ac_try;;
4493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4494 (eval "$ac_compile") 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } && {
4501 test -z "$ac_c_werror_flag" ||
4502 test ! -s conftest.err
4503 } && test -s conftest.
$ac_objext; then
4504 ac_header_compiler
=yes
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4509 ac_header_compiler
=no
4512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4514 echo "${ECHO_T}$ac_header_compiler" >&6; }
4516 # Is the header present?
4517 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4519 cat >conftest.
$ac_ext <<_ACEOF
4522 cat confdefs.h
>>conftest.
$ac_ext
4523 cat >>conftest.
$ac_ext <<_ACEOF
4524 /* end confdefs.h. */
4525 #include <$ac_header>
4527 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4535 grep -v '^ *+' conftest.er1 >conftest.err
4537 cat conftest.err >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } >/dev/null && {
4540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4541 test ! -s conftest.err
4543 ac_header_preproc=yes
4545 echo "$as_me: failed program was:" >&5
4546 sed 's/^/| /' conftest.$ac_ext >&5
4548 ac_header_preproc=no
4551 rm -f conftest.err conftest.$ac_ext
4552 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4553 echo "${ECHO_T}$ac_header_preproc" >&6; }
4555 # So? What about this header?
4556 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4558 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4559 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4561 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4562 ac_header_preproc=yes
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4570 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4572 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4575 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4576 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 eval "$as_ac_Header=\$ac_header_preproc"
4587 ac_res=`eval echo '${'$as_ac_Header'}'`
4588 { echo "$as_me:$LINENO: result: $ac_res" >&5
4589 echo "${ECHO_T}$ac_res" >&6; }
4592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4593 cat >>confdefs.h <<_ACEOF
4594 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4598 { { echo "$as_me:$LINENO: error: bailing out" >&5
4599 echo "$as_me: error: bailing out" >&2;}
4600 { (exit 1); exit 1; }; }
4611 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4613 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 ac_res=`eval echo '${'$as_ac_Header'}'`
4621 { echo "$as_me:$LINENO: result: $ac_res" >&5
4622 echo "${ECHO_T}$ac_res" >&6; }
4624 # Is the header compilable?
4625 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4627 cat >conftest.$ac_ext <<_ACEOF
4630 cat confdefs.h >>conftest.$ac_ext
4631 cat >>conftest.$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4633 $ac_includes_default
4634 #include <$ac_header>
4636 rm -f conftest.$ac_objext
4637 if { (ac_try="$ac_compile"
4639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4640 *) ac_try_echo
=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_compile") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } && {
4650 test -z "$ac_c_werror_flag" ||
4651 test ! -s conftest.err
4652 } && test -s conftest.
$ac_objext; then
4653 ac_header_compiler
=yes
4655 echo "$as_me: failed program was:" >&5
4656 sed 's/^/| /' conftest.
$ac_ext >&5
4658 ac_header_compiler
=no
4661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4662 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4663 echo "${ECHO_T}$ac_header_compiler" >&6; }
4665 # Is the header present?
4666 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4668 cat >conftest.
$ac_ext <<_ACEOF
4671 cat confdefs.h
>>conftest.
$ac_ext
4672 cat >>conftest.
$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4674 #include <$ac_header>
4676 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4679 *) ac_try_echo=$ac_try;;
4681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4684 grep -v '^ *+' conftest.er1 >conftest.err
4686 cat conftest.err >&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); } >/dev/null && {
4689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4690 test ! -s conftest.err
4692 ac_header_preproc=yes
4694 echo "$as_me: failed program was:" >&5
4695 sed 's/^/| /' conftest.$ac_ext >&5
4697 ac_header_preproc=no
4700 rm -f conftest.err conftest.$ac_ext
4701 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4702 echo "${ECHO_T}$ac_header_preproc" >&6; }
4704 # So? What about this header?
4705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4711 ac_header_preproc=yes
4714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4718 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4720 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4721 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4724 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 eval "$as_ac_Header=\$ac_header_preproc"
4736 ac_res=`eval echo '${'$as_ac_Header'}'`
4737 { echo "$as_me:$LINENO: result: $ac_res" >&5
4738 echo "${ECHO_T}$ac_res" >&6; }
4741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4742 cat >>confdefs.h <<_ACEOF
4743 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4747 { { echo "$as_me:$LINENO: error: bailing out" >&5
4748 echo "$as_me: error: bailing out" >&2;}
4749 { (exit 1); exit 1; }; }
4757 for ac_header in machine/endian.h sys/disk.h
4759 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 ac_res=`eval echo '${'$as_ac_Header'}'`
4767 { echo "$as_me:$LINENO: result: $ac_res" >&5
4768 echo "${ECHO_T}$ac_res" >&6; }
4770 # Is the header compilable?
4771 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 $ac_includes_default
4780 #include <$ac_header>
4782 rm -f conftest.$ac_objext
4783 if { (ac_try="$ac_compile"
4785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4786 *) ac_try_echo
=$ac_try;;
4788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4789 (eval "$ac_compile") 2>conftest.er1
4791 grep -v '^ *+' conftest.er1
>conftest.err
4793 cat conftest.err
>&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } && {
4796 test -z "$ac_c_werror_flag" ||
4797 test ! -s conftest.err
4798 } && test -s conftest.
$ac_objext; then
4799 ac_header_compiler
=yes
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.
$ac_ext >&5
4804 ac_header_compiler
=no
4807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4808 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4809 echo "${ECHO_T}$ac_header_compiler" >&6; }
4811 # Is the header present?
4812 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4814 cat >conftest.
$ac_ext <<_ACEOF
4817 cat confdefs.h
>>conftest.
$ac_ext
4818 cat >>conftest.
$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 #include <$ac_header>
4822 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4830 grep -v '^ *+' conftest.er1 >conftest.err
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } >/dev/null && {
4835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4836 test ! -s conftest.err
4838 ac_header_preproc=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 ac_header_preproc=no
4846 rm -f conftest.err conftest.$ac_ext
4847 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4848 echo "${ECHO_T}$ac_header_preproc" >&6; }
4850 # So? What about this header?
4851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4853 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4854 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4856 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4857 ac_header_preproc=yes
4860 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4861 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4863 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4865 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4867 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4871 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 eval "$as_ac_Header=\$ac_header_preproc"
4882 ac_res=`eval echo '${'$as_ac_Header'}'`
4883 { echo "$as_me:$LINENO: result: $ac_res" >&5
4884 echo "${ECHO_T}$ac_res" >&6; }
4887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4888 cat >>confdefs.h <<_ACEOF
4889 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4893 { { echo "$as_me:$LINENO: error: bailing out" >&5
4894 echo "$as_me: error: bailing out" >&2;}
4895 { (exit 1); exit 1; }; }
4918 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
4919 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
4920 sys/types.h unistd.h
4922 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 ac_res=`eval echo '${'$as_ac_Header'}'`
4930 { echo "$as_me:$LINENO: result: $ac_res" >&5
4931 echo "${ECHO_T}$ac_res" >&6; }
4933 # Is the header compilable?
4934 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4936 cat >conftest.$ac_ext <<_ACEOF
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4942 $ac_includes_default
4943 #include <$ac_header>
4945 rm -f conftest.$ac_objext
4946 if { (ac_try="$ac_compile"
4948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4949 *) ac_try_echo
=$ac_try;;
4951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4952 (eval "$ac_compile") 2>conftest.er1
4954 grep -v '^ *+' conftest.er1
>conftest.err
4956 cat conftest.err
>&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); } && {
4959 test -z "$ac_c_werror_flag" ||
4960 test ! -s conftest.err
4961 } && test -s conftest.
$ac_objext; then
4962 ac_header_compiler
=yes
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.
$ac_ext >&5
4967 ac_header_compiler
=no
4970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4971 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4972 echo "${ECHO_T}$ac_header_compiler" >&6; }
4974 # Is the header present?
4975 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4977 cat >conftest.
$ac_ext <<_ACEOF
4980 cat confdefs.h
>>conftest.
$ac_ext
4981 cat >>conftest.
$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4983 #include <$ac_header>
4985 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4988 *) ac_try_echo=$ac_try;;
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4993 grep -v '^ *+' conftest.er1 >conftest.err
4995 cat conftest.err >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } >/dev/null && {
4998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4999 test ! -s conftest.err
5001 ac_header_preproc=yes
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5006 ac_header_preproc=no
5009 rm -f conftest.err conftest.$ac_ext
5010 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5011 echo "${ECHO_T}$ac_header_preproc" >&6; }
5013 # So? What about this header?
5014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5020 ac_header_preproc=yes
5023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5038 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 eval "$as_ac_Header=\$ac_header_preproc"
5045 ac_res=`eval echo '${'$as_ac_Header'}'`
5046 { echo "$as_me:$LINENO: result: $ac_res" >&5
5047 echo "${ECHO_T}$ac_res" >&6; }
5050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5051 cat >>confdefs.h <<_ACEOF
5052 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5056 { { echo "$as_me:$LINENO: error: bailing out" >&5
5057 echo "$as_me: error: bailing out" >&2;}
5058 { (exit 1); exit 1; }; }
5065 for ac_header in termios.h sys/statvfs.h
5067 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 ac_res=`eval echo '${'$as_ac_Header'}'`
5075 { echo "$as_me:$LINENO: result: $ac_res" >&5
5076 echo "${ECHO_T}$ac_res" >&6; }
5078 # Is the header compilable?
5079 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5081 cat >conftest.$ac_ext <<_ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5087 $ac_includes_default
5088 #include <$ac_header>
5090 rm -f conftest.$ac_objext
5091 if { (ac_try="$ac_compile"
5093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5094 *) ac_try_echo
=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_compile") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1
>conftest.err
5101 cat conftest.err
>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && {
5104 test -z "$ac_c_werror_flag" ||
5105 test ! -s conftest.err
5106 } && test -s conftest.
$ac_objext; then
5107 ac_header_compiler
=yes
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.
$ac_ext >&5
5112 ac_header_compiler
=no
5115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5116 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5117 echo "${ECHO_T}$ac_header_compiler" >&6; }
5119 # Is the header present?
5120 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5122 cat >conftest.
$ac_ext <<_ACEOF
5125 cat confdefs.h
>>conftest.
$ac_ext
5126 cat >>conftest.
$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128 #include <$ac_header>
5130 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5133 *) ac_try_echo=$ac_try;;
5135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5138 grep -v '^ *+' conftest.er1 >conftest.err
5140 cat conftest.err >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); } >/dev/null && {
5143 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5144 test ! -s conftest.err
5146 ac_header_preproc=yes
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5151 ac_header_preproc=no
5154 rm -f conftest.err conftest.$ac_ext
5155 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5156 echo "${ECHO_T}$ac_header_preproc" >&6; }
5158 # So? What about this header?
5159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5165 ac_header_preproc=yes
5168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5183 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 eval "$as_ac_Header=\$ac_header_preproc"
5190 ac_res=`eval echo '${'$as_ac_Header'}'`
5191 { echo "$as_me:$LINENO: result: $ac_res" >&5
5192 echo "${ECHO_T}$ac_res" >&6; }
5195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5196 cat >>confdefs.h <<_ACEOF
5197 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5205 ################################################################################
5206 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5207 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5208 if test "${ac_cv_c_const+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 cat >conftest.$ac_ext <<_ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5221 /* FIXME: Include the comments suggested by Paul. */
5223 /* Ultrix mips cc rejects this. */
5224 typedef int charset[2];
5226 /* SunOS 4.1.1 cc rejects this. */
5227 char const *const *pcpcc;
5229 /* NEC SVR4.0.2 mips cc rejects this. */
5230 struct point {int x, y;};
5231 static struct point const zero = {0,0};
5232 /* AIX XL C 1.02.0.0 rejects this.
5233 It does not let you subtract one const X* pointer from another in
5234 an arm of an if-expression whose if-part is not a constant
5236 const char *g = "string";
5237 pcpcc = &g + (g ? g-g : 0);
5238 /* HPUX 7.0 cc rejects these. */
5240 ppc = (char**) pcpcc;
5241 pcpcc = (char const *const *) ppc;
5242 { /* SCO 3.2v4 cc rejects this. */
5244 char const *s = 0 ? (char *) 0 : (char const *) 0;
5249 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5251 const int *foo = &x[0];
5254 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5255 typedef const int *iptr;
5259 { /* AIX XL C 1.02.0.0 rejects this saying
5260 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5261 struct s { int j; const int *ap[3]; };
5262 struct s *b; b->j = 5;
5264 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5268 return !cs[0] && !zero.x;
5275 rm -f conftest.$ac_objext
5276 if { (ac_try="$ac_compile"
5278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5279 *) ac_try_echo
=$ac_try;;
5281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282 (eval "$ac_compile") 2>conftest.er1
5284 grep -v '^ *+' conftest.er1
>conftest.err
5286 cat conftest.err
>&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } && {
5289 test -z "$ac_c_werror_flag" ||
5290 test ! -s conftest.err
5291 } && test -s conftest.
$ac_objext; then
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.
$ac_ext >&5
5300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5302 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5303 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5304 if test $ac_cv_c_const = no
; then
5306 cat >>confdefs.h
<<\_ACEOF
5312 { echo "$as_me:$LINENO: checking for inline" >&5
5313 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
5314 if test "${ac_cv_c_inline+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 for ac_kw
in inline __inline__ __inline
; do
5319 cat >conftest.
$ac_ext <<_ACEOF
5322 cat confdefs.h
>>conftest.
$ac_ext
5323 cat >>conftest.
$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5327 static $ac_kw foo_t static_foo () {return 0; }
5328 $ac_kw foo_t foo () {return 0; }
5332 rm -f conftest.
$ac_objext
5333 if { (ac_try
="$ac_compile"
5335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5336 *) ac_try_echo=$ac_try;;
5338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5339 (eval "$ac_compile") 2>conftest.er1
5341 grep -v '^ *+' conftest.er1 >conftest.err
5343 cat conftest.err >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } && {
5346 test -z "$ac_c_werror_flag" ||
5347 test ! -s conftest.err
5348 } && test -s conftest.$ac_objext; then
5349 ac_cv_c_inline=$ac_kw
5351 echo "$as_me: failed program was:" >&5
5352 sed 's/^/| /' conftest.$ac_ext >&5
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358 test "$ac_cv_c_inline" != no && break
5362 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5363 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
5366 case $ac_cv_c_inline in
5369 case $ac_cv_c_inline in
5371 *) ac_val=$ac_cv_c_inline;;
5373 cat >>confdefs.h <<_ACEOF
5375 #define inline $ac_val
5381 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5382 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5383 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 cat >conftest.$ac_ext <<_ACEOF
5389 cat confdefs.h >>conftest.$ac_ext
5390 cat >>conftest.$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5392 $ac_includes_default
5396 static struct stat ac_aggr;
5397 if (ac_aggr.st_rdev)
5403 rm -f conftest.$ac_objext
5404 if { (ac_try="$ac_compile"
5406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5407 *) ac_try_echo
=$ac_try;;
5409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5410 (eval "$ac_compile") 2>conftest.er1
5412 grep -v '^ *+' conftest.er1
>conftest.err
5414 cat conftest.err
>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } && {
5417 test -z "$ac_c_werror_flag" ||
5418 test ! -s conftest.err
5419 } && test -s conftest.
$ac_objext; then
5420 ac_cv_member_struct_stat_st_rdev
=yes
5422 echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.
$ac_ext >&5
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5431 $ac_includes_default
5435 static struct stat ac_aggr;
5436 if (sizeof ac_aggr.st_rdev)
5442 rm -f conftest.
$ac_objext
5443 if { (ac_try
="$ac_compile"
5445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5446 *) ac_try_echo=$ac_try;;
5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449 (eval "$ac_compile") 2>conftest.er1
5451 grep -v '^ *+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } && {
5456 test -z "$ac_c_werror_flag" ||
5457 test ! -s conftest.err
5458 } && test -s conftest.$ac_objext; then
5459 ac_cv_member_struct_stat_st_rdev=yes
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5464 ac_cv_member_struct_stat_st_rdev=no
5467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5473 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5474 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5476 cat >>confdefs.h <<_ACEOF
5477 #define HAVE_STRUCT_STAT_ST_RDEV 1
5483 { echo "$as_me:$LINENO: checking for off_t" >&5
5484 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5485 if test "${ac_cv_type_off_t+set}" = set; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 cat >conftest.$ac_ext <<_ACEOF
5491 cat confdefs.h >>conftest.$ac_ext
5492 cat >>conftest.$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5494 $ac_includes_default
5495 typedef off_t ac__type_new_;
5499 if ((ac__type_new_ *) 0)
5501 if (sizeof (ac__type_new_))
5507 rm -f conftest.$ac_objext
5508 if { (ac_try="$ac_compile"
5510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5511 *) ac_try_echo
=$ac_try;;
5513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5514 (eval "$ac_compile") 2>conftest.er1
5516 grep -v '^ *+' conftest.er1
>conftest.err
5518 cat conftest.err
>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } && {
5521 test -z "$ac_c_werror_flag" ||
5522 test ! -s conftest.err
5523 } && test -s conftest.
$ac_objext; then
5524 ac_cv_type_off_t
=yes
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.
$ac_ext >&5
5532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5534 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5535 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5536 if test $ac_cv_type_off_t = yes; then
5540 cat >>confdefs.h
<<_ACEOF
5541 #define off_t long int
5546 { echo "$as_me:$LINENO: checking for pid_t" >&5
5547 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5548 if test "${ac_cv_type_pid_t+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 cat >conftest.
$ac_ext <<_ACEOF
5554 cat confdefs.h
>>conftest.
$ac_ext
5555 cat >>conftest.
$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5557 $ac_includes_default
5558 typedef pid_t ac__type_new_;
5562 if ((ac__type_new_ *) 0)
5564 if (sizeof (ac__type_new_))
5570 rm -f conftest.
$ac_objext
5571 if { (ac_try
="$ac_compile"
5573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5574 *) ac_try_echo=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_compile") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1 >conftest.err
5581 cat conftest.err >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && {
5584 test -z "$ac_c_werror_flag" ||
5585 test ! -s conftest.err
5586 } && test -s conftest.$ac_objext; then
5587 ac_cv_type_pid_t=yes
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.$ac_ext >&5
5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5597 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5598 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5599 if test $ac_cv_type_pid_t = yes; then
5603 cat >>confdefs.h <<_ACEOF
5609 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5610 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
5611 if test "${ac_cv_type_signal+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 cat >conftest.$ac_ext <<_ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 #include <sys/types.h>
5626 return *(signal (0, 0)) (0) == 1;
5631 rm -f conftest.$ac_objext
5632 if { (ac_try="$ac_compile"
5634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5635 *) ac_try_echo
=$ac_try;;
5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5638 (eval "$ac_compile") 2>conftest.er1
5640 grep -v '^ *+' conftest.er1
>conftest.err
5642 cat conftest.err
>&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } && {
5645 test -z "$ac_c_werror_flag" ||
5646 test ! -s conftest.err
5647 } && test -s conftest.
$ac_objext; then
5648 ac_cv_type_signal
=int
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.
$ac_ext >&5
5653 ac_cv_type_signal
=void
5656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5658 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5659 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
5661 cat >>confdefs.h
<<_ACEOF
5662 #define RETSIGTYPE $ac_cv_type_signal
5666 { echo "$as_me:$LINENO: checking for size_t" >&5
5667 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5668 if test "${ac_cv_type_size_t+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 cat >conftest.
$ac_ext <<_ACEOF
5674 cat confdefs.h
>>conftest.
$ac_ext
5675 cat >>conftest.
$ac_ext <<_ACEOF
5676 /* end confdefs.h. */
5677 $ac_includes_default
5678 typedef size_t ac__type_new_;
5682 if ((ac__type_new_ *) 0)
5684 if (sizeof (ac__type_new_))
5690 rm -f conftest.
$ac_objext
5691 if { (ac_try
="$ac_compile"
5693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5697 (eval "$ac_compile") 2>conftest.er1
5699 grep -v '^ *+' conftest.er1 >conftest.err
5701 cat conftest.err >&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } && {
5704 test -z "$ac_c_werror_flag" ||
5705 test ! -s conftest.err
5706 } && test -s conftest.$ac_objext; then
5707 ac_cv_type_size_t=yes
5709 echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.$ac_ext >&5
5712 ac_cv_type_size_t=no
5715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5717 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5718 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5719 if test $ac_cv_type_size_t = yes; then
5723 cat >>confdefs.h <<_ACEOF
5724 #define size_t unsigned int
5729 { echo "$as_me:$LINENO: checking for mode_t" >&5
5730 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5731 if test "${ac_cv_type_mode_t+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat >conftest.$ac_ext <<_ACEOF
5737 cat confdefs.h >>conftest.$ac_ext
5738 cat >>conftest.$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 $ac_includes_default
5741 typedef mode_t ac__type_new_;
5745 if ((ac__type_new_ *) 0)
5747 if (sizeof (ac__type_new_))
5753 rm -f conftest.$ac_objext
5754 if { (ac_try="$ac_compile"
5756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5757 *) ac_try_echo
=$ac_try;;
5759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5760 (eval "$ac_compile") 2>conftest.er1
5762 grep -v '^ *+' conftest.er1
>conftest.err
5764 cat conftest.err
>&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); } && {
5767 test -z "$ac_c_werror_flag" ||
5768 test ! -s conftest.err
5769 } && test -s conftest.
$ac_objext; then
5770 ac_cv_type_mode_t
=yes
5772 echo "$as_me: failed program was:" >&5
5773 sed 's/^/| /' conftest.
$ac_ext >&5
5775 ac_cv_type_mode_t
=no
5778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5780 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5781 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5782 if test $ac_cv_type_mode_t = yes; then
5786 cat >>confdefs.h
<<_ACEOF
5792 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5793 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
5794 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 cat >conftest.
$ac_ext <<_ACEOF
5800 cat confdefs.h
>>conftest.
$ac_ext
5801 cat >>conftest.
$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5803 $ac_includes_default
5807 static struct stat ac_aggr;
5808 if (ac_aggr.st_rdev)
5814 rm -f conftest.
$ac_objext
5815 if { (ac_try
="$ac_compile"
5817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5818 *) ac_try_echo=$ac_try;;
5820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5821 (eval "$ac_compile") 2>conftest.er1
5823 grep -v '^ *+' conftest.er1 >conftest.err
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } && {
5828 test -z "$ac_c_werror_flag" ||
5829 test ! -s conftest.err
5830 } && test -s conftest.$ac_objext; then
5831 ac_cv_member_struct_stat_st_rdev=yes
5833 echo "$as_me: failed program was:" >&5
5834 sed 's/^/| /' conftest.$ac_ext >&5
5836 cat >conftest.$ac_ext <<_ACEOF
5839 cat confdefs.h >>conftest.$ac_ext
5840 cat >>conftest.$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5842 $ac_includes_default
5846 static struct stat ac_aggr;
5847 if (sizeof ac_aggr.st_rdev)
5853 rm -f conftest.$ac_objext
5854 if { (ac_try="$ac_compile"
5856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5857 *) ac_try_echo
=$ac_try;;
5859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5860 (eval "$ac_compile") 2>conftest.er1
5862 grep -v '^ *+' conftest.er1
>conftest.err
5864 cat conftest.err
>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && {
5867 test -z "$ac_c_werror_flag" ||
5868 test ! -s conftest.err
5869 } && test -s conftest.
$ac_objext; then
5870 ac_cv_member_struct_stat_st_rdev
=yes
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.
$ac_ext >&5
5875 ac_cv_member_struct_stat_st_rdev
=no
5878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5883 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5884 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
5885 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5887 cat >>confdefs.h
<<_ACEOF
5888 #define HAVE_STRUCT_STAT_ST_RDEV 1
5894 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5895 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5896 if test "${ac_cv_struct_tm+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5905 #include <sys/types.h>
5912 int *p = &tm.tm_sec;
5918 rm -f conftest.
$ac_objext
5919 if { (ac_try
="$ac_compile"
5921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5922 *) ac_try_echo=$ac_try;;
5924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5925 (eval "$ac_compile") 2>conftest.er1
5927 grep -v '^ *+' conftest.er1 >conftest.err
5929 cat conftest.err >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } && {
5932 test -z "$ac_c_werror_flag" ||
5933 test ! -s conftest.err
5934 } && test -s conftest.$ac_objext; then
5935 ac_cv_struct_tm=time.h
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5940 ac_cv_struct_tm=sys/time.h
5943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5946 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5947 if test $ac_cv_struct_tm = sys/time.h; then
5949 cat >>confdefs.h <<\_ACEOF
5950 #define TM_IN_SYS_TIME 1
5956 ################################################################################
5974 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
5975 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
5978 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5979 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5981 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 cat >conftest.$ac_ext <<_ACEOF
5987 cat confdefs.h >>conftest.$ac_ext
5988 cat >>conftest.$ac_ext <<_ACEOF
5989 /* end confdefs.h. */
5990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5992 #define $ac_func innocuous_$ac_func
5994 /* System header to define __stub macros and hopefully few prototypes,
5995 which can conflict with char $ac_func (); below.
5996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5997 <limits.h> exists even on freestanding compilers. */
6000 # include <limits.h>
6002 # include <assert.h>
6007 /* Override any GCC internal prototype to avoid an error.
6008 Use char because int might match the return type of a GCC
6009 builtin and then its argument prototype would still apply. */
6014 /* The GNU C library defines this for functions which it implements
6015 to always fail with ENOSYS. Some functions are actually named
6016 something starting with __ and the normal name is an alias. */
6017 #if defined __stub_$ac_func || defined __stub___$ac_func
6029 rm -f conftest.$ac_objext conftest$ac_exeext
6030 if { (ac_try="$ac_link"
6032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6033 *) ac_try_echo
=$ac_try;;
6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6036 (eval "$ac_link") 2>conftest.er1
6038 grep -v '^ *+' conftest.er1
>conftest.err
6040 cat conftest.err
>&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); } && {
6043 test -z "$ac_c_werror_flag" ||
6044 test ! -s conftest.err
6045 } && test -s conftest
$ac_exeext &&
6046 $as_test_x conftest
$ac_exeext; then
6047 eval "$as_ac_var=yes"
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 eval "$as_ac_var=no"
6055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6056 conftest
$ac_exeext conftest.
$ac_ext
6058 ac_res
=`eval echo '${'$as_ac_var'}'`
6059 { echo "$as_me:$LINENO: result: $ac_res" >&5
6060 echo "${ECHO_T}$ac_res" >&6; }
6061 if test `eval echo '${'$as_ac_var'}'` = yes; then
6062 cat >>confdefs.h
<<_ACEOF
6063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6067 { { echo "$as_me:$LINENO: error: bailing out" >&5
6068 echo "$as_me: error: bailing out" >&2;}
6069 { (exit 1); exit 1; }; }
6073 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6074 # for constant arguments. Useless!
6075 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6076 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6077 if test "${ac_cv_working_alloca_h+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 cat >conftest.
$ac_ext <<_ACEOF
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6090 char *p = (char *) alloca (2 * sizeof (int));
6096 rm -f conftest.
$ac_objext conftest
$ac_exeext
6097 if { (ac_try
="$ac_link"
6099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6100 *) ac_try_echo=$ac_try;;
6102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6103 (eval "$ac_link") 2>conftest.er1
6105 grep -v '^ *+' conftest.er1 >conftest.err
6107 cat conftest.err >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } && {
6110 test -z "$ac_c_werror_flag" ||
6111 test ! -s conftest.err
6112 } && test -s conftest$ac_exeext &&
6113 $as_test_x conftest$ac_exeext; then
6114 ac_cv_working_alloca_h=yes
6116 echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.$ac_ext >&5
6119 ac_cv_working_alloca_h=no
6122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6123 conftest$ac_exeext conftest.$ac_ext
6125 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6126 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6127 if test $ac_cv_working_alloca_h = yes; then
6129 cat >>confdefs.h <<\_ACEOF
6130 #define HAVE_ALLOCA_H 1
6135 { echo "$as_me:$LINENO: checking for alloca" >&5
6136 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6137 if test "${ac_cv_func_alloca_works+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 cat >conftest.$ac_ext <<_ACEOF
6143 cat confdefs.h >>conftest.$ac_ext
6144 cat >>conftest.$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6147 # define alloca __builtin_alloca
6150 # include <malloc.h>
6151 # define alloca _alloca
6153 # ifdef HAVE_ALLOCA_H
6154 # include <alloca.h>
6159 # ifndef alloca /* predefined by HP cc +Olibcalls */
6170 char *p = (char *) alloca (1);
6176 rm -f conftest.$ac_objext conftest$ac_exeext
6177 if { (ac_try="$ac_link"
6179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6180 *) ac_try_echo
=$ac_try;;
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_link") 2>conftest.er1
6185 grep -v '^ *+' conftest.er1
>conftest.err
6187 cat conftest.err
>&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } && {
6190 test -z "$ac_c_werror_flag" ||
6191 test ! -s conftest.err
6192 } && test -s conftest
$ac_exeext &&
6193 $as_test_x conftest
$ac_exeext; then
6194 ac_cv_func_alloca_works
=yes
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.
$ac_ext >&5
6199 ac_cv_func_alloca_works
=no
6202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6203 conftest
$ac_exeext conftest.
$ac_ext
6205 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6206 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6208 if test $ac_cv_func_alloca_works = yes; then
6210 cat >>confdefs.h
<<\_ACEOF
6211 #define HAVE_ALLOCA 1
6215 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6216 # that cause trouble. Some versions do not even contain alloca or
6217 # contain a buggy version. If you still want to use their alloca,
6218 # use ar to extract alloca.o from them instead of compiling alloca.c.
6220 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6222 cat >>confdefs.h
<<\_ACEOF
6227 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6228 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6229 if test "${ac_cv_os_cray+set}" = set; then
6230 echo $ECHO_N "(cached) $ECHO_C" >&6
6232 cat >conftest.
$ac_ext <<_ACEOF
6235 cat confdefs.h
>>conftest.
$ac_ext
6236 cat >>conftest.
$ac_ext <<_ACEOF
6237 /* end confdefs.h. */
6238 #if defined CRAY && ! defined CRAY2
6245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6246 $EGREP "webecray" >/dev
/null
2>&1; then
6254 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6255 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6256 if test $ac_cv_os_cray = yes; then
6257 for ac_func
in _getb67 GETB67 getb67
; do
6258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6261 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 cat >conftest.
$ac_ext <<_ACEOF
6267 cat confdefs.h
>>conftest.
$ac_ext
6268 cat >>conftest.
$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6272 #define $ac_func innocuous_$ac_func
6274 /* System header to define __stub macros and hopefully few prototypes,
6275 which can conflict with char $ac_func (); below.
6276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6277 <limits.h> exists even on freestanding compilers. */
6280 # include <limits.h>
6282 # include <assert.h>
6287 /* Override any GCC internal prototype to avoid an error.
6288 Use char because int might match the return type of a GCC
6289 builtin and then its argument prototype would still apply. */
6294 /* The GNU C library defines this for functions which it implements
6295 to always fail with ENOSYS. Some functions are actually named
6296 something starting with __ and the normal name is an alias. */
6297 #if defined __stub_$ac_func || defined __stub___$ac_func
6309 rm -f conftest.
$ac_objext conftest
$ac_exeext
6310 if { (ac_try
="$ac_link"
6312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6313 *) ac_try_echo=$ac_try;;
6315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6316 (eval "$ac_link") 2>conftest.er1
6318 grep -v '^ *+' conftest.er1 >conftest.err
6320 cat conftest.err >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } && {
6323 test -z "$ac_c_werror_flag" ||
6324 test ! -s conftest.err
6325 } && test -s conftest$ac_exeext &&
6326 $as_test_x conftest$ac_exeext; then
6327 eval "$as_ac_var=yes"
6329 echo "$as_me: failed program was:" >&5
6330 sed 's/^/| /' conftest.$ac_ext >&5
6332 eval "$as_ac_var=no"
6335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6336 conftest$ac_exeext conftest.$ac_ext
6338 ac_res=`eval echo '${'$as_ac_var'}'`
6339 { echo "$as_me:$LINENO: result: $ac_res" >&5
6340 echo "${ECHO_T}$ac_res" >&6; }
6341 if test `eval echo '${'$as_ac_var'}'` = yes; then
6343 cat >>confdefs.h <<_ACEOF
6344 #define CRAY_STACKSEG_END $ac_func
6353 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6354 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6355 if test "${ac_cv_c_stack_direction+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 if test "$cross_compiling" = yes; then
6359 ac_cv_c_stack_direction=0
6361 cat >conftest.$ac_ext <<_ACEOF
6364 cat confdefs.h >>conftest.$ac_ext
6365 cat >>conftest.$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 $ac_includes_default
6369 find_stack_direction ()
6371 static char *addr = 0;
6376 return find_stack_direction ();
6379 return (&dummy > addr) ? 1 : -1;
6385 return find_stack_direction () < 0;
6388 rm -f conftest$ac_exeext
6389 if { (ac_try="$ac_link"
6391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6392 *) ac_try_echo
=$ac_try;;
6394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6395 (eval "$ac_link") 2>&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6399 { (case "(($ac_try" in
6400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6401 *) ac_try_echo=$ac_try;;
6403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6404 (eval "$ac_try") 2>&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_cv_c_stack_direction=1
6410 echo "$as_me: program exited with status $ac_status" >&5
6411 echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5
6415 ac_cv_c_stack_direction=-1
6417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6422 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6423 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6425 cat >>confdefs.h <<_ACEOF
6426 #define STACK_DIRECTION $ac_cv_c_stack_direction
6432 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6433 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
6434 if test "${ac_cv_func_closedir_void+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 if test "$cross_compiling" = yes; then
6438 ac_cv_func_closedir_void=yes
6440 cat >conftest.$ac_ext <<_ACEOF
6443 cat confdefs.h >>conftest.$ac_ext
6444 cat >>conftest.$ac_ext <<_ACEOF
6445 /* end confdefs.h. */
6446 $ac_includes_default
6447 #include <$ac_header_dirent>
6455 return closedir (opendir (".")) != 0;
6460 rm -f conftest$ac_exeext
6461 if { (ac_try="$ac_link"
6463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6464 *) ac_try_echo
=$ac_try;;
6466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6467 (eval "$ac_link") 2>&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6471 { (case "(($ac_try" in
6472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6473 *) ac_try_echo=$ac_try;;
6475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6476 (eval "$ac_try") 2>&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); }; }; then
6480 ac_cv_func_closedir_void=no
6482 echo "$as_me: program exited with status $ac_status" >&5
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6487 ac_cv_func_closedir_void=yes
6489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6494 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6495 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
6496 if test $ac_cv_func_closedir_void = yes; then
6498 cat >>confdefs.h <<\_ACEOF
6499 #define CLOSEDIR_VOID 1
6505 for ac_header in vfork.h
6507 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6512 echo $ECHO_N "(cached) $ECHO_C" >&6
6514 ac_res=`eval echo '${'$as_ac_Header'}'`
6515 { echo "$as_me:$LINENO: result: $ac_res" >&5
6516 echo "${ECHO_T}$ac_res" >&6; }
6518 # Is the header compilable?
6519 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6521 cat >conftest.$ac_ext <<_ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6527 $ac_includes_default
6528 #include <$ac_header>
6530 rm -f conftest.$ac_objext
6531 if { (ac_try="$ac_compile"
6533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6534 *) ac_try_echo
=$ac_try;;
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_compile") 2>conftest.er1
6539 grep -v '^ *+' conftest.er1
>conftest.err
6541 cat conftest.err
>&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } && {
6544 test -z "$ac_c_werror_flag" ||
6545 test ! -s conftest.err
6546 } && test -s conftest.
$ac_objext; then
6547 ac_header_compiler
=yes
6549 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.
$ac_ext >&5
6552 ac_header_compiler
=no
6555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6556 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6557 echo "${ECHO_T}$ac_header_compiler" >&6; }
6559 # Is the header present?
6560 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6562 cat >conftest.
$ac_ext <<_ACEOF
6565 cat confdefs.h
>>conftest.
$ac_ext
6566 cat >>conftest.
$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6568 #include <$ac_header>
6570 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6573 *) ac_try_echo=$ac_try;;
6575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6578 grep -v '^ *+' conftest.er1 >conftest.err
6580 cat conftest.err >&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } >/dev/null && {
6583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6584 test ! -s conftest.err
6586 ac_header_preproc=yes
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.$ac_ext >&5
6591 ac_header_preproc=no
6594 rm -f conftest.err conftest.$ac_ext
6595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6596 echo "${ECHO_T}$ac_header_preproc" >&6; }
6598 # So? What about this header?
6599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6605 ac_header_preproc=yes
6608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 eval "$as_ac_Header=\$ac_header_preproc"
6630 ac_res=`eval echo '${'$as_ac_Header'}'`
6631 { echo "$as_me:$LINENO: result: $ac_res" >&5
6632 echo "${ECHO_T}$ac_res" >&6; }
6635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6636 cat >>confdefs.h <<_ACEOF
6637 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6646 for ac_func in fork vfork
6648 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 cat >conftest.$ac_ext <<_ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6662 #define $ac_func innocuous_$ac_func
6664 /* System header to define __stub macros and hopefully few prototypes,
6665 which can conflict with char $ac_func (); below.
6666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6667 <limits.h> exists even on freestanding compilers. */
6670 # include <limits.h>
6672 # include <assert.h>
6677 /* Override any GCC internal prototype to avoid an error.
6678 Use char because int might match the return type of a GCC
6679 builtin and then its argument prototype would still apply. */
6684 /* The GNU C library defines this for functions which it implements
6685 to always fail with ENOSYS. Some functions are actually named
6686 something starting with __ and the normal name is an alias. */
6687 #if defined __stub_$ac_func || defined __stub___$ac_func
6699 rm -f conftest.$ac_objext conftest$ac_exeext
6700 if { (ac_try="$ac_link"
6702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6703 *) ac_try_echo
=$ac_try;;
6705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6706 (eval "$ac_link") 2>conftest.er1
6708 grep -v '^ *+' conftest.er1
>conftest.err
6710 cat conftest.err
>&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } && {
6713 test -z "$ac_c_werror_flag" ||
6714 test ! -s conftest.err
6715 } && test -s conftest
$ac_exeext &&
6716 $as_test_x conftest
$ac_exeext; then
6717 eval "$as_ac_var=yes"
6719 echo "$as_me: failed program was:" >&5
6720 sed 's/^/| /' conftest.
$ac_ext >&5
6722 eval "$as_ac_var=no"
6725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6726 conftest
$ac_exeext conftest.
$ac_ext
6728 ac_res
=`eval echo '${'$as_ac_var'}'`
6729 { echo "$as_me:$LINENO: result: $ac_res" >&5
6730 echo "${ECHO_T}$ac_res" >&6; }
6731 if test `eval echo '${'$as_ac_var'}'` = yes; then
6732 cat >>confdefs.h
<<_ACEOF
6733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6739 if test "x$ac_cv_func_fork" = xyes
; then
6740 { echo "$as_me:$LINENO: checking for working fork" >&5
6741 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6742 if test "${ac_cv_func_fork_works+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 if test "$cross_compiling" = yes; then
6746 ac_cv_func_fork_works
=cross
6748 cat >conftest.
$ac_ext <<_ACEOF
6751 cat confdefs.h
>>conftest.
$ac_ext
6752 cat >>conftest.
$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 $ac_includes_default
6759 /* By Ruediger Kuhlmann. */
6766 rm -f conftest
$ac_exeext
6767 if { (ac_try
="$ac_link"
6769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6770 *) ac_try_echo=$ac_try;;
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_link") 2>&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6777 { (case "(($ac_try" in
6778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6779 *) ac_try_echo
=$ac_try;;
6781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6782 (eval "$ac_try") 2>&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 ac_cv_func_fork_works
=yes
6788 echo "$as_me: program exited with status $ac_status" >&5
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.
$ac_ext >&5
6793 ac_cv_func_fork_works
=no
6795 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6800 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6801 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6804 ac_cv_func_fork_works
=$ac_cv_func_fork
6806 if test "x$ac_cv_func_fork_works" = xcross
; then
6808 *-*-amigaos* |
*-*-msdosdjgpp*)
6809 # Override, as these systems have only a dummy fork() stub
6810 ac_cv_func_fork_works
=no
6813 ac_cv_func_fork_works
=yes
6816 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6817 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6819 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6820 if test "x$ac_cv_func_vfork" = xyes
; then
6821 { echo "$as_me:$LINENO: checking for working vfork" >&5
6822 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6823 if test "${ac_cv_func_vfork_works+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 if test "$cross_compiling" = yes; then
6827 ac_cv_func_vfork_works
=cross
6829 cat >conftest.
$ac_ext <<_ACEOF
6832 cat confdefs.h
>>conftest.
$ac_ext
6833 cat >>conftest.
$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 /* Thanks to Paul Eggert for this test. */
6836 $ac_includes_default
6837 #include <sys/wait.h>
6841 /* On some sparc systems, changes by the child to local and incoming
6842 argument registers are propagated back to the parent. The compiler
6843 is told about this with #include <vfork.h>, but some compilers
6844 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
6845 static variable whose address is put into a register that is
6846 clobbered by the vfork. */
6849 sparc_address_test (int arg)
6851 sparc_address_test (arg) int arg;
6872 pid_t parent = getpid ();
6875 sparc_address_test (0);
6880 /* Here is another test for sparc vfork register problems. This
6881 test uses lots of local variables, at least as many local
6882 variables as main has allocated so far including compiler
6883 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
6884 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
6885 reuse the register of parent for one of the local variables,
6886 since it will think that parent can't possibly be used any more
6887 in this routine. Assigning to the local variable will thus
6888 munge parent in the parent process. */
6890 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6891 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6892 /* Convince the compiler that p..p7 are live; otherwise, it might
6893 use the same hardware register for all 8 local variables. */
6894 if (p != p1 || p != p2 || p != p3 || p != p4
6895 || p != p5 || p != p6 || p != p7)
6898 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6899 from child file descriptors. If the child closes a descriptor
6900 before it execs or exits, this munges the parent's descriptor
6901 as well. Test for this by closing stdout in the child. */
6902 _exit(close(fileno(stdout)) != 0);
6907 while (wait(&status) != child)
6910 /* Was there some problem with vforking? */
6913 /* Did the child fail? (This shouldn't happen.) */
6916 /* Did the vfork/compiler bug occur? */
6917 || parent != getpid()
6919 /* Did the file descriptor bug occur? */
6920 || fstat(fileno(stdout), &st) != 0
6925 rm -f conftest
$ac_exeext
6926 if { (ac_try
="$ac_link"
6928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6929 *) ac_try_echo=$ac_try;;
6931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6932 (eval "$ac_link") 2>&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6936 { (case "(($ac_try" in
6937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6938 *) ac_try_echo
=$ac_try;;
6940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6941 (eval "$ac_try") 2>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_cv_func_vfork_works
=yes
6947 echo "$as_me: program exited with status $ac_status" >&5
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.
$ac_ext >&5
6952 ac_cv_func_vfork_works
=no
6954 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6959 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6960 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6963 if test "x$ac_cv_func_fork_works" = xcross
; then
6964 ac_cv_func_vfork_works
=$ac_cv_func_vfork
6965 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6966 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6969 if test "x$ac_cv_func_vfork_works" = xyes
; then
6971 cat >>confdefs.h
<<\_ACEOF
6972 #define HAVE_WORKING_VFORK 1
6977 cat >>confdefs.h
<<\_ACEOF
6982 if test "x$ac_cv_func_fork_works" = xyes
; then
6984 cat >>confdefs.h
<<\_ACEOF
6985 #define HAVE_WORKING_FORK 1
6990 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
6991 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
6992 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
6993 echo $ECHO_N "(cached) $ECHO_C" >&6
6995 rm -f conftest.sym conftest.
file
6997 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
6998 if test "$cross_compiling" = yes; then
6999 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7001 cat >conftest.
$ac_ext <<_ACEOF
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 $ac_includes_default
7012 /* Linux will dereference the symlink and fail.
7013 That is better in the sense that it means we will not
7014 have to compile and use the lstat wrapper. */
7015 return lstat ("conftest.sym/", &sbuf) == 0;
7020 rm -f conftest
$ac_exeext
7021 if { (ac_try
="$ac_link"
7023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7024 *) ac_try_echo=$ac_try;;
7026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7027 (eval "$ac_link") 2>&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7031 { (case "(($ac_try" in
7032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7033 *) ac_try_echo
=$ac_try;;
7035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7036 (eval "$ac_try") 2>&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); }; }; then
7040 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7042 echo "$as_me: program exited with status $ac_status" >&5
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.
$ac_ext >&5
7047 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7049 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7054 # If the `ln -s' command failed, then we probably don't even
7055 # have an lstat function.
7056 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7058 rm -f conftest.sym conftest.
file
7061 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7062 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7064 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7066 cat >>confdefs.h
<<_ACEOF
7067 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7071 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7072 case " $LIBOBJS " in
7073 *" lstat.$ac_objext "* ) ;;
7074 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7080 { echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7081 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
7082 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 if test "$cross_compiling" = yes; then
7086 ac_cv_func_lstat_empty_string_bug
=yes
7088 cat >conftest.
$ac_ext <<_ACEOF
7091 cat confdefs.h
>>conftest.
$ac_ext
7092 cat >>conftest.
$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7094 $ac_includes_default
7099 return lstat ("", &sbuf) == 0;
7104 rm -f conftest
$ac_exeext
7105 if { (ac_try
="$ac_link"
7107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_link") 2>&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7115 { (case "(($ac_try" in
7116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7117 *) ac_try_echo
=$ac_try;;
7119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7120 (eval "$ac_try") 2>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; }; then
7124 ac_cv_func_lstat_empty_string_bug
=no
7126 echo "$as_me: program exited with status $ac_status" >&5
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.
$ac_ext >&5
7131 ac_cv_func_lstat_empty_string_bug
=yes
7133 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7138 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7139 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
7140 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7141 case " $LIBOBJS " in
7142 *" lstat.$ac_objext "* ) ;;
7143 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7148 cat >>confdefs.h
<<_ACEOF
7149 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7155 for ac_header
in stdlib.h
7157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7161 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 ac_res
=`eval echo '${'$as_ac_Header'}'`
7165 { echo "$as_me:$LINENO: result: $ac_res" >&5
7166 echo "${ECHO_T}$ac_res" >&6; }
7168 # Is the header compilable?
7169 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 $ac_includes_default
7178 #include <$ac_header>
7180 rm -f conftest.
$ac_objext
7181 if { (ac_try
="$ac_compile"
7183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7184 *) ac_try_echo=$ac_try;;
7186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7187 (eval "$ac_compile") 2>conftest.er1
7189 grep -v '^ *+' conftest.er1 >conftest.err
7191 cat conftest.err >&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } && {
7194 test -z "$ac_c_werror_flag" ||
7195 test ! -s conftest.err
7196 } && test -s conftest.$ac_objext; then
7197 ac_header_compiler=yes
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5
7202 ac_header_compiler=no
7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7206 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7207 echo "${ECHO_T}$ac_header_compiler" >&6; }
7209 # Is the header present?
7210 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7212 cat >conftest.$ac_ext <<_ACEOF
7215 cat confdefs.h >>conftest.$ac_ext
7216 cat >>conftest.$ac_ext <<_ACEOF
7217 /* end confdefs.h. */
7218 #include <$ac_header>
7220 if { (ac_try="$ac_cpp conftest.$ac_ext"
7222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7223 *) ac_try_echo
=$ac_try;;
7225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7228 grep -v '^ *+' conftest.er1
>conftest.err
7230 cat conftest.err
>&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); } >/dev
/null
&& {
7233 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7234 test ! -s conftest.err
7236 ac_header_preproc
=yes
7238 echo "$as_me: failed program was:" >&5
7239 sed 's/^/| /' conftest.
$ac_ext >&5
7241 ac_header_preproc
=no
7244 rm -f conftest.err conftest.
$ac_ext
7245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7246 echo "${ECHO_T}$ac_header_preproc" >&6; }
7248 # So? What about this header?
7249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7255 ac_header_preproc
=yes
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7275 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 eval "$as_ac_Header=\$ac_header_preproc"
7280 ac_res
=`eval echo '${'$as_ac_Header'}'`
7281 { echo "$as_me:$LINENO: result: $ac_res" >&5
7282 echo "${ECHO_T}$ac_res" >&6; }
7285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7286 cat >>confdefs.h
<<_ACEOF
7287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7294 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7295 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
7296 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7299 if test "$cross_compiling" = yes; then
7300 ac_cv_func_malloc_0_nonnull
=no
7302 cat >conftest.
$ac_ext <<_ACEOF
7305 cat confdefs.h
>>conftest.
$ac_ext
7306 cat >>conftest.
$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7309 # include <stdlib.h>
7317 return ! malloc (0);
7322 rm -f conftest
$ac_exeext
7323 if { (ac_try
="$ac_link"
7325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7326 *) ac_try_echo=$ac_try;;
7328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7329 (eval "$ac_link") 2>&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7333 { (case "(($ac_try" in
7334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7335 *) ac_try_echo
=$ac_try;;
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_try") 2>&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; }; then
7342 ac_cv_func_malloc_0_nonnull
=yes
7344 echo "$as_me: program exited with status $ac_status" >&5
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.
$ac_ext >&5
7349 ac_cv_func_malloc_0_nonnull
=no
7351 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7356 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7357 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
7358 if test $ac_cv_func_malloc_0_nonnull = yes; then
7360 cat >>confdefs.h
<<\_ACEOF
7361 #define HAVE_MALLOC 1
7365 cat >>confdefs.h
<<\_ACEOF
7366 #define HAVE_MALLOC 0
7369 case " $LIBOBJS " in
7370 *" malloc.$ac_objext "* ) ;;
7371 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7376 cat >>confdefs.h
<<\_ACEOF
7377 #define malloc rpl_malloc
7384 { echo "$as_me:$LINENO: checking for working memcmp" >&5
7385 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
7386 if test "${ac_cv_func_memcmp_working+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 if test "$cross_compiling" = yes; then
7390 ac_cv_func_memcmp_working
=no
7392 cat >conftest.
$ac_ext <<_ACEOF
7395 cat confdefs.h
>>conftest.
$ac_ext
7396 cat >>conftest.
$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 $ac_includes_default
7403 /* Some versions of memcmp are not 8-bit clean. */
7404 char c0 = '\100', c1 = '\200', c2 = '\201';
7405 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7408 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7409 or more and with at least one buffer not starting on a 4-byte boundary.
7410 William Lewis provided this test program. */
7415 for (i = 0; i < 4; i++)
7419 strcpy (a, "--------01111111");
7420 strcpy (b, "--------10000000");
7421 if (memcmp (a, b, 16) >= 0)
7431 rm -f conftest
$ac_exeext
7432 if { (ac_try
="$ac_link"
7434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_link") 2>&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7442 { (case "(($ac_try" in
7443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7444 *) ac_try_echo
=$ac_try;;
7446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7447 (eval "$ac_try") 2>&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7451 ac_cv_func_memcmp_working
=yes
7453 echo "$as_me: program exited with status $ac_status" >&5
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.
$ac_ext >&5
7458 ac_cv_func_memcmp_working
=no
7460 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7465 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7466 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
7467 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7468 *" memcmp.$ac_objext "* ) ;;
7469 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7476 for ac_header
in stdlib.h unistd.h
7478 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7479 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 ac_res
=`eval echo '${'$as_ac_Header'}'`
7486 { echo "$as_me:$LINENO: result: $ac_res" >&5
7487 echo "${ECHO_T}$ac_res" >&6; }
7489 # Is the header compilable?
7490 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7492 cat >conftest.
$ac_ext <<_ACEOF
7495 cat confdefs.h
>>conftest.
$ac_ext
7496 cat >>conftest.
$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7498 $ac_includes_default
7499 #include <$ac_header>
7501 rm -f conftest.
$ac_objext
7502 if { (ac_try
="$ac_compile"
7504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;;
7507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 (eval "$ac_compile") 2>conftest.er1
7510 grep -v '^ *+' conftest.er1 >conftest.err
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } && {
7515 test -z "$ac_c_werror_flag" ||
7516 test ! -s conftest.err
7517 } && test -s conftest.$ac_objext; then
7518 ac_header_compiler=yes
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 ac_header_compiler=no
7526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7528 echo "${ECHO_T}$ac_header_compiler" >&6; }
7530 # Is the header present?
7531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7533 cat >conftest.$ac_ext <<_ACEOF
7536 cat confdefs.h >>conftest.$ac_ext
7537 cat >>conftest.$ac_ext <<_ACEOF
7538 /* end confdefs.h. */
7539 #include <$ac_header>
7541 if { (ac_try="$ac_cpp conftest.$ac_ext"
7543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7544 *) ac_try_echo
=$ac_try;;
7546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7549 grep -v '^ *+' conftest.er1
>conftest.err
7551 cat conftest.err
>&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } >/dev
/null
&& {
7554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7555 test ! -s conftest.err
7557 ac_header_preproc
=yes
7559 echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.
$ac_ext >&5
7562 ac_header_preproc
=no
7565 rm -f conftest.err conftest.
$ac_ext
7566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7567 echo "${ECHO_T}$ac_header_preproc" >&6; }
7569 # So? What about this header?
7570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7576 ac_header_preproc
=yes
7579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7596 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7597 echo $ECHO_N "(cached) $ECHO_C" >&6
7599 eval "$as_ac_Header=\$ac_header_preproc"
7601 ac_res
=`eval echo '${'$as_ac_Header'}'`
7602 { echo "$as_me:$LINENO: result: $ac_res" >&5
7603 echo "${ECHO_T}$ac_res" >&6; }
7606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7607 cat >>confdefs.h
<<_ACEOF
7608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7616 for ac_func
in getpagesize
7618 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7621 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7624 cat >conftest.
$ac_ext <<_ACEOF
7627 cat confdefs.h
>>conftest.
$ac_ext
7628 cat >>conftest.
$ac_ext <<_ACEOF
7629 /* end confdefs.h. */
7630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7632 #define $ac_func innocuous_$ac_func
7634 /* System header to define __stub macros and hopefully few prototypes,
7635 which can conflict with char $ac_func (); below.
7636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7637 <limits.h> exists even on freestanding compilers. */
7640 # include <limits.h>
7642 # include <assert.h>
7647 /* Override any GCC internal prototype to avoid an error.
7648 Use char because int might match the return type of a GCC
7649 builtin and then its argument prototype would still apply. */
7654 /* The GNU C library defines this for functions which it implements
7655 to always fail with ENOSYS. Some functions are actually named
7656 something starting with __ and the normal name is an alias. */
7657 #if defined __stub_$ac_func || defined __stub___$ac_func
7669 rm -f conftest.
$ac_objext conftest
$ac_exeext
7670 if { (ac_try
="$ac_link"
7672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7673 *) ac_try_echo=$ac_try;;
7675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7676 (eval "$ac_link") 2>conftest.er1
7678 grep -v '^ *+' conftest.er1 >conftest.err
7680 cat conftest.err >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } && {
7683 test -z "$ac_c_werror_flag" ||
7684 test ! -s conftest.err
7685 } && test -s conftest$ac_exeext &&
7686 $as_test_x conftest$ac_exeext; then
7687 eval "$as_ac_var=yes"
7689 echo "$as_me: failed program was:" >&5
7690 sed 's/^/| /' conftest.$ac_ext >&5
7692 eval "$as_ac_var=no"
7695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7696 conftest$ac_exeext conftest.$ac_ext
7698 ac_res=`eval echo '${'$as_ac_var'}'`
7699 { echo "$as_me:$LINENO: result: $ac_res" >&5
7700 echo "${ECHO_T}$ac_res" >&6; }
7701 if test `eval echo '${'$as_ac_var'}'` = yes; then
7702 cat >>confdefs.h <<_ACEOF
7703 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7709 { echo "$as_me:$LINENO: checking for working mmap" >&5
7710 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7711 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7712 echo $ECHO_N "(cached) $ECHO_C" >&6
7714 if test "$cross_compiling" = yes; then
7715 ac_cv_func_mmap_fixed_mapped=no
7717 cat >conftest.$ac_ext <<_ACEOF
7720 cat confdefs.h >>conftest.$ac_ext
7721 cat >>conftest.$ac_ext <<_ACEOF
7722 /* end confdefs.h. */
7723 $ac_includes_default
7724 /* malloc might have been renamed as rpl_malloc. */
7727 /* Thanks to Mike Haertel and Jim Avera for this test.
7728 Here is a matrix of mmap possibilities:
7729 mmap private not fixed
7730 mmap private fixed at somewhere currently unmapped
7731 mmap private fixed at somewhere already mapped
7732 mmap shared not fixed
7733 mmap shared fixed at somewhere currently unmapped
7734 mmap shared fixed at somewhere already mapped
7735 For private mappings, we should verify that changes cannot be read()
7736 back from the file, nor mmap's back from the file at a different
7737 address. (There have been systems where private was not correctly
7738 implemented like the infamous i386 svr4.0, and systems where the
7739 VM page cache was not coherent with the file system buffer cache
7740 like early versions of FreeBSD and possibly contemporary NetBSD.)
7741 For shared mappings, we should conversely verify that changes get
7742 propagated back to all the places they're supposed to be.
7744 Grep wants private fixed already mapped.
7745 The main things grep needs to know about mmap are:
7746 * does it exist and is it safe to write into the mmap'd area
7747 * how to use it (BSD variants) */
7750 #include <sys/mman.h>
7752 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7756 /* This mess was copied from the GNU getpagesize.h. */
7757 #ifndef HAVE_GETPAGESIZE
7758 /* Assume that all systems that can run configure have sys/param.h. */
7759 # ifndef HAVE_SYS_PARAM_H
7760 # define HAVE_SYS_PARAM_H 1
7763 # ifdef _SC_PAGESIZE
7764 # define getpagesize() sysconf(_SC_PAGESIZE)
7765 # else /* no _SC_PAGESIZE */
7766 # ifdef HAVE_SYS_PARAM_H
7767 # include <sys/param.h>
7768 # ifdef EXEC_PAGESIZE
7769 # define getpagesize() EXEC_PAGESIZE
7770 # else /* no EXEC_PAGESIZE */
7772 # define getpagesize() NBPG * CLSIZE
7775 # endif /* no CLSIZE */
7776 # else /* no NBPG */
7778 # define getpagesize() NBPC
7779 # else /* no NBPC */
7781 # define getpagesize() PAGESIZE
7782 # endif /* PAGESIZE */
7783 # endif /* no NBPC */
7784 # endif /* no NBPG */
7785 # endif /* no EXEC_PAGESIZE */
7786 # else /* no HAVE_SYS_PARAM_H */
7787 # define getpagesize() 8192 /* punt totally */
7788 # endif /* no HAVE_SYS_PARAM_H */
7789 # endif /* no _SC_PAGESIZE */
7791 #endif /* no HAVE_GETPAGESIZE */
7796 char *data, *data2, *data3;
7800 pagesize = getpagesize ();
7802 /* First, make a file with some known garbage in it. */
7803 data = (char *) malloc (pagesize);
7806 for (i = 0; i < pagesize; ++i)
7807 *(data + i) = rand ();
7809 fd = creat ("conftest.mmap", 0600);
7812 if (write (fd, data, pagesize) != pagesize)
7816 /* Next, try to mmap the file at a fixed address which already has
7817 something else allocated at it. If we can, also make sure that
7818 we see the same garbage. */
7819 fd = open ("conftest.mmap", O_RDWR);
7822 data2 = (char *) malloc (2 * pagesize);
7825 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7826 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7827 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7829 for (i = 0; i < pagesize; ++i)
7830 if (*(data + i) != *(data2 + i))
7833 /* Finally, make sure that changes to the mapped area do not
7834 percolate back to the file as seen by read(). (This is a bug on
7835 some variants of i386 svr4.0.) */
7836 for (i = 0; i < pagesize; ++i)
7837 *(data2 + i) = *(data2 + i) + 1;
7838 data3 = (char *) malloc (pagesize);
7841 if (read (fd, data3, pagesize) != pagesize)
7843 for (i = 0; i < pagesize; ++i)
7844 if (*(data + i) != *(data3 + i))
7850 rm -f conftest$ac_exeext
7851 if { (ac_try="$ac_link"
7853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7854 *) ac_try_echo
=$ac_try;;
7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857 (eval "$ac_link") 2>&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7861 { (case "(($ac_try" in
7862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_try") 2>&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); }; }; then
7870 ac_cv_func_mmap_fixed_mapped=yes
7872 echo "$as_me: program exited with status $ac_status" >&5
7873 echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7877 ac_cv_func_mmap_fixed_mapped=no
7879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7884 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7885 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7886 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7888 cat >>confdefs.h <<\_ACEOF
7895 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
7896 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
7897 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 if test "$cross_compiling" = yes; then
7901 ac_cv_func_stat_empty_string_bug=yes
7903 cat >conftest.$ac_ext <<_ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7909 $ac_includes_default
7914 return stat ("", &sbuf) == 0;
7919 rm -f conftest$ac_exeext
7920 if { (ac_try="$ac_link"
7922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7923 *) ac_try_echo
=$ac_try;;
7925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7926 (eval "$ac_link") 2>&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7930 { (case "(($ac_try" in
7931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7932 *) ac_try_echo=$ac_try;;
7934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7935 (eval "$ac_try") 2>&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); }; }; then
7939 ac_cv_func_stat_empty_string_bug=no
7941 echo "$as_me: program exited with status $ac_status" >&5
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7946 ac_cv_func_stat_empty_string_bug=yes
7948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7953 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
7954 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
7955 if test $ac_cv_func_stat_empty_string_bug = yes; then
7956 case " $LIBOBJS " in
7957 *" stat.$ac_objext "* ) ;;
7958 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7963 cat >>confdefs.h <<_ACEOF
7964 #define HAVE_STAT_EMPTY_STRING_BUG 1
7969 { echo "$as_me:$LINENO: checking for working strtod" >&5
7970 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
7971 if test "${ac_cv_func_strtod+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 if test "$cross_compiling" = yes; then
7975 ac_cv_func_strtod=no
7977 cat >conftest.$ac_ext <<_ACEOF
7980 cat confdefs.h >>conftest.$ac_ext
7981 cat >>conftest.$ac_ext <<_ACEOF
7982 /* end confdefs.h. */
7984 $ac_includes_default
7992 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
7993 char *string = " +69";
7996 value = strtod (string, &term);
7997 if (value != 69 || term != (string + 4))
8002 /* Under Solaris 2.4, strtod returns the wrong value for the
8003 terminating character under some conditions. */
8004 char *string = "NaN";
8006 strtod (string, &term);
8007 if (term != string && *(term - 1) == 0)
8014 rm -f conftest$ac_exeext
8015 if { (ac_try="$ac_link"
8017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8018 *) ac_try_echo
=$ac_try;;
8020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8021 (eval "$ac_link") 2>&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8025 { (case "(($ac_try" in
8026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_try") 2>&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; }; then
8034 ac_cv_func_strtod=yes
8036 echo "$as_me: program exited with status $ac_status" >&5
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.$ac_ext >&5
8041 ac_cv_func_strtod=no
8043 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8048 { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8049 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
8050 if test $ac_cv_func_strtod = no; then
8051 case " $LIBOBJS " in
8052 *" strtod.$ac_objext "* ) ;;
8053 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8057 { echo "$as_me:$LINENO: checking for pow" >&5
8058 echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
8059 if test "${ac_cv_func_pow+set}" = set; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 cat >conftest.$ac_ext <<_ACEOF
8065 cat confdefs.h >>conftest.$ac_ext
8066 cat >>conftest.$ac_ext <<_ACEOF
8067 /* end confdefs.h. */
8068 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8070 #define pow innocuous_pow
8072 /* System header to define __stub macros and hopefully few prototypes,
8073 which can conflict with char pow (); below.
8074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8075 <limits.h> exists even on freestanding compilers. */
8078 # include <limits.h>
8080 # include <assert.h>
8085 /* Override any GCC internal prototype to avoid an error.
8086 Use char because int might match the return type of a GCC
8087 builtin and then its argument prototype would still apply. */
8092 /* The GNU C library defines this for functions which it implements
8093 to always fail with ENOSYS. Some functions are actually named
8094 something starting with __ and the normal name is an alias. */
8095 #if defined __stub_pow || defined __stub___pow
8107 rm -f conftest.$ac_objext conftest$ac_exeext
8108 if { (ac_try="$ac_link"
8110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8111 *) ac_try_echo
=$ac_try;;
8113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8114 (eval "$ac_link") 2>conftest.er1
8116 grep -v '^ *+' conftest.er1
>conftest.err
8118 cat conftest.err
>&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } && {
8121 test -z "$ac_c_werror_flag" ||
8122 test ! -s conftest.err
8123 } && test -s conftest
$ac_exeext &&
8124 $as_test_x conftest
$ac_exeext; then
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.
$ac_ext >&5
8133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8134 conftest
$ac_exeext conftest.
$ac_ext
8136 { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8137 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
8139 if test $ac_cv_func_pow = no
; then
8140 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
8141 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
8142 if test "${ac_cv_lib_m_pow+set}" = set; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 ac_check_lib_save_LIBS
=$LIBS
8147 cat >conftest.
$ac_ext <<_ACEOF
8150 cat confdefs.h
>>conftest.
$ac_ext
8151 cat >>conftest.
$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8154 /* Override any GCC internal prototype to avoid an error.
8155 Use char because int might match the return type of a GCC
8156 builtin and then its argument prototype would still apply. */
8169 rm -f conftest.
$ac_objext conftest
$ac_exeext
8170 if { (ac_try
="$ac_link"
8172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8173 *) ac_try_echo=$ac_try;;
8175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8176 (eval "$ac_link") 2>conftest.er1
8178 grep -v '^ *+' conftest.er1 >conftest.err
8180 cat conftest.err >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); } && {
8183 test -z "$ac_c_werror_flag" ||
8184 test ! -s conftest.err
8185 } && test -s conftest$ac_exeext &&
8186 $as_test_x conftest$ac_exeext; then
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8196 conftest$ac_exeext conftest.$ac_ext
8197 LIBS=$ac_check_lib_save_LIBS
8199 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8200 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
8201 if test $ac_cv_lib_m_pow = yes; then
8204 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8205 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8213 for ac_func in vprintf
8215 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8216 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8218 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 cat >conftest.$ac_ext <<_ACEOF
8224 cat confdefs.h >>conftest.$ac_ext
8225 cat >>conftest.$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8229 #define $ac_func innocuous_$ac_func
8231 /* System header to define __stub macros and hopefully few prototypes,
8232 which can conflict with char $ac_func (); below.
8233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8234 <limits.h> exists even on freestanding compilers. */
8237 # include <limits.h>
8239 # include <assert.h>
8244 /* Override any GCC internal prototype to avoid an error.
8245 Use char because int might match the return type of a GCC
8246 builtin and then its argument prototype would still apply. */
8251 /* The GNU C library defines this for functions which it implements
8252 to always fail with ENOSYS. Some functions are actually named
8253 something starting with __ and the normal name is an alias. */
8254 #if defined __stub_$ac_func || defined __stub___$ac_func
8266 rm -f conftest.$ac_objext conftest$ac_exeext
8267 if { (ac_try="$ac_link"
8269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8270 *) ac_try_echo
=$ac_try;;
8272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8273 (eval "$ac_link") 2>conftest.er1
8275 grep -v '^ *+' conftest.er1
>conftest.err
8277 cat conftest.err
>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } && {
8280 test -z "$ac_c_werror_flag" ||
8281 test ! -s conftest.err
8282 } && test -s conftest
$ac_exeext &&
8283 $as_test_x conftest
$ac_exeext; then
8284 eval "$as_ac_var=yes"
8286 echo "$as_me: failed program was:" >&5
8287 sed 's/^/| /' conftest.
$ac_ext >&5
8289 eval "$as_ac_var=no"
8292 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8293 conftest
$ac_exeext conftest.
$ac_ext
8295 ac_res
=`eval echo '${'$as_ac_var'}'`
8296 { echo "$as_me:$LINENO: result: $ac_res" >&5
8297 echo "${ECHO_T}$ac_res" >&6; }
8298 if test `eval echo '${'$as_ac_var'}'` = yes; then
8299 cat >>confdefs.h
<<_ACEOF
8300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8303 { echo "$as_me:$LINENO: checking for _doprnt" >&5
8304 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
8305 if test "${ac_cv_func__doprnt+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 cat >conftest.
$ac_ext <<_ACEOF
8311 cat confdefs.h
>>conftest.
$ac_ext
8312 cat >>conftest.
$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8314 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8316 #define _doprnt innocuous__doprnt
8318 /* System header to define __stub macros and hopefully few prototypes,
8319 which can conflict with char _doprnt (); below.
8320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8321 <limits.h> exists even on freestanding compilers. */
8324 # include <limits.h>
8326 # include <assert.h>
8331 /* Override any GCC internal prototype to avoid an error.
8332 Use char because int might match the return type of a GCC
8333 builtin and then its argument prototype would still apply. */
8338 /* The GNU C library defines this for functions which it implements
8339 to always fail with ENOSYS. Some functions are actually named
8340 something starting with __ and the normal name is an alias. */
8341 #if defined __stub__doprnt || defined __stub____doprnt
8353 rm -f conftest.
$ac_objext conftest
$ac_exeext
8354 if { (ac_try
="$ac_link"
8356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_link") 2>conftest.er1
8362 grep -v '^ *+' conftest.er1 >conftest.err
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } && {
8367 test -z "$ac_c_werror_flag" ||
8368 test ! -s conftest.err
8369 } && test -s conftest$ac_exeext &&
8370 $as_test_x conftest$ac_exeext; then
8371 ac_cv_func__doprnt=yes
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.$ac_ext >&5
8376 ac_cv_func__doprnt=no
8379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8380 conftest$ac_exeext conftest.$ac_ext
8382 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8383 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
8384 if test $ac_cv_func__doprnt = yes; then
8386 cat >>confdefs.h <<\_ACEOF
8387 #define HAVE_DOPRNT 1
8397 ################################################################################
8400 ################################################################################
8401 { echo "$as_me:$LINENO: checking file owner" >&5
8402 echo $ECHO_N "checking file owner... $ECHO_C" >&6; }
8406 # Check whether --with-user was given.
8407 if test "${with_user+set}" = set; then
8408 withval=$with_user; OWNER="$withval"
8411 { echo "$as_me:$LINENO: result: $OWNER" >&5
8412 echo "${ECHO_T}$OWNER" >&6; }
8414 if test x$OWNER != x; then
8418 ################################################################################
8419 { echo "$as_me:$LINENO: checking group owner" >&5
8420 echo $ECHO_N "checking group owner... $ECHO_C" >&6; }
8423 # Check whether --with-group was given.
8424 if test "${with_group+set}" = set; then
8425 withval=$with_group; GROUP="$withval"
8428 { echo "$as_me:$LINENO: result: $GROUP" >&5
8429 echo "${ECHO_T}$GROUP" >&6; }
8431 if test x$GROUP != x; then
8435 ################################################################################
8436 { echo "$as_me:$LINENO: checking device node mode" >&5
8437 echo $ECHO_N "checking device node mode... $ECHO_C" >&6; }
8440 # Check whether --with-device-mode was given.
8441 if test "${with_device_mode+set}" = set; then
8442 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
8444 DM_DEVICE_MODE="0600"
8447 { echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
8448 echo "${ECHO_T}$DM_DEVICE_MODE" >&6; }
8450 ################################################################################
8451 { echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
8452 echo $ECHO_N "checking whether to enable lvm1 fallback... $ECHO_C" >&6; }
8453 # Check whether --enable-lvm1_fallback was given.
8454 if test "${enable_lvm1_fallback+set}" = set; then
8455 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
8460 { echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
8461 echo "${ECHO_T}$LVM1_FALLBACK" >&6; }
8463 if test x$LVM1_FALLBACK = xyes; then
8465 cat >>confdefs.h <<\_ACEOF
8466 #define LVM1_FALLBACK 1
8471 ################################################################################
8472 { echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
8473 echo $ECHO_N "checking whether to include support for lvm1 metadata... $ECHO_C" >&6; }
8475 # Check whether --with-lvm1 was given.
8476 if test "${with_lvm1+set}" = set; then
8477 withval=$with_lvm1; LVM1="$withval"
8482 { echo "$as_me:$LINENO: result: $LVM1" >&5
8483 echo "${ECHO_T}$LVM1" >&6; }
8485 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
8486 then { { echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
8488 echo "$as_me: error: --with-lvm1 parameter invalid
8490 { (exit 1); exit 1; }; }
8493 if test x$LVM1 = xinternal; then
8495 cat >>confdefs.h <<\_ACEOF
8496 #define LVM1_INTERNAL 1
8501 ################################################################################
8502 { echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
8503 echo $ECHO_N "checking whether to include support for GFS pool metadata... $ECHO_C" >&6; }
8505 # Check whether --with-pool was given.
8506 if test "${with_pool+set}" = set; then
8507 withval=$with_pool; POOL="$withval"
8512 { echo "$as_me:$LINENO: result: $POOL" >&5
8513 echo "${ECHO_T}$POOL" >&6; }
8515 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
8516 then { { echo "$as_me:$LINENO: error: --with-pool parameter invalid
8518 echo "$as_me: error: --with-pool parameter invalid
8520 { (exit 1); exit 1; }; }
8523 if test x$POOL = xinternal; then
8525 cat >>confdefs.h <<\_ACEOF
8526 #define POOL_INTERNAL 1
8531 ################################################################################
8532 { echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
8533 echo $ECHO_N "checking whether to include support for cluster locking... $ECHO_C" >&6; }
8535 # Check whether --with-cluster was given.
8536 if test "${with_cluster+set}" = set; then
8537 withval=$with_cluster; CLUSTER="$withval"
8540 { echo "$as_me:$LINENO: result: $CLUSTER" >&5
8541 echo "${ECHO_T}$CLUSTER" >&6; }
8543 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
8544 then { { echo "$as_me:$LINENO: error: --with-cluster parameter invalid
8546 echo "$as_me: error: --with-cluster parameter invalid
8548 { (exit 1); exit 1; }; }
8551 if test x$CLUSTER = xinternal; then
8553 cat >>confdefs.h <<\_ACEOF
8554 #define CLUSTER_LOCKING_INTERNAL 1
8559 ################################################################################
8560 { echo "$as_me:$LINENO: checking whether to include snapshots" >&5
8561 echo $ECHO_N "checking whether to include snapshots... $ECHO_C" >&6; }
8563 # Check whether --with-snapshots was given.
8564 if test "${with_snapshots+set}" = set; then
8565 withval=$with_snapshots; SNAPSHOTS="$withval"
8567 SNAPSHOTS="internal"
8570 { echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
8571 echo "${ECHO_T}$SNAPSHOTS" >&6; }
8573 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
8574 then { { echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
8576 echo "$as_me: error: --with-snapshots parameter invalid
8578 { (exit 1); exit 1; }; }
8581 if test x$SNAPSHOTS = xinternal; then
8583 cat >>confdefs.h <<\_ACEOF
8584 #define SNAPSHOT_INTERNAL 1
8589 ################################################################################
8590 { echo "$as_me:$LINENO: checking whether to include mirrors" >&5
8591 echo $ECHO_N "checking whether to include mirrors... $ECHO_C" >&6; }
8593 # Check whether --with-mirrors was given.
8594 if test "${with_mirrors+set}" = set; then
8595 withval=$with_mirrors; MIRRORS="$withval"
8600 { echo "$as_me:$LINENO: result: $MIRRORS" >&5
8601 echo "${ECHO_T}$MIRRORS" >&6; }
8603 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
8604 then { { echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
8606 echo "$as_me: error: --with-mirrors parameter invalid
8608 { (exit 1); exit 1; }; }
8611 if test x$MIRRORS = xinternal; then
8613 cat >>confdefs.h <<\_ACEOF
8614 #define MIRRORED_INTERNAL 1
8619 ################################################################################
8620 { echo "$as_me:$LINENO: checking whether to enable readline" >&5
8621 echo $ECHO_N "checking whether to enable readline... $ECHO_C" >&6; }
8622 # Check whether --enable-readline was given.
8623 if test "${enable_readline+set}" = set; then
8624 enableval=$enable_readline; READLINE=$enableval
8629 { echo "$as_me:$LINENO: result: $READLINE" >&5
8630 echo "${ECHO_T}$READLINE" >&6; }
8632 ################################################################################
8633 { echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
8634 echo $ECHO_N "checking whether to enable realtime support... $ECHO_C" >&6; }
8635 # Check whether --enable-realtime was given.
8636 if test "${enable_realtime+set}" = set; then
8637 enableval=$enable_realtime; REALTIME=$enableval
8640 { echo "$as_me:$LINENO: result: $REALTIME" >&5
8641 echo "${ECHO_T}$REALTIME" >&6; }
8643 ################################################################################
8644 { echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
8645 echo $ECHO_N "checking whether to build cluster LVM daemon... $ECHO_C" >&6; }
8647 # Check whether --with-clvmd was given.
8648 if test "${with_clvmd+set}" = set; then
8649 withval=$with_clvmd; CLVMD="$withval"
8654 if test x$CLVMD = xyes; then
8657 { echo "$as_me:$LINENO: result: $CLVMD" >&5
8658 echo "${ECHO_T}$CLVMD" >&6; }
8660 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
8664 ################################################################################
8665 { echo "$as_me:$LINENO: checking whether to enable debugging" >&5
8666 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
8667 # Check whether --enable-debug was given.
8668 if test "${enable_debug+set}" = set; then
8669 enableval=$enable_debug; DEBUG=$enableval
8674 { echo "$as_me:$LINENO: result: $DEBUG" >&5
8675 echo "${ECHO_T}$DEBUG" >&6; }
8677 if test x$DEBUG = xyes; then
8683 ################################################################################
8684 { echo "$as_me:$LINENO: checking for C optimisation flag" >&5
8685 echo $ECHO_N "checking for C optimisation flag... $ECHO_C" >&6; }
8687 # Check whether --with-optimisation was given.
8688 if test "${with_optimisation+set}" = set; then
8689 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
8692 { echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
8693 echo "${ECHO_T}$COPTIMISE_FLAG" >&6; }
8695 ################################################################################
8696 { echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
8697 echo $ECHO_N "checking whether to gather gcov profiling data... $ECHO_C" >&6; }
8698 # Check whether --enable-profiling was given.
8699 if test "${enable_profiling+set}" = set; then
8700 enableval=$enable_profiling; PROFILING=$enableval
8705 { echo "$as_me:$LINENO: result: $PROFILING" >&5
8706 echo "${ECHO_T}$PROFILING" >&6; }
8708 if test "x$PROFILING" = xyes; then
8709 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
8710 # Extract the first word of "lcov", so it can be a program name with args.
8711 set dummy lcov; ac_word=$2
8712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8714 if test "${ac_cv_path_LCOV+set}" = set; then
8715 echo $ECHO_N "(cached) $ECHO_C" >&6
8719 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
8722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir=.
8727 for ac_exec_ext in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
8730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8737 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
8741 LCOV=$ac_cv_path_LCOV
8742 if test -n "$LCOV"; then
8743 { echo "$as_me:$LINENO: result: $LCOV" >&5
8744 echo "${ECHO_T}$LCOV" >&6; }
8746 { echo "$as_me:$LINENO: result: no" >&5
8747 echo "${ECHO_T}no" >&6; }
8751 # Extract the first word of "genhtml", so it can be a program name with args.
8752 set dummy genhtml; ac_word=$2
8753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8755 if test "${ac_cv_path_GENHTML+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8760 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
8771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8778 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
8782 GENHTML=$ac_cv_path_GENHTML
8783 if test -n "$GENHTML"; then
8784 { echo "$as_me:$LINENO: result: $GENHTML" >&5
8785 echo "${ECHO_T}$GENHTML" >&6; }
8787 { echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6; }
8792 if test "$LCOV" = no -o "$GENHTML" = no ; then
8793 { { echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
8794 echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
8795 { (exit 1); exit 1; }; }
8799 ################################################################################
8800 { echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
8801 echo $ECHO_N "checking whether to use device-mapper... $ECHO_C" >&6; }
8802 # Check whether --enable-devmapper was given.
8803 if test "${enable_devmapper+set}" = set; then
8804 enableval=$enable_devmapper; DEVMAPPER=$enableval
8807 { echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
8808 echo "${ECHO_T}$DEVMAPPER" >&6; }
8810 if test x$DEVMAPPER = xyes; then
8812 cat >>confdefs.h <<\_ACEOF
8813 #define DEVMAPPER_SUPPORT 1
8818 ################################################################################
8819 # Check whether --enable-compat was given.
8820 if test "${enable_compat+set}" = set; then
8821 enableval=$enable_compat; DM_COMPAT=$enableval
8827 ################################################################################
8828 # Check whether --enable-ioctl was given.
8829 if test "${enable_ioctl+set}" = set; then
8830 enableval=$enable_ioctl; DM_IOCTLS=$enableval
8834 ################################################################################
8835 { echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
8836 echo $ECHO_N "checking whether to enable O_DIRECT... $ECHO_C" >&6; }
8837 # Check whether --enable-o_direct was given.
8838 if test "${enable_o_direct+set}" = set; then
8839 enableval=$enable_o_direct; ODIRECT=$enableval
8842 { echo "$as_me:$LINENO: result: $ODIRECT" >&5
8843 echo "${ECHO_T}$ODIRECT" >&6; }
8845 if test x$ODIRECT = xyes; then
8847 cat >>confdefs.h <<\_ACEOF
8848 #define O_DIRECT_SUPPORT 1
8853 ################################################################################
8854 { echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
8855 echo $ECHO_N "checking whether to compile liblvm2cmd.so... $ECHO_C" >&6; }
8856 # Check whether --enable-cmdlib was given.
8857 if test "${enable_cmdlib+set}" = set; then
8858 enableval=$enable_cmdlib; CMDLIB=$enableval
8863 { echo "$as_me:$LINENO: result: $CMDLIB" >&5
8864 echo "${ECHO_T}$CMDLIB" >&6; }
8866 test x$CMDLIB = xyes \
8867 && LVM2CMD_LIB=-llvm2cmd \
8870 ################################################################################
8871 # Check whether --enable-pkgconfig was given.
8872 if test "${enable_pkgconfig+set}" = set; then
8873 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
8879 ################################################################################
8880 { echo "$as_me:$LINENO: checking whether to install fsadm" >&5
8881 echo $ECHO_N "checking whether to install fsadm... $ECHO_C" >&6; }
8882 # Check whether --enable-fsadm was given.
8883 if test "${enable_fsadm+set}" = set; then
8884 enableval=$enable_fsadm; FSADM=$enableval
8887 { echo "$as_me:$LINENO: result: $FSADM" >&5
8888 echo "${ECHO_T}$FSADM" >&6; }
8890 ################################################################################
8891 { echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
8892 echo $ECHO_N "checking whether to use dmeventd... $ECHO_C" >&6; }
8893 # Check whether --enable-dmeventd was given.
8894 if test "${enable_dmeventd+set}" = set; then
8895 enableval=$enable_dmeventd; DMEVENTD=$enableval
8898 { echo "$as_me:$LINENO: result: $DMEVENTD" >&5
8899 echo "${ECHO_T}$DMEVENTD" >&6; }
8901 BUILD_DMEVENTD=$DMEVENTD
8903 if test x$DMEVENTD = xyes; then
8904 if test x$MIRRORS != xinternal; then
8905 { { echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
8907 echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
8909 { (exit 1); exit 1; }; }
8911 if test x$CMDLIB = xno; then
8912 { { echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8914 echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
8916 { (exit 1); exit 1; }; }
8920 if test x$DMEVENTD = xyes; then
8922 cat >>confdefs.h <<\_ACEOF
8928 ################################################################################
8930 { echo "$as_me:$LINENO: checking for getline in -lc" >&5
8931 echo $ECHO_N "checking for getline in -lc... $ECHO_C" >&6; }
8932 if test "${ac_cv_lib_c_getline+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 ac_check_lib_save_LIBS=$LIBS
8937 cat >conftest.$ac_ext <<_ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8959 rm -f conftest.$ac_objext conftest$ac_exeext
8960 if { (ac_try="$ac_link"
8962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8963 *) ac_try_echo
=$ac_try;;
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_link") 2>conftest.er1
8968 grep -v '^ *+' conftest.er1
>conftest.err
8970 cat conftest.err
>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } && {
8973 test -z "$ac_c_werror_flag" ||
8974 test ! -s conftest.err
8975 } && test -s conftest
$ac_exeext &&
8976 $as_test_x conftest
$ac_exeext; then
8977 ac_cv_lib_c_getline
=yes
8979 echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.
$ac_ext >&5
8982 ac_cv_lib_c_getline
=no
8985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8986 conftest
$ac_exeext conftest.
$ac_ext
8987 LIBS
=$ac_check_lib_save_LIBS
8989 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
8990 echo "${ECHO_T}$ac_cv_lib_c_getline" >&6; }
8991 if test $ac_cv_lib_c_getline = yes; then
8993 cat >>confdefs.h
<<\_ACEOF
8994 #define HAVE_GETLINE 1
9000 ################################################################################
9002 { echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
9003 echo $ECHO_N "checking for canonicalize_file_name in -lc... $ECHO_C" >&6; }
9004 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
9005 echo $ECHO_N "(cached) $ECHO_C" >&6
9007 ac_check_lib_save_LIBS
=$LIBS
9009 cat >conftest.
$ac_ext <<_ACEOF
9012 cat confdefs.h
>>conftest.
$ac_ext
9013 cat >>conftest.
$ac_ext <<_ACEOF
9014 /* end confdefs.h. */
9016 /* Override any GCC internal prototype to avoid an error.
9017 Use char because int might match the return type of a GCC
9018 builtin and then its argument prototype would still apply. */
9022 char canonicalize_file_name ();
9026 return canonicalize_file_name ();
9031 rm -f conftest.
$ac_objext conftest
$ac_exeext
9032 if { (ac_try
="$ac_link"
9034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9035 *) ac_try_echo=$ac_try;;
9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9038 (eval "$ac_link") 2>conftest.er1
9040 grep -v '^ *+' conftest.er1 >conftest.err
9042 cat conftest.err >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } && {
9045 test -z "$ac_c_werror_flag" ||
9046 test ! -s conftest.err
9047 } && test -s conftest$ac_exeext &&
9048 $as_test_x conftest$ac_exeext; then
9049 ac_cv_lib_c_canonicalize_file_name=yes
9051 echo "$as_me: failed program was:" >&5
9052 sed 's/^/| /' conftest.$ac_ext >&5
9054 ac_cv_lib_c_canonicalize_file_name=no
9057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9058 conftest$ac_exeext conftest.$ac_ext
9059 LIBS=$ac_check_lib_save_LIBS
9061 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
9062 echo "${ECHO_T}$ac_cv_lib_c_canonicalize_file_name" >&6; }
9063 if test $ac_cv_lib_c_canonicalize_file_name = yes; then
9065 cat >>confdefs.h <<\_ACEOF
9066 #define HAVE_CANONICALIZE_FILE_NAME 1
9072 ################################################################################
9073 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
9074 then exec_prefix="";
9077 ################################################################################
9078 if test x$READLINE != xno; then
9079 { echo "$as_me:$LINENO: checking for library containing tgetent" >&5
9080 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6; }
9081 if test "${ac_cv_search_tgetent+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 ac_func_search_save_LIBS=$LIBS
9085 cat >conftest.$ac_ext <<_ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9107 for ac_lib in '' ncurses curses termcap termlib; do
9108 if test -z "$ac_lib"; then
9109 ac_res="none required"
9112 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9114 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (ac_try="$ac_link"
9117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9118 *) ac_try_echo
=$ac_try;;
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_link") 2>conftest.er1
9123 grep -v '^ *+' conftest.er1
>conftest.err
9125 cat conftest.err
>&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } && {
9128 test -z "$ac_c_werror_flag" ||
9129 test ! -s conftest.err
9130 } && test -s conftest
$ac_exeext &&
9131 $as_test_x conftest
$ac_exeext; then
9132 ac_cv_search_tgetent
=$ac_res
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9142 if test "${ac_cv_search_tgetent+set}" = set; then
9146 if test "${ac_cv_search_tgetent+set}" = set; then
9149 ac_cv_search_tgetent
=no
9152 LIBS
=$ac_func_search_save_LIBS
9154 { echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
9155 echo "${ECHO_T}$ac_cv_search_tgetent" >&6; }
9156 ac_res
=$ac_cv_search_tgetent
9157 if test "$ac_res" != no
; then
9158 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9164 test x
$READLINE:$tg_found = xyes
:no
&&
9165 { { echo "$as_me:$LINENO: error: termcap could not be found which is required for the
9166 --enable-readline option (which is enabled by default). Either disable readline
9167 support with --disable-readline or download and install termcap from:
9168 ftp.gnu.org/gnu/termcap
9169 Note: if you are using precompiled packages you will also need the development
9170 package as well (which may be called termcap-devel or something similar).
9171 Note: (n)curses also seems to work as a substitute for termcap. This was
9172 not found either - but you could try installing that as well.
9174 echo "$as_me: error: termcap could not be found which is required for the
9175 --enable-readline option (which is enabled by default). Either disable readline
9176 support with --disable-readline or download and install termcap from:
9177 ftp.gnu.org/gnu/termcap
9178 Note: if you are using precompiled packages you will also need the development
9179 package as well (which may be called termcap-devel or something similar).
9180 Note: (n)curses also seems to work as a substitute for termcap. This was
9181 not found either - but you could try installing that as well.
9183 { (exit 1); exit 1; }; }
9186 ################################################################################
9187 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9188 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9189 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9192 ac_check_lib_save_LIBS
=$LIBS
9194 cat >conftest.
$ac_ext <<_ACEOF
9197 cat confdefs.h
>>conftest.
$ac_ext
9198 cat >>conftest.
$ac_ext <<_ACEOF
9199 /* end confdefs.h. */
9201 /* Override any GCC internal prototype to avoid an error.
9202 Use char because int might match the return type of a GCC
9203 builtin and then its argument prototype would still apply. */
9216 rm -f conftest.
$ac_objext conftest
$ac_exeext
9217 if { (ac_try
="$ac_link"
9219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9220 *) ac_try_echo=$ac_try;;
9222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9223 (eval "$ac_link") 2>conftest.er1
9225 grep -v '^ *+' conftest.er1 >conftest.err
9227 cat conftest.err >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); } && {
9230 test -z "$ac_c_werror_flag" ||
9231 test ! -s conftest.err
9232 } && test -s conftest$ac_exeext &&
9233 $as_test_x conftest$ac_exeext; then
9234 ac_cv_lib_dl_dlopen=yes
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.$ac_ext >&5
9239 ac_cv_lib_dl_dlopen=no
9242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9243 conftest$ac_exeext conftest.$ac_ext
9244 LIBS=$ac_check_lib_save_LIBS
9246 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9247 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9248 if test $ac_cv_lib_dl_dlopen = yes; then
9255 if [ "x$HAVE_LIBDL" = xyes ]; then
9257 cat >>confdefs.h <<\_ACEOF
9258 #define HAVE_LIBDL 1
9266 ################################################################################
9267 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
9268 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
9269 \) -a "x$STATIC_LINK" = xyes ];
9270 then { { echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
9272 echo "$as_me: error: Features cannot be 'shared' when building statically
9274 { (exit 1); exit 1; }; }
9277 ################################################################################
9278 { echo "$as_me:$LINENO: checking whether to use static linking" >&5
9279 echo $ECHO_N "checking whether to use static linking... $ECHO_C" >&6; }
9280 # Check whether --enable-static_link was given.
9281 if test "${enable_static_link+set}" = set; then
9282 enableval=$enable_static_link; STATIC_LINK=$enableval
9287 { echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
9288 echo "${ECHO_T}$STATIC_LINK" >&6; }
9290 ################################################################################
9291 { echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
9292 echo $ECHO_N "checking whether to enable selinux support... $ECHO_C" >&6; }
9293 # Check whether --enable-selinux was given.
9294 if test "${enable_selinux+set}" = set; then
9295 enableval=$enable_selinux; SELINUX=$enableval
9298 { echo "$as_me:$LINENO: result: $SELINUX" >&5
9299 echo "${ECHO_T}$SELINUX" >&6; }
9301 ################################################################################
9302 if test x$SELINUX = xyes; then
9303 { echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
9304 echo $ECHO_N "checking for sepol_check_context in -lsepol... $ECHO_C" >&6; }
9305 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 ac_check_lib_save_LIBS=$LIBS
9309 LIBS="-lsepol $LIBS"
9310 cat >conftest.$ac_ext <<_ACEOF
9313 cat confdefs.h >>conftest.$ac_ext
9314 cat >>conftest.$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9323 char sepol_check_context ();
9327 return sepol_check_context ();
9332 rm -f conftest.$ac_objext conftest$ac_exeext
9333 if { (ac_try="$ac_link"
9335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9336 *) ac_try_echo
=$ac_try;;
9338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9339 (eval "$ac_link") 2>conftest.er1
9341 grep -v '^ *+' conftest.er1
>conftest.err
9343 cat conftest.err
>&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); } && {
9346 test -z "$ac_c_werror_flag" ||
9347 test ! -s conftest.err
9348 } && test -s conftest
$ac_exeext &&
9349 $as_test_x conftest
$ac_exeext; then
9350 ac_cv_lib_sepol_sepol_check_context
=yes
9352 echo "$as_me: failed program was:" >&5
9353 sed 's/^/| /' conftest.
$ac_ext >&5
9355 ac_cv_lib_sepol_sepol_check_context
=no
9358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9359 conftest
$ac_exeext conftest.
$ac_ext
9360 LIBS
=$ac_check_lib_save_LIBS
9362 { echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
9363 echo "${ECHO_T}$ac_cv_lib_sepol_sepol_check_context" >&6; }
9364 if test $ac_cv_lib_sepol_sepol_check_context = yes; then
9371 if test x
$HAVE_SEPOL = xyes
; then
9373 cat >>confdefs.h
<<\_ACEOF
9374 #define HAVE_SEPOL 1
9377 LIBS
="-lsepol $LIBS"
9380 { echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
9381 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6; }
9382 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
9383 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 ac_check_lib_save_LIBS
=$LIBS
9386 LIBS
="-lselinux $LIBS"
9387 cat >conftest.
$ac_ext <<_ACEOF
9390 cat confdefs.h
>>conftest.
$ac_ext
9391 cat >>conftest.
$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9400 char is_selinux_enabled ();
9404 return is_selinux_enabled ();
9409 rm -f conftest.
$ac_objext conftest
$ac_exeext
9410 if { (ac_try
="$ac_link"
9412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9413 *) ac_try_echo=$ac_try;;
9415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9416 (eval "$ac_link") 2>conftest.er1
9418 grep -v '^ *+' conftest.er1 >conftest.err
9420 cat conftest.err >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); } && {
9423 test -z "$ac_c_werror_flag" ||
9424 test ! -s conftest.err
9425 } && test -s conftest$ac_exeext &&
9426 $as_test_x conftest$ac_exeext; then
9427 ac_cv_lib_selinux_is_selinux_enabled=yes
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9432 ac_cv_lib_selinux_is_selinux_enabled=no
9435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9436 conftest$ac_exeext conftest.$ac_ext
9437 LIBS=$ac_check_lib_save_LIBS
9439 { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
9440 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
9441 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
9448 if test x$HAVE_SELINUX = xyes; then
9450 cat >>confdefs.h <<\_ACEOF
9451 #define HAVE_SELINUX 1
9454 LIBS="-lselinux $LIBS"
9456 { echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
9457 echo "$as_me: WARNING: Disabling selinux" >&2;}
9460 # With --enable-static_link and selinux enabled, linking
9461 # fails on at least Debian unstable due to unsatisfied references
9462 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
9463 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
9464 lvm_saved_libs=$LIBS
9465 LIBS="$LIBS -static"
9466 { echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
9467 echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6; }
9468 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9471 ac_func_search_save_LIBS=$LIBS
9472 cat >conftest.$ac_ext <<_ACEOF
9475 cat confdefs.h >>conftest.$ac_ext
9476 cat >>conftest.$ac_ext <<_ACEOF
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9485 char pthread_mutex_lock ();
9489 return pthread_mutex_lock ();
9494 for ac_lib in '' pthread; do
9495 if test -z "$ac_lib"; then
9496 ac_res="none required"
9499 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9501 rm -f conftest.$ac_objext conftest$ac_exeext
9502 if { (ac_try="$ac_link"
9504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9505 *) ac_try_echo
=$ac_try;;
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_link") 2>conftest.er1
9510 grep -v '^ *+' conftest.er1
>conftest.err
9512 cat conftest.err
>&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } && {
9515 test -z "$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9517 } && test -s conftest
$ac_exeext &&
9518 $as_test_x conftest
$ac_exeext; then
9519 ac_cv_search_pthread_mutex_lock
=$ac_res
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.
$ac_ext >&5
9527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9529 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9533 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9536 ac_cv_search_pthread_mutex_lock
=no
9539 LIBS
=$ac_func_search_save_LIBS
9541 { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
9542 echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6; }
9543 ac_res
=$ac_cv_search_pthread_mutex_lock
9544 if test "$ac_res" != no
; then
9545 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9546 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
9547 LIB_PTHREAD
=-lpthread
9550 LIBS
=$lvm_saved_libs
9554 ################################################################################
9555 if test x
$REALTIME = xyes
; then
9556 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
9557 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
9558 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
9559 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 ac_check_lib_save_LIBS
=$LIBS
9563 cat >conftest.
$ac_ext <<_ACEOF
9566 cat confdefs.h
>>conftest.
$ac_ext
9567 cat >>conftest.
$ac_ext <<_ACEOF
9568 /* end confdefs.h. */
9570 /* Override any GCC internal prototype to avoid an error.
9571 Use char because int might match the return type of a GCC
9572 builtin and then its argument prototype would still apply. */
9576 char clock_gettime ();
9580 return clock_gettime ();
9585 rm -f conftest.
$ac_objext conftest
$ac_exeext
9586 if { (ac_try
="$ac_link"
9588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9589 *) ac_try_echo=$ac_try;;
9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9592 (eval "$ac_link") 2>conftest.er1
9594 grep -v '^ *+' conftest.er1 >conftest.err
9596 cat conftest.err >&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); } && {
9599 test -z "$ac_c_werror_flag" ||
9600 test ! -s conftest.err
9601 } && test -s conftest$ac_exeext &&
9602 $as_test_x conftest$ac_exeext; then
9603 ac_cv_lib_rt_clock_gettime=yes
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 ac_cv_lib_rt_clock_gettime=no
9611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9612 conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9615 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
9616 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
9617 if test $ac_cv_lib_rt_clock_gettime = yes; then
9624 if test x$HAVE_REALTIME = xyes; then
9626 cat >>confdefs.h <<\_ACEOF
9627 #define HAVE_REALTIME 1
9632 { echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
9633 echo "$as_me: WARNING: Disabling realtime clock" >&2;}
9637 ################################################################################
9639 for ac_header in getopt.h
9641 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 ac_res=`eval echo '${'$as_ac_Header'}'`
9649 { echo "$as_me:$LINENO: result: $ac_res" >&5
9650 echo "${ECHO_T}$ac_res" >&6; }
9652 # Is the header compilable?
9653 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9655 cat >conftest.$ac_ext <<_ACEOF
9658 cat confdefs.h >>conftest.$ac_ext
9659 cat >>conftest.$ac_ext <<_ACEOF
9660 /* end confdefs.h. */
9661 $ac_includes_default
9662 #include <$ac_header>
9664 rm -f conftest.$ac_objext
9665 if { (ac_try="$ac_compile"
9667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9668 *) ac_try_echo
=$ac_try;;
9670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671 (eval "$ac_compile") 2>conftest.er1
9673 grep -v '^ *+' conftest.er1
>conftest.err
9675 cat conftest.err
>&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } && {
9678 test -z "$ac_c_werror_flag" ||
9679 test ! -s conftest.err
9680 } && test -s conftest.
$ac_objext; then
9681 ac_header_compiler
=yes
9683 echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.
$ac_ext >&5
9686 ac_header_compiler
=no
9689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9691 echo "${ECHO_T}$ac_header_compiler" >&6; }
9693 # Is the header present?
9694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9696 cat >conftest.
$ac_ext <<_ACEOF
9699 cat confdefs.h
>>conftest.
$ac_ext
9700 cat >>conftest.
$ac_ext <<_ACEOF
9701 /* end confdefs.h. */
9702 #include <$ac_header>
9704 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9707 *) ac_try_echo=$ac_try;;
9709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9712 grep -v '^ *+' conftest.er1 >conftest.err
9714 cat conftest.err >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } >/dev/null && {
9717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9718 test ! -s conftest.err
9720 ac_header_preproc=yes
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.$ac_ext >&5
9725 ac_header_preproc=no
9728 rm -f conftest.err conftest.$ac_ext
9729 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9730 echo "${ECHO_T}$ac_header_preproc" >&6; }
9732 # So? What about this header?
9733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9739 ac_header_preproc=yes
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9757 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9762 eval "$as_ac_Header=\$ac_header_preproc"
9764 ac_res=`eval echo '${'$as_ac_Header'}'`
9765 { echo "$as_me:$LINENO: result: $ac_res" >&5
9766 echo "${ECHO_T}$ac_res" >&6; }
9769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9770 cat >>confdefs.h <<_ACEOF
9771 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9774 cat >>confdefs.h <<\_ACEOF
9775 #define HAVE_GETOPTLONG 1
9783 ################################################################################
9784 if test x$READLINE != xno; then
9787 { echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
9788 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
9789 if test "${ac_cv_lib_readline_readline+set}" = set; then
9790 echo $ECHO_N "(cached) $ECHO_C" >&6
9792 ac_check_lib_save_LIBS=$LIBS
9793 LIBS="-lreadline $LIBS"
9794 cat >conftest.$ac_ext <<_ACEOF
9797 cat confdefs.h >>conftest.$ac_ext
9798 cat >>conftest.$ac_ext <<_ACEOF
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9816 rm -f conftest.$ac_objext conftest$ac_exeext
9817 if { (ac_try="$ac_link"
9819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9820 *) ac_try_echo
=$ac_try;;
9822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9823 (eval "$ac_link") 2>conftest.er1
9825 grep -v '^ *+' conftest.er1
>conftest.err
9827 cat conftest.err
>&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } && {
9830 test -z "$ac_c_werror_flag" ||
9831 test ! -s conftest.err
9832 } && test -s conftest
$ac_exeext &&
9833 $as_test_x conftest
$ac_exeext; then
9834 ac_cv_lib_readline_readline
=yes
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.
$ac_ext >&5
9839 ac_cv_lib_readline_readline
=no
9842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9843 conftest
$ac_exeext conftest.
$ac_ext
9844 LIBS
=$ac_check_lib_save_LIBS
9846 { echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
9847 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
9848 if test $ac_cv_lib_readline_readline = yes; then
9849 cat >>confdefs.h
<<_ACEOF
9850 #define HAVE_LIBREADLINE 1
9853 LIBS
="-lreadline $LIBS"
9859 test x
$READLINE:$rl_found = xyes
:no
&&
9860 { { echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
9861 --enable-readline option (which is enabled by default). Either disable readline
9862 support with --disable-readline or download and install readline from:
9863 ftp.gnu.org/gnu/readline
9864 Note: if you are using precompiled packages you will also need the development
9865 package as well (which may be called readline-devel or something similar).
9867 echo "$as_me: error: GNU Readline could not be found which is required for the
9868 --enable-readline option (which is enabled by default). Either disable readline
9869 support with --disable-readline or download and install readline from:
9870 ftp.gnu.org/gnu/readline
9871 Note: if you are using precompiled packages you will also need the development
9872 package as well (which may be called readline-devel or something similar).
9874 { (exit 1); exit 1; }; }
9875 if test $rl_found = yes; then
9877 for ac_func
in rl_completion_matches
9879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9882 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9883 echo $ECHO_N "(cached) $ECHO_C" >&6
9885 cat >conftest.
$ac_ext <<_ACEOF
9888 cat confdefs.h
>>conftest.
$ac_ext
9889 cat >>conftest.
$ac_ext <<_ACEOF
9890 /* end confdefs.h. */
9891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9893 #define $ac_func innocuous_$ac_func
9895 /* System header to define __stub macros and hopefully few prototypes,
9896 which can conflict with char $ac_func (); below.
9897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9898 <limits.h> exists even on freestanding compilers. */
9901 # include <limits.h>
9903 # include <assert.h>
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9915 /* The GNU C library defines this for functions which it implements
9916 to always fail with ENOSYS. Some functions are actually named
9917 something starting with __ and the normal name is an alias. */
9918 #if defined __stub_$ac_func || defined __stub___$ac_func
9930 rm -f conftest.
$ac_objext conftest
$ac_exeext
9931 if { (ac_try
="$ac_link"
9933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9934 *) ac_try_echo=$ac_try;;
9936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9937 (eval "$ac_link") 2>conftest.er1
9939 grep -v '^ *+' conftest.er1 >conftest.err
9941 cat conftest.err >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); } && {
9944 test -z "$ac_c_werror_flag" ||
9945 test ! -s conftest.err
9946 } && test -s conftest$ac_exeext &&
9947 $as_test_x conftest$ac_exeext; then
9948 eval "$as_ac_var=yes"
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.$ac_ext >&5
9953 eval "$as_ac_var=no"
9956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9957 conftest$ac_exeext conftest.$ac_ext
9959 ac_res=`eval echo '${'$as_ac_var'}'`
9960 { echo "$as_me:$LINENO: result: $ac_res" >&5
9961 echo "${ECHO_T}$ac_res" >&6; }
9962 if test `eval echo '${'$as_ac_var'}'` = yes; then
9963 cat >>confdefs.h <<_ACEOF
9964 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9971 cat >>confdefs.h <<\_ACEOF
9972 #define READLINE_SUPPORT 1
9978 ################################################################################
9979 { echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
9980 echo $ECHO_N "checking whether to enable internationalisation... $ECHO_C" >&6; }
9981 # Check whether --enable-nls was given.
9982 if test "${enable_nls+set}" = set; then
9983 enableval=$enable_nls; INTL=$enableval
9988 { echo "$as_me:$LINENO: result: $INTL" >&5
9989 echo "${ECHO_T}$INTL" >&6; }
9991 if test x$INTL = xyes; then
9992 # FIXME - Move this - can be device-mapper too
9994 # Extract the first word of "msgfmt", so it can be a program name with args.
9995 set dummy msgfmt; ac_word=$2
9996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9998 if test "${ac_cv_path_MSGFMT+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10007 for as_dir in $PATH
10010 test -z "$as_dir" && as_dir=.
10011 for ac_exec_ext in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 MSGFMT=$ac_cv_path_MSGFMT
10025 if test -n "$MSGFMT"; then
10026 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
10027 echo "${ECHO_T}$MSGFMT" >&6; }
10029 { echo "$as_me:$LINENO: result: no" >&5
10030 echo "${ECHO_T}no" >&6; }
10034 if [ "x$MSGFMT" == x ];
10035 then { { echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
10037 echo "$as_me: error: msgfmt not found in path $PATH
10039 { (exit 1); exit 1; }; }
10043 # Check whether --with-localedir was given.
10044 if test "${with_localedir+set}" = set; then
10045 withval=$with_localedir; LOCALEDIR="$withval"
10047 LOCALEDIR='${prefix}/share/locale'
10052 ################################################################################
10054 # Check whether --with-confdir was given.
10055 if test "${with_confdir+set}" = set; then
10056 withval=$with_confdir; CONFDIR="$withval"
10063 # Check whether --with-staticdir was given.
10064 if test "${with_staticdir+set}" = set; then
10065 withval=$with_staticdir; STATICDIR="$withval"
10067 STATICDIR='${exec_prefix}/sbin'
10072 # Check whether --with-usrlibdir was given.
10073 if test "${with_usrlibdir+set}" = set; then
10074 withval=$with_usrlibdir; usrlibdir="$withval"
10076 usrlibdir='${prefix}/lib'
10081 # Check whether --with-usrsbindir was given.
10082 if test "${with_usrsbindir+set}" = set; then
10083 withval=$with_usrsbindir; usrsbindir="$withval"
10085 usrsbindir='${prefix}/sbin'
10089 ################################################################################
10090 if test x$READLINE = xyes; then
10093 for ac_header in readline/readline.h readline/history.h
10095 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 ac_res=`eval echo '${'$as_ac_Header'}'`
10103 { echo "$as_me:$LINENO: result: $ac_res" >&5
10104 echo "${ECHO_T}$ac_res" >&6; }
10106 # Is the header compilable?
10107 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10109 cat >conftest.$ac_ext <<_ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10115 $ac_includes_default
10116 #include <$ac_header>
10118 rm -f conftest.$ac_objext
10119 if { (ac_try="$ac_compile"
10120 case "(($ac_try" in
10121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10122 *) ac_try_echo
=$ac_try;;
10124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10125 (eval "$ac_compile") 2>conftest.er1
10127 grep -v '^ *+' conftest.er1
>conftest.err
10129 cat conftest.err
>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } && {
10132 test -z "$ac_c_werror_flag" ||
10133 test ! -s conftest.err
10134 } && test -s conftest.
$ac_objext; then
10135 ac_header_compiler
=yes
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.
$ac_ext >&5
10140 ac_header_compiler
=no
10143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10144 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10145 echo "${ECHO_T}$ac_header_compiler" >&6; }
10147 # Is the header present?
10148 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10150 cat >conftest.
$ac_ext <<_ACEOF
10153 cat confdefs.h
>>conftest.
$ac_ext
10154 cat >>conftest.
$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10156 #include <$ac_header>
10158 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10159 case "(($ac_try" in
10160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10161 *) ac_try_echo=$ac_try;;
10163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10164 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10166 grep -v '^ *+' conftest.er1 >conftest.err
10168 cat conftest.err >&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } >/dev/null && {
10171 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10172 test ! -s conftest.err
10174 ac_header_preproc=yes
10176 echo "$as_me: failed program was:" >&5
10177 sed 's/^/| /' conftest.$ac_ext >&5
10179 ac_header_preproc=no
10182 rm -f conftest.err conftest.$ac_ext
10183 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10184 echo "${ECHO_T}$ac_header_preproc" >&6; }
10186 # So? What about this header?
10187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10193 ac_header_preproc=yes
10196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 eval "$as_ac_Header=\$ac_header_preproc"
10218 ac_res=`eval echo '${'$as_ac_Header'}'`
10219 { echo "$as_me:$LINENO: result: $ac_res" >&5
10220 echo "${ECHO_T}$ac_res" >&6; }
10223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10224 cat >>confdefs.h <<_ACEOF
10225 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10229 { { echo "$as_me:$LINENO: error: bailing out" >&5
10230 echo "$as_me: error: bailing out" >&2;}
10231 { (exit 1); exit 1; }; }
10238 if test x$CLVMD != xnone; then
10249 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
10251 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 ac_res=`eval echo '${'$as_ac_Header'}'`
10259 { echo "$as_me:$LINENO: result: $ac_res" >&5
10260 echo "${ECHO_T}$ac_res" >&6; }
10262 # Is the header compilable?
10263 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10265 cat >conftest.$ac_ext <<_ACEOF
10268 cat confdefs.h >>conftest.$ac_ext
10269 cat >>conftest.$ac_ext <<_ACEOF
10270 /* end confdefs.h. */
10271 $ac_includes_default
10272 #include <$ac_header>
10274 rm -f conftest.$ac_objext
10275 if { (ac_try="$ac_compile"
10276 case "(($ac_try" in
10277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10278 *) ac_try_echo
=$ac_try;;
10280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10281 (eval "$ac_compile") 2>conftest.er1
10283 grep -v '^ *+' conftest.er1
>conftest.err
10285 cat conftest.err
>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); } && {
10288 test -z "$ac_c_werror_flag" ||
10289 test ! -s conftest.err
10290 } && test -s conftest.
$ac_objext; then
10291 ac_header_compiler
=yes
10293 echo "$as_me: failed program was:" >&5
10294 sed 's/^/| /' conftest.
$ac_ext >&5
10296 ac_header_compiler
=no
10299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10300 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10301 echo "${ECHO_T}$ac_header_compiler" >&6; }
10303 # Is the header present?
10304 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10306 cat >conftest.
$ac_ext <<_ACEOF
10309 cat confdefs.h
>>conftest.
$ac_ext
10310 cat >>conftest.
$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10312 #include <$ac_header>
10314 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10315 case "(($ac_try" in
10316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10320 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10322 grep -v '^ *+' conftest.er1 >conftest.err
10324 cat conftest.err >&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } >/dev/null && {
10327 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10328 test ! -s conftest.err
10330 ac_header_preproc=yes
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_header_preproc=no
10338 rm -f conftest.err conftest.$ac_ext
10339 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10340 echo "${ECHO_T}$ac_header_preproc" >&6; }
10342 # So? What about this header?
10343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10349 ac_header_preproc=yes
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 eval "$as_ac_Header=\$ac_header_preproc"
10374 ac_res=`eval echo '${'$as_ac_Header'}'`
10375 { echo "$as_me:$LINENO: result: $ac_res" >&5
10376 echo "${ECHO_T}$ac_res" >&6; }
10379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10380 cat >>confdefs.h <<_ACEOF
10381 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10385 { { echo "$as_me:$LINENO: error: bailing out" >&5
10386 echo "$as_me: error: bailing out" >&2;}
10387 { (exit 1); exit 1; }; }
10397 for ac_func in dup2 getmntent memmove select socket
10399 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 cat >conftest.$ac_ext <<_ACEOF
10408 cat confdefs.h >>conftest.$ac_ext
10409 cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10413 #define $ac_func innocuous_$ac_func
10415 /* System header to define __stub macros and hopefully few prototypes,
10416 which can conflict with char $ac_func (); below.
10417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10418 <limits.h> exists even on freestanding compilers. */
10421 # include <limits.h>
10423 # include <assert.h>
10428 /* Override any GCC internal prototype to avoid an error.
10429 Use char because int might match the return type of a GCC
10430 builtin and then its argument prototype would still apply. */
10435 /* The GNU C library defines this for functions which it implements
10436 to always fail with ENOSYS. Some functions are actually named
10437 something starting with __ and the normal name is an alias. */
10438 #if defined __stub_$ac_func || defined __stub___$ac_func
10445 return $ac_func ();
10450 rm -f conftest.$ac_objext conftest$ac_exeext
10451 if { (ac_try="$ac_link"
10452 case "(($ac_try" in
10453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10454 *) ac_try_echo
=$ac_try;;
10456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10457 (eval "$ac_link") 2>conftest.er1
10459 grep -v '^ *+' conftest.er1
>conftest.err
10461 cat conftest.err
>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } && {
10464 test -z "$ac_c_werror_flag" ||
10465 test ! -s conftest.err
10466 } && test -s conftest
$ac_exeext &&
10467 $as_test_x conftest
$ac_exeext; then
10468 eval "$as_ac_var=yes"
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.
$ac_ext >&5
10473 eval "$as_ac_var=no"
10476 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10477 conftest
$ac_exeext conftest.
$ac_ext
10479 ac_res
=`eval echo '${'$as_ac_var'}'`
10480 { echo "$as_me:$LINENO: result: $ac_res" >&5
10481 echo "${ECHO_T}$ac_res" >&6; }
10482 if test `eval echo '${'$as_ac_var'}'` = yes; then
10483 cat >>confdefs.h
<<_ACEOF
10484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10488 { { echo "$as_me:$LINENO: error: bailing out" >&5
10489 echo "$as_me: error: bailing out" >&2;}
10490 { (exit 1); exit 1; }; }
10494 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
10495 # -lseq on Dynix/PTX, -lgen on Unixware.
10496 { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
10497 echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
10498 if test "${ac_cv_search_getmntent+set}" = set; then
10499 echo $ECHO_N "(cached) $ECHO_C" >&6
10501 ac_func_search_save_LIBS
=$LIBS
10502 cat >conftest.
$ac_ext <<_ACEOF
10505 cat confdefs.h
>>conftest.
$ac_ext
10506 cat >>conftest.
$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10519 return getmntent ();
10524 for ac_lib
in '' sun
seq gen
; do
10525 if test -z "$ac_lib"; then
10526 ac_res
="none required"
10529 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10531 rm -f conftest.
$ac_objext conftest
$ac_exeext
10532 if { (ac_try
="$ac_link"
10533 case "(($ac_try" in
10534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10540 grep -v '^ *+' conftest.er1 >conftest.err
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10549 ac_cv_search_getmntent=$ac_res
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10559 if test "${ac_cv_search_getmntent+set}" = set; then
10563 if test "${ac_cv_search_getmntent+set}" = set; then
10566 ac_cv_search_getmntent=no
10568 rm conftest.$ac_ext
10569 LIBS=$ac_func_search_save_LIBS
10571 { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
10572 echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
10573 ac_res=$ac_cv_search_getmntent
10574 if test "$ac_res" != no; then
10575 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10576 ac_cv_func_getmntent=yes
10578 cat >>confdefs.h <<\_ACEOF
10579 #define HAVE_GETMNTENT
10583 ac_cv_func_getmntent=no
10590 for ac_header in sys/select.h sys/socket.h
10592 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10597 echo $ECHO_N "(cached) $ECHO_C" >&6
10599 ac_res=`eval echo '${'$as_ac_Header'}'`
10600 { echo "$as_me:$LINENO: result: $ac_res" >&5
10601 echo "${ECHO_T}$ac_res" >&6; }
10603 # Is the header compilable?
10604 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10606 cat >conftest.$ac_ext <<_ACEOF
10609 cat confdefs.h >>conftest.$ac_ext
10610 cat >>conftest.$ac_ext <<_ACEOF
10611 /* end confdefs.h. */
10612 $ac_includes_default
10613 #include <$ac_header>
10615 rm -f conftest.$ac_objext
10616 if { (ac_try="$ac_compile"
10617 case "(($ac_try" in
10618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10619 *) ac_try_echo
=$ac_try;;
10621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10622 (eval "$ac_compile") 2>conftest.er1
10624 grep -v '^ *+' conftest.er1
>conftest.err
10626 cat conftest.err
>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); } && {
10629 test -z "$ac_c_werror_flag" ||
10630 test ! -s conftest.err
10631 } && test -s conftest.
$ac_objext; then
10632 ac_header_compiler
=yes
10634 echo "$as_me: failed program was:" >&5
10635 sed 's/^/| /' conftest.
$ac_ext >&5
10637 ac_header_compiler
=no
10640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10641 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10642 echo "${ECHO_T}$ac_header_compiler" >&6; }
10644 # Is the header present?
10645 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10647 cat >conftest.
$ac_ext <<_ACEOF
10650 cat confdefs.h
>>conftest.
$ac_ext
10651 cat >>conftest.
$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10653 #include <$ac_header>
10655 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10656 case "(($ac_try" in
10657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10658 *) ac_try_echo=$ac_try;;
10660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10663 grep -v '^ *+' conftest.er1 >conftest.err
10665 cat conftest.err >&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } >/dev/null && {
10668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10669 test ! -s conftest.err
10671 ac_header_preproc=yes
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.$ac_ext >&5
10676 ac_header_preproc=no
10679 rm -f conftest.err conftest.$ac_ext
10680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10681 echo "${ECHO_T}$ac_header_preproc" >&6; }
10683 # So? What about this header?
10684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10690 ac_header_preproc=yes
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 eval "$as_ac_Header=\$ac_header_preproc"
10715 ac_res=`eval echo '${'$as_ac_Header'}'`
10716 { echo "$as_me:$LINENO: result: $ac_res" >&5
10717 echo "${ECHO_T}$ac_res" >&6; }
10720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10721 cat >>confdefs.h <<_ACEOF
10722 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10729 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
10730 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10731 if test "${ac_cv_func_select_args+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10735 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10736 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10737 cat >conftest.$ac_ext <<_ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743 $ac_includes_default
10744 #ifdef HAVE_SYS_SELECT_H
10745 # include <sys/select.h>
10747 #ifdef HAVE_SYS_SOCKET_H
10748 # include <sys/socket.h>
10754 extern int select ($ac_arg1,
10755 $ac_arg234, $ac_arg234, $ac_arg234,
10761 rm -f conftest.$ac_objext
10762 if { (ac_try="$ac_compile"
10763 case "(($ac_try" in
10764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10765 *) ac_try_echo
=$ac_try;;
10767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10768 (eval "$ac_compile") 2>conftest.er1
10770 grep -v '^ *+' conftest.er1
>conftest.err
10772 cat conftest.err
>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } && {
10775 test -z "$ac_c_werror_flag" ||
10776 test ! -s conftest.err
10777 } && test -s conftest.
$ac_objext; then
10778 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.
$ac_ext >&5
10786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10790 # Provide a safe default value.
10791 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10794 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10795 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
10796 ac_save_IFS
=$IFS; IFS
=','
10797 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10801 cat >>confdefs.h
<<_ACEOF
10802 #define SELECT_TYPE_ARG1 $1
10806 cat >>confdefs.h
<<_ACEOF
10807 #define SELECT_TYPE_ARG234 ($2)
10811 cat >>confdefs.h
<<_ACEOF
10812 #define SELECT_TYPE_ARG5 ($3)
10819 if test x
$CLUSTER != xnone
; then
10822 for ac_header
in sys
/socket.h sys
/un.h
10824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10825 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10826 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10828 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 ac_res
=`eval echo '${'$as_ac_Header'}'`
10832 { echo "$as_me:$LINENO: result: $ac_res" >&5
10833 echo "${ECHO_T}$ac_res" >&6; }
10835 # Is the header compilable?
10836 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10838 cat >conftest.
$ac_ext <<_ACEOF
10841 cat confdefs.h
>>conftest.
$ac_ext
10842 cat >>conftest.
$ac_ext <<_ACEOF
10843 /* end confdefs.h. */
10844 $ac_includes_default
10845 #include <$ac_header>
10847 rm -f conftest.
$ac_objext
10848 if { (ac_try
="$ac_compile"
10849 case "(($ac_try" in
10850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_compile") 2>conftest.er1
10856 grep -v '^ *+' conftest.er1 >conftest.err
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && {
10861 test -z "$ac_c_werror_flag" ||
10862 test ! -s conftest.err
10863 } && test -s conftest.$ac_objext; then
10864 ac_header_compiler=yes
10866 echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.$ac_ext >&5
10869 ac_header_compiler=no
10872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10873 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10874 echo "${ECHO_T}$ac_header_compiler" >&6; }
10876 # Is the header present?
10877 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10879 cat >conftest.$ac_ext <<_ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 #include <$ac_header>
10887 if { (ac_try="$ac_cpp conftest.$ac_ext"
10888 case "(($ac_try" in
10889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10890 *) ac_try_echo
=$ac_try;;
10892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10895 grep -v '^ *+' conftest.er1
>conftest.err
10897 cat conftest.err
>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } >/dev
/null
&& {
10900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10901 test ! -s conftest.err
10903 ac_header_preproc
=yes
10905 echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.
$ac_ext >&5
10908 ac_header_preproc
=no
10911 rm -f conftest.err conftest.
$ac_ext
10912 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10913 echo "${ECHO_T}$ac_header_preproc" >&6; }
10915 # So? What about this header?
10916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10922 ac_header_preproc
=yes
10925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10942 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 eval "$as_ac_Header=\$ac_header_preproc"
10947 ac_res
=`eval echo '${'$as_ac_Header'}'`
10948 { echo "$as_me:$LINENO: result: $ac_res" >&5
10949 echo "${ECHO_T}$ac_res" >&6; }
10952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10953 cat >>confdefs.h
<<_ACEOF
10954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10958 { { echo "$as_me:$LINENO: error: bailing out" >&5
10959 echo "$as_me: error: bailing out" >&2;}
10960 { (exit 1); exit 1; }; }
10966 for ac_func
in socket
10968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10971 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 cat >conftest.
$ac_ext <<_ACEOF
10977 cat confdefs.h
>>conftest.
$ac_ext
10978 cat >>conftest.
$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10982 #define $ac_func innocuous_$ac_func
10984 /* System header to define __stub macros and hopefully few prototypes,
10985 which can conflict with char $ac_func (); below.
10986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10987 <limits.h> exists even on freestanding compilers. */
10990 # include <limits.h>
10992 # include <assert.h>
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11004 /* The GNU C library defines this for functions which it implements
11005 to always fail with ENOSYS. Some functions are actually named
11006 something starting with __ and the normal name is an alias. */
11007 #if defined __stub_$ac_func || defined __stub___$ac_func
11014 return $ac_func ();
11019 rm -f conftest.
$ac_objext conftest
$ac_exeext
11020 if { (ac_try
="$ac_link"
11021 case "(($ac_try" in
11022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11023 *) ac_try_echo=$ac_try;;
11025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11026 (eval "$ac_link") 2>conftest.er1
11028 grep -v '^ *+' conftest.er1 >conftest.err
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } && {
11033 test -z "$ac_c_werror_flag" ||
11034 test ! -s conftest.err
11035 } && test -s conftest$ac_exeext &&
11036 $as_test_x conftest$ac_exeext; then
11037 eval "$as_ac_var=yes"
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.$ac_ext >&5
11042 eval "$as_ac_var=no"
11045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11046 conftest$ac_exeext conftest.$ac_ext
11048 ac_res=`eval echo '${'$as_ac_var'}'`
11049 { echo "$as_me:$LINENO: result: $ac_res" >&5
11050 echo "${ECHO_T}$ac_res" >&6; }
11051 if test `eval echo '${'$as_ac_var'}'` = yes; then
11052 cat >>confdefs.h <<_ACEOF
11053 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11057 { { echo "$as_me:$LINENO: error: bailing out" >&5
11058 echo "$as_me: error: bailing out" >&2;}
11059 { (exit 1); exit 1; }; }
11065 if test x$HAVE_LIBDL = xyes; then
11067 for ac_header in dlfcn.h
11069 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11076 ac_res=`eval echo '${'$as_ac_Header'}'`
11077 { echo "$as_me:$LINENO: result: $ac_res" >&5
11078 echo "${ECHO_T}$ac_res" >&6; }
11080 # Is the header compilable?
11081 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11082 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11083 cat >conftest.$ac_ext <<_ACEOF
11086 cat confdefs.h >>conftest.$ac_ext
11087 cat >>conftest.$ac_ext <<_ACEOF
11088 /* end confdefs.h. */
11089 $ac_includes_default
11090 #include <$ac_header>
11092 rm -f conftest.$ac_objext
11093 if { (ac_try="$ac_compile"
11094 case "(($ac_try" in
11095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11096 *) ac_try_echo
=$ac_try;;
11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11099 (eval "$ac_compile") 2>conftest.er1
11101 grep -v '^ *+' conftest.er1
>conftest.err
11103 cat conftest.err
>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } && {
11106 test -z "$ac_c_werror_flag" ||
11107 test ! -s conftest.err
11108 } && test -s conftest.
$ac_objext; then
11109 ac_header_compiler
=yes
11111 echo "$as_me: failed program was:" >&5
11112 sed 's/^/| /' conftest.
$ac_ext >&5
11114 ac_header_compiler
=no
11117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11119 echo "${ECHO_T}$ac_header_compiler" >&6; }
11121 # Is the header present?
11122 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11124 cat >conftest.
$ac_ext <<_ACEOF
11127 cat confdefs.h
>>conftest.
$ac_ext
11128 cat >>conftest.
$ac_ext <<_ACEOF
11129 /* end confdefs.h. */
11130 #include <$ac_header>
11132 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11133 case "(($ac_try" in
11134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11135 *) ac_try_echo=$ac_try;;
11137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11140 grep -v '^ *+' conftest.er1 >conftest.err
11142 cat conftest.err >&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); } >/dev/null && {
11145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11146 test ! -s conftest.err
11148 ac_header_preproc=yes
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.$ac_ext >&5
11153 ac_header_preproc=no
11156 rm -f conftest.err conftest.$ac_ext
11157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11158 echo "${ECHO_T}$ac_header_preproc" >&6; }
11160 # So? What about this header?
11161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11167 ac_header_preproc=yes
11170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11188 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 eval "$as_ac_Header=\$ac_header_preproc"
11192 ac_res=`eval echo '${'$as_ac_Header'}'`
11193 { echo "$as_me:$LINENO: result: $ac_res" >&5
11194 echo "${ECHO_T}$ac_res" >&6; }
11197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11198 cat >>confdefs.h <<_ACEOF
11199 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11203 { { echo "$as_me:$LINENO: error: bailing out" >&5
11204 echo "$as_me: error: bailing out" >&2;}
11205 { (exit 1); exit 1; }; }
11212 if test x$INTL = xyes; then
11214 for ac_header in libintl.h
11216 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11217 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
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 ac_res=`eval echo '${'$as_ac_Header'}'`
11224 { echo "$as_me:$LINENO: result: $ac_res" >&5
11225 echo "${ECHO_T}$ac_res" >&6; }
11227 # Is the header compilable?
11228 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11230 cat >conftest.$ac_ext <<_ACEOF
11233 cat confdefs.h >>conftest.$ac_ext
11234 cat >>conftest.$ac_ext <<_ACEOF
11235 /* end confdefs.h. */
11236 $ac_includes_default
11237 #include <$ac_header>
11239 rm -f conftest.$ac_objext
11240 if { (ac_try="$ac_compile"
11241 case "(($ac_try" in
11242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11243 *) ac_try_echo
=$ac_try;;
11245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11246 (eval "$ac_compile") 2>conftest.er1
11248 grep -v '^ *+' conftest.er1
>conftest.err
11250 cat conftest.err
>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } && {
11253 test -z "$ac_c_werror_flag" ||
11254 test ! -s conftest.err
11255 } && test -s conftest.
$ac_objext; then
11256 ac_header_compiler
=yes
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.
$ac_ext >&5
11261 ac_header_compiler
=no
11264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11266 echo "${ECHO_T}$ac_header_compiler" >&6; }
11268 # Is the header present?
11269 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11271 cat >conftest.
$ac_ext <<_ACEOF
11274 cat confdefs.h
>>conftest.
$ac_ext
11275 cat >>conftest.
$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11277 #include <$ac_header>
11279 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11280 case "(($ac_try" in
11281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11282 *) ac_try_echo=$ac_try;;
11284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11287 grep -v '^ *+' conftest.er1 >conftest.err
11289 cat conftest.err >&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } >/dev/null && {
11292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11293 test ! -s conftest.err
11295 ac_header_preproc=yes
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.$ac_ext >&5
11300 ac_header_preproc=no
11303 rm -f conftest.err conftest.$ac_ext
11304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11305 echo "${ECHO_T}$ac_header_preproc" >&6; }
11307 # So? What about this header?
11308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11314 ac_header_preproc=yes
11317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11337 eval "$as_ac_Header=\$ac_header_preproc"
11339 ac_res=`eval echo '${'$as_ac_Header'}'`
11340 { echo "$as_me:$LINENO: result: $ac_res" >&5
11341 echo "${ECHO_T}$ac_res" >&6; }
11344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11345 cat >>confdefs.h <<_ACEOF
11346 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11350 { { echo "$as_me:$LINENO: error: bailing out" >&5
11351 echo "$as_me: error: bailing out" >&2;}
11352 { (exit 1); exit 1; }; }
11360 for ac_header in libdevmapper.h
11362 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 ac_res=`eval echo '${'$as_ac_Header'}'`
11370 { echo "$as_me:$LINENO: result: $ac_res" >&5
11371 echo "${ECHO_T}$ac_res" >&6; }
11373 # Is the header compilable?
11374 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11376 cat >conftest.$ac_ext <<_ACEOF
11379 cat confdefs.h >>conftest.$ac_ext
11380 cat >>conftest.$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11382 $ac_includes_default
11383 #include <$ac_header>
11385 rm -f conftest.$ac_objext
11386 if { (ac_try="$ac_compile"
11387 case "(($ac_try" in
11388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11389 *) ac_try_echo
=$ac_try;;
11391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11392 (eval "$ac_compile") 2>conftest.er1
11394 grep -v '^ *+' conftest.er1
>conftest.err
11396 cat conftest.err
>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } && {
11399 test -z "$ac_c_werror_flag" ||
11400 test ! -s conftest.err
11401 } && test -s conftest.
$ac_objext; then
11402 ac_header_compiler
=yes
11404 echo "$as_me: failed program was:" >&5
11405 sed 's/^/| /' conftest.
$ac_ext >&5
11407 ac_header_compiler
=no
11410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11411 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11412 echo "${ECHO_T}$ac_header_compiler" >&6; }
11414 # Is the header present?
11415 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11417 cat >conftest.
$ac_ext <<_ACEOF
11420 cat confdefs.h
>>conftest.
$ac_ext
11421 cat >>conftest.
$ac_ext <<_ACEOF
11422 /* end confdefs.h. */
11423 #include <$ac_header>
11425 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11426 case "(($ac_try" in
11427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11428 *) ac_try_echo=$ac_try;;
11430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11433 grep -v '^ *+' conftest.er1 >conftest.err
11435 cat conftest.err >&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); } >/dev/null && {
11438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11439 test ! -s conftest.err
11441 ac_header_preproc=yes
11443 echo "$as_me: failed program was:" >&5
11444 sed 's/^/| /' conftest.$ac_ext >&5
11446 ac_header_preproc=no
11449 rm -f conftest.err conftest.$ac_ext
11450 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11451 echo "${ECHO_T}$ac_header_preproc" >&6; }
11453 # So? What about this header?
11454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11460 ac_header_preproc=yes
11463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 eval "$as_ac_Header=\$ac_header_preproc"
11485 ac_res=`eval echo '${'$as_ac_Header'}'`
11486 { echo "$as_me:$LINENO: result: $ac_res" >&5
11487 echo "${ECHO_T}$ac_res" >&6; }
11490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11491 cat >>confdefs.h <<_ACEOF
11492 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11496 { { echo "$as_me:$LINENO: error: bailing out" >&5
11497 echo "$as_me: error: bailing out" >&2;}
11498 { (exit 1); exit 1; }; }
11504 if test x$HAVE_SELINUX = xyes; then
11506 for ac_header in selinux/selinux.h
11508 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 ac_res=`eval echo '${'$as_ac_Header'}'`
11516 { echo "$as_me:$LINENO: result: $ac_res" >&5
11517 echo "${ECHO_T}$ac_res" >&6; }
11519 # Is the header compilable?
11520 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11522 cat >conftest.$ac_ext <<_ACEOF
11525 cat confdefs.h >>conftest.$ac_ext
11526 cat >>conftest.$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11528 $ac_includes_default
11529 #include <$ac_header>
11531 rm -f conftest.$ac_objext
11532 if { (ac_try="$ac_compile"
11533 case "(($ac_try" in
11534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11535 *) ac_try_echo
=$ac_try;;
11537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11538 (eval "$ac_compile") 2>conftest.er1
11540 grep -v '^ *+' conftest.er1
>conftest.err
11542 cat conftest.err
>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } && {
11545 test -z "$ac_c_werror_flag" ||
11546 test ! -s conftest.err
11547 } && test -s conftest.
$ac_objext; then
11548 ac_header_compiler
=yes
11550 echo "$as_me: failed program was:" >&5
11551 sed 's/^/| /' conftest.
$ac_ext >&5
11553 ac_header_compiler
=no
11556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11558 echo "${ECHO_T}$ac_header_compiler" >&6; }
11560 # Is the header present?
11561 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11563 cat >conftest.
$ac_ext <<_ACEOF
11566 cat confdefs.h
>>conftest.
$ac_ext
11567 cat >>conftest.
$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11569 #include <$ac_header>
11571 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11572 case "(($ac_try" in
11573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11574 *) ac_try_echo=$ac_try;;
11576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11579 grep -v '^ *+' conftest.er1 >conftest.err
11581 cat conftest.err >&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } >/dev/null && {
11584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11585 test ! -s conftest.err
11587 ac_header_preproc=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.$ac_ext >&5
11592 ac_header_preproc=no
11595 rm -f conftest.err conftest.$ac_ext
11596 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11597 echo "${ECHO_T}$ac_header_preproc" >&6; }
11599 # So? What about this header?
11600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11606 ac_header_preproc=yes
11609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 eval "$as_ac_Header=\$ac_header_preproc"
11631 ac_res=`eval echo '${'$as_ac_Header'}'`
11632 { echo "$as_me:$LINENO: result: $ac_res" >&5
11633 echo "${ECHO_T}$ac_res" >&6; }
11636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11637 cat >>confdefs.h <<_ACEOF
11638 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11642 { { echo "$as_me:$LINENO: error: bailing out" >&5
11643 echo "$as_me: error: bailing out" >&2;}
11644 { (exit 1); exit 1; }; }
11651 ################################################################################
11652 # Extract the first word of "modprobe", so it can be a program name with args.
11653 set dummy modprobe; ac_word=$2
11654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11656 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 case $MODPROBE_CMD in
11661 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
11664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11665 for as_dir in $PATH
11668 test -z "$as_dir" && as_dir=.
11669 for ac_exec_ext in '' $ac_executable_extensions; do
11670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11671 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
11672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11682 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
11683 if test -n "$MODPROBE_CMD"; then
11684 { echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
11685 echo "${ECHO_T}$MODPROBE_CMD" >&6; }
11687 { echo "$as_me:$LINENO: result: no" >&5
11688 echo "${ECHO_T}no" >&6; }
11693 if test x$MODPROBE_CMD != x; then
11695 cat >>confdefs.h <<_ACEOF
11696 #define MODPROBE_CMD "$MODPROBE_CMD"
11701 ################################################################################
11704 if test "$BUILD_DMEVENTD" = yes; then
11706 # Check whether --with-dmeventd-pidfile was given.
11707 if test "${with_dmeventd_pidfile+set}" = set; then
11708 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
11709 #define DMEVENTD_PIDFILE "$withval"
11713 cat >>confdefs.h <<_ACEOF
11714 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
11723 if test "$BUILD_DMEVENTD" = yes; then
11724 dmeventd_prefix="$exec_prefix"
11725 if test "x$dmeventd_prefix" = "xNONE"; then
11726 dmeventd_prefix="$prefix"
11728 if test "x$dmeventd_prefix" = "xNONE"; then
11732 # Check whether --with-dmeventd-path was given.
11733 if test "${with_dmeventd_path+set}" = set; then
11734 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
11735 #define DMEVENTD_PATH "$withval"
11739 cat >>confdefs.h <<_ACEOF
11740 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
11747 ################################################################################
11748 { echo "$as_me:$LINENO: checking for kernel interface choice" >&5
11749 echo $ECHO_N "checking for kernel interface choice... $ECHO_C" >&6; }
11751 # Check whether --with-interface was given.
11752 if test "${with_interface+set}" = set; then
11753 withval=$with_interface; interface="$withval"
11758 if [ "x$interface" != xioctl ];
11760 { { echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
11761 echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
11762 { (exit 1); exit 1; }; }
11764 { echo "$as_me:$LINENO: result: $interface" >&5
11765 echo "${ECHO_T}$interface" >&6; }
11767 ################################################################################
11768 DM_LIB_VERSION="\"`cat VERSION_LIB
2>/dev
/null ||
echo Unknown
`\""
11769 LVM_VERSION="\"`cat VERSION
2>/dev
/null ||
echo Unknown
`\""
11771 ################################################################################
11825 ################################################################################
11826 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"
11828 cat >confcache <<\_ACEOF
11829 # This file is a shell script that caches the results of configure
11830 # tests run on this system so they can be shared between configure
11831 # scripts and configure runs, see configure's option --config-cache.
11832 # It is not useful on other systems. If it contains results you don't
11833 # want to keep, you may remove or edit it.
11835 # config.status only pays attention to the cache file if you give it
11836 # the --recheck option to rerun configure.
11838 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11839 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11840 # following values.
11844 # The following way of writing the cache mishandles newlines in values,
11845 # but we know of no workaround that is simple, portable, and efficient.
11846 # So, we kill variables containing newlines.
11847 # Ultrix sh set writes to stderr and can't be redirected directly,
11848 # and sets the high bit in the cache file unless we assign to the vars.
11850 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11851 eval ac_val
=\$
$ac_var
11855 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11856 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11859 _ | IFS | as_nl
) ;; #(
11860 *) $as_unset $ac_var ;;
11866 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11867 *${as_nl}ac_space
=\
*)
11868 # `set' does not quote correctly, so add quotes (double-quote
11869 # substitution turns \\\\ into \\, and sed turns \\ into \).
11872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11875 # `set' quotes correctly as required by POSIX, so do not add quotes.
11876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11887 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11889 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11890 if test -w "$cache_file"; then
11891 test "x$cache_file" != "x/dev/null" &&
11892 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11893 echo "$as_me: updating cache $cache_file" >&6;}
11894 cat confcache
>$cache_file
11896 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11897 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11902 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11903 # Let make expand exec_prefix.
11904 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11906 DEFS
=-DHAVE_CONFIG_H
11910 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11911 # 1. Remove the extension, and $U if already installed.
11912 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11913 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11914 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11915 # will be set to the directory where LIBOBJS objects are built.
11916 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11917 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11919 LIBOBJS
=$ac_libobjs
11921 LTLIBOBJS
=$ac_ltlibobjs
11925 : ${CONFIG_STATUS=./config.status}
11926 ac_clean_files_save
=$ac_clean_files
11927 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11928 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11929 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11930 cat >$CONFIG_STATUS <<_ACEOF
11932 # Generated by $as_me.
11933 # Run this file to recreate the current configuration.
11934 # Compiler output produced by configure, useful for debugging
11935 # configure, is in config.log if it exists.
11938 ac_cs_recheck=false
11940 SHELL=\${CONFIG_SHELL-$SHELL}
11943 cat >>$CONFIG_STATUS <<\_ACEOF
11944 ## --------------------- ##
11945 ## M4sh Initialization. ##
11946 ## --------------------- ##
11948 # Be more Bourne compatible
11949 DUALCASE
=1; export DUALCASE
# for MKS sh
11950 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11953 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11954 # is contrary to our usage. Disable this feature.
11955 alias -g '${1+"$@"}'='"$@"'
11956 setopt NO_GLOB_SUBST
11958 case `(set -o) 2>/dev/null` in
11959 *posix
*) set -o posix
;;
11968 # Avoid depending upon Character Ranges.
11969 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11970 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11971 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11972 as_cr_digits
='0123456789'
11973 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11975 # The user is always right.
11976 if test "${PATH_SEPARATOR+set}" != set; then
11977 echo "#! /bin/sh" >conf$$.sh
11978 echo "exit 0" >>conf$$.sh
11980 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11988 # Support unset when possible.
11989 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11997 # We need space, tab and new line, in precisely that order. Quoting is
11998 # there to prevent editors from complaining about space-tab.
11999 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12000 # splitting by setting IFS to empty value.)
12005 # Find who we are. Look in the path if we contain no directory separator.
12007 *[\\/]* ) as_myself
=$0 ;;
12008 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12009 for as_dir
in $PATH
12012 test -z "$as_dir" && as_dir
=.
12013 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12019 # We did not find ourselves, most probably we were run as `sh COMMAND'
12020 # in which case we are not to be found in the path.
12021 if test "x$as_myself" = x
; then
12024 if test ! -f "$as_myself"; then
12025 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12026 { (exit 1); exit 1; }
12029 # Work around bugs in pre-3.0 UWIN ksh.
12030 for as_var
in ENV MAIL MAILPATH
12031 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12039 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12040 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12041 LC_TELEPHONE LC_TIME
12043 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12044 eval $as_var=C
; export $as_var
12046 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12050 # Required to use basename.
12051 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12052 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12058 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12059 as_basename
=basename
12065 # Name of the executable.
12066 as_me
=`$as_basename -- "$0" ||
12067 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12068 X"$0" : 'X\(//\)$' \| \
12069 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12071 sed '/^.*\/\([^/][^/]*\)\/*$/{
12090 as_lineno_1
=$LINENO
12091 as_lineno_2
=$LINENO
12092 test "x$as_lineno_1" != "x$as_lineno_2" &&
12093 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12095 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12096 # uniformly replaced by the line number. The first 'sed' inserts a
12097 # line-number line after each line using $LINENO; the second 'sed'
12098 # does the real work. The second script uses 'N' to pair each
12099 # line-number line with the line containing $LINENO, and appends
12100 # trailing '-' during substitution so that $LINENO is not a special
12101 # case at line end.
12102 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12103 # scripts with optimization help from Paolo Bonzini. Blame Lee
12104 # E. McMahon (1931-1989) for sed's syntax. :-)
12116 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12119 ' >$as_me.lineno
&&
12120 chmod +x
"$as_me.lineno" ||
12121 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12122 { (exit 1); exit 1; }; }
12124 # Don't try to exec as it changes $[0], causing all sort of problems
12125 # (the dirname of $[0] is not the place where we might find the
12126 # original and so on. Autoconf is especially sensitive to this).
12127 .
"./$as_me.lineno"
12128 # Exit status is that of the last command.
12133 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12139 ECHO_C
= ECHO_N
= ECHO_T
=
12140 case `echo -n x` in
12142 case `echo 'x\c'` in
12143 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12150 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12151 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12157 rm -f conf$$ conf$$.exe conf$$.
file
12158 if test -d conf$$.dir
; then
12159 rm -f conf$$.dir
/conf$$.
file
12165 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12167 # ... but there are two gotchas:
12168 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12169 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12170 # In both cases, we have to default to `cp -p'.
12171 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12173 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12178 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12179 rmdir conf$$.dir
2>/dev
/null
12181 if mkdir
-p .
2>/dev
/null
; then
12184 test -d .
/-p && rmdir .
/-p
12188 if test -x / >/dev
/null
2>&1; then
12189 as_test_x
='test -x'
12191 if ls -dL / >/dev
/null
2>&1; then
12198 if test -d "$1"; then
12204 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12205 ???[sx]*):;;*)false;;esac;fi
12209 as_executable_p
=$as_test_x
12211 # Sed expression to map a string onto a valid CPP name.
12212 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12214 # Sed expression to map a string onto a valid variable name.
12215 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12220 # Save the log message, to keep $[0] and so on meaningful, and to
12221 # report actual input values of CONFIG_FILES etc. instead of their
12222 # values after options handling.
12224 This file was extended by $as_me, which was
12225 generated by GNU Autoconf 2.61. Invocation command line was
12227 CONFIG_FILES = $CONFIG_FILES
12228 CONFIG_HEADERS = $CONFIG_HEADERS
12229 CONFIG_LINKS = $CONFIG_LINKS
12230 CONFIG_COMMANDS = $CONFIG_COMMANDS
12233 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12238 cat >>$CONFIG_STATUS <<_ACEOF
12239 # Files that config.status was made for.
12240 config_files="$ac_config_files"
12241 config_headers="$ac_config_headers"
12245 cat >>$CONFIG_STATUS <<\_ACEOF
12247 \`$as_me' instantiates files from templates according to the
12248 current configuration.
12250 Usage: $0 [OPTIONS] [FILE]...
12252 -h, --help print this help, then exit
12253 -V, --version print version number and configuration settings, then exit
12254 -q, --quiet do not print progress messages
12255 -d, --debug don't remove temporary files
12256 --recheck update $as_me by reconfiguring in the same conditions
12257 --file=FILE[:TEMPLATE]
12258 instantiate the configuration file FILE
12259 --header=FILE[:TEMPLATE]
12260 instantiate the configuration header FILE
12262 Configuration files:
12265 Configuration headers:
12268 Report bugs to <bug-autoconf@gnu.org>."
12271 cat >>$CONFIG_STATUS <<_ACEOF
12274 configured by $0, generated by GNU Autoconf 2.61,
12275 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12277 Copyright (C) 2006 Free Software Foundation, Inc.
12278 This config.status script is free software; the Free Software Foundation
12279 gives unlimited permission to copy, distribute and modify it."
12287 cat >>$CONFIG_STATUS <<\_ACEOF
12288 # If no file are specified by the user, then we need to provide default
12289 # value. By we need to know if files were specified by the user.
12295 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12296 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12307 # Handling of the options.
12308 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12310 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12311 echo "$ac_cs_version"; exit ;;
12312 --debug |
--debu |
--deb |
--de |
--d |
-d )
12314 --file |
--fil |
--fi |
--f )
12316 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12317 ac_need_defaults
=false
;;
12318 --header |
--heade |
--head |
--hea )
12320 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12321 ac_need_defaults
=false
;;
12323 # Conflict between --help and --header
12324 { echo "$as_me: error: ambiguous option: $1
12325 Try \`$0 --help' for more information." >&2
12326 { (exit 1); exit 1; }; };;
12327 --help |
--hel |
-h )
12328 echo "$ac_cs_usage"; exit ;;
12329 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12330 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12333 # This is an error.
12334 -*) { echo "$as_me: error: unrecognized option: $1
12335 Try \`$0 --help' for more information." >&2
12336 { (exit 1); exit 1; }; } ;;
12338 *) ac_config_targets
="$ac_config_targets $1"
12339 ac_need_defaults
=false
;;
12345 ac_configure_extra_args
=
12347 if $ac_cs_silent; then
12349 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12353 cat >>$CONFIG_STATUS <<_ACEOF
12354 if \$ac_cs_recheck; then
12355 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12356 CONFIG_SHELL=$SHELL
12357 export CONFIG_SHELL
12358 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12362 cat >>$CONFIG_STATUS <<\_ACEOF
12366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12367 ## Running $as_me. ##
12373 cat >>$CONFIG_STATUS <<_ACEOF
12376 cat >>$CONFIG_STATUS <<\_ACEOF
12378 # Handling of arguments.
12379 for ac_config_target
in $ac_config_targets
12381 case $ac_config_target in
12382 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
12383 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12384 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
12385 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
12386 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
12387 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
12388 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
12389 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
12390 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
12391 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
12392 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12393 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12394 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12395 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
12396 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
12397 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
12398 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
12399 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
12400 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
12401 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
12402 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12403 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
12404 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
12405 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
12406 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12407 "tools/version.h") CONFIG_FILES
="$CONFIG_FILES tools/version.h" ;;
12409 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12410 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12411 { (exit 1); exit 1; }; };;
12416 # If the user did not use the arguments to specify the items to instantiate,
12417 # then the envvar interface is used. Set only those that are not.
12418 # We use the long form for the default assignment because of an extremely
12419 # bizarre bug on SunOS 4.1.3.
12420 if $ac_need_defaults; then
12421 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12422 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12425 # Have a temporary directory for convenience. Make it in the build tree
12426 # simply because there is no reason against having it here, and in addition,
12427 # creating and moving files from /tmp can sometimes cause problems.
12428 # Hook for its removal unless debugging.
12429 # Note that there is a small window in which the directory will not be cleaned:
12430 # after its creation but before its name has been assigned to `$tmp'.
12434 trap 'exit_status=$?
12435 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12437 trap '{ (exit 1); exit 1; }' 1 2 13 15
12439 # Create a (secure) tmp directory for tmp files.
12442 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12443 test -n "$tmp" && test -d "$tmp"
12446 tmp
=.
/conf$$
-$RANDOM
12447 (umask 077 && mkdir
"$tmp")
12450 echo "$me: cannot create a temporary directory in ." >&2
12451 { (exit 1); exit 1; }
12455 # Set up the sed scripts for CONFIG_FILES section.
12458 # No need to generate the scripts if there are no CONFIG_FILES.
12459 # This happens for instance when ./config.status config.h
12460 if test -n "$CONFIG_FILES"; then
12467 for ac_last_try
in false false false false false
:; do
12468 cat >conf$
$subs.
sed <<_ACEOF
12469 SHELL!$SHELL$ac_delim
12470 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12471 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12472 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12473 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12474 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12475 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12476 exec_prefix!$exec_prefix$ac_delim
12477 prefix!$prefix$ac_delim
12478 program_transform_name!$program_transform_name$ac_delim
12479 bindir!$bindir$ac_delim
12480 sbindir!$sbindir$ac_delim
12481 libexecdir!$libexecdir$ac_delim
12482 datarootdir!$datarootdir$ac_delim
12483 datadir!$datadir$ac_delim
12484 sysconfdir!$sysconfdir$ac_delim
12485 sharedstatedir!$sharedstatedir$ac_delim
12486 localstatedir!$localstatedir$ac_delim
12487 includedir!$includedir$ac_delim
12488 oldincludedir!$oldincludedir$ac_delim
12489 docdir!$docdir$ac_delim
12490 infodir!$infodir$ac_delim
12491 htmldir!$htmldir$ac_delim
12492 dvidir!$dvidir$ac_delim
12493 pdfdir!$pdfdir$ac_delim
12494 psdir!$psdir$ac_delim
12495 libdir!$libdir$ac_delim
12496 localedir!$localedir$ac_delim
12497 mandir!$mandir$ac_delim
12498 DEFS!$DEFS$ac_delim
12499 ECHO_C!$ECHO_C$ac_delim
12500 ECHO_N!$ECHO_N$ac_delim
12501 ECHO_T!$ECHO_T$ac_delim
12502 LIBS!$LIBS$ac_delim
12503 build_alias!$build_alias$ac_delim
12504 host_alias!$host_alias$ac_delim
12505 target_alias!$target_alias$ac_delim
12506 build!$build$ac_delim
12507 build_cpu!$build_cpu$ac_delim
12508 build_vendor!$build_vendor$ac_delim
12509 build_os!$build_os$ac_delim
12510 host!$host$ac_delim
12511 host_cpu!$host_cpu$ac_delim
12512 host_vendor!$host_vendor$ac_delim
12513 host_os!$host_os$ac_delim
12514 target!$target$ac_delim
12515 target_cpu!$target_cpu$ac_delim
12516 target_vendor!$target_vendor$ac_delim
12517 target_os!$target_os$ac_delim
12521 CFLAGS!$CFLAGS$ac_delim
12522 LDFLAGS!$LDFLAGS$ac_delim
12523 CPPFLAGS!$CPPFLAGS$ac_delim
12524 ac_ct_CC!$ac_ct_CC$ac_delim
12525 EXEEXT!$EXEEXT$ac_delim
12526 OBJEXT!$OBJEXT$ac_delim
12528 GREP!$GREP$ac_delim
12529 EGREP!$EGREP$ac_delim
12530 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12531 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12532 INSTALL_DATA!$INSTALL_DATA$ac_delim
12533 LN_S!$LN_S$ac_delim
12534 SET_MAKE!$SET_MAKE$ac_delim
12535 RANLIB!$RANLIB$ac_delim
12536 CFLOW_CMD!$CFLOW_CMD$ac_delim
12537 CSCOPE_CMD!$CSCOPE_CMD$ac_delim
12538 ALLOCA!$ALLOCA$ac_delim
12539 LIBOBJS!$LIBOBJS$ac_delim
12540 POW_LIB!$POW_LIB$ac_delim
12541 LCOV!$LCOV$ac_delim
12542 GENHTML!$GENHTML$ac_delim
12543 LVM2CMD_LIB!$LVM2CMD_LIB$ac_delim
12544 MSGFMT!$MSGFMT$ac_delim
12545 MODPROBE_CMD!$MODPROBE_CMD$ac_delim
12546 BUILD_DMEVENTD!$BUILD_DMEVENTD$ac_delim
12547 CLDFLAGS!$CLDFLAGS$ac_delim
12548 CLDNOWHOLEARCHIVE!$CLDNOWHOLEARCHIVE$ac_delim
12549 CLDWHOLEARCHIVE!$CLDWHOLEARCHIVE$ac_delim
12550 CLUSTER!$CLUSTER$ac_delim
12551 CLVMD!$CLVMD$ac_delim
12552 CMDLIB!$CMDLIB$ac_delim
12553 COPTIMISE_FLAG!$COPTIMISE_FLAG$ac_delim
12554 DEBUG!$DEBUG$ac_delim
12555 DEVMAPPER!$DEVMAPPER$ac_delim
12556 DMEVENTD!$DMEVENTD$ac_delim
12557 DM_COMPAT!$DM_COMPAT$ac_delim
12558 DM_DEVICE_GID!$DM_DEVICE_GID$ac_delim
12559 DM_DEVICE_MODE!$DM_DEVICE_MODE$ac_delim
12560 DM_DEVICE_UID!$DM_DEVICE_UID$ac_delim
12561 DM_IOCTLS!$DM_IOCTLS$ac_delim
12562 DM_LIB_VERSION!$DM_LIB_VERSION$ac_delim
12563 FSADM!$FSADM$ac_delim
12564 GROUP!$GROUP$ac_delim
12565 HAVE_LIBDL!$HAVE_LIBDL$ac_delim
12568 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12570 elif $ac_last_try; then
12571 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12572 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12573 { (exit 1); exit 1; }; }
12575 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12579 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12580 if test -n "$ac_eof"; then
12581 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12582 ac_eof
=`expr $ac_eof + 1`
12585 cat >>$CONFIG_STATUS <<_ACEOF
12586 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12590 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12591 s/^/s,@/; s/!/@,|#_!!_#|/
12594 s/'"$ac_delim"'$/,g/; t
12596 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12597 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12598 rm -f conf$
$subs.
sed
12599 cat >>$CONFIG_STATUS <<_ACEOF
12605 for ac_last_try
in false false false false false
:; do
12606 cat >conf$
$subs.
sed <<_ACEOF
12607 HAVE_REALTIME!$HAVE_REALTIME$ac_delim
12608 HAVE_SELINUX!$HAVE_SELINUX$ac_delim
12609 INTL!$INTL$ac_delim
12610 INTL_PACKAGE!$INTL_PACKAGE$ac_delim
12611 JOBS!$JOBS$ac_delim
12612 LDDEPS!$LDDEPS$ac_delim
12613 LIB_SUFFIX!$LIB_SUFFIX$ac_delim
12614 LOCALEDIR!$LOCALEDIR$ac_delim
12615 LVM1!$LVM1$ac_delim
12616 LVM1_FALLBACK!$LVM1_FALLBACK$ac_delim
12617 CONFDIR!$CONFDIR$ac_delim
12618 LVM_VERSION!$LVM_VERSION$ac_delim
12619 MIRRORS!$MIRRORS$ac_delim
12620 OWNER!$OWNER$ac_delim
12621 PKGCONFIG!$PKGCONFIG$ac_delim
12622 POOL!$POOL$ac_delim
12623 SNAPSHOTS!$SNAPSHOTS$ac_delim
12624 STATICDIR!$STATICDIR$ac_delim
12625 STATIC_LINK!$STATIC_LINK$ac_delim
12626 LIB_PTHREAD!$LIB_PTHREAD$ac_delim
12627 interface!$interface$ac_delim
12628 kerneldir!$kerneldir$ac_delim
12629 missingkernel!$missingkernel$ac_delim
12630 kernelvsn!$kernelvsn$ac_delim
12631 tmpdir!$tmpdir$ac_delim
12632 usrlibdir!$usrlibdir$ac_delim
12633 usrsbindir!$usrsbindir$ac_delim
12634 LTLIBOBJS!$LTLIBOBJS$ac_delim
12637 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then
12639 elif $ac_last_try; then
12640 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12641 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12642 { (exit 1); exit 1; }; }
12644 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12648 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12649 if test -n "$ac_eof"; then
12650 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12651 ac_eof
=`expr $ac_eof + 1`
12654 cat >>$CONFIG_STATUS <<_ACEOF
12655 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12659 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12660 s/^/s,@/; s/!/@,|#_!!_#|/
12663 s/'"$ac_delim"'$/,g/; t
12665 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12666 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12667 rm -f conf$
$subs.
sed
12668 cat >>$CONFIG_STATUS <<_ACEOF
12675 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12676 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12677 # trailing colons and then remove the whole line if VPATH becomes empty
12678 # (actually we leave an empty line to preserve line numbers).
12679 if test "x$srcdir" = x.
; then
12680 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12681 s/:*\$(srcdir):*/:/
12682 s/:*\${srcdir}:*/:/
12684 s/^\([^=]*=[ ]*\):*/\1/
12690 cat >>$CONFIG_STATUS <<\_ACEOF
12691 fi # test -n "$CONFIG_FILES"
12694 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
12697 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12699 case $ac_mode$ac_tag in
12701 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12702 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12703 { (exit 1); exit 1; }; };;
12704 :[FH
]-) ac_tag
=-:-;;
12705 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12722 -) ac_f
="$tmp/stdin";;
12723 *) # Look for the file first in the build tree, then in the source tree
12724 # (if the path is not absolute). The absolute path cannot be DOS-style,
12725 # because $ac_f cannot contain `:'.
12729 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12731 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12732 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12733 { (exit 1); exit 1; }; };;
12735 ac_file_inputs
="$ac_file_inputs $ac_f"
12738 # Let's still pretend it is `configure' which instantiates (i.e., don't
12739 # use $as_me), people would be surprised to read:
12740 # /* config.h. Generated by config.status. */
12741 configure_input
="Generated from "`IFS=:
12742 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12743 if test x
"$ac_file" != x-
; then
12744 configure_input
="$ac_file. $configure_input"
12745 { echo "$as_me:$LINENO: creating $ac_file" >&5
12746 echo "$as_me: creating $ac_file" >&6;}
12750 *:-:* |
*:-) cat >"$tmp/stdin";;
12755 ac_dir
=`$as_dirname -- "$ac_file" ||
12756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12757 X"$ac_file" : 'X\(//\)[^/]' \| \
12758 X"$ac_file" : 'X\(//\)$' \| \
12759 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12765 /^X\(\/\/\)[^/].*/{
12780 -*) as_dir
=.
/$as_dir;;
12782 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12786 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12787 *) as_qdir
=$as_dir;;
12789 as_dirs
="'$as_qdir' $as_dirs"
12790 as_dir
=`$as_dirname -- "$as_dir" ||
12791 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12792 X"$as_dir" : 'X\(//\)[^/]' \| \
12793 X"$as_dir" : 'X\(//\)$' \| \
12794 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12800 /^X\(\/\/\)[^/].*/{
12813 test -d "$as_dir" && break
12815 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12816 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12817 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12818 { (exit 1); exit 1; }; }; }
12822 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12824 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12825 # A ".." for each directory in $ac_dir_suffix.
12826 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12827 case $ac_top_builddir_sub in
12828 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12829 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12832 ac_abs_top_builddir
=$ac_pwd
12833 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12834 # for backward compatibility:
12835 ac_top_builddir
=$ac_top_build_prefix
12838 .
) # We are building in place.
12840 ac_top_srcdir
=$ac_top_builddir_sub
12841 ac_abs_top_srcdir
=$ac_pwd ;;
12842 [\\/]* | ?
:[\\/]* ) # Absolute name.
12843 ac_srcdir
=$srcdir$ac_dir_suffix;
12844 ac_top_srcdir
=$srcdir
12845 ac_abs_top_srcdir
=$srcdir ;;
12846 *) # Relative name.
12847 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12848 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12849 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12851 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12861 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12862 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12864 ac_MKDIR_P
=$MKDIR_P
12866 [\\/$
]* | ?
:[\\/]* ) ;;
12867 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12871 cat >>$CONFIG_STATUS <<\_ACEOF
12872 # If the template does not know about datarootdir, expand it.
12873 # FIXME: This hack should be removed a few years after 2.60.
12874 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12876 case `sed -n '/datarootdir/ {
12885 ' $ac_file_inputs` in
12886 *datarootdir
*) ac_datarootdir_seen
=yes;;
12887 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12888 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12889 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12891 cat >>$CONFIG_STATUS <<_ACEOF
12892 ac_datarootdir_hack='
12893 s&@datadir@&$datadir&g
12894 s&@docdir@&$docdir&g
12895 s&@infodir@&$infodir&g
12896 s&@localedir@&$localedir&g
12897 s&@mandir@&$mandir&g
12898 s&\\\${datarootdir}&$datarootdir&g' ;;
12902 # Neutralize VPATH when `$srcdir' = `.'.
12903 # Shell code in configure.ac might set extrasub.
12904 # FIXME: do we really want to maintain this feature?
12905 cat >>$CONFIG_STATUS <<_ACEOF
12909 cat >>$CONFIG_STATUS <<\_ACEOF
12911 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12912 s
&@configure_input@
&$configure_input&;t t
12913 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12914 s
&@srcdir@
&$ac_srcdir&;t t
12915 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12916 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12917 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12918 s
&@builddir@
&$ac_builddir&;t t
12919 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12920 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12921 s
&@INSTALL@
&$ac_INSTALL&;t t
12922 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12923 $ac_datarootdir_hack
12924 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
12926 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12927 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12928 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12929 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12930 which seems to be undefined. Please make sure it is defined." >&5
12931 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12932 which seems to be undefined. Please make sure it is defined." >&2;}
12936 -) cat "$tmp/out"; rm -f "$tmp/out";;
12937 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12946 # Transform confdefs.h into a sed script `conftest.defines', that
12947 # substitutes the proper values into config.h.in to produce config.h.
12948 rm -f conftest.defines conftest.
tail
12949 # First, append a space to every undef/define line, to ease matching.
12950 echo 's/$/ /' >conftest.defines
12951 # Then, protect against being on the right side of a sed subst, or in
12952 # an unquoted here document, in config.status. If some macros were
12953 # called several times there might be several #defines for the same
12954 # symbol, which is useless. But do not sort them, since the last
12955 # AC_DEFINE must be honored.
12956 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12957 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12958 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12959 # PARAMS is the parameter list in the macro definition--in most cases, it's
12960 # just an empty string.
12961 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12962 ac_dB
='\\)[ (].*,\\1define\\2'
12970 s/^[ ]*#[ ]*define[ ][ ]*//
12975 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12976 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12977 ' >>conftest.defines
12979 # Remove the space that was appended to ease matching.
12980 # Then replace #undef with comments. This is necessary, for
12981 # example, in the case of _POSIX_SOURCE, which is predefined and required
12982 # on some systems where configure will not decide to define it.
12983 # (The regexp can be short, since the line contains either #define or #undef.)
12985 s,^[ #]*u.*,/* & */,' >>conftest.defines
12987 # Break up conftest.defines:
12988 ac_max_sed_lines
=50
12990 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12991 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12992 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12994 ac_in
='$ac_file_inputs'
12995 ac_out
='"$tmp/out1"'
12996 ac_nxt
='"$tmp/out2"'
13000 # Write a here document:
13001 cat >>$CONFIG_STATUS <<_ACEOF
13002 # First, check the format of the line:
13003 cat >"\$tmp/defines.sed" <<\\CEOF
13004 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13005 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13009 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13011 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13012 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13013 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13014 grep . conftest.
tail >/dev
/null ||
break
13015 rm -f conftest.defines
13016 mv conftest.
tail conftest.defines
13018 rm -f conftest.defines conftest.
tail
13020 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13021 cat >>$CONFIG_STATUS <<\_ACEOF
13022 if test x
"$ac_file" != x-
; then
13023 echo "/* $configure_input */" >"$tmp/config.h"
13024 cat "$ac_result" >>"$tmp/config.h"
13025 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13026 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13027 echo "$as_me: $ac_file is unchanged" >&6;}
13030 mv "$tmp/config.h" $ac_file
13033 echo "/* $configure_input */"
13045 { (exit 0); exit 0; }
13047 chmod +x
$CONFIG_STATUS
13048 ac_clean_files
=$ac_clean_files_save
13051 # configure is writing to config.log, and then calls config.status.
13052 # config.status does its own redirection, appending to config.log.
13053 # Unfortunately, on DOS this fails, as config.log is still kept open
13054 # by configure, so config.status won't be able to write to it; its
13055 # output is simply discarded. So we exec the FD to /dev/null,
13056 # effectively closing config.log, so it can be properly (re)opened and
13057 # appended to by config.status. When coming back to configure, we
13058 # need to make the FD available again.
13059 if test "$no_create" != yes; then
13061 ac_config_status_args
=
13062 test "$silent" = yes &&
13063 ac_config_status_args
="$ac_config_status_args --quiet"
13065 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13068 # would make configure fail if this is the last instruction.
13069 $ac_cs_success ||
{ (exit 1); exit 1; }
13073 if test x
$ODIRECT != xyes
; then
13074 { echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
13075 echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}