2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="lib/device/dev-cache.h"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_default_prefix
=/usr
639 ac_subst_vars
='LTLIBOBJS
761 program_transform_name
773 enable_option_checking
807 with_dmeventd_pidfile
811 ac_precious_vars
='build_alias
822 # Initialize some variables set by options.
824 ac_init_version
=false
825 ac_unrecognized_opts
=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
928 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
929 { (exit 1); exit 1; }; }
930 ac_useropt_orig
=$ac_useropt
931 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
937 ac_unrecognized_sep
=', ';;
939 eval enable_
$ac_useropt=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
956 { (exit 1); exit 1; }; }
957 ac_useropt_orig
=$ac_useropt
958 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
963 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964 ac_unrecognized_sep
=', ';;
966 eval enable_
$ac_useropt=\
$ac_optarg ;;
968 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
969 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
970 |
--exec |
--exe |
--ex)
971 ac_prev
=exec_prefix
;;
972 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
973 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
974 |
--exec=* |
--exe=* |
--ex=*)
975 exec_prefix
=$ac_optarg ;;
977 -gas |
--gas |
--ga |
--g)
978 # Obsolete; use --with-gas.
981 -help |
--help |
--hel |
--he |
-h)
983 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
984 ac_init_help
=recursive
;;
985 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
986 ac_init_help
=short
;;
988 -host |
--host |
--hos |
--ho)
989 ac_prev
=host_alias
;;
990 -host=* |
--host=* |
--hos=* |
--ho=*)
991 host_alias
=$ac_optarg ;;
993 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
995 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
997 htmldir
=$ac_optarg ;;
999 -includedir |
--includedir |
--includedi |
--included |
--include \
1000 |
--includ |
--inclu |
--incl |
--inc)
1001 ac_prev
=includedir
;;
1002 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1003 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1004 includedir
=$ac_optarg ;;
1006 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1008 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1009 infodir
=$ac_optarg ;;
1011 -libdir |
--libdir |
--libdi |
--libd)
1013 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1014 libdir
=$ac_optarg ;;
1016 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1017 |
--libexe |
--libex |
--libe)
1018 ac_prev
=libexecdir
;;
1019 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1020 |
--libexe=* |
--libex=* |
--libe=*)
1021 libexecdir
=$ac_optarg ;;
1023 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1024 ac_prev
=localedir
;;
1025 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1026 localedir
=$ac_optarg ;;
1028 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1029 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1030 ac_prev
=localstatedir
;;
1031 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1032 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1033 localstatedir
=$ac_optarg ;;
1035 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1037 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1038 mandir
=$ac_optarg ;;
1040 -nfp |
--nfp |
--nf)
1041 # Obsolete; use --without-fp.
1044 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1045 |
--no-cr |
--no-c |
-n)
1048 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1049 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1052 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1053 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1054 |
--oldin |
--oldi |
--old |
--ol |
--o)
1055 ac_prev
=oldincludedir
;;
1056 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1057 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1058 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1059 oldincludedir
=$ac_optarg ;;
1061 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1063 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1064 prefix
=$ac_optarg ;;
1066 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1067 |
--program-pre |
--program-pr |
--program-p)
1068 ac_prev
=program_prefix
;;
1069 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1070 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1071 program_prefix
=$ac_optarg ;;
1073 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1074 |
--program-suf |
--program-su |
--program-s)
1075 ac_prev
=program_suffix
;;
1076 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1077 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1078 program_suffix
=$ac_optarg ;;
1080 -program-transform-name |
--program-transform-name \
1081 |
--program-transform-nam |
--program-transform-na \
1082 |
--program-transform-n |
--program-transform- \
1083 |
--program-transform |
--program-transfor \
1084 |
--program-transfo |
--program-transf \
1085 |
--program-trans |
--program-tran \
1086 |
--progr-tra |
--program-tr |
--program-t)
1087 ac_prev
=program_transform_name
;;
1088 -program-transform-name=* |
--program-transform-name=* \
1089 |
--program-transform-nam=* |
--program-transform-na=* \
1090 |
--program-transform-n=* |
--program-transform-=* \
1091 |
--program-transform=* |
--program-transfor=* \
1092 |
--program-transfo=* |
--program-transf=* \
1093 |
--program-trans=* |
--program-tran=* \
1094 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1095 program_transform_name
=$ac_optarg ;;
1097 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1099 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1100 pdfdir
=$ac_optarg ;;
1102 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1104 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1107 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1108 |
-silent |
--silent |
--silen |
--sile |
--sil)
1111 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1113 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1115 sbindir
=$ac_optarg ;;
1117 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1118 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1119 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1121 ac_prev
=sharedstatedir
;;
1122 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1123 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1124 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1126 sharedstatedir
=$ac_optarg ;;
1128 -site |
--site |
--sit)
1130 -site=* |
--site=* |
--sit=*)
1133 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1135 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1136 srcdir
=$ac_optarg ;;
1138 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1139 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1140 ac_prev
=sysconfdir
;;
1141 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1142 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1143 sysconfdir
=$ac_optarg ;;
1145 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1146 ac_prev
=target_alias
;;
1147 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1148 target_alias
=$ac_optarg ;;
1150 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1153 -version |
--version |
--versio |
--versi |
--vers |
-V)
1154 ac_init_version
=: ;;
1157 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1160 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1161 { (exit 1); exit 1; }; }
1162 ac_useropt_orig
=$ac_useropt
1163 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1168 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1169 ac_unrecognized_sep
=', ';;
1171 eval with_
$ac_useropt=\
$ac_optarg ;;
1173 -without-* |
--without-*)
1174 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1177 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1209 Try \`$0 --help' for more information." >&2
1210 { (exit 1); exit 1; }; }
1214 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1217 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1218 { (exit 1); exit 1; }; }
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1236 { (exit 1); exit 1; }; }
1239 if test -n "$ac_unrecognized_opts"; then
1240 case $enable_option_checking in
1242 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1243 { (exit 1); exit 1; }; } ;;
1244 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1248 # Check all directory arguments for consistency.
1249 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1250 datadir sysconfdir sharedstatedir localstatedir includedir \
1251 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1252 libdir localedir mandir
1254 eval ac_val
=\$
$ac_var
1255 # Remove trailing slashes.
1258 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1259 eval $ac_var=\
$ac_val;;
1261 # Be sure to have absolute directory names.
1263 [\\/$
]* | ?
:[\\/]* ) continue;;
1264 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1266 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1267 { (exit 1); exit 1; }; }
1270 # There might be people who depend on the old broken behavior: `$host'
1271 # used to hold the argument of --host etc.
1272 # FIXME: To remove some day.
1275 target
=$target_alias
1277 # FIXME: To remove some day.
1278 if test "x$host_alias" != x
; then
1279 if test "x$build_alias" = x
; then
1280 cross_compiling
=maybe
1281 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1282 If a cross compiler is detected then cross compile mode will be used." >&2
1283 elif test "x$build_alias" != "x$host_alias"; then
1289 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1291 test "$silent" = yes && exec 6>/dev
/null
1294 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1295 ac_ls_di
=`ls -di .` &&
1296 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1297 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1298 { (exit 1); exit 1; }; }
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1301 { (exit 1); exit 1; }; }
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted
=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir
=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted
=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1340 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1341 { (exit 1); exit 1; }; }
1343 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1346 { (exit 1); exit 1; }; }
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1356 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 for ac_var
in $ac_precious_vars; do
1359 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1360 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1361 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1366 # Report the --help message.
1368 if test "$ac_init_help" = "long"; then
1369 # Omit some internal or obsolete options to make the list less imposing.
1370 # This message is too long to be a string in the A/UX 3.1 sh.
1372 \`configure' configures this package to adapt to many kinds of systems.
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE. See below for descriptions of some of the useful variables.
1379 Defaults for the options are specified in brackets.
1382 -h, --help display this help and exit
1383 --help=short display options specific to this package
1384 --help=recursive display the short help of all the included packages
1385 -V, --version display version information and exit
1386 -q, --quiet, --silent do not print \`checking...' messages
1387 --cache-file=FILE cache test results in FILE [disabled]
1388 -C, --config-cache alias for \`--cache-file=config.cache'
1389 -n, --no-create do not create output files
1390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1392 Installation directories:
1393 --prefix=PREFIX install architecture-independent files in PREFIX
1394 [$ac_default_prefix]
1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1403 For better control, use the options below.
1405 Fine tuning of the installation directories:
1406 --bindir=DIR user executables [EPREFIX/bin]
1407 --sbindir=DIR system admin executables [EPREFIX/sbin]
1408 --libexecdir=DIR program executables [EPREFIX/libexec]
1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1430 --build=BUILD configure
for building on BUILD
[guessed
]
1431 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1432 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1436 if test -n "$ac_init_help"; then
1441 --disable-option-checking ignore unrecognized
--enable/--with options
1442 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1443 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1444 --enable-static_link Use this to link the tools to their libraries
1445 statically. Default is dynamic linking
1446 --enable-lvm1_fallback Use this to fall back and use LVM1 binaries
if
1447 device-mapper is missing from the kernel
1448 --disable-readline Disable readline support
1449 --disable-realtime Disable realtime
clock support
1450 --enable-debug Enable debugging
1451 --enable-profiling Gather gcov profiling data
1452 --disable-devmapper Disable LVM2 device-mapper interaction
1453 --enable-compat Enable support
for old device-mapper versions
1454 --disable-driver Disable calls to device-mapper
in the kernel
1455 --disable-o_direct Disable O_DIRECT
1456 --enable-cmdlib Build shared
command library
1457 --enable-pkgconfig Install pkgconfig support
1458 --enable-fsadm Enable fsadm
1459 --enable-dmeventd Enable the device-mapper event daemon
1460 --disable-selinux Disable selinux support
1461 --enable-nls Enable Native Language Support
1464 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1465 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1466 --with-user=USER Set the owner of installed files
[USER
=root
]
1467 --with-group=GROUP Set the group owner of installed files
[GROUP
=root
]
1468 --with-device-uid=UID Set the owner used
for new device nodes
[UID
=0]
1469 --with-device-gid=UID Set the group used
for new device nodes
[GID
=0]
1470 --with-device-mode=MODE Set the mode used
for new device nodes
[MODE
=0600]
1471 --with-lvm1=TYPE LVM1 metadata support
: internal
/shared
/none
1473 --with-pool=TYPE GFS pool read-only support
: internal
/shared
/none
1475 --with-cluster=TYPE Cluster LVM locking support
: internal
/shared
/none
1477 --with-snapshots=TYPE Snapshot support
: internal
/shared
/none
1479 --with-mirrors=TYPE Mirror support
: internal
/shared
/none
1481 --with-clvmd=TYPE Build cluster LVM Daemon
: cman
/gulm
/corosync
/none
/all
1483 --with-optimisation=OPT C optimisation flag
[OPT
=-O2]
1484 --with-localedir=DIR Translation files
in DIR
[PREFIX
/share
/locale
]
1485 --with-confdir=DIR Configuration files
in DIR
/etc
1486 --with-staticdir=DIR Static binary
in DIR EXEC_PREFIX
/sbin
1487 --with-usrlibdir=DIR
1488 --with-usrsbindir=DIR
1489 --with-dmeventd-pidfile=PATH dmeventd pidfile
[/var
/run
/dmeventd.pid
]
1490 --with-dmeventd-path=PATH dmeventd path
[${exec_prefix}/sbin
/dmeventd
]
1491 --with-interface=IFACE Choose kernel interface
(ioctl
) [ioctl
]
1493 Some influential environment variables
:
1494 CC C compiler
command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1497 nonstandard directory
<lib dir
>
1498 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1499 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1500 you have headers
in a nonstandard directory
<include dir
>
1503 Use these variables to override the choices made by
`configure' or to help
1504 it to find libraries and programs with nonstandard names/locations.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" ||
1514 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1569 generated by GNU Autoconf 2.63
1571 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1572 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1578 cat >config.log <<_ACEOF
1579 This file contains any messages produced by compilers while
1580 running configure, to aid debugging if configure makes a mistake.
1582 It was created by $as_me, which was
1583 generated by GNU Autoconf 2.63. Invocation command line was
1595 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1596 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1597 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1598 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1599 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1601 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1602 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1604 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1606 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1608 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1610 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 $as_echo "PATH: $as_dir"
1635 # Keep a trace of the command line.
1636 # Strip out --no-create and --no-recursion so they do not pile up.
1637 # Strip out --silent because we don't want to record it for future runs.
1638 # Also quote any args containing shell meta-characters.
1639 # Make two passes to allow for proper duplicate-argument suppression.
1643 ac_must_keep_next=false
1649 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1651 | -silent | --silent | --silen | --sile | --sil)
1654 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1657 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1659 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1660 if test $ac_must_keep_next = true; then
1661 ac_must_keep_next=false # Got value, back to normal.
1664 *=* | --config-cache | -C | -disable-* | --disable-* \
1665 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1666 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1667 | -with-* | --with-* | -without-* | --without-* | --x)
1668 case "$ac_configure_args0 " in
1669 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1672 -* ) ac_must_keep_next=true ;;
1675 ac_configure_args="$ac_configure_args '$ac_arg'"
1680 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1681 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1683 # When interrupted or exit'd, cleanup temporary files, and complete
1684 # config.log. We remove comments because anyway the quotes in there
1685 # would cause problems or look ugly.
1686 # WARNING: Use '\'' to represent an apostrophe within the trap.
1687 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1688 trap 'exit_status=$?
1689 # Save into config.log some information that might help in debugging.
1694 ## ---------------- ##
1695 ## Cache variables. ##
1696 ## ---------------- ##
1699 # The following way of writing the cache mishandles newlines in values,
1701 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1702 eval ac_val=\$$ac_var
1706 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1710 _ | IFS | as_nl) ;; #(
1711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1712 *) $as_unset $ac_var ;;
1717 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1718 *${as_nl}ac_space=\ *)
1720 "s/'\''/'\''\\\\'\'''\''/g;
1721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1732 ## ----------------- ##
1733 ## Output variables. ##
1734 ## ----------------- ##
1737 for ac_var in $ac_subst_vars
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 $as_echo "$ac_var='\''$ac_val'\''"
1747 if test -n "$ac_subst_files"; then
1749 ## ------------------- ##
1750 ## File substitutions. ##
1751 ## ------------------- ##
1754 for ac_var in $ac_subst_files
1756 eval ac_val=\$$ac_var
1758 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 $as_echo "$ac_var='\''$ac_val'\''"
1765 if test -s confdefs.h; then
1775 test "$ac_signal" != 0 &&
1776 $as_echo "$as_me: caught signal $ac_signal"
1777 $as_echo "$as_me: exit $exit_status"
1779 rm -f core *.core core.conftest.* &&
1780 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1783 for ac_signal in 1 2 13 15; do
1784 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1789 rm -f -r conftest* confdefs.h
1791 # Predefined preprocessor variables.
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_NAME "$PACKAGE_NAME"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_STRING "$PACKAGE_STRING"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1818 # Let the site file select an alternate cache file if it wants to.
1819 # Prefer an explicitly selected file to automatically selected ones.
1822 if test -n "$CONFIG_SITE"; then
1823 ac_site_file1=$CONFIG_SITE
1824 elif test "x$prefix" != xNONE; then
1825 ac_site_file1=$prefix/share/config.site
1826 ac_site_file2=$prefix/etc/config.site
1828 ac_site_file1=$ac_default_prefix/share/config.site
1829 ac_site_file2=$ac_default_prefix/etc/config.site
1831 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1833 test "x$ac_site_file" = xNONE && continue
1834 if test -r "$ac_site_file"; then
1835 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1836 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1837 sed 's/^/| /' "$ac_site_file" >&5
1842 if test -r "$cache_file"; then
1843 # Some versions of bash will fail to source /dev/null (special
1844 # files actually), so we avoid doing that.
1845 if test -f "$cache_file"; then
1846 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1847 $as_echo "$as_me: loading cache $cache_file" >&6;}
1849 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1850 *) . "./$cache_file";;
1854 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1855 $as_echo "$as_me: creating cache $cache_file" >&6;}
1859 # Check that the precious variables saved in the cache have kept the same
1861 ac_cache_corrupted=false
1862 for ac_var in $ac_precious_vars; do
1863 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1864 eval ac_new_set=\$ac_env_${ac_var}_set
1865 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1866 eval ac_new_val=\$ac_env_${ac_var}_value
1867 case $ac_old_set,$ac_new_set in
1869 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1870 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1873 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1874 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1875 ac_cache_corrupted=: ;;
1878 if test "x$ac_old_val" != "x$ac_new_val"; then
1879 # differences in whitespace do not lead to failure.
1880 ac_old_val_w=`echo x
$ac_old_val`
1881 ac_new_val_w=`echo x
$ac_new_val`
1882 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1883 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1884 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1885 ac_cache_corrupted=:
1887 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1888 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1889 eval $ac_var=\$ac_old_val
1891 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1892 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1893 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1894 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1897 # Pass precious variables to config.status.
1898 if test "$ac_new_set" = set; then
1900 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1901 *) ac_arg=$ac_var=$ac_new_val ;;
1903 case " $ac_configure_args " in
1904 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1905 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1909 if $ac_cache_corrupted; then
1910 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1912 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1913 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1914 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1915 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1916 { (exit 1); exit 1; }; }
1936 ac_cpp='$CPP $CPPFLAGS'
1937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1943 ac_config_headers="$ac_config_headers lib
/misc
/configure.h
"
1946 ################################################################################
1948 for ac_dir in autoconf "$srcdir"/autoconf; do
1949 if test -f "$ac_dir/install-sh
"; then
1951 ac_install_sh="$ac_aux_dir/install-sh
-c"
1953 elif test -f "$ac_dir/install.sh
"; then
1955 ac_install_sh="$ac_aux_dir/install.sh
-c"
1957 elif test -f "$ac_dir/shtool
"; then
1959 ac_install_sh="$ac_aux_dir/shtool
install -c"
1963 if test -z "$ac_aux_dir"; then
1964 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
1965 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
1966 { (exit 1); exit 1; }; }
1969 # These three variables are undocumented and unsupported,
1970 # and are intended to be withdrawn in a future Autoconf release.
1971 # They can cause serious problems if a builder's source tree is in a directory
1972 # whose full name contains unusual characters.
1973 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1974 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1975 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1979 ################################################################################
1980 # Make sure we can run config.sub.
1981 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
1982 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
1983 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
1984 { (exit 1); exit 1; }; }
1986 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
1987 $as_echo_n "checking build system
type...
" >&6; }
1988 if test "${ac_cv_build+set}" = set; then
1989 $as_echo_n "(cached
) " >&6
1991 ac_build_alias=$build_alias
1992 test "x
$ac_build_alias" = x &&
1993 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
1994 test "x
$ac_build_alias" = x &&
1995 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
1996 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
1997 { (exit 1); exit 1; }; }
1998 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
1999 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2000 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2001 { (exit 1); exit 1; }; }
2004 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2005 $as_echo "$ac_cv_build" >&6; }
2006 case $ac_cv_build in
2008 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2009 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2010 { (exit 1); exit 1; }; };;
2013 ac_save_IFS=$IFS; IFS='-'
2019 # Remember, the first character of IFS is used to create $*,
2020 # except with old shells:
2023 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2026 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2027 $as_echo_n "checking
host system
type...
" >&6; }
2028 if test "${ac_cv_host+set}" = set; then
2029 $as_echo_n "(cached
) " >&6
2031 if test "x
$host_alias" = x; then
2032 ac_cv_host=$ac_cv_build
2034 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2035 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2036 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2037 { (exit 1); exit 1; }; }
2041 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2042 $as_echo "$ac_cv_host" >&6; }
2045 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2046 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2047 { (exit 1); exit 1; }; };;
2050 ac_save_IFS=$IFS; IFS='-'
2056 # Remember, the first character of IFS is used to create $*,
2057 # except with old shells:
2060 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2063 { $as_echo "$as_me:$LINENO: checking target system
type" >&5
2064 $as_echo_n "checking target system
type...
" >&6; }
2065 if test "${ac_cv_target+set}" = set; then
2066 $as_echo_n "(cached
) " >&6
2068 if test "x
$target_alias" = x; then
2069 ac_cv_target=$ac_cv_host
2071 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2072 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2073 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2074 { (exit 1); exit 1; }; }
2078 { $as_echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2079 $as_echo "$ac_cv_target" >&6; }
2080 case $ac_cv_target in
2082 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2083 $as_echo "$as_me: error
: invalid value of canonical target
" >&2;}
2084 { (exit 1); exit 1; }; };;
2086 target=$ac_cv_target
2087 ac_save_IFS=$IFS; IFS='-'
2093 # Remember, the first character of IFS is used to create $*,
2094 # except with old shells:
2097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2100 # The aliases save the names the user supplied, while $host etc.
2101 # will get canonicalized.
2102 test -n "$target_alias" &&
2103 test "$program_prefix$program_suffix$program_transform_name" = \
2105 program_prefix=${target_alias}-
2109 COPTIMISE_FLAG="-O2"
2110 CLDFLAGS="$CLDFLAGS -Wl,--version-script,.
export.sym
"
2111 CLDWHOLEARCHIVE="-Wl,-whole-archive"
2112 CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2113 LDDEPS="$LDDEPS .
export.sym
"
2114 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
2125 CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2126 COPTIMISE_FLAG="-O2"
2127 CLDFLAGS="$CLDFLAGS"
2128 CLDWHOLEARCHIVE="-all_load"
2141 ################################################################################
2142 { $as_echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
2143 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
2144 if test "${ac_cv_path_SED+set}" = set; then
2145 $as_echo_n "(cached
) " >&6
2147 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2148 for ac_i in 1 2 3 4 5 6 7; do
2149 ac_script="$ac_script$as_nl$ac_script"
2151 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2152 $as_unset ac_script || ac_script=
2153 if test -z "$SED"; then
2154 ac_path_SED_found=false
2155 # Loop through the user's path and test for each of PROGNAME-LIST
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 for ac_prog in sed gsed; do
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2164 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2165 # Check for GNU ac_path_SED and select it if it is found.
2166 # Check for GNU $ac_path_SED
2167 case `"$ac_path_SED" --version 2>&1` in
2169 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2172 $as_echo_n 0123456789 >"conftest.
in"
2175 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
2176 mv "conftest.tmp
" "conftest.
in"
2177 cp "conftest.
in" "conftest.
nl"
2178 $as_echo '' >> "conftest.
nl"
2179 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
2180 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
2181 ac_count=`expr $ac_count + 1`
2182 if test $ac_count -gt ${ac_path_SED_max-0}; then
2183 # Best one so far, save it but keep looking for a better one
2184 ac_cv_path_SED="$ac_path_SED"
2185 ac_path_SED_max=$ac_count
2187 # 10*(2^10) chars as input seems more than enough
2188 test $ac_count -gt 10 && break
2190 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2193 $ac_path_SED_found && break 3
2198 if test -z "$ac_cv_path_SED"; then
2199 { { $as_echo "$as_me:$LINENO: error
: no acceptable
sed could be found
in \
$PATH" >&5
2200 $as_echo "$as_me: error
: no acceptable
sed could be found
in \
$PATH" >&2;}
2201 { (exit 1); exit 1; }; }
2208 { $as_echo "$as_me:$LINENO: result
: $ac_cv_path_SED" >&5
2209 $as_echo "$ac_cv_path_SED" >&6; }
2210 SED="$ac_cv_path_SED"
2213 for ac_prog in gawk mawk nawk awk
2215 # Extract the first word of "$ac_prog", so it can be a program name with args.
2216 set dummy $ac_prog; ac_word=$2
2217 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2218 $as_echo_n "checking
for $ac_word...
" >&6; }
2219 if test "${ac_cv_prog_AWK+set}" = set; then
2220 $as_echo_n "(cached
) " >&6
2222 if test -n "$AWK"; then
2223 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2232 ac_cv_prog_AWK="$ac_prog"
2233 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2243 if test -n "$AWK"; then
2244 { $as_echo "$as_me:$LINENO: result
: $AWK" >&5
2245 $as_echo "$AWK" >&6; }
2247 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2248 $as_echo "no
" >&6; }
2252 test -n "$AWK" && break
2256 ac_cpp='$CPP $CPPFLAGS'
2257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2260 if test -n "$ac_tool_prefix"; then
2261 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2262 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2263 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2264 $as_echo_n "checking
for $ac_word...
" >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 $as_echo_n "(cached
) " >&6
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC="$CC" # Let the user override the test.
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2279 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2289 if test -n "$CC"; then
2290 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2291 $as_echo "$CC" >&6; }
2293 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2294 $as_echo "no
" >&6; }
2299 if test -z "$ac_cv_prog_CC"; then
2301 # Extract the first word of "gcc
", so it can be a program name with args.
2302 set dummy gcc; ac_word=$2
2303 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2304 $as_echo_n "checking
for $ac_word...
" >&6; }
2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306 $as_echo_n "(cached
) " >&6
2308 if test -n "$ac_ct_CC"; then
2309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_ac_ct_CC="gcc
"
2319 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2328 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2329 if test -n "$ac_ct_CC"; then
2330 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2331 $as_echo "$ac_ct_CC" >&6; }
2333 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2334 $as_echo "no
" >&6; }
2337 if test "x
$ac_ct_CC" = x; then
2340 case $cross_compiling:$ac_tool_warned in
2342 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2343 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2344 ac_tool_warned=yes ;;
2352 if test -z "$CC"; then
2353 if test -n "$ac_tool_prefix"; then
2354 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2355 set dummy ${ac_tool_prefix}cc; ac_word=$2
2356 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2357 $as_echo_n "checking
for $ac_word...
" >&6; }
2358 if test "${ac_cv_prog_CC+set}" = set; then
2359 $as_echo_n "(cached
) " >&6
2361 if test -n "$CC"; then
2362 ac_cv_prog_CC="$CC" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2372 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2382 if test -n "$CC"; then
2383 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2384 $as_echo "$CC" >&6; }
2386 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2387 $as_echo "no
" >&6; }
2393 if test -z "$CC"; then
2394 # Extract the first word of "cc
", so it can be a program name with args.
2395 set dummy cc; ac_word=$2
2396 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2397 $as_echo_n "checking
for $ac_word...
" >&6; }
2398 if test "${ac_cv_prog_CC+set}" = set; then
2399 $as_echo_n "(cached
) " >&6
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC="$CC" # Let the user override the test.
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir=.
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2413 ac_prog_rejected=yes
2417 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2424 if test $ac_prog_rejected = yes; then
2425 # We found a bogon in the path, so make sure we never use it.
2426 set dummy $ac_cv_prog_CC
2428 if test $# != 0; then
2429 # We chose a different compiler from the bogus one.
2430 # However, it has the same basename, so the bogon will be chosen
2431 # first if we set CC to just the basename; use the full file name.
2433 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2439 if test -n "$CC"; then
2440 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2441 $as_echo "$CC" >&6; }
2443 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2444 $as_echo "no
" >&6; }
2449 if test -z "$CC"; then
2450 if test -n "$ac_tool_prefix"; then
2451 for ac_prog in cl.exe
2453 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2455 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2456 $as_echo_n "checking
for $ac_word...
" >&6; }
2457 if test "${ac_cv_prog_CC+set}" = set; then
2458 $as_echo_n "(cached
) " >&6
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2471 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2481 if test -n "$CC"; then
2482 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2483 $as_echo "$CC" >&6; }
2485 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2486 $as_echo "no
" >&6; }
2490 test -n "$CC" && break
2493 if test -z "$CC"; then
2495 for ac_prog in cl.exe
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy $ac_prog; ac_word=$2
2499 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2500 $as_echo_n "checking
for $ac_word...
" >&6; }
2501 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2502 $as_echo_n "(cached
) " >&6
2504 if test -n "$ac_ct_CC"; then
2505 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_ac_ct_CC="$ac_prog"
2515 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2525 if test -n "$ac_ct_CC"; then
2526 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2527 $as_echo "$ac_ct_CC" >&6; }
2529 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2530 $as_echo "no
" >&6; }
2534 test -n "$ac_ct_CC" && break
2537 if test "x
$ac_ct_CC" = x; then
2540 case $cross_compiling:$ac_tool_warned in
2542 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2543 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2544 ac_tool_warned=yes ;;
2553 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2556 See \`config.log' for more details.
" >&5
2557 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2558 See \
`config.log' for more details." >&2;}
2559 { (exit 1); exit 1; }; }; }
2561 # Provide some information about the compiler.
2562 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2565 { (ac_try="$ac_compiler --version >&5"
2567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2568 *) ac_try_echo
=$ac_try;;
2570 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2571 $as_echo "$ac_try_echo") >&5
2572 (eval "$ac_compiler --version >&5") 2>&5
2574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }
2576 { (ac_try
="$ac_compiler -v >&5"
2578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2582 $as_echo "$ac_try_echo") >&5
2583 (eval "$ac_compiler -v >&5") 2>&5
2585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }
2587 { (ac_try="$ac_compiler -V >&5"
2589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2590 *) ac_try_echo
=$ac_try;;
2592 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2593 $as_echo "$ac_try_echo") >&5
2594 (eval "$ac_compiler -V >&5") 2>&5
2596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2614 ac_clean_files_save
=$ac_clean_files
2615 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2616 # Try to create an executable without -o first, disregard a.out.
2617 # It will help us diagnose broken compilers, and finding out an intuition
2619 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2620 $as_echo_n "checking for C compiler default output file name... " >&6; }
2621 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2623 # The possible output files:
2624 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2627 for ac_file
in $ac_files
2630 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2631 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2636 if { (ac_try
="$ac_link_default"
2638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642 $as_echo "$ac_try_echo") >&5
2643 (eval "$ac_link_default") 2>&5
2645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2648 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2649 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2650 # so that the user can short-circuit this test for compilers unknown to
2652 for ac_file in $ac_files ''
2654 test -f "$ac_file" || continue
2656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2659 # We found the default executable, but exeext='' is most
2663 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2665 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667 # We set ac_cv_exeext here because the later test for it is not
2668 # safe: cross compilers may not add the suffix if given an `-o'
2669 # argument, so we may need to know it at that point already.
2670 # Even if this section looks crufty: it has the advantage of
2677 test "$ac_cv_exeext" = no && ac_cv_exeext=
2683 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2684 $as_echo "$ac_file" >&6; }
2685 if test -z "$ac_file"; then
2686 $as_echo "$as_me: failed program was:" >&5
2687 sed 's
/^
/|
/' conftest.$ac_ext >&5
2689 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2690 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2691 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2692 See \`config.log
' for more details." >&5
2693 $as_echo "$as_me: error: C compiler cannot create executables
2694 See \`config.log' for more details.
" >&2;}
2695 { (exit 77); exit 77; }; }; }
2698 ac_exeext=$ac_cv_exeext
2700 # Check that the compiler produces executables we can run. If not, either
2701 # the compiler is broken, or we cross compile.
2702 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2703 $as_echo_n "checking whether the C compiler works...
" >&6; }
2704 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2705 # If not cross compiling, check that we can run a simple program.
2706 if test "$cross_compiling" != yes; then
2707 if { ac_try='./$ac_file'
2708 { (case "(($ac_try" in
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2713 $as_echo "$ac_try_echo") >&5
2714 (eval "$ac_try") 2>&5
2716 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2717 (exit $ac_status); }; }; then
2720 if test "$cross_compiling" = maybe; then
2723 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2725 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2726 If you meant to cross compile, use \`--host'.
2727 See \
`config.log' for more details." >&5
2728 $as_echo "$as_me: error: cannot run C compiled programs.
2729 If you meant to cross compile, use \`--host'.
2730 See \`config.log' for more details.
" >&2;}
2731 { (exit 1); exit 1; }; }; }
2735 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2736 $as_echo "yes" >&6; }
2738 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2739 ac_clean_files=$ac_clean_files_save
2740 # Check that the compiler produces executables we can run. If not, either
2741 # the compiler is broken, or we cross compile.
2742 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2743 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2744 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2745 $as_echo "$cross_compiling" >&6; }
2747 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2748 $as_echo_n "checking
for suffix of executables...
" >&6; }
2749 if { (ac_try="$ac_link"
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2755 $as_echo "$ac_try_echo") >&5
2756 (eval "$ac_link") 2>&5
2758 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2759 (exit $ac_status); }; then
2760 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2761 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2762 # work properly (i.e., refer to `conftest.exe'), while it won't with
2764 for ac_file in conftest.exe conftest conftest.*; do
2765 test -f "$ac_file" || continue
2767 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2768 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details.
" >&5
2778 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2779 See \
`config.log' for more details." >&2;}
2780 { (exit 1); exit 1; }; }; }
2783 rm -f conftest$ac_cv_exeext
2784 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2785 $as_echo "$ac_cv_exeext" >&6; }
2787 rm -f conftest.$ac_ext
2788 EXEEXT=$ac_cv_exeext
2790 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2791 $as_echo_n "checking for suffix of object files... " >&6; }
2792 if test "${ac_cv_objext+set}" = set; then
2793 $as_echo_n "(cached) " >&6
2795 cat >conftest.$ac_ext <<_ACEOF
2798 cat confdefs.h >>conftest.$ac_ext
2799 cat >>conftest.$ac_ext <<_ACEOF
2800 /* end confdefs.h. */
2810 rm -f conftest.o conftest.obj
2811 if { (ac_try="$ac_compile"
2813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2814 *) ac_try_echo
=$ac_try;;
2816 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2817 $as_echo "$ac_try_echo") >&5
2818 (eval "$ac_compile") 2>&5
2820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); }; then
2822 for ac_file
in conftest.o conftest.obj conftest.
*; do
2823 test -f "$ac_file" ||
continue;
2825 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2826 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2831 $as_echo "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.
$ac_ext >&5
2834 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2836 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2837 See \`config.log' for more details." >&5
2838 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }; }
2843 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2845 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 $as_echo "$ac_cv_objext" >&6; }
2847 OBJEXT
=$ac_cv_objext
2849 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2850 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2851 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2852 $as_echo_n "(cached) " >&6
2854 cat >conftest.
$ac_ext <<_ACEOF
2857 cat confdefs.h
>>conftest.
$ac_ext
2858 cat >>conftest.
$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2872 rm -f conftest.
$ac_objext
2873 if { (ac_try
="$ac_compile"
2875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compile") 2>conftest.er1
2882 grep -v '^ *+' conftest.er1 >conftest.err
2884 cat conftest.err >&5
2885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } && {
2887 test -z "$ac_c_werror_flag" ||
2888 test ! -s conftest.err
2889 } && test -s conftest.$ac_objext; then
2892 $as_echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2902 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2903 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2904 if test $ac_compiler_gnu = yes; then
2909 ac_test_CFLAGS=${CFLAGS+set}
2910 ac_save_CFLAGS=$CFLAGS
2911 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2912 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2913 if test "${ac_cv_prog_cc_g+set}" = set; then
2914 $as_echo_n "(cached) " >&6
2916 ac_save_c_werror_flag=$ac_c_werror_flag
2917 ac_c_werror_flag=yes
2920 cat >conftest.$ac_ext <<_ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2935 rm -f conftest.$ac_objext
2936 if { (ac_try="$ac_compile"
2938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2939 *) ac_try_echo
=$ac_try;;
2941 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2942 $as_echo "$ac_try_echo") >&5
2943 (eval "$ac_compile") 2>conftest.er1
2945 grep -v '^ *+' conftest.er1
>conftest.err
2947 cat conftest.err
>&5
2948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } && {
2950 test -z "$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest.
$ac_objext; then
2955 $as_echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.
$ac_ext >&5
2959 cat >conftest.
$ac_ext <<_ACEOF
2962 cat confdefs.h
>>conftest.
$ac_ext
2963 cat >>conftest.
$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2974 rm -f conftest.
$ac_objext
2975 if { (ac_try
="$ac_compile"
2977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2981 $as_echo "$ac_try_echo") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2994 $as_echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997 ac_c_werror_flag=$ac_save_c_werror_flag
2999 cat >conftest.$ac_ext <<_ACEOF
3002 cat confdefs.h >>conftest.$ac_ext
3003 cat >>conftest.$ac_ext <<_ACEOF
3004 /* end confdefs.h. */
3014 rm -f conftest.$ac_objext
3015 if { (ac_try="$ac_compile"
3017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3018 *) ac_try_echo
=$ac_try;;
3020 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3021 $as_echo "$ac_try_echo") >&5
3022 (eval "$ac_compile") 2>conftest.er1
3024 grep -v '^ *+' conftest.er1
>conftest.err
3026 cat conftest.err
>&5
3027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } && {
3029 test -z "$ac_c_werror_flag" ||
3030 test ! -s conftest.err
3031 } && test -s conftest.
$ac_objext; then
3034 $as_echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3047 ac_c_werror_flag
=$ac_save_c_werror_flag
3049 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3050 $as_echo "$ac_cv_prog_cc_g" >&6; }
3051 if test "$ac_test_CFLAGS" = set; then
3052 CFLAGS
=$ac_save_CFLAGS
3053 elif test $ac_cv_prog_cc_g = yes; then
3054 if test "$GCC" = yes; then
3060 if test "$GCC" = yes; then
3066 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3067 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3068 if test "${ac_cv_prog_cc_c89+set}" = set; then
3069 $as_echo_n "(cached) " >&6
3071 ac_cv_prog_cc_c89
=no
3073 cat >conftest.
$ac_ext <<_ACEOF
3076 cat confdefs.h
>>conftest.
$ac_ext
3077 cat >>conftest.
$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3081 #include <sys/types.h>
3082 #include <sys/stat.h>
3083 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3084 struct buf { int x; };
3085 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3086 static char *e (p, i)
3092 static char *f (char * (*g) (char **, int), char **p, ...)
3097 s = g (p, va_arg (v,int));
3102 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3103 function prototypes and stuff, but not '\xHH' hex character constants.
3104 These don't provoke an error unfortunately, instead are silently treated
3105 as 'x'. The following induces an error, until -std is added to get
3106 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3107 array size at least. It's necessary to write '\x00'==0 to get something
3108 that's true only with -std. */
3109 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3111 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3112 inside strings and character constants. */
3114 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3116 int test (int i, double x);
3117 struct s1 {int (*f) (int a);};
3118 struct s2 {int (*f) (double a);};
3119 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3125 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3130 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3131 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3133 CC
="$ac_save_CC $ac_arg"
3134 rm -f conftest.
$ac_objext
3135 if { (ac_try
="$ac_compile"
3137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141 $as_echo "$ac_try_echo") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3152 ac_cv_prog_cc_c89=$ac_arg
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3160 rm -f core conftest.err conftest.$ac_objext
3161 test "x$ac_cv_prog_cc_c89" != "xno" && break
3163 rm -f conftest.$ac_ext
3168 case "x$ac_cv_prog_cc_c89" in
3170 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3171 $as_echo "none needed" >&6; } ;;
3173 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3174 $as_echo "unsupported" >&6; } ;;
3176 CC="$CC $ac_cv_prog_cc_c89"
3177 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3178 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3183 ac_cpp='$CPP $CPPFLAGS'
3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 ac_cpp='$CPP $CPPFLAGS'
3192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3195 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3196 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3197 # On Suns, sometimes $CPP names a directory.
3198 if test -n "$CPP" && test -d "$CPP"; then
3201 if test -z "$CPP"; then
3202 if test "${ac_cv_prog_CPP+set}" = set; then
3203 $as_echo_n "(cached) " >&6
3205 # Double quotes because CPP needs to be expanded
3206 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3209 for ac_c_preproc_warn_flag in '' yes
3211 # Use a header file that comes with gcc, so configuring glibc
3212 # with a fresh cross-compiler works.
3213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3214 # <limits.h> exists even on freestanding compilers.
3215 # On the NeXT, cc -E runs the code through the compiler's parser,
3216 # not just through cpp. "Syntax error" is here to catch this case.
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3224 # include <limits.h>
3226 # include <assert.h>
3230 if { (ac_try="$ac_cpp conftest.$ac_ext"
3232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3233 *) ac_try_echo
=$ac_try;;
3235 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3236 $as_echo "$ac_try_echo") >&5
3237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3239 grep -v '^ *+' conftest.er1
>conftest.err
3241 cat conftest.err
>&5
3242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } >/dev
/null
&& {
3244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3249 $as_echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.
$ac_ext >&5
3252 # Broken: fails on valid input.
3256 rm -f conftest.err conftest.
$ac_ext
3258 # OK, works on sane cases. Now check whether nonexistent headers
3259 # can be detected and how.
3260 cat >conftest.
$ac_ext <<_ACEOF
3263 cat confdefs.h
>>conftest.
$ac_ext
3264 cat >>conftest.
$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3266 #include <ac_nonexistent.h>
3268 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3274 $as_echo "$ac_try_echo") >&5
3275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } >/dev/null && {
3282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3283 test ! -s conftest.err
3285 # Broken: success on invalid input.
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 # Passes both tests.
3296 rm -f conftest.err conftest.$ac_ext
3299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3300 rm -f conftest.err conftest.
$ac_ext
3301 if $ac_preproc_ok; then
3313 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3314 $as_echo "$CPP" >&6; }
3316 for ac_c_preproc_warn_flag
in '' yes
3318 # Use a header file that comes with gcc, so configuring glibc
3319 # with a fresh cross-compiler works.
3320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3321 # <limits.h> exists even on freestanding compilers.
3322 # On the NeXT, cc -E runs the code through the compiler's parser,
3323 # not just through cpp. "Syntax error" is here to catch this case.
3324 cat >conftest.
$ac_ext <<_ACEOF
3327 cat confdefs.h
>>conftest.
$ac_ext
3328 cat >>conftest.
$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3331 # include <limits.h>
3333 # include <assert.h>
3337 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3343 $as_echo "$ac_try_echo") >&5
3344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } >/dev/null && {
3351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3356 $as_echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3359 # Broken: fails on valid input.
3363 rm -f conftest.err conftest.$ac_ext
3365 # OK, works on sane cases. Now check whether nonexistent headers
3366 # can be detected and how.
3367 cat >conftest.$ac_ext <<_ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3373 #include <ac_nonexistent.h>
3375 if { (ac_try="$ac_cpp conftest.$ac_ext"
3377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3378 *) ac_try_echo
=$ac_try;;
3380 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1
>conftest.err
3386 cat conftest.err
>&5
3387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } >/dev
/null
&& {
3389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3392 # Broken: success on invalid input.
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 # Passes both tests.
3403 rm -f conftest.err conftest.
$ac_ext
3406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3407 rm -f conftest.err conftest.
$ac_ext
3408 if $ac_preproc_ok; then
3411 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3414 See \`config.log' for more details." >&5
3415 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3416 See \`config.log' for more details." >&2;}
3417 { (exit 1); exit 1; }; }; }
3421 ac_cpp
='$CPP $CPPFLAGS'
3422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3427 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3428 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3429 if test "${ac_cv_path_GREP+set}" = set; then
3430 $as_echo_n "(cached) " >&6
3432 if test -z "$GREP"; then
3433 ac_path_GREP_found
=false
3434 # Loop through the user's path and test for each of PROGNAME-LIST
3435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3436 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3439 test -z "$as_dir" && as_dir
=.
3440 for ac_prog
in grep ggrep
; do
3441 for ac_exec_ext
in '' $ac_executable_extensions; do
3442 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3443 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3444 # Check for GNU ac_path_GREP and select it if it is found.
3445 # Check for GNU $ac_path_GREP
3446 case `"$ac_path_GREP" --version 2>&1` in
3448 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3451 $as_echo_n 0123456789 >"conftest.in"
3454 cat "conftest.in" "conftest.in" >"conftest.tmp"
3455 mv "conftest.tmp" "conftest.in"
3456 cp "conftest.in" "conftest.nl"
3457 $as_echo 'GREP' >> "conftest.nl"
3458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3459 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3460 ac_count
=`expr $ac_count + 1`
3461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3462 # Best one so far, save it but keep looking for a better one
3463 ac_cv_path_GREP
="$ac_path_GREP"
3464 ac_path_GREP_max
=$ac_count
3466 # 10*(2^10) chars as input seems more than enough
3467 test $ac_count -gt 10 && break
3469 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3472 $ac_path_GREP_found && break 3
3477 if test -z "$ac_cv_path_GREP"; then
3478 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3479 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3480 { (exit 1); exit 1; }; }
3483 ac_cv_path_GREP
=$GREP
3487 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3488 $as_echo "$ac_cv_path_GREP" >&6; }
3489 GREP
="$ac_cv_path_GREP"
3492 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3493 $as_echo_n "checking for egrep... " >&6; }
3494 if test "${ac_cv_path_EGREP+set}" = set; then
3495 $as_echo_n "(cached) " >&6
3497 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3498 then ac_cv_path_EGREP
="$GREP -E"
3500 if test -z "$EGREP"; then
3501 ac_path_EGREP_found
=false
3502 # Loop through the user's path and test for each of PROGNAME-LIST
3503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3504 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3507 test -z "$as_dir" && as_dir
=.
3508 for ac_prog
in egrep; do
3509 for ac_exec_ext
in '' $ac_executable_extensions; do
3510 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3511 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3512 # Check for GNU ac_path_EGREP and select it if it is found.
3513 # Check for GNU $ac_path_EGREP
3514 case `"$ac_path_EGREP" --version 2>&1` in
3516 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3519 $as_echo_n 0123456789 >"conftest.in"
3522 cat "conftest.in" "conftest.in" >"conftest.tmp"
3523 mv "conftest.tmp" "conftest.in"
3524 cp "conftest.in" "conftest.nl"
3525 $as_echo 'EGREP' >> "conftest.nl"
3526 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3527 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3528 ac_count
=`expr $ac_count + 1`
3529 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3530 # Best one so far, save it but keep looking for a better one
3531 ac_cv_path_EGREP
="$ac_path_EGREP"
3532 ac_path_EGREP_max
=$ac_count
3534 # 10*(2^10) chars as input seems more than enough
3535 test $ac_count -gt 10 && break
3537 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3540 $ac_path_EGREP_found && break 3
3545 if test -z "$ac_cv_path_EGREP"; then
3546 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3547 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3548 { (exit 1); exit 1; }; }
3551 ac_cv_path_EGREP
=$EGREP
3556 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3557 $as_echo "$ac_cv_path_EGREP" >&6; }
3558 EGREP
="$ac_cv_path_EGREP"
3561 if test $ac_cv_c_compiler_gnu = yes; then
3562 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3563 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3564 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3565 $as_echo_n "(cached) " >&6
3567 ac_pattern
="Autoconf.*'x'"
3568 cat >conftest.
$ac_ext <<_ACEOF
3571 cat confdefs.h
>>conftest.
$ac_ext
3572 cat >>conftest.
$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3578 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3579 ac_cv_prog_gcc_traditional
=yes
3581 ac_cv_prog_gcc_traditional
=no
3586 if test $ac_cv_prog_gcc_traditional = no
; then
3587 cat >conftest.
$ac_ext <<_ACEOF
3590 cat confdefs.h
>>conftest.
$ac_ext
3591 cat >>conftest.
$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3597 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3598 ac_cv_prog_gcc_traditional
=yes
3604 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3605 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3606 if test $ac_cv_prog_gcc_traditional = yes; then
3607 CC
="$CC -traditional"
3611 # Find a good install program. We prefer a C program (faster),
3612 # so one script is as good as another. But avoid the broken or
3613 # incompatible versions:
3614 # SysV /etc/install, /usr/sbin/install
3615 # SunOS /usr/etc/install
3616 # IRIX /sbin/install
3618 # AmigaOS /C/install, which installs bootblocks on floppy discs
3619 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3620 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3621 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3622 # OS/2's system install, which has a completely different semantic
3623 # ./install, which can be erroneously created by make from ./install.sh.
3624 # Reject install programs that cannot install multiple files.
3625 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3626 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3627 if test -z "$INSTALL"; then
3628 if test "${ac_cv_path_install+set}" = set; then
3629 $as_echo_n "(cached) " >&6
3631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3635 test -z "$as_dir" && as_dir
=.
3636 # Account for people who put trailing slashes in PATH elements.
3638 .
/ | .
// |
/cC
/* | \
3639 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3640 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3643 # OSF1 and SCO ODT 3.0 have their own names for install.
3644 # Don't use installbsd from OSF since it installs stuff as root
3646 for ac_prog
in ginstall scoinst
install; do
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3649 if test $ac_prog = install &&
3650 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3651 # AIX install. It has an incompatible calling convention.
3653 elif test $ac_prog = install &&
3654 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3655 # program-specific install script used by HP pwplus--don't use.
3658 rm -rf conftest.one conftest.two conftest.dir
3659 echo one
> conftest.one
3660 echo two
> conftest.two
3662 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3663 test -s conftest.one
&& test -s conftest.two
&&
3664 test -s conftest.dir
/conftest.one
&&
3665 test -s conftest.dir
/conftest.two
3667 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3680 rm -rf conftest.one conftest.two conftest.dir
3683 if test "${ac_cv_path_install+set}" = set; then
3684 INSTALL
=$ac_cv_path_install
3686 # As a last resort, use the slow shell script. Don't cache a
3687 # value for INSTALL within a source directory, because that will
3688 # break other packages using the cache if that directory is
3689 # removed, or if the value is a relative name.
3690 INSTALL
=$ac_install_sh
3693 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3694 $as_echo "$INSTALL" >&6; }
3696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3697 # It thinks the first close brace ends the variable substitution.
3698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3702 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3704 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3705 $as_echo_n "checking whether ln -s works... " >&6; }
3707 if test "$LN_S" = "ln -s"; then
3708 { $as_echo "$as_me:$LINENO: result: yes" >&5
3709 $as_echo "yes" >&6; }
3711 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3712 $as_echo "no, using $LN_S" >&6; }
3715 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3716 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3718 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3719 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3720 $as_echo_n "(cached) " >&6
3722 cat >conftest.
make <<\_ACEOF
3725 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3728 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3730 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3732 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3736 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3737 { $as_echo "$as_me:$LINENO: result: yes" >&5
3738 $as_echo "yes" >&6; }
3741 { $as_echo "$as_me:$LINENO: result: no" >&5
3742 $as_echo "no" >&6; }
3743 SET_MAKE
="MAKE=${MAKE-make}"
3746 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3747 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3748 if test -z "$MKDIR_P"; then
3749 if test "${ac_cv_path_mkdir+set}" = set; then
3750 $as_echo_n "(cached) " >&6
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_prog
in mkdir gmkdir
; do
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3760 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3761 'mkdir (GNU coreutils) '* | \
3762 'mkdir (coreutils) '* | \
3763 'mkdir (fileutils) '4.1*)
3764 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3774 if test "${ac_cv_path_mkdir+set}" = set; then
3775 MKDIR_P
="$ac_cv_path_mkdir -p"
3777 # As a last resort, use the slow shell script. Don't cache a
3778 # value for MKDIR_P within a source directory, because that will
3779 # break other packages using the cache if that directory is
3780 # removed, or if the value is a relative name.
3781 test -d .
/--version && rmdir .
/--version
3782 MKDIR_P
="$ac_install_sh -d"
3785 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3786 $as_echo "$MKDIR_P" >&6; }
3788 if test -n "$ac_tool_prefix"; then
3789 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3790 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if test "${ac_cv_prog_RANLIB+set}" = set; then
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$RANLIB"; then
3797 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir
=.
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 RANLIB
=$ac_cv_prog_RANLIB
3817 if test -n "$RANLIB"; then
3818 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3819 $as_echo "$RANLIB" >&6; }
3821 { $as_echo "$as_me:$LINENO: result: no" >&5
3822 $as_echo "no" >&6; }
3827 if test -z "$ac_cv_prog_RANLIB"; then
3828 ac_ct_RANLIB
=$RANLIB
3829 # Extract the first word of "ranlib", so it can be a program name with args.
3830 set dummy ranlib
; ac_word
=$2
3831 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$ac_ct_RANLIB"; then
3837 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3847 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3857 if test -n "$ac_ct_RANLIB"; then
3858 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3859 $as_echo "$ac_ct_RANLIB" >&6; }
3861 { $as_echo "$as_me:$LINENO: result: no" >&5
3862 $as_echo "no" >&6; }
3865 if test "x$ac_ct_RANLIB" = x
; then
3868 case $cross_compiling:$ac_tool_warned in
3870 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3872 ac_tool_warned
=yes ;;
3874 RANLIB
=$ac_ct_RANLIB
3877 RANLIB
="$ac_cv_prog_RANLIB"
3880 # Extract the first word of "cflow", so it can be a program name with args.
3881 set dummy cflow
; ac_word
=$2
3882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if test "${ac_cv_path_CFLOW_CMD+set}" = set; then
3885 $as_echo_n "(cached) " >&6
3889 ac_cv_path_CFLOW_CMD
="$CFLOW_CMD" # Let the user override the test with a path.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_path_CFLOW_CMD
="$as_dir/$ac_word$ac_exec_ext"
3900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 CFLOW_CMD
=$ac_cv_path_CFLOW_CMD
3911 if test -n "$CFLOW_CMD"; then
3912 { $as_echo "$as_me:$LINENO: result: $CFLOW_CMD" >&5
3913 $as_echo "$CFLOW_CMD" >&6; }
3915 { $as_echo "$as_me:$LINENO: result: no" >&5
3916 $as_echo "no" >&6; }
3920 # Extract the first word of "cscope", so it can be a program name with args.
3921 set dummy cscope
; ac_word
=$2
3922 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if test "${ac_cv_path_CSCOPE_CMD+set}" = set; then
3925 $as_echo_n "(cached) " >&6
3929 ac_cv_path_CSCOPE_CMD
="$CSCOPE_CMD" # Let the user override the test with a path.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_path_CSCOPE_CMD
="$as_dir/$ac_word$ac_exec_ext"
3940 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 CSCOPE_CMD
=$ac_cv_path_CSCOPE_CMD
3951 if test -n "$CSCOPE_CMD"; then
3952 { $as_echo "$as_me:$LINENO: result: $CSCOPE_CMD" >&5
3953 $as_echo "$CSCOPE_CMD" >&6; }
3955 { $as_echo "$as_me:$LINENO: result: no" >&5
3956 $as_echo "no" >&6; }
3961 ################################################################################
3968 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3969 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3970 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3971 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3972 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3973 $as_echo_n "(cached) " >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3978 cat confdefs.h
>>conftest.
$ac_ext
3979 cat >>conftest.
$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3981 #include <sys/types.h>
3993 rm -f conftest.
$ac_objext
3994 if { (ac_try
="$ac_compile"
3996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4000 $as_echo "$ac_try_echo") >&5
4001 (eval "$ac_compile") 2>conftest.er1
4003 grep -v '^ *+' conftest.er1 >conftest.err
4005 cat conftest.err >&5
4006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } && {
4008 test -z "$ac_c_werror_flag" ||
4009 test ! -s conftest.err
4010 } && test -s conftest.$ac_objext; then
4011 eval "$as_ac_Header=yes"
4013 $as_echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 eval "$as_ac_Header=no"
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 ac_res=`eval 'as_val=${'$as_ac_Header'}
4022 $as_echo "$as_val"'`
4023 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4024 $as_echo "$ac_res" >&6; }
4025 as_val=`eval 'as_val=${'$as_ac_Header'}
4026 $as_echo "$as_val"'`
4027 if test "x$as_val" = x""yes; then
4028 cat >>confdefs.h <<_ACEOF
4029 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
4032 ac_header_dirent=$ac_hdr; break
4036 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4037 if test $ac_header_dirent = dirent.h; then
4038 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4039 $as_echo_n "checking for library containing opendir... " >&6; }
4040 if test "${ac_cv_search_opendir+set}" = set; then
4041 $as_echo_n "(cached) " >&6
4043 ac_func_search_save_LIBS=$LIBS
4044 cat >conftest.$ac_ext <<_ACEOF
4047 cat confdefs.h >>conftest.$ac_ext
4048 cat >>conftest.$ac_ext <<_ACEOF
4049 /* end confdefs.h. */
4051 /* Override any GCC internal prototype to avoid an error.
4052 Use char because int might match the return type of a GCC
4053 builtin and then its argument prototype would still apply. */
4066 for ac_lib in '' dir; do
4067 if test -z "$ac_lib"; then
4068 ac_res="none required"
4071 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4073 rm -f conftest.$ac_objext conftest$ac_exeext
4074 if { (ac_try="$ac_link"
4076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4077 *) ac_try_echo
=$ac_try;;
4079 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4080 $as_echo "$ac_try_echo") >&5
4081 (eval "$ac_link") 2>conftest.er1
4083 grep -v '^ *+' conftest.er1
>conftest.err
4085 cat conftest.err
>&5
4086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } && {
4088 test -z "$ac_c_werror_flag" ||
4089 test ! -s conftest.err
4090 } && test -s conftest
$ac_exeext && {
4091 test "$cross_compiling" = yes ||
4092 $as_test_x conftest
$ac_exeext
4094 ac_cv_search_opendir
=$ac_res
4096 $as_echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.
$ac_ext >&5
4102 rm -rf conftest.dSYM
4103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4105 if test "${ac_cv_search_opendir+set}" = set; then
4109 if test "${ac_cv_search_opendir+set}" = set; then
4112 ac_cv_search_opendir
=no
4115 LIBS
=$ac_func_search_save_LIBS
4117 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4118 $as_echo "$ac_cv_search_opendir" >&6; }
4119 ac_res
=$ac_cv_search_opendir
4120 if test "$ac_res" != no
; then
4121 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4126 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4127 $as_echo_n "checking for library containing opendir... " >&6; }
4128 if test "${ac_cv_search_opendir+set}" = set; then
4129 $as_echo_n "(cached) " >&6
4131 ac_func_search_save_LIBS
=$LIBS
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4139 /* Override any GCC internal prototype to avoid an error.
4140 Use char because int might match the return type of a GCC
4141 builtin and then its argument prototype would still apply. */
4154 for ac_lib
in '' x
; do
4155 if test -z "$ac_lib"; then
4156 ac_res
="none required"
4159 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4161 rm -f conftest.
$ac_objext conftest
$ac_exeext
4162 if { (ac_try
="$ac_link"
4164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4165 *) ac_try_echo=$ac_try;;
4167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4168 $as_echo "$ac_try_echo") >&5
4169 (eval "$ac_link") 2>conftest.er1
4171 grep -v '^ *+' conftest.er1 >conftest.err
4173 cat conftest.err >&5
4174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } && {
4176 test -z "$ac_c_werror_flag" ||
4177 test ! -s conftest.err
4178 } && test -s conftest$ac_exeext && {
4179 test "$cross_compiling" = yes ||
4180 $as_test_x conftest$ac_exeext
4182 ac_cv_search_opendir=$ac_res
4184 $as_echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4190 rm -rf conftest.dSYM
4191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4193 if test "${ac_cv_search_opendir+set}" = set; then
4197 if test "${ac_cv_search_opendir+set}" = set; then
4200 ac_cv_search_opendir=no
4203 LIBS=$ac_func_search_save_LIBS
4205 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4206 $as_echo "$ac_cv_search_opendir" >&6; }
4207 ac_res=$ac_cv_search_opendir
4208 if test "$ac_res" != no; then
4209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4215 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4216 $as_echo_n "checking for ANSI C header files... " >&6; }
4217 if test "${ac_cv_header_stdc+set}" = set; then
4218 $as_echo_n "(cached) " >&6
4220 cat >conftest.$ac_ext <<_ACEOF
4223 cat confdefs.h >>conftest.$ac_ext
4224 cat >>conftest.$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4239 rm -f conftest.$ac_objext
4240 if { (ac_try="$ac_compile"
4242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4243 *) ac_try_echo
=$ac_try;;
4245 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4246 $as_echo "$ac_try_echo") >&5
4247 (eval "$ac_compile") 2>conftest.er1
4249 grep -v '^ *+' conftest.er1
>conftest.err
4251 cat conftest.err
>&5
4252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } && {
4254 test -z "$ac_c_werror_flag" ||
4255 test ! -s conftest.err
4256 } && test -s conftest.
$ac_objext; then
4257 ac_cv_header_stdc
=yes
4259 $as_echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.
$ac_ext >&5
4262 ac_cv_header_stdc
=no
4265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4267 if test $ac_cv_header_stdc = yes; then
4268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4269 cat >conftest.
$ac_ext <<_ACEOF
4272 cat confdefs.h
>>conftest.
$ac_ext
4273 cat >>conftest.
$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4279 $EGREP "memchr" >/dev
/null
2>&1; then
4282 ac_cv_header_stdc
=no
4288 if test $ac_cv_header_stdc = yes; then
4289 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4290 cat >conftest.
$ac_ext <<_ACEOF
4293 cat confdefs.h
>>conftest.
$ac_ext
4294 cat >>conftest.
$ac_ext <<_ACEOF
4295 /* end confdefs.h. */
4299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4300 $EGREP "free" >/dev
/null
2>&1; then
4303 ac_cv_header_stdc
=no
4309 if test $ac_cv_header_stdc = yes; then
4310 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4311 if test "$cross_compiling" = yes; then
4314 cat >conftest.
$ac_ext <<_ACEOF
4317 cat confdefs.h
>>conftest.
$ac_ext
4318 cat >>conftest.
$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4322 #if ((' ' & 0x0FF) == 0x020)
4323 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4324 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4326 # define ISLOWER(c) \
4327 (('a' <= (c) && (c) <= 'i') \
4328 || ('j' <= (c) && (c) <= 'r') \
4329 || ('s' <= (c) && (c) <= 'z'))
4330 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4333 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4338 for (i = 0; i < 256; i++)
4339 if (XOR (islower (i), ISLOWER (i))
4340 || toupper (i) != TOUPPER (i))
4345 rm -f conftest
$ac_exeext
4346 if { (ac_try
="$ac_link"
4348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4352 $as_echo "$ac_try_echo") >&5
4353 (eval "$ac_link") 2>&5
4355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4357 { (case "(($ac_try" in
4358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4359 *) ac_try_echo
=$ac_try;;
4361 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4362 $as_echo "$ac_try_echo") >&5
4363 (eval "$ac_try") 2>&5
4365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; }; then
4369 $as_echo "$as_me: program exited with status $ac_status" >&5
4370 $as_echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.
$ac_ext >&5
4374 ac_cv_header_stdc
=no
4376 rm -rf conftest.dSYM
4377 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4383 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4384 $as_echo "$ac_cv_header_stdc" >&6; }
4385 if test $ac_cv_header_stdc = yes; then
4387 cat >>confdefs.h
<<\_ACEOF
4388 #define STDC_HEADERS 1
4393 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4394 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4395 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4396 $as_echo_n "(cached) " >&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 #include <sys/types.h>
4405 #include <sys/wait.h>
4407 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4410 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4418 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4423 rm -f conftest.
$ac_objext
4424 if { (ac_try
="$ac_compile"
4426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4427 *) ac_try_echo=$ac_try;;
4429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4430 $as_echo "$ac_try_echo") >&5
4431 (eval "$ac_compile") 2>conftest.er1
4433 grep -v '^ *+' conftest.er1 >conftest.err
4435 cat conftest.err >&5
4436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); } && {
4438 test -z "$ac_c_werror_flag" ||
4439 test ! -s conftest.err
4440 } && test -s conftest.$ac_objext; then
4441 ac_cv_header_sys_wait_h=yes
4443 $as_echo "$as_me: failed program was:" >&5
4444 sed 's/^/| /' conftest.$ac_ext >&5
4446 ac_cv_header_sys_wait_h=no
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4452 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4453 if test $ac_cv_header_sys_wait_h = yes; then
4455 cat >>confdefs.h <<\_ACEOF
4456 #define HAVE_SYS_WAIT_H 1
4461 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4462 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4463 if test "${ac_cv_header_time+set}" = set; then
4464 $as_echo_n "(cached) " >&6
4466 cat >conftest.$ac_ext <<_ACEOF
4469 cat confdefs.h >>conftest.$ac_ext
4470 cat >>conftest.$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4472 #include <sys/types.h>
4473 #include <sys/time.h>
4479 if ((struct tm *) 0)
4485 rm -f conftest.$ac_objext
4486 if { (ac_try="$ac_compile"
4488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4489 *) ac_try_echo
=$ac_try;;
4491 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4492 $as_echo "$ac_try_echo") >&5
4493 (eval "$ac_compile") 2>conftest.er1
4495 grep -v '^ *+' conftest.er1
>conftest.err
4497 cat conftest.err
>&5
4498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } && {
4500 test -z "$ac_c_werror_flag" ||
4501 test ! -s conftest.err
4502 } && test -s conftest.
$ac_objext; then
4503 ac_cv_header_time
=yes
4505 $as_echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_cv_header_time
=no
4511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4514 $as_echo "$ac_cv_header_time" >&6; }
4515 if test $ac_cv_header_time = yes; then
4517 cat >>confdefs.h
<<\_ACEOF
4518 #define TIME_WITH_SYS_TIME 1
4524 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4534 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4535 inttypes.h stdint.h unistd.h
4537 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4539 $as_echo_n "checking for $ac_header... " >&6; }
4540 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4541 $as_echo_n "(cached) " >&6
4543 cat >conftest.
$ac_ext <<_ACEOF
4546 cat confdefs.h
>>conftest.
$ac_ext
4547 cat >>conftest.
$ac_ext <<_ACEOF
4548 /* end confdefs.h. */
4549 $ac_includes_default
4551 #include <$ac_header>
4553 rm -f conftest.
$ac_objext
4554 if { (ac_try
="$ac_compile"
4556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560 $as_echo "$ac_try_echo") >&5
4561 (eval "$ac_compile") 2>conftest.er1
4563 grep -v '^ *+' conftest.er1 >conftest.err
4565 cat conftest.err >&5
4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest.$ac_objext; then
4571 eval "$as_ac_Header=yes"
4573 $as_echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4576 eval "$as_ac_Header=no"
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_res=`eval 'as_val=${'$as_ac_Header'}
4582 $as_echo "$as_val"'`
4583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4584 $as_echo "$ac_res" >&6; }
4585 as_val=`eval 'as_val=${'$as_ac_Header'}
4586 $as_echo "$as_val"'`
4587 if test "x$as_val" = x""yes; then
4588 cat >>confdefs.h <<_ACEOF
4589 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4610 for ac_header in locale.h stddef.h syslog.h sys/file.h sys/time.h assert.h \
4611 libgen.h signal.h sys/mman.h sys/resource.h sys/utsname.h sys/wait.h time.h
4613 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4615 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4616 $as_echo_n "checking for $ac_header... " >&6; }
4617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4618 $as_echo_n "(cached) " >&6
4620 ac_res=`eval 'as_val=${'$as_ac_Header'}
4621 $as_echo "$as_val"'`
4622 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4623 $as_echo "$ac_res" >&6; }
4625 # Is the header compilable?
4626 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4627 $as_echo_n "checking $ac_header usability... " >&6; }
4628 cat >conftest.$ac_ext <<_ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4634 $ac_includes_default
4635 #include <$ac_header>
4637 rm -f conftest.$ac_objext
4638 if { (ac_try="$ac_compile"
4640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4641 *) ac_try_echo
=$ac_try;;
4643 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4644 $as_echo "$ac_try_echo") >&5
4645 (eval "$ac_compile") 2>conftest.er1
4647 grep -v '^ *+' conftest.er1
>conftest.err
4649 cat conftest.err
>&5
4650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); } && {
4652 test -z "$ac_c_werror_flag" ||
4653 test ! -s conftest.err
4654 } && test -s conftest.
$ac_objext; then
4655 ac_header_compiler
=yes
4657 $as_echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.
$ac_ext >&5
4660 ac_header_compiler
=no
4663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4664 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4665 $as_echo "$ac_header_compiler" >&6; }
4667 # Is the header present?
4668 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4669 $as_echo_n "checking $ac_header presence... " >&6; }
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 #include <$ac_header>
4678 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4681 *) ac_try_echo=$ac_try;;
4683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4684 $as_echo "$ac_try_echo") >&5
4685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4687 grep -v '^ *+' conftest.er1 >conftest.err
4689 cat conftest.err >&5
4690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } >/dev/null && {
4692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4693 test ! -s conftest.err
4695 ac_header_preproc=yes
4697 $as_echo "$as_me: failed program was:" >&5
4698 sed 's/^/| /' conftest.$ac_ext >&5
4700 ac_header_preproc=no
4703 rm -f conftest.err conftest.$ac_ext
4704 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4705 $as_echo "$ac_header_preproc" >&6; }
4707 # So? What about this header?
4708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4711 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4713 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4714 ac_header_preproc=yes
4717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4718 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4719 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4720 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4721 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4722 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4723 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4724 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4725 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4726 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4727 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4728 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4732 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4733 $as_echo_n "checking for $ac_header... " >&6; }
4734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4735 $as_echo_n "(cached) " >&6
4737 eval "$as_ac_Header=\$ac_header_preproc"
4739 ac_res=`eval 'as_val=${'$as_ac_Header'}
4740 $as_echo "$as_val"'`
4741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4742 $as_echo "$ac_res" >&6; }
4745 as_val=`eval 'as_val=${'$as_ac_Header'}
4746 $as_echo "$as_val"'`
4747 if test "x$as_val" = x""yes; then
4748 cat >>confdefs.h <<_ACEOF
4749 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4753 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4754 $as_echo "$as_me: error: bailing out" >&2;}
4755 { (exit 1); exit 1; }; }
4766 for ac_header in asm/byteorder.h linux/fs.h malloc.h
4768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4770 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4771 $as_echo_n "checking for $ac_header... " >&6; }
4772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4773 $as_echo_n "(cached) " >&6
4775 ac_res=`eval 'as_val=${'$as_ac_Header'}
4776 $as_echo "$as_val"'`
4777 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4778 $as_echo "$ac_res" >&6; }
4780 # Is the header compilable?
4781 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4782 $as_echo_n "checking $ac_header usability... " >&6; }
4783 cat >conftest.$ac_ext <<_ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 $ac_includes_default
4790 #include <$ac_header>
4792 rm -f conftest.$ac_objext
4793 if { (ac_try="$ac_compile"
4795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4796 *) ac_try_echo
=$ac_try;;
4798 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4799 $as_echo "$ac_try_echo") >&5
4800 (eval "$ac_compile") 2>conftest.er1
4802 grep -v '^ *+' conftest.er1
>conftest.err
4804 cat conftest.err
>&5
4805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } && {
4807 test -z "$ac_c_werror_flag" ||
4808 test ! -s conftest.err
4809 } && test -s conftest.
$ac_objext; then
4810 ac_header_compiler
=yes
4812 $as_echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.
$ac_ext >&5
4815 ac_header_compiler
=no
4818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4819 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4820 $as_echo "$ac_header_compiler" >&6; }
4822 # Is the header present?
4823 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4824 $as_echo_n "checking $ac_header presence... " >&6; }
4825 cat >conftest.
$ac_ext <<_ACEOF
4828 cat confdefs.h
>>conftest.
$ac_ext
4829 cat >>conftest.
$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 #include <$ac_header>
4833 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4839 $as_echo "$ac_try_echo") >&5
4840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4842 grep -v '^ *+' conftest.er1 >conftest.err
4844 cat conftest.err >&5
4845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } >/dev/null && {
4847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4848 test ! -s conftest.err
4850 ac_header_preproc=yes
4852 $as_echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.$ac_ext >&5
4855 ac_header_preproc=no
4858 rm -f conftest.err conftest.$ac_ext
4859 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4860 $as_echo "$ac_header_preproc" >&6; }
4862 # So? What about this header?
4863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4866 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4868 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4869 ac_header_preproc=yes
4872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4873 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4875 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4877 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4878 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4879 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4880 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4881 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4883 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4887 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4888 $as_echo_n "checking for $ac_header... " >&6; }
4889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4890 $as_echo_n "(cached) " >&6
4892 eval "$as_ac_Header=\$ac_header_preproc"
4894 ac_res=`eval 'as_val=${'$as_ac_Header'}
4895 $as_echo "$as_val"'`
4896 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4897 $as_echo "$ac_res" >&6; }
4900 as_val=`eval 'as_val=${'$as_ac_Header'}
4901 $as_echo "$as_val"'`
4902 if test "x$as_val" = x""yes; then
4903 cat >>confdefs.h <<_ACEOF
4904 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4908 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
4909 $as_echo "$as_me: error: bailing out" >&2;}
4910 { (exit 1); exit 1; }; }
4918 for ac_header in machine/endian.h sys/disk.h
4920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4922 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4923 $as_echo_n "checking for $ac_header... " >&6; }
4924 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4925 $as_echo_n "(cached) " >&6
4927 ac_res=`eval 'as_val=${'$as_ac_Header'}
4928 $as_echo "$as_val"'`
4929 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4930 $as_echo "$ac_res" >&6; }
4932 # Is the header compilable?
4933 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4934 $as_echo_n "checking $ac_header usability... " >&6; }
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4941 $ac_includes_default
4942 #include <$ac_header>
4944 rm -f conftest.$ac_objext
4945 if { (ac_try="$ac_compile"
4947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4948 *) ac_try_echo
=$ac_try;;
4950 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4951 $as_echo "$ac_try_echo") >&5
4952 (eval "$ac_compile") 2>conftest.er1
4954 grep -v '^ *+' conftest.er1
>conftest.err
4956 cat conftest.err
>&5
4957 $as_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 $as_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 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4972 $as_echo "$ac_header_compiler" >&6; }
4974 # Is the header present?
4975 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4976 $as_echo_n "checking $ac_header presence... " >&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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4991 $as_echo "$ac_try_echo") >&5
4992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4994 grep -v '^ *+' conftest.er1 >conftest.err
4996 cat conftest.err >&5
4997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } >/dev/null && {
4999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5000 test ! -s conftest.err
5002 ac_header_preproc=yes
5004 $as_echo "$as_me: failed program was:" >&5
5005 sed 's/^/| /' conftest.$ac_ext >&5
5007 ac_header_preproc=no
5010 rm -f conftest.err conftest.$ac_ext
5011 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5012 $as_echo "$ac_header_preproc" >&6; }
5014 # So? What about this header?
5015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5017 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5018 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5020 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5021 ac_header_preproc=yes
5024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5025 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5027 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5029 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5030 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5031 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5033 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5035 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5040 $as_echo_n "checking for $ac_header... " >&6; }
5041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5042 $as_echo_n "(cached) " >&6
5044 eval "$as_ac_Header=\$ac_header_preproc"
5046 ac_res=`eval 'as_val=${'$as_ac_Header'}
5047 $as_echo "$as_val"'`
5048 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5049 $as_echo "$ac_res" >&6; }
5052 as_val=`eval 'as_val=${'$as_ac_Header'}
5053 $as_echo "$as_val"'`
5054 if test "x$as_val" = x""yes; then
5055 cat >>confdefs.h <<_ACEOF
5056 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5060 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5061 $as_echo "$as_me: error: bailing out" >&2;}
5062 { (exit 1); exit 1; }; }
5085 for ac_header in ctype.h dirent.h errno.h fcntl.h getopt.h inttypes.h limits.h \
5086 stdarg.h stdio.h stdlib.h string.h sys/ioctl.h sys/param.h sys/stat.h \
5087 sys/types.h unistd.h
5089 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5091 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5092 $as_echo_n "checking for $ac_header... " >&6; }
5093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5094 $as_echo_n "(cached) " >&6
5096 ac_res=`eval 'as_val=${'$as_ac_Header'}
5097 $as_echo "$as_val"'`
5098 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5099 $as_echo "$ac_res" >&6; }
5101 # Is the header compilable?
5102 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5103 $as_echo_n "checking $ac_header usability... " >&6; }
5104 cat >conftest.$ac_ext <<_ACEOF
5107 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5110 $ac_includes_default
5111 #include <$ac_header>
5113 rm -f conftest.$ac_objext
5114 if { (ac_try="$ac_compile"
5116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5117 *) ac_try_echo
=$ac_try;;
5119 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5120 $as_echo "$ac_try_echo") >&5
5121 (eval "$ac_compile") 2>conftest.er1
5123 grep -v '^ *+' conftest.er1
>conftest.err
5125 cat conftest.err
>&5
5126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && {
5128 test -z "$ac_c_werror_flag" ||
5129 test ! -s conftest.err
5130 } && test -s conftest.
$ac_objext; then
5131 ac_header_compiler
=yes
5133 $as_echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.
$ac_ext >&5
5136 ac_header_compiler
=no
5139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5140 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5141 $as_echo "$ac_header_compiler" >&6; }
5143 # Is the header present?
5144 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5145 $as_echo_n "checking $ac_header presence... " >&6; }
5146 cat >conftest.
$ac_ext <<_ACEOF
5149 cat confdefs.h
>>conftest.
$ac_ext
5150 cat >>conftest.
$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 #include <$ac_header>
5154 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5157 *) ac_try_echo=$ac_try;;
5159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5160 $as_echo "$ac_try_echo") >&5
5161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5163 grep -v '^ *+' conftest.er1 >conftest.err
5165 cat conftest.err >&5
5166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev/null && {
5168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5169 test ! -s conftest.err
5171 ac_header_preproc=yes
5173 $as_echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.$ac_ext >&5
5176 ac_header_preproc=no
5179 rm -f conftest.err conftest.$ac_ext
5180 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5181 $as_echo "$ac_header_preproc" >&6; }
5183 # So? What about this header?
5184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5187 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5189 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5190 ac_header_preproc=yes
5193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5194 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5196 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5198 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5200 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5202 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5204 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5208 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5209 $as_echo_n "checking for $ac_header... " >&6; }
5210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5211 $as_echo_n "(cached) " >&6
5213 eval "$as_ac_Header=\$ac_header_preproc"
5215 ac_res=`eval 'as_val=${'$as_ac_Header'}
5216 $as_echo "$as_val"'`
5217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5218 $as_echo "$ac_res" >&6; }
5221 as_val=`eval 'as_val=${'$as_ac_Header'}
5222 $as_echo "$as_val"'`
5223 if test "x$as_val" = x""yes; then
5224 cat >>confdefs.h <<_ACEOF
5225 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5229 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
5230 $as_echo "$as_me: error: bailing out" >&2;}
5231 { (exit 1); exit 1; }; }
5238 for ac_header in termios.h sys/statvfs.h
5240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5242 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5243 $as_echo_n "checking for $ac_header... " >&6; }
5244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5245 $as_echo_n "(cached) " >&6
5247 ac_res=`eval 'as_val=${'$as_ac_Header'}
5248 $as_echo "$as_val"'`
5249 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5250 $as_echo "$ac_res" >&6; }
5252 # Is the header compilable?
5253 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5254 $as_echo_n "checking $ac_header usability... " >&6; }
5255 cat >conftest.$ac_ext <<_ACEOF
5258 cat confdefs.h >>conftest.$ac_ext
5259 cat >>conftest.$ac_ext <<_ACEOF
5260 /* end confdefs.h. */
5261 $ac_includes_default
5262 #include <$ac_header>
5264 rm -f conftest.$ac_objext
5265 if { (ac_try="$ac_compile"
5267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5268 *) ac_try_echo
=$ac_try;;
5270 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5271 $as_echo "$ac_try_echo") >&5
5272 (eval "$ac_compile") 2>conftest.er1
5274 grep -v '^ *+' conftest.er1
>conftest.err
5276 cat conftest.err
>&5
5277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } && {
5279 test -z "$ac_c_werror_flag" ||
5280 test ! -s conftest.err
5281 } && test -s conftest.
$ac_objext; then
5282 ac_header_compiler
=yes
5284 $as_echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 ac_header_compiler
=no
5290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5291 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5292 $as_echo "$ac_header_compiler" >&6; }
5294 # Is the header present?
5295 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5296 $as_echo_n "checking $ac_header presence... " >&6; }
5297 cat >conftest.
$ac_ext <<_ACEOF
5300 cat confdefs.h
>>conftest.
$ac_ext
5301 cat >>conftest.
$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 #include <$ac_header>
5305 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5311 $as_echo "$ac_try_echo") >&5
5312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5314 grep -v '^ *+' conftest.er1 >conftest.err
5316 cat conftest.err >&5
5317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } >/dev/null && {
5319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5320 test ! -s conftest.err
5322 ac_header_preproc=yes
5324 $as_echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.$ac_ext >&5
5327 ac_header_preproc=no
5330 rm -f conftest.err conftest.$ac_ext
5331 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5332 $as_echo "$ac_header_preproc" >&6; }
5334 # So? What about this header?
5335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5338 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5340 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5341 ac_header_preproc=yes
5344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5345 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5347 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5349 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5351 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5353 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5355 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5359 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5360 $as_echo_n "checking for $ac_header... " >&6; }
5361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5362 $as_echo_n "(cached) " >&6
5364 eval "$as_ac_Header=\$ac_header_preproc"
5366 ac_res=`eval 'as_val=${'$as_ac_Header'}
5367 $as_echo "$as_val"'`
5368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5369 $as_echo "$ac_res" >&6; }
5372 as_val=`eval 'as_val=${'$as_ac_Header'}
5373 $as_echo "$as_val"'`
5374 if test "x$as_val" = x""yes; then
5375 cat >>confdefs.h <<_ACEOF
5376 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5384 ################################################################################
5385 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5386 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5387 if test "${ac_cv_c_const+set}" = set; then
5388 $as_echo_n "(cached) " >&6
5390 cat >conftest.$ac_ext <<_ACEOF
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5400 /* FIXME: Include the comments suggested by Paul. */
5402 /* Ultrix mips cc rejects this. */
5403 typedef int charset[2];
5405 /* SunOS 4.1.1 cc rejects this. */
5406 char const *const *pcpcc;
5408 /* NEC SVR4.0.2 mips cc rejects this. */
5409 struct point {int x, y;};
5410 static struct point const zero = {0,0};
5411 /* AIX XL C 1.02.0.0 rejects this.
5412 It does not let you subtract one const X* pointer from another in
5413 an arm of an if-expression whose if-part is not a constant
5415 const char *g = "string";
5416 pcpcc = &g + (g ? g-g : 0);
5417 /* HPUX 7.0 cc rejects these. */
5419 ppc = (char**) pcpcc;
5420 pcpcc = (char const *const *) ppc;
5421 { /* SCO 3.2v4 cc rejects this. */
5423 char const *s = 0 ? (char *) 0 : (char const *) 0;
5428 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5430 const int *foo = &x[0];
5433 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5434 typedef const int *iptr;
5438 { /* AIX XL C 1.02.0.0 rejects this saying
5439 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5440 struct s { int j; const int *ap[3]; };
5441 struct s *b; b->j = 5;
5443 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5447 return !cs[0] && !zero.x;
5454 rm -f conftest.$ac_objext
5455 if { (ac_try="$ac_compile"
5457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5458 *) ac_try_echo
=$ac_try;;
5460 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5461 $as_echo "$ac_try_echo") >&5
5462 (eval "$ac_compile") 2>conftest.er1
5464 grep -v '^ *+' conftest.er1
>conftest.err
5466 cat conftest.err
>&5
5467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && {
5469 test -z "$ac_c_werror_flag" ||
5470 test ! -s conftest.err
5471 } && test -s conftest.
$ac_objext; then
5474 $as_echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.
$ac_ext >&5
5480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5482 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5483 $as_echo "$ac_cv_c_const" >&6; }
5484 if test $ac_cv_c_const = no
; then
5486 cat >>confdefs.h
<<\_ACEOF
5492 { $as_echo "$as_me:$LINENO: checking for inline" >&5
5493 $as_echo_n "checking for inline... " >&6; }
5494 if test "${ac_cv_c_inline+set}" = set; then
5495 $as_echo_n "(cached) " >&6
5498 for ac_kw
in inline __inline__ __inline
; do
5499 cat >conftest.
$ac_ext <<_ACEOF
5502 cat confdefs.h
>>conftest.
$ac_ext
5503 cat >>conftest.
$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5507 static $ac_kw foo_t static_foo () {return 0; }
5508 $ac_kw foo_t foo () {return 0; }
5512 rm -f conftest.
$ac_objext
5513 if { (ac_try
="$ac_compile"
5515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5516 *) ac_try_echo=$ac_try;;
5518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5519 $as_echo "$ac_try_echo") >&5
5520 (eval "$ac_compile") 2>conftest.er1
5522 grep -v '^ *+' conftest.er1 >conftest.err
5524 cat conftest.err >&5
5525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } && {
5527 test -z "$ac_c_werror_flag" ||
5528 test ! -s conftest.err
5529 } && test -s conftest.$ac_objext; then
5530 ac_cv_c_inline=$ac_kw
5532 $as_echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5539 test "$ac_cv_c_inline" != no && break
5543 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5544 $as_echo "$ac_cv_c_inline" >&6; }
5547 case $ac_cv_c_inline in
5550 case $ac_cv_c_inline in
5552 *) ac_val=$ac_cv_c_inline;;
5554 cat >>confdefs.h <<_ACEOF
5556 #define inline $ac_val
5562 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5563 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
5564 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5565 $as_echo_n "(cached) " >&6
5567 cat >conftest.$ac_ext <<_ACEOF
5570 cat confdefs.h >>conftest.$ac_ext
5571 cat >>conftest.$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5573 $ac_includes_default
5577 static struct stat ac_aggr;
5578 if (ac_aggr.st_rdev)
5584 rm -f conftest.$ac_objext
5585 if { (ac_try="$ac_compile"
5587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5588 *) ac_try_echo
=$ac_try;;
5590 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5591 $as_echo "$ac_try_echo") >&5
5592 (eval "$ac_compile") 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } && {
5599 test -z "$ac_c_werror_flag" ||
5600 test ! -s conftest.err
5601 } && test -s conftest.
$ac_objext; then
5602 ac_cv_member_struct_stat_st_rdev
=yes
5604 $as_echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.
$ac_ext >&5
5607 cat >conftest.
$ac_ext <<_ACEOF
5610 cat confdefs.h
>>conftest.
$ac_ext
5611 cat >>conftest.
$ac_ext <<_ACEOF
5612 /* end confdefs.h. */
5613 $ac_includes_default
5617 static struct stat ac_aggr;
5618 if (sizeof ac_aggr.st_rdev)
5624 rm -f conftest.
$ac_objext
5625 if { (ac_try
="$ac_compile"
5627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5628 *) ac_try_echo=$ac_try;;
5630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5631 $as_echo "$ac_try_echo") >&5
5632 (eval "$ac_compile") 2>conftest.er1
5634 grep -v '^ *+' conftest.er1 >conftest.err
5636 cat conftest.err >&5
5637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); } && {
5639 test -z "$ac_c_werror_flag" ||
5640 test ! -s conftest.err
5641 } && test -s conftest.$ac_objext; then
5642 ac_cv_member_struct_stat_st_rdev=yes
5644 $as_echo "$as_me: failed program was:" >&5
5645 sed 's/^/| /' conftest.$ac_ext >&5
5647 ac_cv_member_struct_stat_st_rdev=no
5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5655 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5656 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
5657 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then
5659 cat >>confdefs.h <<_ACEOF
5660 #define HAVE_STRUCT_STAT_ST_RDEV 1
5666 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5667 $as_echo_n "checking for off_t... " >&6; }
5668 if test "${ac_cv_type_off_t+set}" = set; then
5669 $as_echo_n "(cached) " >&6
5672 cat >conftest.$ac_ext <<_ACEOF
5675 cat confdefs.h >>conftest.$ac_ext
5676 cat >>conftest.$ac_ext <<_ACEOF
5677 /* end confdefs.h. */
5678 $ac_includes_default
5688 rm -f conftest.$ac_objext
5689 if { (ac_try="$ac_compile"
5691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5692 *) ac_try_echo
=$ac_try;;
5694 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5695 $as_echo "$ac_try_echo") >&5
5696 (eval "$ac_compile") 2>conftest.er1
5698 grep -v '^ *+' conftest.er1
>conftest.err
5700 cat conftest.err
>&5
5701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); } && {
5703 test -z "$ac_c_werror_flag" ||
5704 test ! -s conftest.err
5705 } && test -s conftest.
$ac_objext; then
5706 cat >conftest.
$ac_ext <<_ACEOF
5709 cat confdefs.h
>>conftest.
$ac_ext
5710 cat >>conftest.
$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5712 $ac_includes_default
5716 if (sizeof ((off_t)))
5722 rm -f conftest.
$ac_objext
5723 if { (ac_try
="$ac_compile"
5725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5726 *) ac_try_echo=$ac_try;;
5728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5729 $as_echo "$ac_try_echo") >&5
5730 (eval "$ac_compile") 2>conftest.er1
5732 grep -v '^ *+' conftest.er1 >conftest.err
5734 cat conftest.err >&5
5735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } && {
5737 test -z "$ac_c_werror_flag" ||
5738 test ! -s conftest.err
5739 } && test -s conftest.$ac_objext; then
5742 $as_echo "$as_me: failed program was:" >&5
5743 sed 's/^/| /' conftest.$ac_ext >&5
5745 ac_cv_type_off_t=yes
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5750 $as_echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5759 $as_echo "$ac_cv_type_off_t" >&6; }
5760 if test "x$ac_cv_type_off_t" = x""yes; then
5764 cat >>confdefs.h <<_ACEOF
5765 #define off_t long int
5770 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
5771 $as_echo_n "checking for pid_t... " >&6; }
5772 if test "${ac_cv_type_pid_t+set}" = set; then
5773 $as_echo_n "(cached) " >&6
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5792 rm -f conftest.$ac_objext
5793 if { (ac_try="$ac_compile"
5795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5796 *) ac_try_echo
=$ac_try;;
5798 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5799 $as_echo "$ac_try_echo") >&5
5800 (eval "$ac_compile") 2>conftest.er1
5802 grep -v '^ *+' conftest.er1
>conftest.err
5804 cat conftest.err
>&5
5805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); } && {
5807 test -z "$ac_c_werror_flag" ||
5808 test ! -s conftest.err
5809 } && test -s conftest.
$ac_objext; then
5810 cat >conftest.
$ac_ext <<_ACEOF
5813 cat confdefs.h
>>conftest.
$ac_ext
5814 cat >>conftest.
$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5816 $ac_includes_default
5820 if (sizeof ((pid_t)))
5826 rm -f conftest.
$ac_objext
5827 if { (ac_try
="$ac_compile"
5829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5830 *) ac_try_echo=$ac_try;;
5832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5833 $as_echo "$ac_try_echo") >&5
5834 (eval "$ac_compile") 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } && {
5841 test -z "$ac_c_werror_flag" ||
5842 test ! -s conftest.err
5843 } && test -s conftest.$ac_objext; then
5846 $as_echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.$ac_ext >&5
5849 ac_cv_type_pid_t=yes
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 $as_echo "$as_me: failed program was:" >&5
5855 sed 's/^/| /' conftest.$ac_ext >&5
5860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5863 $as_echo "$ac_cv_type_pid_t" >&6; }
5864 if test "x$ac_cv_type_pid_t" = x""yes; then
5868 cat >>confdefs.h <<_ACEOF
5874 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5875 $as_echo_n "checking return type of signal handlers... " >&6; }
5876 if test "${ac_cv_type_signal+set}" = set; then
5877 $as_echo_n "(cached) " >&6
5879 cat >conftest.$ac_ext <<_ACEOF
5882 cat confdefs.h >>conftest.$ac_ext
5883 cat >>conftest.$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5885 #include <sys/types.h>
5891 return *(signal (0, 0)) (0) == 1;
5896 rm -f conftest.$ac_objext
5897 if { (ac_try="$ac_compile"
5899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5900 *) ac_try_echo
=$ac_try;;
5902 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5903 $as_echo "$ac_try_echo") >&5
5904 (eval "$ac_compile") 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } && {
5911 test -z "$ac_c_werror_flag" ||
5912 test ! -s conftest.err
5913 } && test -s conftest.
$ac_objext; then
5914 ac_cv_type_signal
=int
5916 $as_echo "$as_me: failed program was:" >&5
5917 sed 's/^/| /' conftest.
$ac_ext >&5
5919 ac_cv_type_signal
=void
5922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5924 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5925 $as_echo "$ac_cv_type_signal" >&6; }
5927 cat >>confdefs.h
<<_ACEOF
5928 #define RETSIGTYPE $ac_cv_type_signal
5932 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5933 $as_echo_n "checking for size_t... " >&6; }
5934 if test "${ac_cv_type_size_t+set}" = set; then
5935 $as_echo_n "(cached) " >&6
5937 ac_cv_type_size_t
=no
5938 cat >conftest.
$ac_ext <<_ACEOF
5941 cat confdefs.h
>>conftest.
$ac_ext
5942 cat >>conftest.
$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5944 $ac_includes_default
5948 if (sizeof (size_t))
5954 rm -f conftest.
$ac_objext
5955 if { (ac_try
="$ac_compile"
5957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5958 *) ac_try_echo=$ac_try;;
5960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5961 $as_echo "$ac_try_echo") >&5
5962 (eval "$ac_compile") 2>conftest.er1
5964 grep -v '^ *+' conftest.er1 >conftest.err
5966 cat conftest.err >&5
5967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); } && {
5969 test -z "$ac_c_werror_flag" ||
5970 test ! -s conftest.err
5971 } && test -s conftest.$ac_objext; then
5972 cat >conftest.$ac_ext <<_ACEOF
5975 cat confdefs.h >>conftest.$ac_ext
5976 cat >>conftest.$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 $ac_includes_default
5982 if (sizeof ((size_t)))
5988 rm -f conftest.$ac_objext
5989 if { (ac_try="$ac_compile"
5991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5992 *) ac_try_echo
=$ac_try;;
5994 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5995 $as_echo "$ac_try_echo") >&5
5996 (eval "$ac_compile") 2>conftest.er1
5998 grep -v '^ *+' conftest.er1
>conftest.err
6000 cat conftest.err
>&5
6001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } && {
6003 test -z "$ac_c_werror_flag" ||
6004 test ! -s conftest.err
6005 } && test -s conftest.
$ac_objext; then
6008 $as_echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.
$ac_ext >&5
6011 ac_cv_type_size_t
=yes
6014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 $as_echo "$as_me: failed program was:" >&5
6017 sed 's/^/| /' conftest.
$ac_ext >&5
6022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6024 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6025 $as_echo "$ac_cv_type_size_t" >&6; }
6026 if test "x$ac_cv_type_size_t" = x
""yes; then
6030 cat >>confdefs.h
<<_ACEOF
6031 #define size_t unsigned int
6036 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
6037 $as_echo_n "checking for mode_t... " >&6; }
6038 if test "${ac_cv_type_mode_t+set}" = set; then
6039 $as_echo_n "(cached) " >&6
6041 ac_cv_type_mode_t
=no
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 $ac_includes_default
6052 if (sizeof (mode_t))
6058 rm -f conftest.
$ac_objext
6059 if { (ac_try
="$ac_compile"
6061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6062 *) ac_try_echo=$ac_try;;
6064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6065 $as_echo "$ac_try_echo") >&5
6066 (eval "$ac_compile") 2>conftest.er1
6068 grep -v '^ *+' conftest.er1 >conftest.err
6070 cat conftest.err >&5
6071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); } && {
6073 test -z "$ac_c_werror_flag" ||
6074 test ! -s conftest.err
6075 } && test -s conftest.$ac_objext; then
6076 cat >conftest.$ac_ext <<_ACEOF
6079 cat confdefs.h >>conftest.$ac_ext
6080 cat >>conftest.$ac_ext <<_ACEOF
6081 /* end confdefs.h. */
6082 $ac_includes_default
6086 if (sizeof ((mode_t)))
6092 rm -f conftest.$ac_objext
6093 if { (ac_try="$ac_compile"
6095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6096 *) ac_try_echo
=$ac_try;;
6098 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6099 $as_echo "$ac_try_echo") >&5
6100 (eval "$ac_compile") 2>conftest.er1
6102 grep -v '^ *+' conftest.er1
>conftest.err
6104 cat conftest.err
>&5
6105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } && {
6107 test -z "$ac_c_werror_flag" ||
6108 test ! -s conftest.err
6109 } && test -s conftest.
$ac_objext; then
6112 $as_echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.
$ac_ext >&5
6115 ac_cv_type_mode_t
=yes
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 $as_echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.
$ac_ext >&5
6126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6128 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6129 $as_echo "$ac_cv_type_mode_t" >&6; }
6130 if test "x$ac_cv_type_mode_t" = x
""yes; then
6134 cat >>confdefs.h
<<_ACEOF
6140 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6141 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6142 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6143 $as_echo_n "(cached) " >&6
6145 cat >conftest.
$ac_ext <<_ACEOF
6148 cat confdefs.h
>>conftest.
$ac_ext
6149 cat >>conftest.
$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6151 $ac_includes_default
6155 static struct stat ac_aggr;
6156 if (ac_aggr.st_rdev)
6162 rm -f conftest.
$ac_objext
6163 if { (ac_try
="$ac_compile"
6165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6166 *) ac_try_echo=$ac_try;;
6168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6169 $as_echo "$ac_try_echo") >&5
6170 (eval "$ac_compile") 2>conftest.er1
6172 grep -v '^ *+' conftest.er1 >conftest.err
6174 cat conftest.err >&5
6175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); } && {
6177 test -z "$ac_c_werror_flag" ||
6178 test ! -s conftest.err
6179 } && test -s conftest.$ac_objext; then
6180 ac_cv_member_struct_stat_st_rdev=yes
6182 $as_echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.$ac_ext >&5
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6191 $ac_includes_default
6195 static struct stat ac_aggr;
6196 if (sizeof ac_aggr.st_rdev)
6202 rm -f conftest.$ac_objext
6203 if { (ac_try="$ac_compile"
6205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6206 *) ac_try_echo
=$ac_try;;
6208 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6209 $as_echo "$ac_try_echo") >&5
6210 (eval "$ac_compile") 2>conftest.er1
6212 grep -v '^ *+' conftest.er1
>conftest.err
6214 cat conftest.err
>&5
6215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); } && {
6217 test -z "$ac_c_werror_flag" ||
6218 test ! -s conftest.err
6219 } && test -s conftest.
$ac_objext; then
6220 ac_cv_member_struct_stat_st_rdev
=yes
6222 $as_echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.
$ac_ext >&5
6225 ac_cv_member_struct_stat_st_rdev
=no
6228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6233 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6234 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6235 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6237 cat >>confdefs.h
<<_ACEOF
6238 #define HAVE_STRUCT_STAT_ST_RDEV 1
6244 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6245 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6246 if test "${ac_cv_struct_tm+set}" = set; then
6247 $as_echo_n "(cached) " >&6
6249 cat >conftest.
$ac_ext <<_ACEOF
6252 cat confdefs.h
>>conftest.
$ac_ext
6253 cat >>conftest.
$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6255 #include <sys/types.h>
6262 int *p = &tm.tm_sec;
6268 rm -f conftest.
$ac_objext
6269 if { (ac_try
="$ac_compile"
6271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6272 *) ac_try_echo=$ac_try;;
6274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6275 $as_echo "$ac_try_echo") >&5
6276 (eval "$ac_compile") 2>conftest.er1
6278 grep -v '^ *+' conftest.er1 >conftest.err
6280 cat conftest.err >&5
6281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); } && {
6283 test -z "$ac_c_werror_flag" ||
6284 test ! -s conftest.err
6285 } && test -s conftest.$ac_objext; then
6286 ac_cv_struct_tm=time.h
6288 $as_echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.$ac_ext >&5
6291 ac_cv_struct_tm=sys/time.h
6294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6296 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6297 $as_echo "$ac_cv_struct_tm" >&6; }
6298 if test $ac_cv_struct_tm = sys/time.h; then
6300 cat >>confdefs.h <<\_ACEOF
6301 #define TM_IN_SYS_TIME 1
6307 ################################################################################
6325 for ac_func in gethostname getpagesize memset mkdir rmdir munmap setlocale \
6326 strcasecmp strchr strdup strncasecmp strerror strrchr strstr strtol strtoul \
6329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6330 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6331 $as_echo_n "checking for $ac_func... " >&6; }
6332 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6333 $as_echo_n "(cached) " >&6
6335 cat >conftest.$ac_ext <<_ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6343 #define $ac_func innocuous_$ac_func
6345 /* System header to define __stub macros and hopefully few prototypes,
6346 which can conflict with char $ac_func (); below.
6347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6348 <limits.h> exists even on freestanding compilers. */
6351 # include <limits.h>
6353 # include <assert.h>
6358 /* Override any GCC internal prototype to avoid an error.
6359 Use char because int might match the return type of a GCC
6360 builtin and then its argument prototype would still apply. */
6365 /* The GNU C library defines this for functions which it implements
6366 to always fail with ENOSYS. Some functions are actually named
6367 something starting with __ and the normal name is an alias. */
6368 #if defined __stub_$ac_func || defined __stub___$ac_func
6380 rm -f conftest.$ac_objext conftest$ac_exeext
6381 if { (ac_try="$ac_link"
6383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6384 *) ac_try_echo
=$ac_try;;
6386 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6387 $as_echo "$ac_try_echo") >&5
6388 (eval "$ac_link") 2>conftest.er1
6390 grep -v '^ *+' conftest.er1
>conftest.err
6392 cat conftest.err
>&5
6393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } && {
6395 test -z "$ac_c_werror_flag" ||
6396 test ! -s conftest.err
6397 } && test -s conftest
$ac_exeext && {
6398 test "$cross_compiling" = yes ||
6399 $as_test_x conftest
$ac_exeext
6401 eval "$as_ac_var=yes"
6403 $as_echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.
$ac_ext >&5
6406 eval "$as_ac_var=no"
6409 rm -rf conftest.dSYM
6410 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6411 conftest
$ac_exeext conftest.
$ac_ext
6413 ac_res
=`eval 'as_val=${'$as_ac_var'}
6414 $as_echo "$as_val"'`
6415 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6416 $as_echo "$ac_res" >&6; }
6417 as_val
=`eval 'as_val=${'$as_ac_var'}
6418 $as_echo "$as_val"'`
6419 if test "x$as_val" = x
""yes; then
6420 cat >>confdefs.h
<<_ACEOF
6421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6425 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
6426 $as_echo "$as_me: error: bailing out" >&2;}
6427 { (exit 1); exit 1; }; }
6431 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6432 # for constant arguments. Useless!
6433 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
6434 $as_echo_n "checking for working alloca.h... " >&6; }
6435 if test "${ac_cv_working_alloca_h+set}" = set; then
6436 $as_echo_n "(cached) " >&6
6438 cat >conftest.
$ac_ext <<_ACEOF
6441 cat confdefs.h
>>conftest.
$ac_ext
6442 cat >>conftest.
$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6448 char *p = (char *) alloca (2 * sizeof (int));
6454 rm -f conftest.
$ac_objext conftest
$ac_exeext
6455 if { (ac_try
="$ac_link"
6457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6458 *) ac_try_echo=$ac_try;;
6460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6461 $as_echo "$ac_try_echo") >&5
6462 (eval "$ac_link") 2>conftest.er1
6464 grep -v '^ *+' conftest.er1 >conftest.err
6466 cat conftest.err >&5
6467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } && {
6469 test -z "$ac_c_werror_flag" ||
6470 test ! -s conftest.err
6471 } && test -s conftest$ac_exeext && {
6472 test "$cross_compiling" = yes ||
6473 $as_test_x conftest$ac_exeext
6475 ac_cv_working_alloca_h=yes
6477 $as_echo "$as_me: failed program was:" >&5
6478 sed 's/^/| /' conftest.$ac_ext >&5
6480 ac_cv_working_alloca_h=no
6483 rm -rf conftest.dSYM
6484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6485 conftest$ac_exeext conftest.$ac_ext
6487 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6488 $as_echo "$ac_cv_working_alloca_h" >&6; }
6489 if test $ac_cv_working_alloca_h = yes; then
6491 cat >>confdefs.h <<\_ACEOF
6492 #define HAVE_ALLOCA_H 1
6497 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
6498 $as_echo_n "checking for alloca... " >&6; }
6499 if test "${ac_cv_func_alloca_works+set}" = set; then
6500 $as_echo_n "(cached) " >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6509 # define alloca __builtin_alloca
6512 # include <malloc.h>
6513 # define alloca _alloca
6515 # ifdef HAVE_ALLOCA_H
6516 # include <alloca.h>
6521 # ifndef alloca /* predefined by HP cc +Olibcalls */
6532 char *p = (char *) alloca (1);
6538 rm -f conftest.$ac_objext conftest$ac_exeext
6539 if { (ac_try="$ac_link"
6541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6542 *) ac_try_echo
=$ac_try;;
6544 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6545 $as_echo "$ac_try_echo") >&5
6546 (eval "$ac_link") 2>conftest.er1
6548 grep -v '^ *+' conftest.er1
>conftest.err
6550 cat conftest.err
>&5
6551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); } && {
6553 test -z "$ac_c_werror_flag" ||
6554 test ! -s conftest.err
6555 } && test -s conftest
$ac_exeext && {
6556 test "$cross_compiling" = yes ||
6557 $as_test_x conftest
$ac_exeext
6559 ac_cv_func_alloca_works
=yes
6561 $as_echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.
$ac_ext >&5
6564 ac_cv_func_alloca_works
=no
6567 rm -rf conftest.dSYM
6568 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6569 conftest
$ac_exeext conftest.
$ac_ext
6571 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6572 $as_echo "$ac_cv_func_alloca_works" >&6; }
6574 if test $ac_cv_func_alloca_works = yes; then
6576 cat >>confdefs.h
<<\_ACEOF
6577 #define HAVE_ALLOCA 1
6581 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6582 # that cause trouble. Some versions do not even contain alloca or
6583 # contain a buggy version. If you still want to use their alloca,
6584 # use ar to extract alloca.o from them instead of compiling alloca.c.
6586 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6588 cat >>confdefs.h
<<\_ACEOF
6593 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6594 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6595 if test "${ac_cv_os_cray+set}" = set; then
6596 $as_echo_n "(cached) " >&6
6598 cat >conftest.
$ac_ext <<_ACEOF
6601 cat confdefs.h
>>conftest.
$ac_ext
6602 cat >>conftest.
$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6604 #if defined CRAY && ! defined CRAY2
6611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6612 $EGREP "webecray" >/dev
/null
2>&1; then
6620 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6621 $as_echo "$ac_cv_os_cray" >&6; }
6622 if test $ac_cv_os_cray = yes; then
6623 for ac_func
in _getb67 GETB67 getb67
; do
6624 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6625 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6626 $as_echo_n "checking for $ac_func... " >&6; }
6627 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6628 $as_echo_n "(cached) " >&6
6630 cat >conftest.
$ac_ext <<_ACEOF
6633 cat confdefs.h
>>conftest.
$ac_ext
6634 cat >>conftest.
$ac_ext <<_ACEOF
6635 /* end confdefs.h. */
6636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6638 #define $ac_func innocuous_$ac_func
6640 /* System header to define __stub macros and hopefully few prototypes,
6641 which can conflict with char $ac_func (); below.
6642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6643 <limits.h> exists even on freestanding compilers. */
6646 # include <limits.h>
6648 # include <assert.h>
6653 /* Override any GCC internal prototype to avoid an error.
6654 Use char because int might match the return type of a GCC
6655 builtin and then its argument prototype would still apply. */
6660 /* The GNU C library defines this for functions which it implements
6661 to always fail with ENOSYS. Some functions are actually named
6662 something starting with __ and the normal name is an alias. */
6663 #if defined __stub_$ac_func || defined __stub___$ac_func
6675 rm -f conftest.
$ac_objext conftest
$ac_exeext
6676 if { (ac_try
="$ac_link"
6678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6679 *) ac_try_echo=$ac_try;;
6681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6682 $as_echo "$ac_try_echo") >&5
6683 (eval "$ac_link") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1 >conftest.err
6687 cat conftest.err >&5
6688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest$ac_exeext && {
6693 test "$cross_compiling" = yes ||
6694 $as_test_x conftest$ac_exeext
6696 eval "$as_ac_var=yes"
6698 $as_echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6701 eval "$as_ac_var=no"
6704 rm -rf conftest.dSYM
6705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6706 conftest$ac_exeext conftest.$ac_ext
6708 ac_res=`eval 'as_val=${'$as_ac_var'}
6709 $as_echo "$as_val"'`
6710 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6711 $as_echo "$ac_res" >&6; }
6712 as_val=`eval 'as_val=${'$as_ac_var'}
6713 $as_echo "$as_val"'`
6714 if test "x$as_val" = x""yes; then
6716 cat >>confdefs.h <<_ACEOF
6717 #define CRAY_STACKSEG_END $ac_func
6726 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6727 $as_echo_n "checking stack direction for C alloca... " >&6; }
6728 if test "${ac_cv_c_stack_direction+set}" = set; then
6729 $as_echo_n "(cached) " >&6
6731 if test "$cross_compiling" = yes; then
6732 ac_cv_c_stack_direction=0
6734 cat >conftest.$ac_ext <<_ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6740 $ac_includes_default
6742 find_stack_direction ()
6744 static char *addr = 0;
6749 return find_stack_direction ();
6752 return (&dummy > addr) ? 1 : -1;
6758 return find_stack_direction () < 0;
6761 rm -f conftest$ac_exeext
6762 if { (ac_try="$ac_link"
6764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6765 *) ac_try_echo
=$ac_try;;
6767 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6768 $as_echo "$ac_try_echo") >&5
6769 (eval "$ac_link") 2>&5
6771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6773 { (case "(($ac_try" in
6774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6775 *) ac_try_echo=$ac_try;;
6777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6778 $as_echo "$ac_try_echo") >&5
6779 (eval "$ac_try") 2>&5
6781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; }; then
6783 ac_cv_c_stack_direction=1
6785 $as_echo "$as_me: program exited with status $ac_status" >&5
6786 $as_echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.$ac_ext >&5
6790 ac_cv_c_stack_direction=-1
6792 rm -rf conftest.dSYM
6793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6798 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6799 $as_echo "$ac_cv_c_stack_direction" >&6; }
6801 cat >>confdefs.h <<_ACEOF
6802 #define STACK_DIRECTION $ac_cv_c_stack_direction
6808 { $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
6809 $as_echo_n "checking whether closedir returns void... " >&6; }
6810 if test "${ac_cv_func_closedir_void+set}" = set; then
6811 $as_echo_n "(cached) " >&6
6813 if test "$cross_compiling" = yes; then
6814 ac_cv_func_closedir_void=yes
6816 cat >conftest.$ac_ext <<_ACEOF
6819 cat confdefs.h >>conftest.$ac_ext
6820 cat >>conftest.$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 $ac_includes_default
6823 #include <$ac_header_dirent>
6831 return closedir (opendir (".")) != 0;
6836 rm -f conftest$ac_exeext
6837 if { (ac_try="$ac_link"
6839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6840 *) ac_try_echo
=$ac_try;;
6842 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6843 $as_echo "$ac_try_echo") >&5
6844 (eval "$ac_link") 2>&5
6846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6848 { (case "(($ac_try" in
6849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6850 *) ac_try_echo=$ac_try;;
6852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6853 $as_echo "$ac_try_echo") >&5
6854 (eval "$ac_try") 2>&5
6856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); }; }; then
6858 ac_cv_func_closedir_void=no
6860 $as_echo "$as_me: program exited with status $ac_status" >&5
6861 $as_echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6865 ac_cv_func_closedir_void=yes
6867 rm -rf conftest.dSYM
6868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6873 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
6874 $as_echo "$ac_cv_func_closedir_void" >&6; }
6875 if test $ac_cv_func_closedir_void = yes; then
6877 cat >>confdefs.h <<\_ACEOF
6878 #define CLOSEDIR_VOID 1
6884 for ac_header in vfork.h
6886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6888 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6889 $as_echo_n "checking for $ac_header... " >&6; }
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 $as_echo_n "(cached) " >&6
6893 ac_res=`eval 'as_val=${'$as_ac_Header'}
6894 $as_echo "$as_val"'`
6895 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6896 $as_echo "$ac_res" >&6; }
6898 # Is the header compilable?
6899 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6900 $as_echo_n "checking $ac_header usability... " >&6; }
6901 cat >conftest.$ac_ext <<_ACEOF
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6907 $ac_includes_default
6908 #include <$ac_header>
6910 rm -f conftest.$ac_objext
6911 if { (ac_try="$ac_compile"
6913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6914 *) ac_try_echo
=$ac_try;;
6916 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6917 $as_echo "$ac_try_echo") >&5
6918 (eval "$ac_compile") 2>conftest.er1
6920 grep -v '^ *+' conftest.er1
>conftest.err
6922 cat conftest.err
>&5
6923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); } && {
6925 test -z "$ac_c_werror_flag" ||
6926 test ! -s conftest.err
6927 } && test -s conftest.
$ac_objext; then
6928 ac_header_compiler
=yes
6930 $as_echo "$as_me: failed program was:" >&5
6931 sed 's/^/| /' conftest.
$ac_ext >&5
6933 ac_header_compiler
=no
6936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6937 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6938 $as_echo "$ac_header_compiler" >&6; }
6940 # Is the header present?
6941 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6942 $as_echo_n "checking $ac_header presence... " >&6; }
6943 cat >conftest.
$ac_ext <<_ACEOF
6946 cat confdefs.h
>>conftest.
$ac_ext
6947 cat >>conftest.
$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 #include <$ac_header>
6951 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6957 $as_echo "$ac_try_echo") >&5
6958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6960 grep -v '^ *+' conftest.er1 >conftest.err
6962 cat conftest.err >&5
6963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } >/dev/null && {
6965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6966 test ! -s conftest.err
6968 ac_header_preproc=yes
6970 $as_echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6973 ac_header_preproc=no
6976 rm -f conftest.err conftest.$ac_ext
6977 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6978 $as_echo "$ac_header_preproc" >&6; }
6980 # So? What about this header?
6981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6984 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6986 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6987 ac_header_preproc=yes
6990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6991 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6993 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6995 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6997 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6999 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7001 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7005 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7006 $as_echo_n "checking for $ac_header... " >&6; }
7007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7008 $as_echo_n "(cached) " >&6
7010 eval "$as_ac_Header=\$ac_header_preproc"
7012 ac_res=`eval 'as_val=${'$as_ac_Header'}
7013 $as_echo "$as_val"'`
7014 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7015 $as_echo "$ac_res" >&6; }
7018 as_val=`eval 'as_val=${'$as_ac_Header'}
7019 $as_echo "$as_val"'`
7020 if test "x$as_val" = x""yes; then
7021 cat >>confdefs.h <<_ACEOF
7022 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7031 for ac_func in fork vfork
7033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7034 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7035 $as_echo_n "checking for $ac_func... " >&6; }
7036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7037 $as_echo_n "(cached) " >&6
7039 cat >conftest.$ac_ext <<_ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7047 #define $ac_func innocuous_$ac_func
7049 /* System header to define __stub macros and hopefully few prototypes,
7050 which can conflict with char $ac_func (); below.
7051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7052 <limits.h> exists even on freestanding compilers. */
7055 # include <limits.h>
7057 # include <assert.h>
7062 /* Override any GCC internal prototype to avoid an error.
7063 Use char because int might match the return type of a GCC
7064 builtin and then its argument prototype would still apply. */
7069 /* The GNU C library defines this for functions which it implements
7070 to always fail with ENOSYS. Some functions are actually named
7071 something starting with __ and the normal name is an alias. */
7072 #if defined __stub_$ac_func || defined __stub___$ac_func
7084 rm -f conftest.$ac_objext conftest$ac_exeext
7085 if { (ac_try="$ac_link"
7087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7088 *) ac_try_echo
=$ac_try;;
7090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7091 $as_echo "$ac_try_echo") >&5
7092 (eval "$ac_link") 2>conftest.er1
7094 grep -v '^ *+' conftest.er1
>conftest.err
7096 cat conftest.err
>&5
7097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); } && {
7099 test -z "$ac_c_werror_flag" ||
7100 test ! -s conftest.err
7101 } && test -s conftest
$ac_exeext && {
7102 test "$cross_compiling" = yes ||
7103 $as_test_x conftest
$ac_exeext
7105 eval "$as_ac_var=yes"
7107 $as_echo "$as_me: failed program was:" >&5
7108 sed 's/^/| /' conftest.
$ac_ext >&5
7110 eval "$as_ac_var=no"
7113 rm -rf conftest.dSYM
7114 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7115 conftest
$ac_exeext conftest.
$ac_ext
7117 ac_res
=`eval 'as_val=${'$as_ac_var'}
7118 $as_echo "$as_val"'`
7119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7120 $as_echo "$ac_res" >&6; }
7121 as_val
=`eval 'as_val=${'$as_ac_var'}
7122 $as_echo "$as_val"'`
7123 if test "x$as_val" = x
""yes; then
7124 cat >>confdefs.h
<<_ACEOF
7125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7131 if test "x$ac_cv_func_fork" = xyes
; then
7132 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
7133 $as_echo_n "checking for working fork... " >&6; }
7134 if test "${ac_cv_func_fork_works+set}" = set; then
7135 $as_echo_n "(cached) " >&6
7137 if test "$cross_compiling" = yes; then
7138 ac_cv_func_fork_works
=cross
7140 cat >conftest.
$ac_ext <<_ACEOF
7143 cat confdefs.h
>>conftest.
$ac_ext
7144 cat >>conftest.
$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 $ac_includes_default
7151 /* By Ruediger Kuhlmann. */
7158 rm -f conftest
$ac_exeext
7159 if { (ac_try
="$ac_link"
7161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7162 *) ac_try_echo=$ac_try;;
7164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7165 $as_echo "$ac_try_echo") >&5
7166 (eval "$ac_link") 2>&5
7168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7170 { (case "(($ac_try" in
7171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7172 *) ac_try_echo
=$ac_try;;
7174 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7175 $as_echo "$ac_try_echo") >&5
7176 (eval "$ac_try") 2>&5
7178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); }; }; then
7180 ac_cv_func_fork_works
=yes
7182 $as_echo "$as_me: program exited with status $ac_status" >&5
7183 $as_echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.
$ac_ext >&5
7187 ac_cv_func_fork_works
=no
7189 rm -rf conftest.dSYM
7190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7195 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7196 $as_echo "$ac_cv_func_fork_works" >&6; }
7199 ac_cv_func_fork_works
=$ac_cv_func_fork
7201 if test "x$ac_cv_func_fork_works" = xcross
; then
7203 *-*-amigaos* |
*-*-msdosdjgpp*)
7204 # Override, as these systems have only a dummy fork() stub
7205 ac_cv_func_fork_works
=no
7208 ac_cv_func_fork_works
=yes
7211 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
7212 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
7214 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7215 if test "x$ac_cv_func_vfork" = xyes
; then
7216 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
7217 $as_echo_n "checking for working vfork... " >&6; }
7218 if test "${ac_cv_func_vfork_works+set}" = set; then
7219 $as_echo_n "(cached) " >&6
7221 if test "$cross_compiling" = yes; then
7222 ac_cv_func_vfork_works
=cross
7224 cat >conftest.
$ac_ext <<_ACEOF
7227 cat confdefs.h
>>conftest.
$ac_ext
7228 cat >>conftest.
$ac_ext <<_ACEOF
7229 /* end confdefs.h. */
7230 /* Thanks to Paul Eggert for this test. */
7231 $ac_includes_default
7232 #include <sys/wait.h>
7236 /* On some sparc systems, changes by the child to local and incoming
7237 argument registers are propagated back to the parent. The compiler
7238 is told about this with #include <vfork.h>, but some compilers
7239 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
7240 static variable whose address is put into a register that is
7241 clobbered by the vfork. */
7244 sparc_address_test (int arg)
7246 sparc_address_test (arg) int arg;
7267 pid_t parent = getpid ();
7270 sparc_address_test (0);
7275 /* Here is another test for sparc vfork register problems. This
7276 test uses lots of local variables, at least as many local
7277 variables as main has allocated so far including compiler
7278 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
7279 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
7280 reuse the register of parent for one of the local variables,
7281 since it will think that parent can't possibly be used any more
7282 in this routine. Assigning to the local variable will thus
7283 munge parent in the parent process. */
7285 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
7286 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
7287 /* Convince the compiler that p..p7 are live; otherwise, it might
7288 use the same hardware register for all 8 local variables. */
7289 if (p != p1 || p != p2 || p != p3 || p != p4
7290 || p != p5 || p != p6 || p != p7)
7293 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
7294 from child file descriptors. If the child closes a descriptor
7295 before it execs or exits, this munges the parent's descriptor
7296 as well. Test for this by closing stdout in the child. */
7297 _exit(close(fileno(stdout)) != 0);
7302 while (wait(&status) != child)
7305 /* Was there some problem with vforking? */
7308 /* Did the child fail? (This shouldn't happen.) */
7311 /* Did the vfork/compiler bug occur? */
7312 || parent != getpid()
7314 /* Did the file descriptor bug occur? */
7315 || fstat(fileno(stdout), &st) != 0
7320 rm -f conftest
$ac_exeext
7321 if { (ac_try
="$ac_link"
7323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7324 *) ac_try_echo=$ac_try;;
7326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7327 $as_echo "$ac_try_echo") >&5
7328 (eval "$ac_link") 2>&5
7330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7332 { (case "(($ac_try" in
7333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7334 *) ac_try_echo
=$ac_try;;
7336 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7337 $as_echo "$ac_try_echo") >&5
7338 (eval "$ac_try") 2>&5
7340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; }; then
7342 ac_cv_func_vfork_works
=yes
7344 $as_echo "$as_me: program exited with status $ac_status" >&5
7345 $as_echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.
$ac_ext >&5
7349 ac_cv_func_vfork_works
=no
7351 rm -rf conftest.dSYM
7352 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7357 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
7358 $as_echo "$ac_cv_func_vfork_works" >&6; }
7361 if test "x$ac_cv_func_fork_works" = xcross
; then
7362 ac_cv_func_vfork_works
=$ac_cv_func_vfork
7363 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7364 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7367 if test "x$ac_cv_func_vfork_works" = xyes
; then
7369 cat >>confdefs.h
<<\_ACEOF
7370 #define HAVE_WORKING_VFORK 1
7375 cat >>confdefs.h
<<\_ACEOF
7380 if test "x$ac_cv_func_fork_works" = xyes
; then
7382 cat >>confdefs.h
<<\_ACEOF
7383 #define HAVE_WORKING_FORK 1
7388 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7389 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
7390 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7391 $as_echo_n "(cached) " >&6
7393 rm -f conftest.sym conftest.
file
7395 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
7396 if test "$cross_compiling" = yes; then
7397 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7399 cat >conftest.
$ac_ext <<_ACEOF
7402 cat confdefs.h
>>conftest.
$ac_ext
7403 cat >>conftest.
$ac_ext <<_ACEOF
7404 /* end confdefs.h. */
7405 $ac_includes_default
7410 /* Linux will dereference the symlink and fail.
7411 That is better in the sense that it means we will not
7412 have to compile and use the lstat wrapper. */
7413 return lstat ("conftest.sym/", &sbuf) == 0;
7418 rm -f conftest
$ac_exeext
7419 if { (ac_try
="$ac_link"
7421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7422 *) ac_try_echo=$ac_try;;
7424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7425 $as_echo "$ac_try_echo") >&5
7426 (eval "$ac_link") 2>&5
7428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7430 { (case "(($ac_try" in
7431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7432 *) ac_try_echo
=$ac_try;;
7434 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7435 $as_echo "$ac_try_echo") >&5
7436 (eval "$ac_try") 2>&5
7438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; }; then
7440 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
7442 $as_echo "$as_me: program exited with status $ac_status" >&5
7443 $as_echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.
$ac_ext >&5
7447 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7449 rm -rf conftest.dSYM
7450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7455 # If the `ln -s' command failed, then we probably don't even
7456 # have an lstat function.
7457 ac_cv_func_lstat_dereferences_slashed_symlink
=no
7459 rm -f conftest.sym conftest.
file
7462 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7463 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7465 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7467 cat >>confdefs.h
<<_ACEOF
7468 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7472 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
7473 case " $LIBOBJS " in
7474 *" lstat.$ac_objext "* ) ;;
7475 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7481 { $as_echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7482 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
7483 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7484 $as_echo_n "(cached) " >&6
7486 if test "$cross_compiling" = yes; then
7487 ac_cv_func_lstat_empty_string_bug
=yes
7489 cat >conftest.
$ac_ext <<_ACEOF
7492 cat confdefs.h
>>conftest.
$ac_ext
7493 cat >>conftest.
$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7495 $ac_includes_default
7500 return lstat ("", &sbuf) == 0;
7505 rm -f conftest
$ac_exeext
7506 if { (ac_try
="$ac_link"
7508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7509 *) ac_try_echo=$ac_try;;
7511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7512 $as_echo "$ac_try_echo") >&5
7513 (eval "$ac_link") 2>&5
7515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7517 { (case "(($ac_try" in
7518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7519 *) ac_try_echo
=$ac_try;;
7521 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7522 $as_echo "$ac_try_echo") >&5
7523 (eval "$ac_try") 2>&5
7525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; }; then
7527 ac_cv_func_lstat_empty_string_bug
=no
7529 $as_echo "$as_me: program exited with status $ac_status" >&5
7530 $as_echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.
$ac_ext >&5
7534 ac_cv_func_lstat_empty_string_bug
=yes
7536 rm -rf conftest.dSYM
7537 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7542 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7543 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7544 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7545 case " $LIBOBJS " in
7546 *" lstat.$ac_objext "* ) ;;
7547 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
7552 cat >>confdefs.h
<<_ACEOF
7553 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
7559 for ac_header
in stdlib.h
7561 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7563 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7564 $as_echo_n "checking for $ac_header... " >&6; }
7565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7566 $as_echo_n "(cached) " >&6
7568 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7569 $as_echo "$as_val"'`
7570 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7571 $as_echo "$ac_res" >&6; }
7573 # Is the header compilable?
7574 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7575 $as_echo_n "checking $ac_header usability... " >&6; }
7576 cat >conftest.
$ac_ext <<_ACEOF
7579 cat confdefs.h
>>conftest.
$ac_ext
7580 cat >>conftest.
$ac_ext <<_ACEOF
7581 /* end confdefs.h. */
7582 $ac_includes_default
7583 #include <$ac_header>
7585 rm -f conftest.
$ac_objext
7586 if { (ac_try
="$ac_compile"
7588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7589 *) ac_try_echo=$ac_try;;
7591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7592 $as_echo "$ac_try_echo") >&5
7593 (eval "$ac_compile") 2>conftest.er1
7595 grep -v '^ *+' conftest.er1 >conftest.err
7597 cat conftest.err >&5
7598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); } && {
7600 test -z "$ac_c_werror_flag" ||
7601 test ! -s conftest.err
7602 } && test -s conftest.$ac_objext; then
7603 ac_header_compiler=yes
7605 $as_echo "$as_me: failed program was:" >&5
7606 sed 's/^/| /' conftest.$ac_ext >&5
7608 ac_header_compiler=no
7611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7613 $as_echo "$ac_header_compiler" >&6; }
7615 # Is the header present?
7616 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7617 $as_echo_n "checking $ac_header presence... " >&6; }
7618 cat >conftest.$ac_ext <<_ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7624 #include <$ac_header>
7626 if { (ac_try="$ac_cpp conftest.$ac_ext"
7628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7629 *) ac_try_echo
=$ac_try;;
7631 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7632 $as_echo "$ac_try_echo") >&5
7633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7635 grep -v '^ *+' conftest.er1
>conftest.err
7637 cat conftest.err
>&5
7638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } >/dev
/null
&& {
7640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7641 test ! -s conftest.err
7643 ac_header_preproc
=yes
7645 $as_echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.
$ac_ext >&5
7648 ac_header_preproc
=no
7651 rm -f conftest.err conftest.
$ac_ext
7652 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7653 $as_echo "$ac_header_preproc" >&6; }
7655 # So? What about this header?
7656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7658 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7659 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7660 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7661 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7662 ac_header_preproc
=yes
7665 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7666 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7668 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7670 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7672 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7674 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7676 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7680 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7681 $as_echo_n "checking for $ac_header... " >&6; }
7682 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7683 $as_echo_n "(cached) " >&6
7685 eval "$as_ac_Header=\$ac_header_preproc"
7687 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7688 $as_echo "$as_val"'`
7689 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7690 $as_echo "$ac_res" >&6; }
7693 as_val
=`eval 'as_val=${'$as_ac_Header'}
7694 $as_echo "$as_val"'`
7695 if test "x$as_val" = x
""yes; then
7696 cat >>confdefs.h
<<_ACEOF
7697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7704 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7705 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7706 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7707 $as_echo_n "(cached) " >&6
7709 if test "$cross_compiling" = yes; then
7710 ac_cv_func_malloc_0_nonnull
=no
7712 cat >conftest.
$ac_ext <<_ACEOF
7715 cat confdefs.h
>>conftest.
$ac_ext
7716 cat >>conftest.
$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7719 # include <stdlib.h>
7727 return ! malloc (0);
7732 rm -f conftest
$ac_exeext
7733 if { (ac_try
="$ac_link"
7735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7736 *) ac_try_echo=$ac_try;;
7738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7739 $as_echo "$ac_try_echo") >&5
7740 (eval "$ac_link") 2>&5
7742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7744 { (case "(($ac_try" in
7745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7746 *) ac_try_echo
=$ac_try;;
7748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7749 $as_echo "$ac_try_echo") >&5
7750 (eval "$ac_try") 2>&5
7752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_cv_func_malloc_0_nonnull
=yes
7756 $as_echo "$as_me: program exited with status $ac_status" >&5
7757 $as_echo "$as_me: failed program was:" >&5
7758 sed 's/^/| /' conftest.
$ac_ext >&5
7761 ac_cv_func_malloc_0_nonnull
=no
7763 rm -rf conftest.dSYM
7764 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7769 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7770 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7771 if test $ac_cv_func_malloc_0_nonnull = yes; then
7773 cat >>confdefs.h
<<\_ACEOF
7774 #define HAVE_MALLOC 1
7778 cat >>confdefs.h
<<\_ACEOF
7779 #define HAVE_MALLOC 0
7782 case " $LIBOBJS " in
7783 *" malloc.$ac_objext "* ) ;;
7784 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
7789 cat >>confdefs.h
<<\_ACEOF
7790 #define malloc rpl_malloc
7797 { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
7798 $as_echo_n "checking for working memcmp... " >&6; }
7799 if test "${ac_cv_func_memcmp_working+set}" = set; then
7800 $as_echo_n "(cached) " >&6
7802 if test "$cross_compiling" = yes; then
7803 ac_cv_func_memcmp_working
=no
7805 cat >conftest.
$ac_ext <<_ACEOF
7808 cat confdefs.h
>>conftest.
$ac_ext
7809 cat >>conftest.
$ac_ext <<_ACEOF
7810 /* end confdefs.h. */
7811 $ac_includes_default
7816 /* Some versions of memcmp are not 8-bit clean. */
7817 char c0 = '\100', c1 = '\200', c2 = '\201';
7818 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7821 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7822 or more and with at least one buffer not starting on a 4-byte boundary.
7823 William Lewis provided this test program. */
7828 for (i = 0; i < 4; i++)
7832 strcpy (a, "--------01111111");
7833 strcpy (b, "--------10000000");
7834 if (memcmp (a, b, 16) >= 0)
7844 rm -f conftest
$ac_exeext
7845 if { (ac_try
="$ac_link"
7847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7851 $as_echo "$ac_try_echo") >&5
7852 (eval "$ac_link") 2>&5
7854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7856 { (case "(($ac_try" in
7857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7858 *) ac_try_echo
=$ac_try;;
7860 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7861 $as_echo "$ac_try_echo") >&5
7862 (eval "$ac_try") 2>&5
7864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 ac_cv_func_memcmp_working
=yes
7868 $as_echo "$as_me: program exited with status $ac_status" >&5
7869 $as_echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.
$ac_ext >&5
7873 ac_cv_func_memcmp_working
=no
7875 rm -rf conftest.dSYM
7876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7881 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7882 $as_echo "$ac_cv_func_memcmp_working" >&6; }
7883 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
7884 *" memcmp.$ac_objext "* ) ;;
7885 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
7892 for ac_header
in stdlib.h unistd.h
7894 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7896 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7897 $as_echo_n "checking for $ac_header... " >&6; }
7898 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7899 $as_echo_n "(cached) " >&6
7901 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7902 $as_echo "$as_val"'`
7903 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7904 $as_echo "$ac_res" >&6; }
7906 # Is the header compilable?
7907 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7908 $as_echo_n "checking $ac_header usability... " >&6; }
7909 cat >conftest.
$ac_ext <<_ACEOF
7912 cat confdefs.h
>>conftest.
$ac_ext
7913 cat >>conftest.
$ac_ext <<_ACEOF
7914 /* end confdefs.h. */
7915 $ac_includes_default
7916 #include <$ac_header>
7918 rm -f conftest.
$ac_objext
7919 if { (ac_try
="$ac_compile"
7921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7922 *) ac_try_echo=$ac_try;;
7924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7925 $as_echo "$ac_try_echo") >&5
7926 (eval "$ac_compile") 2>conftest.er1
7928 grep -v '^ *+' conftest.er1 >conftest.err
7930 cat conftest.err >&5
7931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } && {
7933 test -z "$ac_c_werror_flag" ||
7934 test ! -s conftest.err
7935 } && test -s conftest.$ac_objext; then
7936 ac_header_compiler=yes
7938 $as_echo "$as_me: failed program was:" >&5
7939 sed 's/^/| /' conftest.$ac_ext >&5
7941 ac_header_compiler=no
7944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7945 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7946 $as_echo "$ac_header_compiler" >&6; }
7948 # Is the header present?
7949 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7950 $as_echo_n "checking $ac_header presence... " >&6; }
7951 cat >conftest.$ac_ext <<_ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7957 #include <$ac_header>
7959 if { (ac_try="$ac_cpp conftest.$ac_ext"
7961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7962 *) ac_try_echo
=$ac_try;;
7964 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7965 $as_echo "$ac_try_echo") >&5
7966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7968 grep -v '^ *+' conftest.er1
>conftest.err
7970 cat conftest.err
>&5
7971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } >/dev
/null
&& {
7973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7974 test ! -s conftest.err
7976 ac_header_preproc
=yes
7978 $as_echo "$as_me: failed program was:" >&5
7979 sed 's/^/| /' conftest.
$ac_ext >&5
7981 ac_header_preproc
=no
7984 rm -f conftest.err conftest.
$ac_ext
7985 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7986 $as_echo "$ac_header_preproc" >&6; }
7988 # So? What about this header?
7989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7992 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7994 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7995 ac_header_preproc
=yes
7998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7999 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8001 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8003 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8005 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8007 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8009 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8013 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8014 $as_echo_n "checking for $ac_header... " >&6; }
8015 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8016 $as_echo_n "(cached) " >&6
8018 eval "$as_ac_Header=\$ac_header_preproc"
8020 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8021 $as_echo "$as_val"'`
8022 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8023 $as_echo "$ac_res" >&6; }
8026 as_val
=`eval 'as_val=${'$as_ac_Header'}
8027 $as_echo "$as_val"'`
8028 if test "x$as_val" = x
""yes; then
8029 cat >>confdefs.h
<<_ACEOF
8030 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8038 for ac_func
in getpagesize
8040 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8041 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8042 $as_echo_n "checking for $ac_func... " >&6; }
8043 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8044 $as_echo_n "(cached) " >&6
8046 cat >conftest.
$ac_ext <<_ACEOF
8049 cat confdefs.h
>>conftest.
$ac_ext
8050 cat >>conftest.
$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8054 #define $ac_func innocuous_$ac_func
8056 /* System header to define __stub macros and hopefully few prototypes,
8057 which can conflict with char $ac_func (); below.
8058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8059 <limits.h> exists even on freestanding compilers. */
8062 # include <limits.h>
8064 # include <assert.h>
8069 /* Override any GCC internal prototype to avoid an error.
8070 Use char because int might match the return type of a GCC
8071 builtin and then its argument prototype would still apply. */
8076 /* The GNU C library defines this for functions which it implements
8077 to always fail with ENOSYS. Some functions are actually named
8078 something starting with __ and the normal name is an alias. */
8079 #if defined __stub_$ac_func || defined __stub___$ac_func
8091 rm -f conftest.
$ac_objext conftest
$ac_exeext
8092 if { (ac_try
="$ac_link"
8094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8095 *) ac_try_echo=$ac_try;;
8097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8098 $as_echo "$ac_try_echo") >&5
8099 (eval "$ac_link") 2>conftest.er1
8101 grep -v '^ *+' conftest.er1 >conftest.err
8103 cat conftest.err >&5
8104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); } && {
8106 test -z "$ac_c_werror_flag" ||
8107 test ! -s conftest.err
8108 } && test -s conftest$ac_exeext && {
8109 test "$cross_compiling" = yes ||
8110 $as_test_x conftest$ac_exeext
8112 eval "$as_ac_var=yes"
8114 $as_echo "$as_me: failed program was:" >&5
8115 sed 's/^/| /' conftest.$ac_ext >&5
8117 eval "$as_ac_var=no"
8120 rm -rf conftest.dSYM
8121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8122 conftest$ac_exeext conftest.$ac_ext
8124 ac_res=`eval 'as_val=${'$as_ac_var'}
8125 $as_echo "$as_val"'`
8126 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8127 $as_echo "$ac_res" >&6; }
8128 as_val=`eval 'as_val=${'$as_ac_var'}
8129 $as_echo "$as_val"'`
8130 if test "x$as_val" = x""yes; then
8131 cat >>confdefs.h <<_ACEOF
8132 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8138 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8139 $as_echo_n "checking for working mmap... " >&6; }
8140 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8141 $as_echo_n "(cached) " >&6
8143 if test "$cross_compiling" = yes; then
8144 ac_cv_func_mmap_fixed_mapped=no
8146 cat >conftest.$ac_ext <<_ACEOF
8149 cat confdefs.h >>conftest.$ac_ext
8150 cat >>conftest.$ac_ext <<_ACEOF
8151 /* end confdefs.h. */
8152 $ac_includes_default
8153 /* malloc might have been renamed as rpl_malloc. */
8156 /* Thanks to Mike Haertel and Jim Avera for this test.
8157 Here is a matrix of mmap possibilities:
8158 mmap private not fixed
8159 mmap private fixed at somewhere currently unmapped
8160 mmap private fixed at somewhere already mapped
8161 mmap shared not fixed
8162 mmap shared fixed at somewhere currently unmapped
8163 mmap shared fixed at somewhere already mapped
8164 For private mappings, we should verify that changes cannot be read()
8165 back from the file, nor mmap's back from the file at a different
8166 address. (There have been systems where private was not correctly
8167 implemented like the infamous i386 svr4.0, and systems where the
8168 VM page cache was not coherent with the file system buffer cache
8169 like early versions of FreeBSD and possibly contemporary NetBSD.)
8170 For shared mappings, we should conversely verify that changes get
8171 propagated back to all the places they're supposed to be.
8173 Grep wants private fixed already mapped.
8174 The main things grep needs to know about mmap are:
8175 * does it exist and is it safe to write into the mmap'd area
8176 * how to use it (BSD variants) */
8179 #include <sys/mman.h>
8181 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8185 /* This mess was copied from the GNU getpagesize.h. */
8186 #ifndef HAVE_GETPAGESIZE
8187 /* Assume that all systems that can run configure have sys/param.h. */
8188 # ifndef HAVE_SYS_PARAM_H
8189 # define HAVE_SYS_PARAM_H 1
8192 # ifdef _SC_PAGESIZE
8193 # define getpagesize() sysconf(_SC_PAGESIZE)
8194 # else /* no _SC_PAGESIZE */
8195 # ifdef HAVE_SYS_PARAM_H
8196 # include <sys/param.h>
8197 # ifdef EXEC_PAGESIZE
8198 # define getpagesize() EXEC_PAGESIZE
8199 # else /* no EXEC_PAGESIZE */
8201 # define getpagesize() NBPG * CLSIZE
8204 # endif /* no CLSIZE */
8205 # else /* no NBPG */
8207 # define getpagesize() NBPC
8208 # else /* no NBPC */
8210 # define getpagesize() PAGESIZE
8211 # endif /* PAGESIZE */
8212 # endif /* no NBPC */
8213 # endif /* no NBPG */
8214 # endif /* no EXEC_PAGESIZE */
8215 # else /* no HAVE_SYS_PARAM_H */
8216 # define getpagesize() 8192 /* punt totally */
8217 # endif /* no HAVE_SYS_PARAM_H */
8218 # endif /* no _SC_PAGESIZE */
8220 #endif /* no HAVE_GETPAGESIZE */
8225 char *data, *data2, *data3;
8229 pagesize = getpagesize ();
8231 /* First, make a file with some known garbage in it. */
8232 data = (char *) malloc (pagesize);
8235 for (i = 0; i < pagesize; ++i)
8236 *(data + i) = rand ();
8238 fd = creat ("conftest.mmap", 0600);
8241 if (write (fd, data, pagesize) != pagesize)
8245 /* Next, try to mmap the file at a fixed address which already has
8246 something else allocated at it. If we can, also make sure that
8247 we see the same garbage. */
8248 fd = open ("conftest.mmap", O_RDWR);
8251 data2 = (char *) malloc (2 * pagesize);
8254 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8255 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8256 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8258 for (i = 0; i < pagesize; ++i)
8259 if (*(data + i) != *(data2 + i))
8262 /* Finally, make sure that changes to the mapped area do not
8263 percolate back to the file as seen by read(). (This is a bug on
8264 some variants of i386 svr4.0.) */
8265 for (i = 0; i < pagesize; ++i)
8266 *(data2 + i) = *(data2 + i) + 1;
8267 data3 = (char *) malloc (pagesize);
8270 if (read (fd, data3, pagesize) != pagesize)
8272 for (i = 0; i < pagesize; ++i)
8273 if (*(data + i) != *(data3 + i))
8279 rm -f conftest$ac_exeext
8280 if { (ac_try="$ac_link"
8282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8283 *) ac_try_echo
=$ac_try;;
8285 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8286 $as_echo "$ac_try_echo") >&5
8287 (eval "$ac_link") 2>&5
8289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8291 { (case "(($ac_try" in
8292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8293 *) ac_try_echo=$ac_try;;
8295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8296 $as_echo "$ac_try_echo") >&5
8297 (eval "$ac_try") 2>&5
8299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then
8301 ac_cv_func_mmap_fixed_mapped=yes
8303 $as_echo "$as_me: program exited with status $ac_status" >&5
8304 $as_echo "$as_me: failed program was:" >&5
8305 sed 's/^/| /' conftest.$ac_ext >&5
8308 ac_cv_func_mmap_fixed_mapped=no
8310 rm -rf conftest.dSYM
8311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8316 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8317 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8318 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8320 cat >>confdefs.h <<\_ACEOF
8327 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
8328 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
8329 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
8330 $as_echo_n "(cached) " >&6
8332 if test "$cross_compiling" = yes; then
8333 ac_cv_func_stat_empty_string_bug=yes
8335 cat >conftest.$ac_ext <<_ACEOF
8338 cat confdefs.h >>conftest.$ac_ext
8339 cat >>conftest.$ac_ext <<_ACEOF
8340 /* end confdefs.h. */
8341 $ac_includes_default
8346 return stat ("", &sbuf) == 0;
8351 rm -f conftest$ac_exeext
8352 if { (ac_try="$ac_link"
8354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8355 *) ac_try_echo
=$ac_try;;
8357 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8358 $as_echo "$ac_try_echo") >&5
8359 (eval "$ac_link") 2>&5
8361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8363 { (case "(($ac_try" in
8364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8368 $as_echo "$ac_try_echo") >&5
8369 (eval "$ac_try") 2>&5
8371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 ac_cv_func_stat_empty_string_bug=no
8375 $as_echo "$as_me: program exited with status $ac_status" >&5
8376 $as_echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8380 ac_cv_func_stat_empty_string_bug=yes
8382 rm -rf conftest.dSYM
8383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8388 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
8389 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
8390 if test $ac_cv_func_stat_empty_string_bug = yes; then
8391 case " $LIBOBJS " in
8392 *" stat.$ac_objext "* ) ;;
8393 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
8398 cat >>confdefs.h <<_ACEOF
8399 #define HAVE_STAT_EMPTY_STRING_BUG 1
8404 { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
8405 $as_echo_n "checking for working strtod... " >&6; }
8406 if test "${ac_cv_func_strtod+set}" = set; then
8407 $as_echo_n "(cached) " >&6
8409 if test "$cross_compiling" = yes; then
8410 ac_cv_func_strtod=no
8412 cat >conftest.$ac_ext <<_ACEOF
8415 cat confdefs.h >>conftest.$ac_ext
8416 cat >>conftest.$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8419 $ac_includes_default
8427 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
8428 char *string = " +69";
8431 value = strtod (string, &term);
8432 if (value != 69 || term != (string + 4))
8437 /* Under Solaris 2.4, strtod returns the wrong value for the
8438 terminating character under some conditions. */
8439 char *string = "NaN";
8441 strtod (string, &term);
8442 if (term != string && *(term - 1) == 0)
8449 rm -f conftest$ac_exeext
8450 if { (ac_try="$ac_link"
8452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8453 *) ac_try_echo
=$ac_try;;
8455 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8456 $as_echo "$ac_try_echo") >&5
8457 (eval "$ac_link") 2>&5
8459 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8461 { (case "(($ac_try" in
8462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8466 $as_echo "$ac_try_echo") >&5
8467 (eval "$ac_try") 2>&5
8469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; }; then
8471 ac_cv_func_strtod=yes
8473 $as_echo "$as_me: program exited with status $ac_status" >&5
8474 $as_echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8478 ac_cv_func_strtod=no
8480 rm -rf conftest.dSYM
8481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8486 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
8487 $as_echo "$ac_cv_func_strtod" >&6; }
8488 if test $ac_cv_func_strtod = no; then
8489 case " $LIBOBJS " in
8490 *" strtod.$ac_objext "* ) ;;
8491 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
8495 { $as_echo "$as_me:$LINENO: checking for pow" >&5
8496 $as_echo_n "checking for pow... " >&6; }
8497 if test "${ac_cv_func_pow+set}" = set; then
8498 $as_echo_n "(cached) " >&6
8500 cat >conftest.$ac_ext <<_ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8506 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
8507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8508 #define pow innocuous_pow
8510 /* System header to define __stub macros and hopefully few prototypes,
8511 which can conflict with char pow (); below.
8512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8513 <limits.h> exists even on freestanding compilers. */
8516 # include <limits.h>
8518 # include <assert.h>
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8530 /* The GNU C library defines this for functions which it implements
8531 to always fail with ENOSYS. Some functions are actually named
8532 something starting with __ and the normal name is an alias. */
8533 #if defined __stub_pow || defined __stub___pow
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (ac_try="$ac_link"
8548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8549 *) ac_try_echo
=$ac_try;;
8551 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8552 $as_echo "$ac_try_echo") >&5
8553 (eval "$ac_link") 2>conftest.er1
8555 grep -v '^ *+' conftest.er1
>conftest.err
8557 cat conftest.err
>&5
8558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); } && {
8560 test -z "$ac_c_werror_flag" ||
8561 test ! -s conftest.err
8562 } && test -s conftest
$ac_exeext && {
8563 test "$cross_compiling" = yes ||
8564 $as_test_x conftest
$ac_exeext
8568 $as_echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.
$ac_ext >&5
8574 rm -rf conftest.dSYM
8575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8576 conftest
$ac_exeext conftest.
$ac_ext
8578 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
8579 $as_echo "$ac_cv_func_pow" >&6; }
8581 if test $ac_cv_func_pow = no
; then
8582 { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
8583 $as_echo_n "checking for pow in -lm... " >&6; }
8584 if test "${ac_cv_lib_m_pow+set}" = set; then
8585 $as_echo_n "(cached) " >&6
8587 ac_check_lib_save_LIBS
=$LIBS
8589 cat >conftest.
$ac_ext <<_ACEOF
8592 cat confdefs.h
>>conftest.
$ac_ext
8593 cat >>conftest.
$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8596 /* Override any GCC internal prototype to avoid an error.
8597 Use char because int might match the return type of a GCC
8598 builtin and then its argument prototype would still apply. */
8611 rm -f conftest.
$ac_objext conftest
$ac_exeext
8612 if { (ac_try
="$ac_link"
8614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8615 *) ac_try_echo=$ac_try;;
8617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8618 $as_echo "$ac_try_echo") >&5
8619 (eval "$ac_link") 2>conftest.er1
8621 grep -v '^ *+' conftest.er1 >conftest.err
8623 cat conftest.err >&5
8624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } && {
8626 test -z "$ac_c_werror_flag" ||
8627 test ! -s conftest.err
8628 } && test -s conftest$ac_exeext && {
8629 test "$cross_compiling" = yes ||
8630 $as_test_x conftest$ac_exeext
8634 $as_echo "$as_me: failed program was:" >&5
8635 sed 's/^/| /' conftest.$ac_ext >&5
8640 rm -rf conftest.dSYM
8641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8642 conftest$ac_exeext conftest.$ac_ext
8643 LIBS=$ac_check_lib_save_LIBS
8645 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
8646 $as_echo "$ac_cv_lib_m_pow" >&6; }
8647 if test "x$ac_cv_lib_m_pow" = x""yes; then
8650 { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
8651 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
8659 for ac_func in vprintf
8661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8662 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8663 $as_echo_n "checking for $ac_func... " >&6; }
8664 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8665 $as_echo_n "(cached) " >&6
8667 cat >conftest.$ac_ext <<_ACEOF
8670 cat confdefs.h >>conftest.$ac_ext
8671 cat >>conftest.$ac_ext <<_ACEOF
8672 /* end confdefs.h. */
8673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8675 #define $ac_func innocuous_$ac_func
8677 /* System header to define __stub macros and hopefully few prototypes,
8678 which can conflict with char $ac_func (); below.
8679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8680 <limits.h> exists even on freestanding compilers. */
8683 # include <limits.h>
8685 # include <assert.h>
8690 /* Override any GCC internal prototype to avoid an error.
8691 Use char because int might match the return type of a GCC
8692 builtin and then its argument prototype would still apply. */
8697 /* The GNU C library defines this for functions which it implements
8698 to always fail with ENOSYS. Some functions are actually named
8699 something starting with __ and the normal name is an alias. */
8700 #if defined __stub_$ac_func || defined __stub___$ac_func
8712 rm -f conftest.$ac_objext conftest$ac_exeext
8713 if { (ac_try="$ac_link"
8715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8716 *) ac_try_echo
=$ac_try;;
8718 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8719 $as_echo "$ac_try_echo") >&5
8720 (eval "$ac_link") 2>conftest.er1
8722 grep -v '^ *+' conftest.er1
>conftest.err
8724 cat conftest.err
>&5
8725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } && {
8727 test -z "$ac_c_werror_flag" ||
8728 test ! -s conftest.err
8729 } && test -s conftest
$ac_exeext && {
8730 test "$cross_compiling" = yes ||
8731 $as_test_x conftest
$ac_exeext
8733 eval "$as_ac_var=yes"
8735 $as_echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 eval "$as_ac_var=no"
8741 rm -rf conftest.dSYM
8742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8743 conftest
$ac_exeext conftest.
$ac_ext
8745 ac_res
=`eval 'as_val=${'$as_ac_var'}
8746 $as_echo "$as_val"'`
8747 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8748 $as_echo "$ac_res" >&6; }
8749 as_val
=`eval 'as_val=${'$as_ac_var'}
8750 $as_echo "$as_val"'`
8751 if test "x$as_val" = x
""yes; then
8752 cat >>confdefs.h
<<_ACEOF
8753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8756 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
8757 $as_echo_n "checking for _doprnt... " >&6; }
8758 if test "${ac_cv_func__doprnt+set}" = set; then
8759 $as_echo_n "(cached) " >&6
8761 cat >conftest.
$ac_ext <<_ACEOF
8764 cat confdefs.h
>>conftest.
$ac_ext
8765 cat >>conftest.
$ac_ext <<_ACEOF
8766 /* end confdefs.h. */
8767 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8769 #define _doprnt innocuous__doprnt
8771 /* System header to define __stub macros and hopefully few prototypes,
8772 which can conflict with char _doprnt (); below.
8773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8774 <limits.h> exists even on freestanding compilers. */
8777 # include <limits.h>
8779 # include <assert.h>
8784 /* Override any GCC internal prototype to avoid an error.
8785 Use char because int might match the return type of a GCC
8786 builtin and then its argument prototype would still apply. */
8791 /* The GNU C library defines this for functions which it implements
8792 to always fail with ENOSYS. Some functions are actually named
8793 something starting with __ and the normal name is an alias. */
8794 #if defined __stub__doprnt || defined __stub____doprnt
8806 rm -f conftest.
$ac_objext conftest
$ac_exeext
8807 if { (ac_try
="$ac_link"
8809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8810 *) ac_try_echo=$ac_try;;
8812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8813 $as_echo "$ac_try_echo") >&5
8814 (eval "$ac_link") 2>conftest.er1
8816 grep -v '^ *+' conftest.er1 >conftest.err
8818 cat conftest.err >&5
8819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest$ac_exeext && {
8824 test "$cross_compiling" = yes ||
8825 $as_test_x conftest$ac_exeext
8827 ac_cv_func__doprnt=yes
8829 $as_echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8832 ac_cv_func__doprnt=no
8835 rm -rf conftest.dSYM
8836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8837 conftest$ac_exeext conftest.$ac_ext
8839 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8840 $as_echo "$ac_cv_func__doprnt" >&6; }
8841 if test "x$ac_cv_func__doprnt" = x""yes; then
8843 cat >>confdefs.h <<\_ACEOF
8844 #define HAVE_DOPRNT 1
8854 ################################################################################
8855 { $as_echo "$as_me:$LINENO: checking whether to use static linking" >&5
8856 $as_echo_n "checking whether to use static linking... " >&6; }
8857 # Check whether --enable-static_link was given.
8858 if test "${enable_static_link+set}" = set; then
8859 enableval=$enable_static_link; STATIC_LINK=$enableval
8864 { $as_echo "$as_me:$LINENO: result: $STATIC_LINK" >&5
8865 $as_echo "$STATIC_LINK" >&6; }
8867 ################################################################################
8870 ################################################################################
8871 { $as_echo "$as_me:$LINENO: checking file owner" >&5
8872 $as_echo_n "checking file owner... " >&6; }
8876 # Check whether --with-user was given.
8877 if test "${with_user+set}" = set; then
8878 withval=$with_user; OWNER="$withval"
8881 { $as_echo "$as_me:$LINENO: result: $OWNER" >&5
8882 $as_echo "$OWNER" >&6; }
8884 if test x$OWNER != x; then
8888 ################################################################################
8889 { $as_echo "$as_me:$LINENO: checking group owner" >&5
8890 $as_echo_n "checking group owner... " >&6; }
8893 # Check whether --with-group was given.
8894 if test "${with_group+set}" = set; then
8895 withval=$with_group; GROUP="$withval"
8898 { $as_echo "$as_me:$LINENO: result: $GROUP" >&5
8899 $as_echo "$GROUP" >&6; }
8901 if test x$GROUP != x; then
8905 ################################################################################
8906 { $as_echo "$as_me:$LINENO: checking device node uid" >&5
8907 $as_echo_n "checking device node uid... " >&6; }
8910 # Check whether --with-device-uid was given.
8911 if test "${with_device_uid+set}" = set; then
8912 withval=$with_device_uid; DM_DEVICE_UID="$withval"
8917 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_UID" >&5
8918 $as_echo "$DM_DEVICE_UID" >&6; }
8920 ################################################################################
8921 { $as_echo "$as_me:$LINENO: checking device node gid" >&5
8922 $as_echo_n "checking device node gid... " >&6; }
8925 # Check whether --with-device-gid was given.
8926 if test "${with_device_gid+set}" = set; then
8927 withval=$with_device_gid; DM_DEVICE_GID="$withval"
8932 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_GID" >&5
8933 $as_echo "$DM_DEVICE_GID" >&6; }
8935 ################################################################################
8936 { $as_echo "$as_me:$LINENO: checking device node mode" >&5
8937 $as_echo_n "checking device node mode... " >&6; }
8940 # Check whether --with-device-mode was given.
8941 if test "${with_device_mode+set}" = set; then
8942 withval=$with_device_mode; DM_DEVICE_MODE="$withval"
8944 DM_DEVICE_MODE="0600"
8947 { $as_echo "$as_me:$LINENO: result: $DM_DEVICE_MODE" >&5
8948 $as_echo "$DM_DEVICE_MODE" >&6; }
8950 ################################################################################
8951 { $as_echo "$as_me:$LINENO: checking whether to enable lvm1 fallback" >&5
8952 $as_echo_n "checking whether to enable lvm1 fallback... " >&6; }
8953 # Check whether --enable-lvm1_fallback was given.
8954 if test "${enable_lvm1_fallback+set}" = set; then
8955 enableval=$enable_lvm1_fallback; LVM1_FALLBACK=$enableval
8960 { $as_echo "$as_me:$LINENO: result: $LVM1_FALLBACK" >&5
8961 $as_echo "$LVM1_FALLBACK" >&6; }
8963 if test x$LVM1_FALLBACK = xyes; then
8965 cat >>confdefs.h <<\_ACEOF
8966 #define LVM1_FALLBACK 1
8971 ################################################################################
8972 { $as_echo "$as_me:$LINENO: checking whether to include support for lvm1 metadata" >&5
8973 $as_echo_n "checking whether to include support for lvm1 metadata... " >&6; }
8975 # Check whether --with-lvm1 was given.
8976 if test "${with_lvm1+set}" = set; then
8977 withval=$with_lvm1; LVM1="$withval"
8982 { $as_echo "$as_me:$LINENO: result: $LVM1" >&5
8983 $as_echo "$LVM1" >&6; }
8985 if [ "x$LVM1" != xnone -a "x$LVM1" != xinternal -a "x$LVM1" != xshared ];
8986 then { { $as_echo "$as_me:$LINENO: error: --with-lvm1 parameter invalid
8988 $as_echo "$as_me: error: --with-lvm1 parameter invalid
8990 { (exit 1); exit 1; }; }
8993 if test x$LVM1 = xinternal; then
8995 cat >>confdefs.h <<\_ACEOF
8996 #define LVM1_INTERNAL 1
9001 ################################################################################
9002 { $as_echo "$as_me:$LINENO: checking whether to include support for GFS pool metadata" >&5
9003 $as_echo_n "checking whether to include support for GFS pool metadata... " >&6; }
9005 # Check whether --with-pool was given.
9006 if test "${with_pool+set}" = set; then
9007 withval=$with_pool; POOL="$withval"
9012 { $as_echo "$as_me:$LINENO: result: $POOL" >&5
9013 $as_echo "$POOL" >&6; }
9015 if [ "x$POOL" != xnone -a "x$POOL" != xinternal -a "x$POOL" != xshared ];
9016 then { { $as_echo "$as_me:$LINENO: error: --with-pool parameter invalid
9018 $as_echo "$as_me: error: --with-pool parameter invalid
9020 { (exit 1); exit 1; }; }
9023 if test x$POOL = xinternal; then
9025 cat >>confdefs.h <<\_ACEOF
9026 #define POOL_INTERNAL 1
9031 ################################################################################
9032 { $as_echo "$as_me:$LINENO: checking whether to include support for cluster locking" >&5
9033 $as_echo_n "checking whether to include support for cluster locking... " >&6; }
9035 # Check whether --with-cluster was given.
9036 if test "${with_cluster+set}" = set; then
9037 withval=$with_cluster; CLUSTER="$withval"
9040 { $as_echo "$as_me:$LINENO: result: $CLUSTER" >&5
9041 $as_echo "$CLUSTER" >&6; }
9043 if [ "x$CLUSTER" != xnone -a "x$CLUSTER" != xinternal -a "x$CLUSTER" != xshared ];
9044 then { { $as_echo "$as_me:$LINENO: error: --with-cluster parameter invalid
9046 $as_echo "$as_me: error: --with-cluster parameter invalid
9048 { (exit 1); exit 1; }; }
9051 if test x$CLUSTER = xinternal; then
9053 cat >>confdefs.h <<\_ACEOF
9054 #define CLUSTER_LOCKING_INTERNAL 1
9059 ################################################################################
9060 { $as_echo "$as_me:$LINENO: checking whether to include snapshots" >&5
9061 $as_echo_n "checking whether to include snapshots... " >&6; }
9063 # Check whether --with-snapshots was given.
9064 if test "${with_snapshots+set}" = set; then
9065 withval=$with_snapshots; SNAPSHOTS="$withval"
9067 SNAPSHOTS="internal"
9070 { $as_echo "$as_me:$LINENO: result: $SNAPSHOTS" >&5
9071 $as_echo "$SNAPSHOTS" >&6; }
9073 if [ "x$SNAPSHOTS" != xnone -a "x$SNAPSHOTS" != xinternal -a "x$SNAPSHOTS" != xshared ];
9074 then { { $as_echo "$as_me:$LINENO: error: --with-snapshots parameter invalid
9076 $as_echo "$as_me: error: --with-snapshots parameter invalid
9078 { (exit 1); exit 1; }; }
9081 if test x$SNAPSHOTS = xinternal; then
9083 cat >>confdefs.h <<\_ACEOF
9084 #define SNAPSHOT_INTERNAL 1
9089 ################################################################################
9090 { $as_echo "$as_me:$LINENO: checking whether to include mirrors" >&5
9091 $as_echo_n "checking whether to include mirrors... " >&6; }
9093 # Check whether --with-mirrors was given.
9094 if test "${with_mirrors+set}" = set; then
9095 withval=$with_mirrors; MIRRORS="$withval"
9100 { $as_echo "$as_me:$LINENO: result: $MIRRORS" >&5
9101 $as_echo "$MIRRORS" >&6; }
9103 if [ "x$MIRRORS" != xnone -a "x$MIRRORS" != xinternal -a "x$MIRRORS" != xshared ];
9104 then { { $as_echo "$as_me:$LINENO: error: --with-mirrors parameter invalid
9106 $as_echo "$as_me: error: --with-mirrors parameter invalid
9108 { (exit 1); exit 1; }; }
9111 if test x$MIRRORS = xinternal; then
9113 cat >>confdefs.h <<\_ACEOF
9114 #define MIRRORED_INTERNAL 1
9119 ################################################################################
9120 { $as_echo "$as_me:$LINENO: checking whether to enable readline" >&5
9121 $as_echo_n "checking whether to enable readline... " >&6; }
9122 # Check whether --enable-readline was given.
9123 if test "${enable_readline+set}" = set; then
9124 enableval=$enable_readline; READLINE=$enableval
9129 { $as_echo "$as_me:$LINENO: result: $READLINE" >&5
9130 $as_echo "$READLINE" >&6; }
9132 ################################################################################
9133 { $as_echo "$as_me:$LINENO: checking whether to enable realtime support" >&5
9134 $as_echo_n "checking whether to enable realtime support... " >&6; }
9135 # Check whether --enable-realtime was given.
9136 if test "${enable_realtime+set}" = set; then
9137 enableval=$enable_realtime; REALTIME=$enableval
9140 { $as_echo "$as_me:$LINENO: result: $REALTIME" >&5
9141 $as_echo "$REALTIME" >&6; }
9143 ################################################################################
9144 { $as_echo "$as_me:$LINENO: checking whether to build cluster LVM daemon" >&5
9145 $as_echo_n "checking whether to build cluster LVM daemon... " >&6; }
9147 # Check whether --with-clvmd was given.
9148 if test "${with_clvmd+set}" = set; then
9149 withval=$with_clvmd; CLVMD="$withval"
9154 if test x$CLVMD = xyes; then
9157 { $as_echo "$as_me:$LINENO: result: $CLVMD" >&5
9158 $as_echo "$CLVMD" >&6; }
9160 if test x$CLVMD != xnone && test x$CLUSTER = xnone; then
9164 ################################################################################
9165 { $as_echo "$as_me:$LINENO: checking whether to enable debugging" >&5
9166 $as_echo_n "checking whether to enable debugging... " >&6; }
9167 # Check whether --enable-debug was given.
9168 if test "${enable_debug+set}" = set; then
9169 enableval=$enable_debug; DEBUG=$enableval
9174 { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
9175 $as_echo "$DEBUG" >&6; }
9177 if test x$DEBUG = xyes; then
9183 ################################################################################
9184 { $as_echo "$as_me:$LINENO: checking for C optimisation flag" >&5
9185 $as_echo_n "checking for C optimisation flag... " >&6; }
9187 # Check whether --with-optimisation was given.
9188 if test "${with_optimisation+set}" = set; then
9189 withval=$with_optimisation; COPTIMISE_FLAG="$withval"
9192 { $as_echo "$as_me:$LINENO: result: $COPTIMISE_FLAG" >&5
9193 $as_echo "$COPTIMISE_FLAG" >&6; }
9195 ################################################################################
9196 { $as_echo "$as_me:$LINENO: checking whether to gather gcov profiling data" >&5
9197 $as_echo_n "checking whether to gather gcov profiling data... " >&6; }
9198 # Check whether --enable-profiling was given.
9199 if test "${enable_profiling+set}" = set; then
9200 enableval=$enable_profiling; PROFILING=$enableval
9205 { $as_echo "$as_me:$LINENO: result: $PROFILING" >&5
9206 $as_echo "$PROFILING" >&6; }
9208 if test "x$PROFILING" = xyes; then
9209 COPTIMISE_FLAG="$COPTIMISE_FLAG -fprofile-arcs -ftest-coverage"
9210 # Extract the first word of "lcov", so it can be a program name with args.
9211 set dummy lcov; ac_word=$2
9212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9213 $as_echo_n "checking for $ac_word... " >&6; }
9214 if test "${ac_cv_path_LCOV+set}" = set; then
9215 $as_echo_n "(cached) " >&6
9219 ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9226 test -z "$as_dir" && as_dir=.
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9229 ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
9230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9237 test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="no"
9241 LCOV=$ac_cv_path_LCOV
9242 if test -n "$LCOV"; then
9243 { $as_echo "$as_me:$LINENO: result: $LCOV" >&5
9244 $as_echo "$LCOV" >&6; }
9246 { $as_echo "$as_me:$LINENO: result: no" >&5
9247 $as_echo "no" >&6; }
9251 # Extract the first word of "genhtml", so it can be a program name with args.
9252 set dummy genhtml; ac_word=$2
9253 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9254 $as_echo_n "checking for $ac_word... " >&6; }
9255 if test "${ac_cv_path_GENHTML+set}" = set; then
9256 $as_echo_n "(cached) " >&6
9260 ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9267 test -z "$as_dir" && as_dir=.
9268 for ac_exec_ext in '' $ac_executable_extensions; do
9269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9270 ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
9271 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9278 test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="no"
9282 GENHTML=$ac_cv_path_GENHTML
9283 if test -n "$GENHTML"; then
9284 { $as_echo "$as_me:$LINENO: result: $GENHTML" >&5
9285 $as_echo "$GENHTML" >&6; }
9287 { $as_echo "$as_me:$LINENO: result: no" >&5
9288 $as_echo "no" >&6; }
9292 if test "$LCOV" = no -o "$GENHTML" = no ; then
9293 { { $as_echo "$as_me:$LINENO: error: lcov and genhtml are required for profiling" >&5
9294 $as_echo "$as_me: error: lcov and genhtml are required for profiling" >&2;}
9295 { (exit 1); exit 1; }; }
9299 ################################################################################
9300 { $as_echo "$as_me:$LINENO: checking whether to use device-mapper" >&5
9301 $as_echo_n "checking whether to use device-mapper... " >&6; }
9302 # Check whether --enable-devmapper was given.
9303 if test "${enable_devmapper+set}" = set; then
9304 enableval=$enable_devmapper; DEVMAPPER=$enableval
9307 { $as_echo "$as_me:$LINENO: result: $DEVMAPPER" >&5
9308 $as_echo "$DEVMAPPER" >&6; }
9310 if test x$DEVMAPPER = xyes; then
9312 cat >>confdefs.h <<\_ACEOF
9313 #define DEVMAPPER_SUPPORT 1
9318 ################################################################################
9319 # Check whether --enable-compat was given.
9320 if test "${enable_compat+set}" = set; then
9321 enableval=$enable_compat; DM_COMPAT=$enableval
9327 ################################################################################
9328 # Check whether --enable-ioctl was given.
9329 if test "${enable_ioctl+set}" = set; then
9330 enableval=$enable_ioctl; DM_IOCTLS=$enableval
9334 ################################################################################
9335 { $as_echo "$as_me:$LINENO: checking whether to enable O_DIRECT" >&5
9336 $as_echo_n "checking whether to enable O_DIRECT... " >&6; }
9337 # Check whether --enable-o_direct was given.
9338 if test "${enable_o_direct+set}" = set; then
9339 enableval=$enable_o_direct; ODIRECT=$enableval
9342 { $as_echo "$as_me:$LINENO: result: $ODIRECT" >&5
9343 $as_echo "$ODIRECT" >&6; }
9345 if test x$ODIRECT = xyes; then
9347 cat >>confdefs.h <<\_ACEOF
9348 #define O_DIRECT_SUPPORT 1
9353 ################################################################################
9354 { $as_echo "$as_me:$LINENO: checking whether to compile liblvm2cmd.so" >&5
9355 $as_echo_n "checking whether to compile liblvm2cmd.so... " >&6; }
9356 # Check whether --enable-cmdlib was given.
9357 if test "${enable_cmdlib+set}" = set; then
9358 enableval=$enable_cmdlib; CMDLIB=$enableval
9363 { $as_echo "$as_me:$LINENO: result: $CMDLIB" >&5
9364 $as_echo "$CMDLIB" >&6; }
9366 test x$CMDLIB = xyes \
9367 && LVM2CMD_LIB=-llvm2cmd \
9370 ################################################################################
9371 # Check whether --enable-pkgconfig was given.
9372 if test "${enable_pkgconfig+set}" = set; then
9373 enableval=$enable_pkgconfig; PKGCONFIG=$enableval
9379 ################################################################################
9380 { $as_echo "$as_me:$LINENO: checking whether to install fsadm" >&5
9381 $as_echo_n "checking whether to install fsadm... " >&6; }
9382 # Check whether --enable-fsadm was given.
9383 if test "${enable_fsadm+set}" = set; then
9384 enableval=$enable_fsadm; FSADM=$enableval
9387 { $as_echo "$as_me:$LINENO: result: $FSADM" >&5
9388 $as_echo "$FSADM" >&6; }
9390 ################################################################################
9391 { $as_echo "$as_me:$LINENO: checking whether to use dmeventd" >&5
9392 $as_echo_n "checking whether to use dmeventd... " >&6; }
9393 # Check whether --enable-dmeventd was given.
9394 if test "${enable_dmeventd+set}" = set; then
9395 enableval=$enable_dmeventd; DMEVENTD=$enableval
9398 { $as_echo "$as_me:$LINENO: result: $DMEVENTD" >&5
9399 $as_echo "$DMEVENTD" >&6; }
9401 BUILD_DMEVENTD=$DMEVENTD
9403 if test x$DMEVENTD = xyes; then
9404 if test x$MIRRORS != xinternal; then
9405 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd currently requires --with-mirrors=internal
9407 $as_echo "$as_me: error: --enable-dmeventd currently requires --with-mirrors=internal
9409 { (exit 1); exit 1; }; }
9411 if test x$CMDLIB = xno; then
9412 { { $as_echo "$as_me:$LINENO: error: --enable-dmeventd requires --enable-cmdlib to be used as well
9414 $as_echo "$as_me: error: --enable-dmeventd requires --enable-cmdlib to be used as well
9416 { (exit 1); exit 1; }; }
9420 if test x$DMEVENTD = xyes; then
9422 cat >>confdefs.h <<\_ACEOF
9428 ################################################################################
9430 { $as_echo "$as_me:$LINENO: checking for getline in -lc" >&5
9431 $as_echo_n "checking for getline in -lc... " >&6; }
9432 if test "${ac_cv_lib_c_getline+set}" = set; then
9433 $as_echo_n "(cached) " >&6
9435 ac_check_lib_save_LIBS=$LIBS
9437 cat >conftest.$ac_ext <<_ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9459 rm -f conftest.$ac_objext conftest$ac_exeext
9460 if { (ac_try="$ac_link"
9462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9463 *) ac_try_echo
=$ac_try;;
9465 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9466 $as_echo "$ac_try_echo") >&5
9467 (eval "$ac_link") 2>conftest.er1
9469 grep -v '^ *+' conftest.er1
>conftest.err
9471 cat conftest.err
>&5
9472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } && {
9474 test -z "$ac_c_werror_flag" ||
9475 test ! -s conftest.err
9476 } && test -s conftest
$ac_exeext && {
9477 test "$cross_compiling" = yes ||
9478 $as_test_x conftest
$ac_exeext
9480 ac_cv_lib_c_getline
=yes
9482 $as_echo "$as_me: failed program was:" >&5
9483 sed 's/^/| /' conftest.
$ac_ext >&5
9485 ac_cv_lib_c_getline
=no
9488 rm -rf conftest.dSYM
9489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_getline" >&5
9494 $as_echo "$ac_cv_lib_c_getline" >&6; }
9495 if test "x$ac_cv_lib_c_getline" = x
""yes; then
9497 cat >>confdefs.h
<<\_ACEOF
9498 #define HAVE_GETLINE 1
9504 ################################################################################
9506 { $as_echo "$as_me:$LINENO: checking for canonicalize_file_name in -lc" >&5
9507 $as_echo_n "checking for canonicalize_file_name in -lc... " >&6; }
9508 if test "${ac_cv_lib_c_canonicalize_file_name+set}" = set; then
9509 $as_echo_n "(cached) " >&6
9511 ac_check_lib_save_LIBS
=$LIBS
9513 cat >conftest.
$ac_ext <<_ACEOF
9516 cat confdefs.h
>>conftest.
$ac_ext
9517 cat >>conftest.
$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9526 char canonicalize_file_name ();
9530 return canonicalize_file_name ();
9535 rm -f conftest.
$ac_objext conftest
$ac_exeext
9536 if { (ac_try
="$ac_link"
9538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9539 *) ac_try_echo=$ac_try;;
9541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9542 $as_echo "$ac_try_echo") >&5
9543 (eval "$ac_link") 2>conftest.er1
9545 grep -v '^ *+' conftest.er1 >conftest.err
9547 cat conftest.err >&5
9548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } && {
9550 test -z "$ac_c_werror_flag" ||
9551 test ! -s conftest.err
9552 } && test -s conftest$ac_exeext && {
9553 test "$cross_compiling" = yes ||
9554 $as_test_x conftest$ac_exeext
9556 ac_cv_lib_c_canonicalize_file_name=yes
9558 $as_echo "$as_me: failed program was:" >&5
9559 sed 's/^/| /' conftest.$ac_ext >&5
9561 ac_cv_lib_c_canonicalize_file_name=no
9564 rm -rf conftest.dSYM
9565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9566 conftest$ac_exeext conftest.$ac_ext
9567 LIBS=$ac_check_lib_save_LIBS
9569 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_canonicalize_file_name" >&5
9570 $as_echo "$ac_cv_lib_c_canonicalize_file_name" >&6; }
9571 if test "x$ac_cv_lib_c_canonicalize_file_name" = x""yes; then
9573 cat >>confdefs.h <<\_ACEOF
9574 #define HAVE_CANONICALIZE_FILE_NAME 1
9580 ################################################################################
9581 if [ "x$exec_prefix" = xNONE -a "x$prefix" = xNONE ];
9582 then exec_prefix="";
9585 ################################################################################
9586 if test x$READLINE != xno; then
9587 { $as_echo "$as_me:$LINENO: checking for library containing tgetent" >&5
9588 $as_echo_n "checking for library containing tgetent... " >&6; }
9589 if test "${ac_cv_search_tgetent+set}" = set; then
9590 $as_echo_n "(cached) " >&6
9592 ac_func_search_save_LIBS=$LIBS
9593 cat >conftest.$ac_ext <<_ACEOF
9596 cat confdefs.h >>conftest.$ac_ext
9597 cat >>conftest.$ac_ext <<_ACEOF
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9615 for ac_lib in '' tinfo ncurses curses termcap termlib; do
9616 if test -z "$ac_lib"; then
9617 ac_res="none required"
9620 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9622 rm -f conftest.$ac_objext conftest$ac_exeext
9623 if { (ac_try="$ac_link"
9625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9626 *) ac_try_echo
=$ac_try;;
9628 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9629 $as_echo "$ac_try_echo") >&5
9630 (eval "$ac_link") 2>conftest.er1
9632 grep -v '^ *+' conftest.er1
>conftest.err
9634 cat conftest.err
>&5
9635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } && {
9637 test -z "$ac_c_werror_flag" ||
9638 test ! -s conftest.err
9639 } && test -s conftest
$ac_exeext && {
9640 test "$cross_compiling" = yes ||
9641 $as_test_x conftest
$ac_exeext
9643 ac_cv_search_tgetent
=$ac_res
9645 $as_echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.
$ac_ext >&5
9651 rm -rf conftest.dSYM
9652 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9654 if test "${ac_cv_search_tgetent+set}" = set; then
9658 if test "${ac_cv_search_tgetent+set}" = set; then
9661 ac_cv_search_tgetent
=no
9664 LIBS
=$ac_func_search_save_LIBS
9666 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
9667 $as_echo "$ac_cv_search_tgetent" >&6; }
9668 ac_res
=$ac_cv_search_tgetent
9669 if test "$ac_res" != no
; then
9670 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9676 test x
$READLINE:$tg_found = xyes
:no
&&
9677 { { $as_echo "$as_me:$LINENO: error: termcap could not be found which is required for the
9678 --enable-readline option (which is enabled by default). Either disable readline
9679 support with --disable-readline or download and install termcap from:
9680 ftp.gnu.org/gnu/termcap
9681 Note: if you are using precompiled packages you will also need the development
9682 package as well (which may be called termcap-devel or something similar).
9683 Note: (n)curses also seems to work as a substitute for termcap. This was
9684 not found either - but you could try installing that as well.
9686 $as_echo "$as_me: error: termcap could not be found which is required for the
9687 --enable-readline option (which is enabled by default). Either disable readline
9688 support with --disable-readline or download and install termcap from:
9689 ftp.gnu.org/gnu/termcap
9690 Note: if you are using precompiled packages you will also need the development
9691 package as well (which may be called termcap-devel or something similar).
9692 Note: (n)curses also seems to work as a substitute for termcap. This was
9693 not found either - but you could try installing that as well.
9695 { (exit 1); exit 1; }; }
9698 ################################################################################
9699 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9700 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9701 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9702 $as_echo_n "(cached) " >&6
9704 ac_check_lib_save_LIBS
=$LIBS
9706 cat >conftest.
$ac_ext <<_ACEOF
9709 cat confdefs.h
>>conftest.
$ac_ext
9710 cat >>conftest.
$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9713 /* Override any GCC internal prototype to avoid an error.
9714 Use char because int might match the return type of a GCC
9715 builtin and then its argument prototype would still apply. */
9728 rm -f conftest.
$ac_objext conftest
$ac_exeext
9729 if { (ac_try
="$ac_link"
9731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9732 *) ac_try_echo=$ac_try;;
9734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9735 $as_echo "$ac_try_echo") >&5
9736 (eval "$ac_link") 2>conftest.er1
9738 grep -v '^ *+' conftest.er1 >conftest.err
9740 cat conftest.err >&5
9741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } && {
9743 test -z "$ac_c_werror_flag" ||
9744 test ! -s conftest.err
9745 } && test -s conftest$ac_exeext && {
9746 test "$cross_compiling" = yes ||
9747 $as_test_x conftest$ac_exeext
9749 ac_cv_lib_dl_dlopen=yes
9751 $as_echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.$ac_ext >&5
9754 ac_cv_lib_dl_dlopen=no
9757 rm -rf conftest.dSYM
9758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9759 conftest$ac_exeext conftest.$ac_ext
9760 LIBS=$ac_check_lib_save_LIBS
9762 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9763 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9764 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9771 if [ "x$HAVE_LIBDL" = xyes ]; then
9773 cat >>confdefs.h <<\_ACEOF
9774 #define HAVE_LIBDL 1
9782 ################################################################################
9783 if [ \( "x$LVM1" = xshared -o "x$POOL" = xshared -o "x$CLUSTER" = xshared \
9784 -o "x$SNAPSHOTS" = xshared -o "x$MIRRORS" = xshared \
9785 \) -a "x$STATIC_LINK" = xyes ];
9786 then { { $as_echo "$as_me:$LINENO: error: Features cannot be 'shared' when building statically
9788 $as_echo "$as_me: error: Features cannot be 'shared' when building statically
9790 { (exit 1); exit 1; }; }
9793 ################################################################################
9794 { $as_echo "$as_me:$LINENO: checking whether to enable selinux support" >&5
9795 $as_echo_n "checking whether to enable selinux support... " >&6; }
9796 # Check whether --enable-selinux was given.
9797 if test "${enable_selinux+set}" = set; then
9798 enableval=$enable_selinux; SELINUX=$enableval
9801 { $as_echo "$as_me:$LINENO: result: $SELINUX" >&5
9802 $as_echo "$SELINUX" >&6; }
9804 ################################################################################
9805 if test x$SELINUX = xyes; then
9806 { $as_echo "$as_me:$LINENO: checking for sepol_check_context in -lsepol" >&5
9807 $as_echo_n "checking for sepol_check_context in -lsepol... " >&6; }
9808 if test "${ac_cv_lib_sepol_sepol_check_context+set}" = set; then
9809 $as_echo_n "(cached) " >&6
9811 ac_check_lib_save_LIBS=$LIBS
9812 LIBS="-lsepol $LIBS"
9813 cat >conftest.$ac_ext <<_ACEOF
9816 cat confdefs.h >>conftest.$ac_ext
9817 cat >>conftest.$ac_ext <<_ACEOF
9818 /* end confdefs.h. */
9820 /* Override any GCC internal prototype to avoid an error.
9821 Use char because int might match the return type of a GCC
9822 builtin and then its argument prototype would still apply. */
9826 char sepol_check_context ();
9830 return sepol_check_context ();
9835 rm -f conftest.$ac_objext conftest$ac_exeext
9836 if { (ac_try="$ac_link"
9838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9839 *) ac_try_echo
=$ac_try;;
9841 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9842 $as_echo "$ac_try_echo") >&5
9843 (eval "$ac_link") 2>conftest.er1
9845 grep -v '^ *+' conftest.er1
>conftest.err
9847 cat conftest.err
>&5
9848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } && {
9850 test -z "$ac_c_werror_flag" ||
9851 test ! -s conftest.err
9852 } && test -s conftest
$ac_exeext && {
9853 test "$cross_compiling" = yes ||
9854 $as_test_x conftest
$ac_exeext
9856 ac_cv_lib_sepol_sepol_check_context
=yes
9858 $as_echo "$as_me: failed program was:" >&5
9859 sed 's/^/| /' conftest.
$ac_ext >&5
9861 ac_cv_lib_sepol_sepol_check_context
=no
9864 rm -rf conftest.dSYM
9865 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9866 conftest
$ac_exeext conftest.
$ac_ext
9867 LIBS
=$ac_check_lib_save_LIBS
9869 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sepol_sepol_check_context" >&5
9870 $as_echo "$ac_cv_lib_sepol_sepol_check_context" >&6; }
9871 if test "x$ac_cv_lib_sepol_sepol_check_context" = x
""yes; then
9878 if test x
$HAVE_SEPOL = xyes
; then
9880 cat >>confdefs.h
<<\_ACEOF
9881 #define HAVE_SEPOL 1
9884 LIBS
="-lsepol $LIBS"
9887 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
9888 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
9889 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
9890 $as_echo_n "(cached) " >&6
9892 ac_check_lib_save_LIBS
=$LIBS
9893 LIBS
="-lselinux $LIBS"
9894 cat >conftest.
$ac_ext <<_ACEOF
9897 cat confdefs.h
>>conftest.
$ac_ext
9898 cat >>conftest.
$ac_ext <<_ACEOF
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9907 char is_selinux_enabled ();
9911 return is_selinux_enabled ();
9916 rm -f conftest.
$ac_objext conftest
$ac_exeext
9917 if { (ac_try
="$ac_link"
9919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9920 *) ac_try_echo=$ac_try;;
9922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9923 $as_echo "$ac_try_echo") >&5
9924 (eval "$ac_link") 2>conftest.er1
9926 grep -v '^ *+' conftest.er1 >conftest.err
9928 cat conftest.err >&5
9929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } && {
9931 test -z "$ac_c_werror_flag" ||
9932 test ! -s conftest.err
9933 } && test -s conftest$ac_exeext && {
9934 test "$cross_compiling" = yes ||
9935 $as_test_x conftest$ac_exeext
9937 ac_cv_lib_selinux_is_selinux_enabled=yes
9939 $as_echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9942 ac_cv_lib_selinux_is_selinux_enabled=no
9945 rm -rf conftest.dSYM
9946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9947 conftest$ac_exeext conftest.$ac_ext
9948 LIBS=$ac_check_lib_save_LIBS
9950 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
9951 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
9952 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
9959 if test x$HAVE_SELINUX = xyes; then
9961 cat >>confdefs.h <<\_ACEOF
9962 #define HAVE_SELINUX 1
9965 LIBS="-lselinux $LIBS"
9967 { $as_echo "$as_me:$LINENO: WARNING: Disabling selinux" >&5
9968 $as_echo "$as_me: WARNING: Disabling selinux" >&2;}
9971 # With --enable-static_link and selinux enabled, linking
9972 # fails on at least Debian unstable due to unsatisfied references
9973 # to pthread_mutex_lock and _unlock. See if we need -lpthread.
9974 if test "$STATIC_LINK-$HAVE_SELINUX" = yes-yes; then
9975 lvm_saved_libs=$LIBS
9976 LIBS="$LIBS -static"
9977 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5
9978 $as_echo_n "checking for library containing pthread_mutex_lock... " >&6; }
9979 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
9980 $as_echo_n "(cached) " >&6
9982 ac_func_search_save_LIBS=$LIBS
9983 cat >conftest.$ac_ext <<_ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
9996 char pthread_mutex_lock ();
10000 return pthread_mutex_lock ();
10005 for ac_lib in '' pthread; do
10006 if test -z "$ac_lib"; then
10007 ac_res="none required"
10010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10012 rm -f conftest.$ac_objext conftest$ac_exeext
10013 if { (ac_try="$ac_link"
10014 case "(($ac_try" in
10015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10016 *) ac_try_echo
=$ac_try;;
10018 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10019 $as_echo "$ac_try_echo") >&5
10020 (eval "$ac_link") 2>conftest.er1
10022 grep -v '^ *+' conftest.er1
>conftest.err
10024 cat conftest.err
>&5
10025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); } && {
10027 test -z "$ac_c_werror_flag" ||
10028 test ! -s conftest.err
10029 } && test -s conftest
$ac_exeext && {
10030 test "$cross_compiling" = yes ||
10031 $as_test_x conftest
$ac_exeext
10033 ac_cv_search_pthread_mutex_lock
=$ac_res
10035 $as_echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.
$ac_ext >&5
10041 rm -rf conftest.dSYM
10042 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10044 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
10048 if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
10051 ac_cv_search_pthread_mutex_lock
=no
10053 rm conftest.
$ac_ext
10054 LIBS
=$ac_func_search_save_LIBS
10056 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5
10057 $as_echo "$ac_cv_search_pthread_mutex_lock" >&6; }
10058 ac_res
=$ac_cv_search_pthread_mutex_lock
10059 if test "$ac_res" != no
; then
10060 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10061 test "$ac_cv_search_pthread_mutex_lock" = "none required" ||
10062 LIB_PTHREAD
=-lpthread
10065 LIBS
=$lvm_saved_libs
10069 ################################################################################
10070 if test x
$REALTIME = xyes
; then
10071 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
10072 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
10073 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
10074 $as_echo_n "(cached) " >&6
10076 ac_check_lib_save_LIBS
=$LIBS
10078 cat >conftest.
$ac_ext <<_ACEOF
10081 cat confdefs.h
>>conftest.
$ac_ext
10082 cat >>conftest.
$ac_ext <<_ACEOF
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10091 char clock_gettime ();
10095 return clock_gettime ();
10100 rm -f conftest.
$ac_objext conftest
$ac_exeext
10101 if { (ac_try
="$ac_link"
10102 case "(($ac_try" in
10103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10104 *) ac_try_echo=$ac_try;;
10106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10107 $as_echo "$ac_try_echo") >&5
10108 (eval "$ac_link") 2>conftest.er1
10110 grep -v '^ *+' conftest.er1 >conftest.err
10112 cat conftest.err >&5
10113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } && {
10115 test -z "$ac_c_werror_flag" ||
10116 test ! -s conftest.err
10117 } && test -s conftest$ac_exeext && {
10118 test "$cross_compiling" = yes ||
10119 $as_test_x conftest$ac_exeext
10121 ac_cv_lib_rt_clock_gettime=yes
10123 $as_echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 ac_cv_lib_rt_clock_gettime=no
10129 rm -rf conftest.dSYM
10130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10131 conftest$ac_exeext conftest.$ac_ext
10132 LIBS=$ac_check_lib_save_LIBS
10134 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
10135 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
10136 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
10143 if test x$HAVE_REALTIME = xyes; then
10145 cat >>confdefs.h <<\_ACEOF
10146 #define HAVE_REALTIME 1
10151 { $as_echo "$as_me:$LINENO: WARNING: Disabling realtime clock" >&5
10152 $as_echo "$as_me: WARNING: Disabling realtime clock" >&2;}
10156 ################################################################################
10158 for ac_header in getopt.h
10160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10162 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10163 $as_echo_n "checking for $ac_header... " >&6; }
10164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10165 $as_echo_n "(cached) " >&6
10167 ac_res=`eval 'as_val=${'$as_ac_Header'}
10168 $as_echo "$as_val"'`
10169 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10170 $as_echo "$ac_res" >&6; }
10172 # Is the header compilable?
10173 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10174 $as_echo_n "checking $ac_header usability... " >&6; }
10175 cat >conftest.$ac_ext <<_ACEOF
10178 cat confdefs.h >>conftest.$ac_ext
10179 cat >>conftest.$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10181 $ac_includes_default
10182 #include <$ac_header>
10184 rm -f conftest.$ac_objext
10185 if { (ac_try="$ac_compile"
10186 case "(($ac_try" in
10187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10188 *) ac_try_echo
=$ac_try;;
10190 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10191 $as_echo "$ac_try_echo") >&5
10192 (eval "$ac_compile") 2>conftest.er1
10194 grep -v '^ *+' conftest.er1
>conftest.err
10196 cat conftest.err
>&5
10197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } && {
10199 test -z "$ac_c_werror_flag" ||
10200 test ! -s conftest.err
10201 } && test -s conftest.
$ac_objext; then
10202 ac_header_compiler
=yes
10204 $as_echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.
$ac_ext >&5
10207 ac_header_compiler
=no
10210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10211 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10212 $as_echo "$ac_header_compiler" >&6; }
10214 # Is the header present?
10215 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10216 $as_echo_n "checking $ac_header presence... " >&6; }
10217 cat >conftest.
$ac_ext <<_ACEOF
10220 cat confdefs.h
>>conftest.
$ac_ext
10221 cat >>conftest.
$ac_ext <<_ACEOF
10222 /* end confdefs.h. */
10223 #include <$ac_header>
10225 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10226 case "(($ac_try" in
10227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10228 *) ac_try_echo=$ac_try;;
10230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10231 $as_echo "$ac_try_echo") >&5
10232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10234 grep -v '^ *+' conftest.er1 >conftest.err
10236 cat conftest.err >&5
10237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); } >/dev/null && {
10239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10240 test ! -s conftest.err
10242 ac_header_preproc=yes
10244 $as_echo "$as_me: failed program was:" >&5
10245 sed 's/^/| /' conftest.$ac_ext >&5
10247 ac_header_preproc=no
10250 rm -f conftest.err conftest.$ac_ext
10251 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10252 $as_echo "$ac_header_preproc" >&6; }
10254 # So? What about this header?
10255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10258 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10260 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10261 ac_header_preproc=yes
10264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10265 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10267 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10269 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10271 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10273 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10275 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10279 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10280 $as_echo_n "checking for $ac_header... " >&6; }
10281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10282 $as_echo_n "(cached) " >&6
10284 eval "$as_ac_Header=\$ac_header_preproc"
10286 ac_res=`eval 'as_val=${'$as_ac_Header'}
10287 $as_echo "$as_val"'`
10288 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10289 $as_echo "$ac_res" >&6; }
10292 as_val=`eval 'as_val=${'$as_ac_Header'}
10293 $as_echo "$as_val"'`
10294 if test "x$as_val" = x""yes; then
10295 cat >>confdefs.h <<_ACEOF
10296 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10299 cat >>confdefs.h <<\_ACEOF
10300 #define HAVE_GETOPTLONG 1
10308 ################################################################################
10309 if test x$READLINE != xno; then
10312 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
10313 $as_echo_n "checking for readline in -lreadline... " >&6; }
10314 if test "${ac_cv_lib_readline_readline+set}" = set; then
10315 $as_echo_n "(cached) " >&6
10317 ac_check_lib_save_LIBS=$LIBS
10318 LIBS="-lreadline $LIBS"
10319 cat >conftest.$ac_ext <<_ACEOF
10322 cat confdefs.h >>conftest.$ac_ext
10323 cat >>conftest.$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10326 /* Override any GCC internal prototype to avoid an error.
10327 Use char because int might match the return type of a GCC
10328 builtin and then its argument prototype would still apply. */
10336 return readline ();
10341 rm -f conftest.$ac_objext conftest$ac_exeext
10342 if { (ac_try="$ac_link"
10343 case "(($ac_try" in
10344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10345 *) ac_try_echo
=$ac_try;;
10347 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10348 $as_echo "$ac_try_echo") >&5
10349 (eval "$ac_link") 2>conftest.er1
10351 grep -v '^ *+' conftest.er1
>conftest.err
10353 cat conftest.err
>&5
10354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); } && {
10356 test -z "$ac_c_werror_flag" ||
10357 test ! -s conftest.err
10358 } && test -s conftest
$ac_exeext && {
10359 test "$cross_compiling" = yes ||
10360 $as_test_x conftest
$ac_exeext
10362 ac_cv_lib_readline_readline
=yes
10364 $as_echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.
$ac_ext >&5
10367 ac_cv_lib_readline_readline
=no
10370 rm -rf conftest.dSYM
10371 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10372 conftest
$ac_exeext conftest.
$ac_ext
10373 LIBS
=$ac_check_lib_save_LIBS
10375 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
10376 $as_echo "$ac_cv_lib_readline_readline" >&6; }
10377 if test "x$ac_cv_lib_readline_readline" = x
""yes; then
10378 cat >>confdefs.h
<<_ACEOF
10379 #define HAVE_LIBREADLINE 1
10382 LIBS
="-lreadline $LIBS"
10388 test x
$READLINE:$rl_found = xyes
:no
&&
10389 { { $as_echo "$as_me:$LINENO: error: GNU Readline could not be found which is required for the
10390 --enable-readline option (which is enabled by default). Either disable readline
10391 support with --disable-readline or download and install readline from:
10392 ftp.gnu.org/gnu/readline
10393 Note: if you are using precompiled packages you will also need the development
10394 package as well (which may be called readline-devel or something similar).
10396 $as_echo "$as_me: error: GNU Readline could not be found which is required for the
10397 --enable-readline option (which is enabled by default). Either disable readline
10398 support with --disable-readline or download and install readline from:
10399 ftp.gnu.org/gnu/readline
10400 Note: if you are using precompiled packages you will also need the development
10401 package as well (which may be called readline-devel or something similar).
10403 { (exit 1); exit 1; }; }
10404 if test $rl_found = yes; then
10406 for ac_func
in rl_completion_matches
10408 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10409 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10410 $as_echo_n "checking for $ac_func... " >&6; }
10411 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10412 $as_echo_n "(cached) " >&6
10414 cat >conftest.
$ac_ext <<_ACEOF
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10422 #define $ac_func innocuous_$ac_func
10424 /* System header to define __stub macros and hopefully few prototypes,
10425 which can conflict with char $ac_func (); below.
10426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10427 <limits.h> exists even on freestanding compilers. */
10430 # include <limits.h>
10432 # include <assert.h>
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10444 /* The GNU C library defines this for functions which it implements
10445 to always fail with ENOSYS. Some functions are actually named
10446 something starting with __ and the normal name is an alias. */
10447 #if defined __stub_$ac_func || defined __stub___$ac_func
10454 return $ac_func ();
10459 rm -f conftest.
$ac_objext conftest
$ac_exeext
10460 if { (ac_try
="$ac_link"
10461 case "(($ac_try" in
10462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10463 *) ac_try_echo=$ac_try;;
10465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10466 $as_echo "$ac_try_echo") >&5
10467 (eval "$ac_link") 2>conftest.er1
10469 grep -v '^ *+' conftest.er1 >conftest.err
10471 cat conftest.err >&5
10472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } && {
10474 test -z "$ac_c_werror_flag" ||
10475 test ! -s conftest.err
10476 } && test -s conftest$ac_exeext && {
10477 test "$cross_compiling" = yes ||
10478 $as_test_x conftest$ac_exeext
10480 eval "$as_ac_var=yes"
10482 $as_echo "$as_me: failed program was:" >&5
10483 sed 's/^/| /' conftest.$ac_ext >&5
10485 eval "$as_ac_var=no"
10488 rm -rf conftest.dSYM
10489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10490 conftest$ac_exeext conftest.$ac_ext
10492 ac_res=`eval 'as_val=${'$as_ac_var'}
10493 $as_echo "$as_val"'`
10494 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10495 $as_echo "$ac_res" >&6; }
10496 as_val=`eval 'as_val=${'$as_ac_var'}
10497 $as_echo "$as_val"'`
10498 if test "x$as_val" = x""yes; then
10499 cat >>confdefs.h <<_ACEOF
10500 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10507 cat >>confdefs.h <<\_ACEOF
10508 #define READLINE_SUPPORT 1
10514 ################################################################################
10515 { $as_echo "$as_me:$LINENO: checking whether to enable internationalisation" >&5
10516 $as_echo_n "checking whether to enable internationalisation... " >&6; }
10517 # Check whether --enable-nls was given.
10518 if test "${enable_nls+set}" = set; then
10519 enableval=$enable_nls; INTL=$enableval
10524 { $as_echo "$as_me:$LINENO: result: $INTL" >&5
10525 $as_echo "$INTL" >&6; }
10527 if test x$INTL = xyes; then
10528 # FIXME - Move this - can be device-mapper too
10529 INTL_PACKAGE="lvm2"
10530 # Extract the first word of "msgfmt", so it can be a program name with args.
10531 set dummy msgfmt; ac_word=$2
10532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10533 $as_echo_n "checking for $ac_word... " >&6; }
10534 if test "${ac_cv_path_MSGFMT+set}" = set; then
10535 $as_echo_n "(cached) " >&6
10539 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in $PATH
10546 test -z "$as_dir" && as_dir=.
10547 for ac_exec_ext in '' $ac_executable_extensions; do
10548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10549 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10550 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10560 MSGFMT=$ac_cv_path_MSGFMT
10561 if test -n "$MSGFMT"; then
10562 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
10563 $as_echo "$MSGFMT" >&6; }
10565 { $as_echo "$as_me:$LINENO: result: no" >&5
10566 $as_echo "no" >&6; }
10570 if [ "x$MSGFMT" == x ];
10571 then { { $as_echo "$as_me:$LINENO: error: msgfmt not found in path $PATH
10573 $as_echo "$as_me: error: msgfmt not found in path $PATH
10575 { (exit 1); exit 1; }; }
10579 # Check whether --with-localedir was given.
10580 if test "${with_localedir+set}" = set; then
10581 withval=$with_localedir; LOCALEDIR="$withval"
10583 LOCALEDIR='${prefix}/share/locale'
10588 ################################################################################
10590 # Check whether --with-confdir was given.
10591 if test "${with_confdir+set}" = set; then
10592 withval=$with_confdir; CONFDIR="$withval"
10599 # Check whether --with-staticdir was given.
10600 if test "${with_staticdir+set}" = set; then
10601 withval=$with_staticdir; STATICDIR="$withval"
10603 STATICDIR='${exec_prefix}/sbin'
10608 # Check whether --with-usrlibdir was given.
10609 if test "${with_usrlibdir+set}" = set; then
10610 withval=$with_usrlibdir; usrlibdir="$withval"
10612 usrlibdir='${prefix}/lib'
10617 # Check whether --with-usrsbindir was given.
10618 if test "${with_usrsbindir+set}" = set; then
10619 withval=$with_usrsbindir; usrsbindir="$withval"
10621 usrsbindir='${prefix}/sbin'
10625 ################################################################################
10626 if test x$READLINE = xyes; then
10629 for ac_header in readline/readline.h readline/history.h
10631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10633 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10634 $as_echo_n "checking for $ac_header... " >&6; }
10635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10636 $as_echo_n "(cached) " >&6
10638 ac_res=`eval 'as_val=${'$as_ac_Header'}
10639 $as_echo "$as_val"'`
10640 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10641 $as_echo "$ac_res" >&6; }
10643 # Is the header compilable?
10644 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10645 $as_echo_n "checking $ac_header usability... " >&6; }
10646 cat >conftest.$ac_ext <<_ACEOF
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10652 $ac_includes_default
10653 #include <$ac_header>
10655 rm -f conftest.$ac_objext
10656 if { (ac_try="$ac_compile"
10657 case "(($ac_try" in
10658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10659 *) ac_try_echo
=$ac_try;;
10661 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10662 $as_echo "$ac_try_echo") >&5
10663 (eval "$ac_compile") 2>conftest.er1
10665 grep -v '^ *+' conftest.er1
>conftest.err
10667 cat conftest.err
>&5
10668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); } && {
10670 test -z "$ac_c_werror_flag" ||
10671 test ! -s conftest.err
10672 } && test -s conftest.
$ac_objext; then
10673 ac_header_compiler
=yes
10675 $as_echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.
$ac_ext >&5
10678 ac_header_compiler
=no
10681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10682 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10683 $as_echo "$ac_header_compiler" >&6; }
10685 # Is the header present?
10686 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10687 $as_echo_n "checking $ac_header presence... " >&6; }
10688 cat >conftest.
$ac_ext <<_ACEOF
10691 cat confdefs.h
>>conftest.
$ac_ext
10692 cat >>conftest.
$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10694 #include <$ac_header>
10696 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10697 case "(($ac_try" in
10698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10699 *) ac_try_echo=$ac_try;;
10701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10702 $as_echo "$ac_try_echo") >&5
10703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10705 grep -v '^ *+' conftest.er1 >conftest.err
10707 cat conftest.err >&5
10708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } >/dev/null && {
10710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10711 test ! -s conftest.err
10713 ac_header_preproc=yes
10715 $as_echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 ac_header_preproc=no
10721 rm -f conftest.err conftest.$ac_ext
10722 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10723 $as_echo "$ac_header_preproc" >&6; }
10725 # So? What about this header?
10726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10729 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10731 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10732 ac_header_preproc=yes
10735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10736 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10738 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10740 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10742 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10744 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10746 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10750 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10751 $as_echo_n "checking for $ac_header... " >&6; }
10752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10753 $as_echo_n "(cached) " >&6
10755 eval "$as_ac_Header=\$ac_header_preproc"
10757 ac_res=`eval 'as_val=${'$as_ac_Header'}
10758 $as_echo "$as_val"'`
10759 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10760 $as_echo "$ac_res" >&6; }
10763 as_val=`eval 'as_val=${'$as_ac_Header'}
10764 $as_echo "$as_val"'`
10765 if test "x$as_val" = x""yes; then
10766 cat >>confdefs.h <<_ACEOF
10767 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10771 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
10772 $as_echo "$as_me: error: bailing out" >&2;}
10773 { (exit 1); exit 1; }; }
10780 if test x$CLVMD != xnone; then
10791 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
10793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10795 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10796 $as_echo_n "checking for $ac_header... " >&6; }
10797 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10798 $as_echo_n "(cached) " >&6
10800 ac_res=`eval 'as_val=${'$as_ac_Header'}
10801 $as_echo "$as_val"'`
10802 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10803 $as_echo "$ac_res" >&6; }
10805 # Is the header compilable?
10806 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10807 $as_echo_n "checking $ac_header usability... " >&6; }
10808 cat >conftest.$ac_ext <<_ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10814 $ac_includes_default
10815 #include <$ac_header>
10817 rm -f conftest.$ac_objext
10818 if { (ac_try="$ac_compile"
10819 case "(($ac_try" in
10820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10821 *) ac_try_echo
=$ac_try;;
10823 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10824 $as_echo "$ac_try_echo") >&5
10825 (eval "$ac_compile") 2>conftest.er1
10827 grep -v '^ *+' conftest.er1
>conftest.err
10829 cat conftest.err
>&5
10830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } && {
10832 test -z "$ac_c_werror_flag" ||
10833 test ! -s conftest.err
10834 } && test -s conftest.
$ac_objext; then
10835 ac_header_compiler
=yes
10837 $as_echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10840 ac_header_compiler
=no
10843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10844 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10845 $as_echo "$ac_header_compiler" >&6; }
10847 # Is the header present?
10848 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10849 $as_echo_n "checking $ac_header presence... " >&6; }
10850 cat >conftest.
$ac_ext <<_ACEOF
10853 cat confdefs.h
>>conftest.
$ac_ext
10854 cat >>conftest.
$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10856 #include <$ac_header>
10858 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10859 case "(($ac_try" in
10860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10861 *) ac_try_echo=$ac_try;;
10863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10864 $as_echo "$ac_try_echo") >&5
10865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10867 grep -v '^ *+' conftest.er1 >conftest.err
10869 cat conftest.err >&5
10870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); } >/dev/null && {
10872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10873 test ! -s conftest.err
10875 ac_header_preproc=yes
10877 $as_echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.$ac_ext >&5
10880 ac_header_preproc=no
10883 rm -f conftest.err conftest.$ac_ext
10884 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10885 $as_echo "$ac_header_preproc" >&6; }
10887 # So? What about this header?
10888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10891 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10893 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10894 ac_header_preproc=yes
10897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10898 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10900 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10902 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10904 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10906 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10908 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10912 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10913 $as_echo_n "checking for $ac_header... " >&6; }
10914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10915 $as_echo_n "(cached) " >&6
10917 eval "$as_ac_Header=\$ac_header_preproc"
10919 ac_res=`eval 'as_val=${'$as_ac_Header'}
10920 $as_echo "$as_val"'`
10921 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10922 $as_echo "$ac_res" >&6; }
10925 as_val=`eval 'as_val=${'$as_ac_Header'}
10926 $as_echo "$as_val"'`
10927 if test "x$as_val" = x""yes; then
10928 cat >>confdefs.h <<_ACEOF
10929 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10933 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
10934 $as_echo "$as_me: error: bailing out" >&2;}
10935 { (exit 1); exit 1; }; }
10945 for ac_func in dup2 getmntent memmove select socket
10947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10948 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10949 $as_echo_n "checking for $ac_func... " >&6; }
10950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10951 $as_echo_n "(cached) " >&6
10953 cat >conftest.$ac_ext <<_ACEOF
10956 cat confdefs.h >>conftest.$ac_ext
10957 cat >>conftest.$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10961 #define $ac_func innocuous_$ac_func
10963 /* System header to define __stub macros and hopefully few prototypes,
10964 which can conflict with char $ac_func (); below.
10965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10966 <limits.h> exists even on freestanding compilers. */
10969 # include <limits.h>
10971 # include <assert.h>
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10983 /* The GNU C library defines this for functions which it implements
10984 to always fail with ENOSYS. Some functions are actually named
10985 something starting with __ and the normal name is an alias. */
10986 #if defined __stub_$ac_func || defined __stub___$ac_func
10993 return $ac_func ();
10998 rm -f conftest.$ac_objext conftest$ac_exeext
10999 if { (ac_try="$ac_link"
11000 case "(($ac_try" in
11001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11002 *) ac_try_echo
=$ac_try;;
11004 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11005 $as_echo "$ac_try_echo") >&5
11006 (eval "$ac_link") 2>conftest.er1
11008 grep -v '^ *+' conftest.er1
>conftest.err
11010 cat conftest.err
>&5
11011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } && {
11013 test -z "$ac_c_werror_flag" ||
11014 test ! -s conftest.err
11015 } && test -s conftest
$ac_exeext && {
11016 test "$cross_compiling" = yes ||
11017 $as_test_x conftest
$ac_exeext
11019 eval "$as_ac_var=yes"
11021 $as_echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.
$ac_ext >&5
11024 eval "$as_ac_var=no"
11027 rm -rf conftest.dSYM
11028 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11029 conftest
$ac_exeext conftest.
$ac_ext
11031 ac_res
=`eval 'as_val=${'$as_ac_var'}
11032 $as_echo "$as_val"'`
11033 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11034 $as_echo "$ac_res" >&6; }
11035 as_val
=`eval 'as_val=${'$as_ac_var'}
11036 $as_echo "$as_val"'`
11037 if test "x$as_val" = x
""yes; then
11038 cat >>confdefs.h
<<_ACEOF
11039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11043 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11044 $as_echo "$as_me: error: bailing out" >&2;}
11045 { (exit 1); exit 1; }; }
11049 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
11050 # -lseq on Dynix/PTX, -lgen on Unixware.
11051 { $as_echo "$as_me:$LINENO: checking for library containing getmntent" >&5
11052 $as_echo_n "checking for library containing getmntent... " >&6; }
11053 if test "${ac_cv_search_getmntent+set}" = set; then
11054 $as_echo_n "(cached) " >&6
11056 ac_func_search_save_LIBS
=$LIBS
11057 cat >conftest.
$ac_ext <<_ACEOF
11060 cat confdefs.h
>>conftest.
$ac_ext
11061 cat >>conftest.
$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11074 return getmntent ();
11079 for ac_lib
in '' sun
seq gen
; do
11080 if test -z "$ac_lib"; then
11081 ac_res
="none required"
11084 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11086 rm -f conftest.
$ac_objext conftest
$ac_exeext
11087 if { (ac_try
="$ac_link"
11088 case "(($ac_try" in
11089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11090 *) ac_try_echo=$ac_try;;
11092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11093 $as_echo "$ac_try_echo") >&5
11094 (eval "$ac_link") 2>conftest.er1
11096 grep -v '^ *+' conftest.er1 >conftest.err
11098 cat conftest.err >&5
11099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); } && {
11101 test -z "$ac_c_werror_flag" ||
11102 test ! -s conftest.err
11103 } && test -s conftest$ac_exeext && {
11104 test "$cross_compiling" = yes ||
11105 $as_test_x conftest$ac_exeext
11107 ac_cv_search_getmntent=$ac_res
11109 $as_echo "$as_me: failed program was:" >&5
11110 sed 's/^/| /' conftest.$ac_ext >&5
11115 rm -rf conftest.dSYM
11116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11118 if test "${ac_cv_search_getmntent+set}" = set; then
11122 if test "${ac_cv_search_getmntent+set}" = set; then
11125 ac_cv_search_getmntent=no
11127 rm conftest.$ac_ext
11128 LIBS=$ac_func_search_save_LIBS
11130 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
11131 $as_echo "$ac_cv_search_getmntent" >&6; }
11132 ac_res=$ac_cv_search_getmntent
11133 if test "$ac_res" != no; then
11134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11135 ac_cv_func_getmntent=yes
11137 cat >>confdefs.h <<\_ACEOF
11138 #define HAVE_GETMNTENT 1
11142 ac_cv_func_getmntent=no
11149 for ac_header in sys/select.h sys/socket.h
11151 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11153 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11154 $as_echo_n "checking for $ac_header... " >&6; }
11155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11156 $as_echo_n "(cached) " >&6
11158 ac_res=`eval 'as_val=${'$as_ac_Header'}
11159 $as_echo "$as_val"'`
11160 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11161 $as_echo "$ac_res" >&6; }
11163 # Is the header compilable?
11164 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11165 $as_echo_n "checking $ac_header usability... " >&6; }
11166 cat >conftest.$ac_ext <<_ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 $ac_includes_default
11173 #include <$ac_header>
11175 rm -f conftest.$ac_objext
11176 if { (ac_try="$ac_compile"
11177 case "(($ac_try" in
11178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11179 *) ac_try_echo
=$ac_try;;
11181 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11182 $as_echo "$ac_try_echo") >&5
11183 (eval "$ac_compile") 2>conftest.er1
11185 grep -v '^ *+' conftest.er1
>conftest.err
11187 cat conftest.err
>&5
11188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } && {
11190 test -z "$ac_c_werror_flag" ||
11191 test ! -s conftest.err
11192 } && test -s conftest.
$ac_objext; then
11193 ac_header_compiler
=yes
11195 $as_echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.
$ac_ext >&5
11198 ac_header_compiler
=no
11201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11202 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11203 $as_echo "$ac_header_compiler" >&6; }
11205 # Is the header present?
11206 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11207 $as_echo_n "checking $ac_header presence... " >&6; }
11208 cat >conftest.
$ac_ext <<_ACEOF
11211 cat confdefs.h
>>conftest.
$ac_ext
11212 cat >>conftest.
$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11214 #include <$ac_header>
11216 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11217 case "(($ac_try" in
11218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11219 *) ac_try_echo=$ac_try;;
11221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11222 $as_echo "$ac_try_echo") >&5
11223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11225 grep -v '^ *+' conftest.er1 >conftest.err
11227 cat conftest.err >&5
11228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } >/dev/null && {
11230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11231 test ! -s conftest.err
11233 ac_header_preproc=yes
11235 $as_echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11238 ac_header_preproc=no
11241 rm -f conftest.err conftest.$ac_ext
11242 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11243 $as_echo "$ac_header_preproc" >&6; }
11245 # So? What about this header?
11246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11248 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11249 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11250 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11251 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11252 ac_header_preproc=yes
11255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11256 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11258 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11260 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11261 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11262 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11263 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11264 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11265 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11266 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11270 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11271 $as_echo_n "checking for $ac_header... " >&6; }
11272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11273 $as_echo_n "(cached) " >&6
11275 eval "$as_ac_Header=\$ac_header_preproc"
11277 ac_res=`eval 'as_val=${'$as_ac_Header'}
11278 $as_echo "$as_val"'`
11279 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11280 $as_echo "$ac_res" >&6; }
11283 as_val=`eval 'as_val=${'$as_ac_Header'}
11284 $as_echo "$as_val"'`
11285 if test "x$as_val" = x""yes; then
11286 cat >>confdefs.h <<_ACEOF
11287 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11294 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
11295 $as_echo_n "checking types of arguments for select... " >&6; }
11296 if test "${ac_cv_func_select_args+set}" = set; then
11297 $as_echo_n "(cached) " >&6
11299 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
11300 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
11301 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
11302 cat >conftest.$ac_ext <<_ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 $ac_includes_default
11309 #ifdef HAVE_SYS_SELECT_H
11310 # include <sys/select.h>
11312 #ifdef HAVE_SYS_SOCKET_H
11313 # include <sys/socket.h>
11319 extern int select ($ac_arg1,
11320 $ac_arg234, $ac_arg234, $ac_arg234,
11326 rm -f conftest.$ac_objext
11327 if { (ac_try="$ac_compile"
11328 case "(($ac_try" in
11329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11330 *) ac_try_echo
=$ac_try;;
11332 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11333 $as_echo "$ac_try_echo") >&5
11334 (eval "$ac_compile") 2>conftest.er1
11336 grep -v '^ *+' conftest.er1
>conftest.err
11338 cat conftest.err
>&5
11339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } && {
11341 test -z "$ac_c_werror_flag" ||
11342 test ! -s conftest.err
11343 } && test -s conftest.
$ac_objext; then
11344 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11346 $as_echo "$as_me: failed program was:" >&5
11347 sed 's/^/| /' conftest.
$ac_ext >&5
11352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11356 # Provide a safe default value.
11357 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
11360 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
11361 $as_echo "$ac_cv_func_select_args" >&6; }
11362 ac_save_IFS
=$IFS; IFS
=','
11363 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11367 cat >>confdefs.h
<<_ACEOF
11368 #define SELECT_TYPE_ARG1 $1
11372 cat >>confdefs.h
<<_ACEOF
11373 #define SELECT_TYPE_ARG234 ($2)
11377 cat >>confdefs.h
<<_ACEOF
11378 #define SELECT_TYPE_ARG5 ($3)
11385 if test x
$CLUSTER != xnone
; then
11388 for ac_header
in sys
/socket.h sys
/un.h
11390 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11391 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11392 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11393 $as_echo_n "checking for $ac_header... " >&6; }
11394 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11395 $as_echo_n "(cached) " >&6
11397 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11398 $as_echo "$as_val"'`
11399 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11400 $as_echo "$ac_res" >&6; }
11402 # Is the header compilable?
11403 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11404 $as_echo_n "checking $ac_header usability... " >&6; }
11405 cat >conftest.
$ac_ext <<_ACEOF
11408 cat confdefs.h
>>conftest.
$ac_ext
11409 cat >>conftest.
$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11411 $ac_includes_default
11412 #include <$ac_header>
11414 rm -f conftest.
$ac_objext
11415 if { (ac_try
="$ac_compile"
11416 case "(($ac_try" in
11417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11418 *) ac_try_echo=$ac_try;;
11420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11421 $as_echo "$ac_try_echo") >&5
11422 (eval "$ac_compile") 2>conftest.er1
11424 grep -v '^ *+' conftest.er1 >conftest.err
11426 cat conftest.err >&5
11427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } && {
11429 test -z "$ac_c_werror_flag" ||
11430 test ! -s conftest.err
11431 } && test -s conftest.$ac_objext; then
11432 ac_header_compiler=yes
11434 $as_echo "$as_me: failed program was:" >&5
11435 sed 's/^/| /' conftest.$ac_ext >&5
11437 ac_header_compiler=no
11440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11441 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11442 $as_echo "$ac_header_compiler" >&6; }
11444 # Is the header present?
11445 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11446 $as_echo_n "checking $ac_header presence... " >&6; }
11447 cat >conftest.$ac_ext <<_ACEOF
11450 cat confdefs.h >>conftest.$ac_ext
11451 cat >>conftest.$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 #include <$ac_header>
11455 if { (ac_try="$ac_cpp conftest.$ac_ext"
11456 case "(($ac_try" in
11457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11458 *) ac_try_echo
=$ac_try;;
11460 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11461 $as_echo "$ac_try_echo") >&5
11462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11464 grep -v '^ *+' conftest.er1
>conftest.err
11466 cat conftest.err
>&5
11467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } >/dev
/null
&& {
11469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11470 test ! -s conftest.err
11472 ac_header_preproc
=yes
11474 $as_echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.
$ac_ext >&5
11477 ac_header_preproc
=no
11480 rm -f conftest.err conftest.
$ac_ext
11481 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11482 $as_echo "$ac_header_preproc" >&6; }
11484 # So? What about this header?
11485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11488 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11490 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11491 ac_header_preproc
=yes
11494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11495 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11497 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11499 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11501 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11503 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11505 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11509 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11510 $as_echo_n "checking for $ac_header... " >&6; }
11511 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11512 $as_echo_n "(cached) " >&6
11514 eval "$as_ac_Header=\$ac_header_preproc"
11516 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11517 $as_echo "$as_val"'`
11518 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11519 $as_echo "$ac_res" >&6; }
11522 as_val
=`eval 'as_val=${'$as_ac_Header'}
11523 $as_echo "$as_val"'`
11524 if test "x$as_val" = x
""yes; then
11525 cat >>confdefs.h
<<_ACEOF
11526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11530 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11531 $as_echo "$as_me: error: bailing out" >&2;}
11532 { (exit 1); exit 1; }; }
11538 for ac_func
in socket
11540 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11541 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11542 $as_echo_n "checking for $ac_func... " >&6; }
11543 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11544 $as_echo_n "(cached) " >&6
11546 cat >conftest.
$ac_ext <<_ACEOF
11549 cat confdefs.h
>>conftest.
$ac_ext
11550 cat >>conftest.
$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11554 #define $ac_func innocuous_$ac_func
11556 /* System header to define __stub macros and hopefully few prototypes,
11557 which can conflict with char $ac_func (); below.
11558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11559 <limits.h> exists even on freestanding compilers. */
11562 # include <limits.h>
11564 # include <assert.h>
11569 /* Override any GCC internal prototype to avoid an error.
11570 Use char because int might match the return type of a GCC
11571 builtin and then its argument prototype would still apply. */
11576 /* The GNU C library defines this for functions which it implements
11577 to always fail with ENOSYS. Some functions are actually named
11578 something starting with __ and the normal name is an alias. */
11579 #if defined __stub_$ac_func || defined __stub___$ac_func
11586 return $ac_func ();
11591 rm -f conftest.
$ac_objext conftest
$ac_exeext
11592 if { (ac_try
="$ac_link"
11593 case "(($ac_try" in
11594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11598 $as_echo "$ac_try_echo") >&5
11599 (eval "$ac_link") 2>conftest.er1
11601 grep -v '^ *+' conftest.er1 >conftest.err
11603 cat conftest.err >&5
11604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } && {
11606 test -z "$ac_c_werror_flag" ||
11607 test ! -s conftest.err
11608 } && test -s conftest$ac_exeext && {
11609 test "$cross_compiling" = yes ||
11610 $as_test_x conftest$ac_exeext
11612 eval "$as_ac_var=yes"
11614 $as_echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 eval "$as_ac_var=no"
11620 rm -rf conftest.dSYM
11621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11622 conftest$ac_exeext conftest.$ac_ext
11624 ac_res=`eval 'as_val=${'$as_ac_var'}
11625 $as_echo "$as_val"'`
11626 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11627 $as_echo "$ac_res" >&6; }
11628 as_val=`eval 'as_val=${'$as_ac_var'}
11629 $as_echo "$as_val"'`
11630 if test "x$as_val" = x""yes; then
11631 cat >>confdefs.h <<_ACEOF
11632 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11636 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11637 $as_echo "$as_me: error: bailing out" >&2;}
11638 { (exit 1); exit 1; }; }
11644 if test x$HAVE_LIBDL = xyes; then
11646 for ac_header in dlfcn.h
11648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11650 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11651 $as_echo_n "checking for $ac_header... " >&6; }
11652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11653 $as_echo_n "(cached) " >&6
11655 ac_res=`eval 'as_val=${'$as_ac_Header'}
11656 $as_echo "$as_val"'`
11657 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11658 $as_echo "$ac_res" >&6; }
11660 # Is the header compilable?
11661 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11662 $as_echo_n "checking $ac_header usability... " >&6; }
11663 cat >conftest.$ac_ext <<_ACEOF
11666 cat confdefs.h >>conftest.$ac_ext
11667 cat >>conftest.$ac_ext <<_ACEOF
11668 /* end confdefs.h. */
11669 $ac_includes_default
11670 #include <$ac_header>
11672 rm -f conftest.$ac_objext
11673 if { (ac_try="$ac_compile"
11674 case "(($ac_try" in
11675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11676 *) ac_try_echo
=$ac_try;;
11678 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11679 $as_echo "$ac_try_echo") >&5
11680 (eval "$ac_compile") 2>conftest.er1
11682 grep -v '^ *+' conftest.er1
>conftest.err
11684 cat conftest.err
>&5
11685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } && {
11687 test -z "$ac_c_werror_flag" ||
11688 test ! -s conftest.err
11689 } && test -s conftest.
$ac_objext; then
11690 ac_header_compiler
=yes
11692 $as_echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.
$ac_ext >&5
11695 ac_header_compiler
=no
11698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11699 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11700 $as_echo "$ac_header_compiler" >&6; }
11702 # Is the header present?
11703 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11704 $as_echo_n "checking $ac_header presence... " >&6; }
11705 cat >conftest.
$ac_ext <<_ACEOF
11708 cat confdefs.h
>>conftest.
$ac_ext
11709 cat >>conftest.
$ac_ext <<_ACEOF
11710 /* end confdefs.h. */
11711 #include <$ac_header>
11713 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11714 case "(($ac_try" in
11715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11716 *) ac_try_echo=$ac_try;;
11718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11719 $as_echo "$ac_try_echo") >&5
11720 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1 >conftest.err
11724 cat conftest.err >&5
11725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } >/dev/null && {
11727 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11730 ac_header_preproc=yes
11732 $as_echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.$ac_ext >&5
11735 ac_header_preproc=no
11738 rm -f conftest.err conftest.$ac_ext
11739 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11740 $as_echo "$ac_header_preproc" >&6; }
11742 # So? What about this header?
11743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11746 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11748 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11749 ac_header_preproc=yes
11752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11753 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11755 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11756 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11757 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11758 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11759 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11760 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11761 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11762 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11763 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11767 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11768 $as_echo_n "checking for $ac_header... " >&6; }
11769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11770 $as_echo_n "(cached) " >&6
11772 eval "$as_ac_Header=\$ac_header_preproc"
11774 ac_res=`eval 'as_val=${'$as_ac_Header'}
11775 $as_echo "$as_val"'`
11776 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11777 $as_echo "$ac_res" >&6; }
11780 as_val=`eval 'as_val=${'$as_ac_Header'}
11781 $as_echo "$as_val"'`
11782 if test "x$as_val" = x""yes; then
11783 cat >>confdefs.h <<_ACEOF
11784 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11788 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11789 $as_echo "$as_me: error: bailing out" >&2;}
11790 { (exit 1); exit 1; }; }
11797 if test x$INTL = xyes; then
11799 for ac_header in libintl.h
11801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11804 $as_echo_n "checking for $ac_header... " >&6; }
11805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11806 $as_echo_n "(cached) " >&6
11808 ac_res=`eval 'as_val=${'$as_ac_Header'}
11809 $as_echo "$as_val"'`
11810 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11811 $as_echo "$ac_res" >&6; }
11813 # Is the header compilable?
11814 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11815 $as_echo_n "checking $ac_header usability... " >&6; }
11816 cat >conftest.$ac_ext <<_ACEOF
11819 cat confdefs.h >>conftest.$ac_ext
11820 cat >>conftest.$ac_ext <<_ACEOF
11821 /* end confdefs.h. */
11822 $ac_includes_default
11823 #include <$ac_header>
11825 rm -f conftest.$ac_objext
11826 if { (ac_try="$ac_compile"
11827 case "(($ac_try" in
11828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11829 *) ac_try_echo
=$ac_try;;
11831 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11832 $as_echo "$ac_try_echo") >&5
11833 (eval "$ac_compile") 2>conftest.er1
11835 grep -v '^ *+' conftest.er1
>conftest.err
11837 cat conftest.err
>&5
11838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } && {
11840 test -z "$ac_c_werror_flag" ||
11841 test ! -s conftest.err
11842 } && test -s conftest.
$ac_objext; then
11843 ac_header_compiler
=yes
11845 $as_echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.
$ac_ext >&5
11848 ac_header_compiler
=no
11851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11852 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11853 $as_echo "$ac_header_compiler" >&6; }
11855 # Is the header present?
11856 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11857 $as_echo_n "checking $ac_header presence... " >&6; }
11858 cat >conftest.
$ac_ext <<_ACEOF
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 #include <$ac_header>
11866 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11867 case "(($ac_try" in
11868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11869 *) ac_try_echo=$ac_try;;
11871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11872 $as_echo "$ac_try_echo") >&5
11873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11875 grep -v '^ *+' conftest.er1 >conftest.err
11877 cat conftest.err >&5
11878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } >/dev/null && {
11880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11881 test ! -s conftest.err
11883 ac_header_preproc=yes
11885 $as_echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.$ac_ext >&5
11888 ac_header_preproc=no
11891 rm -f conftest.err conftest.$ac_ext
11892 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11893 $as_echo "$ac_header_preproc" >&6; }
11895 # So? What about this header?
11896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11899 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11901 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11902 ac_header_preproc=yes
11905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11906 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11908 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11910 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11912 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11914 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11916 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11920 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11921 $as_echo_n "checking for $ac_header... " >&6; }
11922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11923 $as_echo_n "(cached) " >&6
11925 eval "$as_ac_Header=\$ac_header_preproc"
11927 ac_res=`eval 'as_val=${'$as_ac_Header'}
11928 $as_echo "$as_val"'`
11929 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11930 $as_echo "$ac_res" >&6; }
11933 as_val=`eval 'as_val=${'$as_ac_Header'}
11934 $as_echo "$as_val"'`
11935 if test "x$as_val" = x""yes; then
11936 cat >>confdefs.h <<_ACEOF
11937 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11941 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
11942 $as_echo "$as_me: error: bailing out" >&2;}
11943 { (exit 1); exit 1; }; }
11950 if test x$HAVE_SELINUX = xyes; then
11952 for ac_header in selinux/selinux.h
11954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11956 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11957 $as_echo_n "checking for $ac_header... " >&6; }
11958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11959 $as_echo_n "(cached) " >&6
11961 ac_res=`eval 'as_val=${'$as_ac_Header'}
11962 $as_echo "$as_val"'`
11963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11964 $as_echo "$ac_res" >&6; }
11966 # Is the header compilable?
11967 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11968 $as_echo_n "checking $ac_header usability... " >&6; }
11969 cat >conftest.$ac_ext <<_ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11975 $ac_includes_default
11976 #include <$ac_header>
11978 rm -f conftest.$ac_objext
11979 if { (ac_try="$ac_compile"
11980 case "(($ac_try" in
11981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11982 *) ac_try_echo
=$ac_try;;
11984 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11985 $as_echo "$ac_try_echo") >&5
11986 (eval "$ac_compile") 2>conftest.er1
11988 grep -v '^ *+' conftest.er1
>conftest.err
11990 cat conftest.err
>&5
11991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } && {
11993 test -z "$ac_c_werror_flag" ||
11994 test ! -s conftest.err
11995 } && test -s conftest.
$ac_objext; then
11996 ac_header_compiler
=yes
11998 $as_echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.
$ac_ext >&5
12001 ac_header_compiler
=no
12004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12005 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12006 $as_echo "$ac_header_compiler" >&6; }
12008 # Is the header present?
12009 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12010 $as_echo_n "checking $ac_header presence... " >&6; }
12011 cat >conftest.
$ac_ext <<_ACEOF
12014 cat confdefs.h
>>conftest.
$ac_ext
12015 cat >>conftest.
$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <$ac_header>
12019 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12020 case "(($ac_try" in
12021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12022 *) ac_try_echo=$ac_try;;
12024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12025 $as_echo "$ac_try_echo") >&5
12026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12028 grep -v '^ *+' conftest.er1 >conftest.err
12030 cat conftest.err >&5
12031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); } >/dev/null && {
12033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12034 test ! -s conftest.err
12036 ac_header_preproc=yes
12038 $as_echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12041 ac_header_preproc=no
12044 rm -f conftest.err conftest.$ac_ext
12045 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12046 $as_echo "$ac_header_preproc" >&6; }
12048 # So? What about this header?
12049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12052 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12054 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12055 ac_header_preproc=yes
12058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12059 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12061 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12063 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12065 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12067 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12069 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12073 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12074 $as_echo_n "checking for $ac_header... " >&6; }
12075 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12076 $as_echo_n "(cached) " >&6
12078 eval "$as_ac_Header=\$ac_header_preproc"
12080 ac_res=`eval 'as_val=${'$as_ac_Header'}
12081 $as_echo "$as_val"'`
12082 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12083 $as_echo "$ac_res" >&6; }
12086 as_val=`eval 'as_val=${'$as_ac_Header'}
12087 $as_echo "$as_val"'`
12088 if test "x$as_val" = x""yes; then
12089 cat >>confdefs.h <<_ACEOF
12090 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12094 { { $as_echo "$as_me:$LINENO: error: bailing out" >&5
12095 $as_echo "$as_me: error: bailing out" >&2;}
12096 { (exit 1); exit 1; }; }
12103 ################################################################################
12104 # Extract the first word of "modprobe", so it can be a program name with args.
12105 set dummy modprobe; ac_word=$2
12106 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12107 $as_echo_n "checking for $ac_word... " >&6; }
12108 if test "${ac_cv_path_MODPROBE_CMD+set}" = set; then
12109 $as_echo_n "(cached) " >&6
12111 case $MODPROBE_CMD in
12113 ac_cv_path_MODPROBE_CMD="$MODPROBE_CMD" # Let the user override the test with a path.
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_path_MODPROBE_CMD="$as_dir/$ac_word$ac_exec_ext"
12124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 MODPROBE_CMD=$ac_cv_path_MODPROBE_CMD
12135 if test -n "$MODPROBE_CMD"; then
12136 { $as_echo "$as_me:$LINENO: result: $MODPROBE_CMD" >&5
12137 $as_echo "$MODPROBE_CMD" >&6; }
12139 { $as_echo "$as_me:$LINENO: result: no" >&5
12140 $as_echo "no" >&6; }
12145 if test x$MODPROBE_CMD != x; then
12147 cat >>confdefs.h <<_ACEOF
12148 #define MODPROBE_CMD "$MODPROBE_CMD"
12153 ################################################################################
12156 if test "$BUILD_DMEVENTD" = yes; then
12158 # Check whether --with-dmeventd-pidfile was given.
12159 if test "${with_dmeventd_pidfile+set}" = set; then
12160 withval=$with_dmeventd_pidfile; cat >>confdefs.h <<_ACEOF
12161 #define DMEVENTD_PIDFILE "$withval"
12165 cat >>confdefs.h <<_ACEOF
12166 #define DMEVENTD_PIDFILE "/var/run/dmeventd.pid"
12175 if test "$BUILD_DMEVENTD" = yes; then
12176 dmeventd_prefix="$exec_prefix"
12177 if test "x$dmeventd_prefix" = "xNONE"; then
12178 dmeventd_prefix="$prefix"
12180 if test "x$dmeventd_prefix" = "xNONE"; then
12184 # Check whether --with-dmeventd-path was given.
12185 if test "${with_dmeventd_path+set}" = set; then
12186 withval=$with_dmeventd_path; cat >>confdefs.h <<_ACEOF
12187 #define DMEVENTD_PATH "$withval"
12191 cat >>confdefs.h <<_ACEOF
12192 #define DMEVENTD_PATH "$dmeventd_prefix/sbin/dmeventd"
12199 ################################################################################
12200 { $as_echo "$as_me:$LINENO: checking for kernel interface choice" >&5
12201 $as_echo_n "checking for kernel interface choice... " >&6; }
12203 # Check whether --with-interface was given.
12204 if test "${with_interface+set}" = set; then
12205 withval=$with_interface; interface="$withval"
12210 if [ "x$interface" != xioctl ];
12212 { { $as_echo "$as_me:$LINENO: error: --with-interface=ioctl required. fs no longer supported." >&5
12213 $as_echo "$as_me: error: --with-interface=ioctl required. fs no longer supported." >&2;}
12214 { (exit 1); exit 1; }; }
12216 { $as_echo "$as_me:$LINENO: result: $interface" >&5
12217 $as_echo "$interface" >&6; }
12219 ################################################################################
12220 DM_LIB_VERSION="\"`cat VERSION_DM
2>/dev
/null ||
echo Unknown
`\""
12222 cat >>confdefs.h <<_ACEOF
12223 #define DM_LIB_VERSION $DM_LIB_VERSION
12227 DM_LIB_PATCHLEVEL=`cat VERSION_DM |
$AWK -F '[-. ]' '{printf "%s.%s.%s",$1,$2,$3}'`
12229 LVM_VERSION="\"`cat VERSION
2>/dev
/null ||
echo Unknown
`\""
12232 LVM_RELEASE_DATE="\"`echo $VER |
$SED 's/.*(//;s/).*//'`\""
12233 VER=`echo "$VER" |
$AWK '{print $1}'`
12234 LVM_RELEASE="\"`echo "$VER" |
$AWK -F '-' '{print $2}'`\""
12235 VER=`echo "$VER" |
$AWK -F '-' '{print $1}'`
12236 LVM_MAJOR=`echo "$VER" |
$AWK -F '.' '{print $1}'`
12237 LVM_MINOR=`echo "$VER" |
$AWK -F '.' '{print $2}'`
12238 LVM_PATCHLEVEL=`echo "$VER" |
$AWK -F '.' '{print $3}'`
12240 ################################################################################
12300 ################################################################################
12301 ac_config_files="$ac_config_files Makefile make.tmpl daemons/Makefile daemons/clvmd/Makefile daemons/dmeventd/Makefile daemons/dmeventd/libdevmapper-event.pc daemons/dmeventd/plugins/Makefile daemons/dmeventd/plugins/mirror/Makefile daemons/dmeventd/plugins/snapshot/Makefile doc/Makefile include/Makefile lib/Makefile lib/format1/Makefile lib/format_pool/Makefile lib/locking/Makefile lib/mirror/Makefile lib/misc/lvm-version.h lib/snapshot/Makefile libdm/Makefile libdm/libdevmapper.pc man/Makefile po/Makefile scripts/clvmd_init_red_hat scripts/Makefile test/Makefile test/api/Makefile tools/Makefile"
12303 cat >confcache <<\_ACEOF
12304 # This file is a shell script that caches the results of configure
12305 # tests run on this system so they can be shared between configure
12306 # scripts and configure runs, see configure's option --config-cache.
12307 # It is not useful on other systems. If it contains results you don't
12308 # want to keep, you may remove or edit it.
12310 # config.status only pays attention to the cache file if you give it
12311 # the --recheck option to rerun configure.
12313 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12315 # following values.
12319 # The following way of writing the cache mishandles newlines in values,
12320 # but we know of no workaround that is simple, portable, and efficient.
12321 # So, we kill variables containing newlines.
12322 # Ultrix sh set writes to stderr and can't be redirected directly,
12323 # and sets the high bit in the cache file unless we assign to the vars.
12325 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12326 eval ac_val
=\$
$ac_var
12330 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12331 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12334 _ | IFS | as_nl
) ;; #(
12335 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12336 *) $as_unset $ac_var ;;
12342 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12343 *${as_nl}ac_space
=\
*)
12344 # `set' does not quote correctly, so add quotes (double-quote
12345 # substitution turns \\\\ into \\, and sed turns \\ into \).
12348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12351 # `set' quotes correctly as required by POSIX, so do not add quotes.
12352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12361 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12363 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12365 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12366 if test -w "$cache_file"; then
12367 test "x$cache_file" != "x/dev/null" &&
12368 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12369 $as_echo "$as_me: updating cache $cache_file" >&6;}
12370 cat confcache
>$cache_file
12372 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12373 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12378 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12379 # Let make expand exec_prefix.
12380 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12382 DEFS
=-DHAVE_CONFIG_H
12386 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12387 # 1. Remove the extension, and $U if already installed.
12388 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12389 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12390 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12391 # will be set to the directory where LIBOBJS objects are built.
12392 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12393 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12395 LIBOBJS
=$ac_libobjs
12397 LTLIBOBJS
=$ac_ltlibobjs
12401 : ${CONFIG_STATUS=./config.status}
12403 ac_clean_files_save
=$ac_clean_files
12404 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12405 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12407 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12409 # Generated by $as_me.
12410 # Run this file to recreate the current configuration.
12411 # Compiler output produced by configure, useful for debugging
12412 # configure, is in config.log if it exists.
12415 ac_cs_recheck=false
12417 SHELL=\${CONFIG_SHELL-$SHELL}
12420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12421 ## --------------------- ##
12422 ## M4sh Initialization. ##
12423 ## --------------------- ##
12425 # Be more Bourne compatible
12426 DUALCASE
=1; export DUALCASE
# for MKS sh
12427 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12430 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12431 # is contrary to our usage. Disable this feature.
12432 alias -g '${1+"$@"}'='"$@"'
12433 setopt NO_GLOB_SUBST
12435 case `(set -o) 2>/dev/null` in
12436 *posix
*) set -o posix
;;
12445 # Avoid depending upon Character Ranges.
12446 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12447 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12448 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12449 as_cr_digits
='0123456789'
12450 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12455 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12456 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12457 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12458 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12459 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12460 as_echo='printf %s
\n'
12461 as_echo_n='printf %s
'
12463 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12464 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12465 as_echo_n='/usr
/ucb
/echo -n'
12467 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12468 as_echo_n_body='eval
12472 expr "X$arg" : "X\\(.*\\)$as_nl";
12473 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12475 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12477 export as_echo_n_body
12478 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12480 export as_echo_body
12481 as_echo='sh
-c $as_echo_body as_echo
'
12484 # The user is always right.
12485 if test "${PATH_SEPARATOR+set}" != set; then
12487 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12488 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12493 # Support unset when possible.
12494 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12502 # We need space, tab and new line, in precisely that order. Quoting is
12503 # there to prevent editors from complaining about space-tab.
12504 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12505 # splitting by setting IFS to empty value.)
12508 # Find who we are. Look in the path if we contain no directory separator.
12510 *[\\/]* ) as_myself=$0 ;;
12511 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12512 for as_dir in $PATH
12515 test -z "$as_dir" && as_dir=.
12516 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12522 # We did not find ourselves, most probably we were run as `sh COMMAND'
12523 # in which case we are not to be found in the path.
12524 if test "x$as_myself" = x
; then
12527 if test ! -f "$as_myself"; then
12528 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12529 { (exit 1); exit 1; }
12532 # Work around bugs in pre-3.0 UWIN ksh.
12533 for as_var
in ENV MAIL MAILPATH
12534 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12546 # Required to use basename.
12547 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12548 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12554 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12555 as_basename
=basename
12561 # Name of the executable.
12562 as_me
=`$as_basename -- "$0" ||
12563 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12564 X"$0" : 'X\(//\)$' \| \
12565 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12567 sed '/^.*\/\([^/][^/]*\)\/*$/{
12586 as_lineno_1
=$LINENO
12587 as_lineno_2
=$LINENO
12588 test "x$as_lineno_1" != "x$as_lineno_2" &&
12589 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12591 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12592 # uniformly replaced by the line number. The first 'sed' inserts a
12593 # line-number line after each line using $LINENO; the second 'sed'
12594 # does the real work. The second script uses 'N' to pair each
12595 # line-number line with the line containing $LINENO, and appends
12596 # trailing '-' during substitution so that $LINENO is not a special
12597 # case at line end.
12598 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12599 # scripts with optimization help from Paolo Bonzini. Blame Lee
12600 # E. McMahon (1931-1989) for sed's syntax. :-)
12612 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12615 ' >$as_me.lineno
&&
12616 chmod +x
"$as_me.lineno" ||
12617 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12618 { (exit 1); exit 1; }; }
12620 # Don't try to exec as it changes $[0], causing all sort of problems
12621 # (the dirname of $[0] is not the place where we might find the
12622 # original and so on. Autoconf is especially sensitive to this).
12623 .
"./$as_me.lineno"
12624 # Exit status is that of the last command.
12629 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12635 ECHO_C
= ECHO_N
= ECHO_T
=
12636 case `echo -n x` in
12638 case `echo 'x\c'` in
12639 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12645 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12646 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12652 rm -f conf$$ conf$$.exe conf$$.
file
12653 if test -d conf$$.dir
; then
12654 rm -f conf$$.dir
/conf$$.
file
12657 mkdir conf$$.dir
2>/dev
/null
12659 if (echo >conf$$.
file) 2>/dev
/null
; then
12660 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12662 # ... but there are two gotchas:
12663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12665 # In both cases, we have to default to `cp -p'.
12666 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12668 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12676 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12677 rmdir conf$$.dir
2>/dev
/null
12679 if mkdir
-p .
2>/dev
/null
; then
12682 test -d .
/-p && rmdir .
/-p
12686 if test -x / >/dev
/null
2>&1; then
12687 as_test_x
='test -x'
12689 if ls -dL / >/dev
/null
2>&1; then
12696 if test -d "$1"; then
12702 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12703 ???[sx]*):;;*)false;;esac;fi
12707 as_executable_p
=$as_test_x
12709 # Sed expression to map a string onto a valid CPP name.
12710 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12712 # Sed expression to map a string onto a valid variable name.
12713 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12718 # Save the log message, to keep $[0] and so on meaningful, and to
12719 # report actual input values of CONFIG_FILES etc. instead of their
12720 # values after options handling.
12722 This file was extended by $as_me, which was
12723 generated by GNU Autoconf 2.63. Invocation command line was
12725 CONFIG_FILES = $CONFIG_FILES
12726 CONFIG_HEADERS = $CONFIG_HEADERS
12727 CONFIG_LINKS = $CONFIG_LINKS
12728 CONFIG_COMMANDS = $CONFIG_COMMANDS
12731 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12736 case $ac_config_files in *"
12737 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12740 case $ac_config_headers in *"
12741 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12746 # Files that config.status was made for.
12747 config_files="$ac_config_files"
12748 config_headers="$ac_config_headers"
12752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12754 \`$as_me' instantiates files from templates according to the
12755 current configuration.
12757 Usage: $0 [OPTION]... [FILE]...
12759 -h, --help print this help, then exit
12760 -V, --version print version number and configuration settings, then exit
12761 -q, --quiet, --silent
12762 do not print progress messages
12763 -d, --debug don't remove temporary files
12764 --recheck update $as_me by reconfiguring in the same conditions
12765 --file=FILE[:TEMPLATE]
12766 instantiate the configuration file FILE
12767 --header=FILE[:TEMPLATE]
12768 instantiate the configuration header FILE
12770 Configuration files:
12773 Configuration headers:
12776 Report bugs to <bug-autoconf@gnu.org>."
12779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12782 configured by $0, generated by GNU Autoconf 2.63,
12783 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12785 Copyright (C) 2008 Free Software Foundation, Inc.
12786 This config.status script is free software; the Free Software Foundation
12787 gives unlimited permission to copy, distribute and modify it."
12794 test -n "\$AWK" || AWK=awk
12797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12798 # The default lists apply if the user does not specify any file.
12804 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12805 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12816 # Handling of the options.
12817 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12819 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12820 $as_echo "$ac_cs_version"; exit ;;
12821 --debug |
--debu |
--deb |
--de |
--d |
-d )
12823 --file |
--fil |
--fi |
--f )
12826 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12828 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
12829 ac_need_defaults
=false
;;
12830 --header |
--heade |
--head |
--hea )
12833 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12835 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
12836 ac_need_defaults
=false
;;
12838 # Conflict between --help and --header
12839 { $as_echo "$as_me: error: ambiguous option: $1
12840 Try \`$0 --help' for more information." >&2
12841 { (exit 1); exit 1; }; };;
12842 --help |
--hel |
-h )
12843 $as_echo "$ac_cs_usage"; exit ;;
12844 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12845 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12848 # This is an error.
12849 -*) { $as_echo "$as_me: error: unrecognized option: $1
12850 Try \`$0 --help' for more information." >&2
12851 { (exit 1); exit 1; }; } ;;
12853 *) ac_config_targets
="$ac_config_targets $1"
12854 ac_need_defaults
=false
;;
12860 ac_configure_extra_args
=
12862 if $ac_cs_silent; then
12864 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12869 if \$ac_cs_recheck; then
12870 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12872 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12873 CONFIG_SHELL='$SHELL'
12874 export CONFIG_SHELL
12879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12884 ## Running $as_me. ##
12890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12895 # Handling of arguments.
12896 for ac_config_target
in $ac_config_targets
12898 case $ac_config_target in
12899 "lib/misc/configure.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/misc/configure.h" ;;
12900 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12901 "make.tmpl") CONFIG_FILES
="$CONFIG_FILES make.tmpl" ;;
12902 "daemons/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/Makefile" ;;
12903 "daemons/clvmd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/clvmd/Makefile" ;;
12904 "daemons/dmeventd/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
12905 "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
12906 "daemons/dmeventd/plugins/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/Makefile" ;;
12907 "daemons/dmeventd/plugins/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/mirror/Makefile" ;;
12908 "daemons/dmeventd/plugins/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES daemons/dmeventd/plugins/snapshot/Makefile" ;;
12909 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12910 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12911 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12912 "lib/format1/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format1/Makefile" ;;
12913 "lib/format_pool/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/format_pool/Makefile" ;;
12914 "lib/locking/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/locking/Makefile" ;;
12915 "lib/mirror/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/mirror/Makefile" ;;
12916 "lib/misc/lvm-version.h") CONFIG_FILES
="$CONFIG_FILES lib/misc/lvm-version.h" ;;
12917 "lib/snapshot/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/snapshot/Makefile" ;;
12918 "libdm/Makefile") CONFIG_FILES
="$CONFIG_FILES libdm/Makefile" ;;
12919 "libdm/libdevmapper.pc") CONFIG_FILES
="$CONFIG_FILES libdm/libdevmapper.pc" ;;
12920 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12921 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
12922 "scripts/clvmd_init_red_hat") CONFIG_FILES
="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
12923 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
12924 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
12925 "test/api/Makefile") CONFIG_FILES
="$CONFIG_FILES test/api/Makefile" ;;
12926 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12928 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12929 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12930 { (exit 1); exit 1; }; };;
12935 # If the user did not use the arguments to specify the items to instantiate,
12936 # then the envvar interface is used. Set only those that are not.
12937 # We use the long form for the default assignment because of an extremely
12938 # bizarre bug on SunOS 4.1.3.
12939 if $ac_need_defaults; then
12940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12941 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12944 # Have a temporary directory for convenience. Make it in the build tree
12945 # simply because there is no reason against having it here, and in addition,
12946 # creating and moving files from /tmp can sometimes cause problems.
12947 # Hook for its removal unless debugging.
12948 # Note that there is a small window in which the directory will not be cleaned:
12949 # after its creation but before its name has been assigned to `$tmp'.
12953 trap 'exit_status=$?
12954 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12956 trap '{ (exit 1); exit 1; }' 1 2 13 15
12958 # Create a (secure) tmp directory for tmp files.
12961 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12962 test -n "$tmp" && test -d "$tmp"
12965 tmp
=.
/conf$$
-$RANDOM
12966 (umask 077 && mkdir
"$tmp")
12969 $as_echo "$as_me: cannot create a temporary directory in ." >&2
12970 { (exit 1); exit 1; }
12973 # Set up the scripts for CONFIG_FILES section.
12974 # No need to generate them if there are no CONFIG_FILES.
12975 # This happens for instance with `./config.status config.h'.
12976 if test -n "$CONFIG_FILES"; then
12980 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12981 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12984 ac_cs_awk_cr
=$ac_cr
12987 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12992 echo "cat >conf$$subs.awk <<_ACEOF" &&
12993 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12995 } >conf$$subs.sh ||
12996 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
12997 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
12998 { (exit 1); exit 1; }; }
12999 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13001 for ac_last_try in false false false false false :; do
13002 . ./conf$$subs.sh ||
13003 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13004 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13005 { (exit 1); exit 1; }; }
13007 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13008 if test $ac_delim_n = $ac_delim_num; then
13010 elif $ac_last_try; then
13011 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13012 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13013 { (exit 1); exit 1; }; }
13015 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13018 rm -f conf$$subs.sh
13020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13021 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13025 s/^/S["/; s
/!.
*/"]=/
13035 s/\(.\{148\}\).*/\1/
13037 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13042 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13049 s/\(.\{148\}\).*/\1/
13051 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13055 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13060 ' <conf$$subs.awk | sed '
13065 ' >>$CONFIG_STATUS || ac_write_fail=1
13066 rm -f conf$$subs.awk
13067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13069 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13070 for (key in S) S_is_set[key] = 1
13076 nfields = split(line, field, "@
")
13078 len = length(field[1])
13079 for (i = 2; i < nfields; i++) {
13081 keylen = length(key)
13082 if (S_is_set[key]) {
13084 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13085 len += length(value) + length(field[++i])
13096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13097 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13098 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13101 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13102 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13103 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13104 { (exit 1); exit 1; }; }
13107 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13108 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13109 # trailing colons and then remove the whole line if VPATH becomes empty
13110 # (actually we leave an empty line to preserve line numbers).
13111 if test "x
$srcdir" = x.; then
13112 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13113 s/:*\$(srcdir):*/:/
13114 s/:*\${srcdir}:*/:/
13116 s/^\([^=]*=[ ]*\):*/\1/
13122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13123 fi # test -n "$CONFIG_FILES"
13125 # Set up the scripts for CONFIG_HEADERS section.
13126 # No need to generate them if there are no CONFIG_HEADERS.
13127 # This happens for instance with `./config.status Makefile'.
13128 if test -n "$CONFIG_HEADERS"; then
13129 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13133 # Transform confdefs.h into an awk script `defines.awk', embedded as
13134 # here-document in config.status, that substitutes the proper values into
13135 # config.h.in to produce config.h.
13137 # Create a delimiter string that does not exist in confdefs.h, to ease
13138 # handling of long lines.
13140 for ac_last_try in false false :; do
13141 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13142 if test -z "$ac_t"; then
13144 elif $ac_last_try; then
13145 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13146 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13147 { (exit 1); exit 1; }; }
13149 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13153 # For the awk script, D is an array of macro values keyed by name,
13154 # likewise P contains macro parameters if any. Preserve backslash
13155 # newline sequences.
13157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13159 s/.\{148\}/&'"$ac_delim"'/g
13162 s/^[ ]*#[ ]*define[ ][ ]*/ /
13169 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13171 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13176 D["\
1"]=" \
3\\\\\\n
"\\/p
13178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13183 s/.\{148\}/&'"$ac_delim"'/g
13188 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13191 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13193 ' <confdefs.h | sed '
13194 s/'"$ac_delim"'/"\\\
13195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13198 for (key in D) D_is_set[key] = 1
13201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13203 split(line, arg, " ")
13204 if (arg[1] == "#") {
13208 defundef
= substr
(arg
[1], 2)
13211 split(mac1
, mac2
, "(") #)
13213 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13214 if (D_is_set
[macro
]) {
13215 # Preserve the white space surrounding the "#".
13216 print prefix
"define", macro P
[macro
] D
[macro
]
13219 # Replace #undef with comments. This is necessary, for example,
13220 # in the case of _POSIX_SOURCE, which is predefined and required
13221 # on some systems where configure will not decide to define it.
13222 if (defundef
== "undef") {
13223 print
"/*", prefix defundef
, macro
, "*/"
13231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13232 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13233 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13234 { (exit 1); exit 1; }; }
13235 fi # test -n "$CONFIG_HEADERS"
13238 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
13243 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13245 case $ac_mode$ac_tag in
13247 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13248 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13249 { (exit 1); exit 1; }; };;
13250 :[FH
]-) ac_tag
=-:-;;
13251 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13268 -) ac_f
="$tmp/stdin";;
13269 *) # Look for the file first in the build tree, then in the source tree
13270 # (if the path is not absolute). The absolute path cannot be DOS-style,
13271 # because $ac_f cannot contain `:'.
13275 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13277 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13278 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13279 { (exit 1); exit 1; }; };;
13281 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13282 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13285 # Let's still pretend it is `configure' which instantiates (i.e., don't
13286 # use $as_me), people would be surprised to read:
13287 # /* config.h. Generated by config.status. */
13288 configure_input
='Generated from '`
13289 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13291 if test x
"$ac_file" != x-
; then
13292 configure_input
="$ac_file. $configure_input"
13293 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13294 $as_echo "$as_me: creating $ac_file" >&6;}
13296 # Neutralize special characters interpreted by sed in replacement strings.
13297 case $configure_input in #(
13298 *\
&* |
*\|
* |
*\\* )
13299 ac_sed_conf_input
=`$as_echo "$configure_input" |
13300 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13301 *) ac_sed_conf_input
=$configure_input;;
13305 *:-:* |
*:-) cat >"$tmp/stdin" \
13306 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13307 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13308 { (exit 1); exit 1; }; } ;;
13313 ac_dir
=`$as_dirname -- "$ac_file" ||
13314 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13315 X"$ac_file" : 'X\(//\)[^/]' \| \
13316 X"$ac_file" : 'X\(//\)$' \| \
13317 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13318 $as_echo X"$ac_file" |
13319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13323 /^X\(\/\/\)[^/].*/{
13338 -*) as_dir
=.
/$as_dir;;
13340 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13344 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13345 *) as_qdir
=$as_dir;;
13347 as_dirs
="'$as_qdir' $as_dirs"
13348 as_dir
=`$as_dirname -- "$as_dir" ||
13349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13350 X"$as_dir" : 'X\(//\)[^/]' \| \
13351 X"$as_dir" : 'X\(//\)$' \| \
13352 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13353 $as_echo X"$as_dir" |
13354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13358 /^X\(\/\/\)[^/].*/{
13371 test -d "$as_dir" && break
13373 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13374 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13375 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13376 { (exit 1); exit 1; }; }; }
13380 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13382 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13383 # A ".." for each directory in $ac_dir_suffix.
13384 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13385 case $ac_top_builddir_sub in
13386 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13387 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13390 ac_abs_top_builddir
=$ac_pwd
13391 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13392 # for backward compatibility:
13393 ac_top_builddir
=$ac_top_build_prefix
13396 .
) # We are building in place.
13398 ac_top_srcdir
=$ac_top_builddir_sub
13399 ac_abs_top_srcdir
=$ac_pwd ;;
13400 [\\/]* | ?
:[\\/]* ) # Absolute name.
13401 ac_srcdir
=$srcdir$ac_dir_suffix;
13402 ac_top_srcdir
=$srcdir
13403 ac_abs_top_srcdir
=$srcdir ;;
13404 *) # Relative name.
13405 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13406 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13407 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13409 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13419 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13420 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13422 ac_MKDIR_P
=$MKDIR_P
13424 [\\/$
]* | ?
:[\\/]* ) ;;
13425 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13430 # If the template does not know about datarootdir, expand it.
13431 # FIXME: This hack should be removed a few years after 2.60.
13432 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13445 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13446 *datarootdir
*) ac_datarootdir_seen
=yes;;
13447 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13448 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13449 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13452 ac_datarootdir_hack='
13453 s&@datadir@&$datadir&g
13454 s&@docdir@&$docdir&g
13455 s&@infodir@&$infodir&g
13456 s&@localedir@&$localedir&g
13457 s&@mandir@&$mandir&g
13458 s&\\\${datarootdir}&$datarootdir&g' ;;
13462 # Neutralize VPATH when `$srcdir' = `.'.
13463 # Shell code in configure.ac might set extrasub.
13464 # FIXME: do we really want to maintain this feature?
13465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13466 ac_sed_extra="$ac_vpsub
13469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13471 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13472 s|@configure_input@|
$ac_sed_conf_input|
;t t
13473 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13474 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13475 s
&@srcdir@
&$ac_srcdir&;t t
13476 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13477 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13478 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13479 s
&@builddir@
&$ac_builddir&;t t
13480 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13481 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13482 s
&@INSTALL@
&$ac_INSTALL&;t t
13483 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13484 $ac_datarootdir_hack
13486 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13487 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
13488 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
13489 { (exit 1); exit 1; }; }
13491 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13492 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13493 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13494 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13495 which seems to be undefined. Please make sure it is defined." >&5
13496 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13497 which seems to be undefined. Please make sure it is defined." >&2;}
13501 -) cat "$tmp/out" && rm -f "$tmp/out";;
13502 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13504 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13505 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13506 { (exit 1); exit 1; }; }
13512 if test x"$ac_file" != x-; then
13514 $as_echo "/* $configure_input */" \
13515 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13516 } >"$tmp/config.h" \
13517 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13518 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13519 { (exit 1); exit 1; }; }
13520 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13521 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13522 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13525 mv "$tmp/config.h" "$ac_file" \
13526 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13527 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13528 { (exit 1); exit 1; }; }
13531 $as_echo "/* $configure_input */" \
13532 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13533 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13534 $as_echo "$as_me: error: could not create -" >&2;}
13535 { (exit 1); exit 1; }; }
13545 { (exit 0); exit 0; }
13547 chmod +x $CONFIG_STATUS
13548 ac_clean_files=$ac_clean_files_save
13550 test $ac_write_fail = 0 ||
13551 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13552 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13553 { (exit 1); exit 1; }; }
13556 # configure is writing to config.log, and then calls config.status.
13557 # config.status does its own redirection, appending to config.log.
13558 # Unfortunately, on DOS this fails, as config.log is still kept open
13559 # by configure, so config.status won't be able to
write to it
; its
13560 # output is simply discarded. So we exec the FD to /dev/null,
13561 # effectively closing config.log, so it can be properly (re)opened and
13562 # appended to by config.status. When coming back to configure, we
13563 # need to make the FD available again.
13564 if test "$no_create" != yes; then
13566 ac_config_status_args
=
13567 test "$silent" = yes &&
13568 ac_config_status_args
="$ac_config_status_args --quiet"
13570 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13572 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13573 # would make configure fail if this is the last instruction.
13574 $ac_cs_success ||
{ (exit 1); exit 1; }
13576 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13577 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13578 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13582 if test x
$ODIRECT != xyes
; then
13583 { $as_echo "$as_me:$LINENO: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&5
13584 $as_echo "$as_me: WARNING: Warning: O_DIRECT disabled: low-memory pvmove may lock up" >&2;}