diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-21 07:35:17 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-21 07:35:17 +0000 |
commit | e7d41a5970c61de69194bfe84460ca4f207a1c3c (patch) | |
tree | 741250ccb084c0eeba91586bcd99cd9ca97c6d75 /sysutils/fam | |
parent | db384d6bb836af2d95b4f632a409c3cb90057008 (diff) | |
download | pkgsrc-e7d41a5970c61de69194bfe84460ca4f207a1c3c.tar.gz |
The configure script defines HAVE_STATVFS as 0 on non-IRIX platforms,
regardless of the result of sys/statvfs.h availability test. It
results in two definitions of HAVE_STATVFS in confdefs.h. Check the
availability of sys/statvfs.h only on IRIX platforms to ensure that
HAVE_STATVFS is defined at most once.
Diffstat (limited to 'sysutils/fam')
-rw-r--r-- | sysutils/fam/distinfo | 4 | ||||
-rw-r--r-- | sysutils/fam/patches/patch-ax | 399 |
2 files changed, 399 insertions, 4 deletions
diff --git a/sysutils/fam/distinfo b/sysutils/fam/distinfo index d84a83e8119..e12693b966c 100644 --- a/sysutils/fam/distinfo +++ b/sysutils/fam/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2004/02/09 18:14:45 jmmv Exp $ +$NetBSD: distinfo,v 1.7 2004/03/21 07:35:17 minskim Exp $ SHA1 (fam-2.6.10.tar.gz) = 24899a1afe6a520c6980f1c41d5657db01d11692 Size (fam-2.6.10.tar.gz) = 321189 bytes @@ -16,4 +16,4 @@ SHA1 (patch-ap) = 75ca4b6a32f1c3ed1a085457b4de9bb228242fad SHA1 (patch-au) = 5e87df2bb202b6a45f588474a4df1e7ecc575288 SHA1 (patch-av) = 8da3b718921df0f4a1e9a8924c6914d1bdc03bab SHA1 (patch-aw) = e94071bbefa01c54232915a0fbe211984e59943b -SHA1 (patch-ax) = a055c366d7be91c4c5b96c3877de1a42947b9372 +SHA1 (patch-ax) = 40890a24d0c767324b1432fb0a0585f3084e6d17 diff --git a/sysutils/fam/patches/patch-ax b/sysutils/fam/patches/patch-ax index cab449ebc00..73bae41bc09 100644 --- a/sysutils/fam/patches/patch-ax +++ b/sysutils/fam/patches/patch-ax @@ -1,7 +1,402 @@ -$NetBSD: patch-ax,v 1.3 2004/02/09 18:14:45 jmmv Exp $ +$NetBSD: patch-ax,v 1.4 2004/03/21 07:35:17 minskim Exp $ ---- configure.orig 2003-04-15 08:17:16.000000000 +0200 +--- configure.orig 2003-04-15 01:17:16.000000000 -0500 +++ configure +@@ -8899,18 +8899,18 @@ fi + + echo "Using imon support module $IMON_FUNCS" + +-if test "${ac_cv_header_sys_statvfs_h+set}" = set; then +- echo "$as_me:$LINENO: checking for sys/statvfs.h" >&5 +-echo $ECHO_N "checking for sys/statvfs.h... $ECHO_C" >&6 +-if test "${ac_cv_header_sys_statvfs_h+set}" = set; then ++if test "${ac_cv_header_sys_syssgi_h+set}" = set; then ++ echo "$as_me:$LINENO: checking for sys/syssgi.h" >&5 ++echo $ECHO_N "checking for sys/syssgi.h... $ECHO_C" >&6 ++if test "${ac_cv_header_sys_syssgi_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + fi +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_statvfs_h" >&5 +-echo "${ECHO_T}$ac_cv_header_sys_statvfs_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header_sys_syssgi_h" >&5 ++echo "${ECHO_T}$ac_cv_header_sys_syssgi_h" >&6 + else + # Is the header compilable? +-echo "$as_me:$LINENO: checking sys/statvfs.h usability" >&5 +-echo $ECHO_N "checking sys/statvfs.h usability... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking sys/syssgi.h usability" >&5 ++echo $ECHO_N "checking sys/syssgi.h usability... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -8919,7 +8919,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default +-#include <sys/statvfs.h> ++#include <sys/syssgi.h> + _ACEOF + rm -f conftest.$ac_objext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +@@ -8945,8 +8945,8 @@ echo "$as_me:$LINENO: result: $ac_header + echo "${ECHO_T}$ac_header_compiler" >&6 + + # Is the header present? +-echo "$as_me:$LINENO: checking sys/statvfs.h presence" >&5 +-echo $ECHO_N "checking sys/statvfs.h presence... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking sys/syssgi.h presence" >&5 ++echo $ECHO_N "checking sys/syssgi.h presence... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -8954,7 +8954,7 @@ _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <sys/statvfs.h> ++#include <sys/syssgi.h> + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +@@ -8987,10 +8987,10 @@ echo "${ECHO_T}$ac_header_preproc" >&6 + # So? What about this header? + case $ac_header_compiler:$ac_header_preproc in + yes:no ) +- { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: sys/statvfs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++echo "$as_me: WARNING: sys/syssgi.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX + ## ------------------------------------ ## +@@ -9001,12 +9001,12 @@ _ASBOX + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) +- { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: sys/statvfs.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: sys/statvfs.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: present but cannot be compiled" >&5 ++echo "$as_me: WARNING: sys/syssgi.h: present but cannot be compiled" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: check for missing prerequisite headers?" >&5 ++echo "$as_me: WARNING: sys/syssgi.h: check for missing prerequisite headers?" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX + ## ------------------------------------ ## +@@ -9017,42 +9017,42 @@ _ASBOX + sed "s/^/$as_me: WARNING: /" >&2 + ;; + esac +-echo "$as_me:$LINENO: checking for sys/statvfs.h" >&5 +-echo $ECHO_N "checking for sys/statvfs.h... $ECHO_C" >&6 +-if test "${ac_cv_header_sys_statvfs_h+set}" = set; then ++echo "$as_me:$LINENO: checking for sys/syssgi.h" >&5 ++echo $ECHO_N "checking for sys/syssgi.h... $ECHO_C" >&6 ++if test "${ac_cv_header_sys_syssgi_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- ac_cv_header_sys_statvfs_h=$ac_header_preproc ++ ac_cv_header_sys_syssgi_h=$ac_header_preproc + fi +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_statvfs_h" >&5 +-echo "${ECHO_T}$ac_cv_header_sys_statvfs_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header_sys_syssgi_h" >&5 ++echo "${ECHO_T}$ac_cv_header_sys_syssgi_h" >&6 + + fi +-if test $ac_cv_header_sys_statvfs_h = yes; then ++if test $ac_cv_header_sys_syssgi_h = yes; then + cat >>confdefs.h <<\_ACEOF +-#define HAVE_STATVFS 1 ++#define HAVE_SYSSGI 1 + _ACEOF +- have_statvfs="yes" ++ + else + cat >>confdefs.h <<\_ACEOF +-#define HAVE_STATVFS 0 ++#define HAVE_SYSSGI 0 + _ACEOF +- have_statvfs="no" ++ + fi + + +-if test "${ac_cv_header_sys_syssgi_h+set}" = set; then +- echo "$as_me:$LINENO: checking for sys/syssgi.h" >&5 +-echo $ECHO_N "checking for sys/syssgi.h... $ECHO_C" >&6 +-if test "${ac_cv_header_sys_syssgi_h+set}" = set; then ++if test "${ac_cv_header_sys_fs_nfs_clnt_h+set}" = set; then ++ echo "$as_me:$LINENO: checking for sys/fs/nfs_clnt.h" >&5 ++echo $ECHO_N "checking for sys/fs/nfs_clnt.h... $ECHO_C" >&6 ++if test "${ac_cv_header_sys_fs_nfs_clnt_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + fi +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_syssgi_h" >&5 +-echo "${ECHO_T}$ac_cv_header_sys_syssgi_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header_sys_fs_nfs_clnt_h" >&5 ++echo "${ECHO_T}$ac_cv_header_sys_fs_nfs_clnt_h" >&6 + else + # Is the header compilable? +-echo "$as_me:$LINENO: checking sys/syssgi.h usability" >&5 +-echo $ECHO_N "checking sys/syssgi.h usability... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking sys/fs/nfs_clnt.h usability" >&5 ++echo $ECHO_N "checking sys/fs/nfs_clnt.h usability... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -9061,7 +9061,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default +-#include <sys/syssgi.h> ++#include <sys/fs/nfs_clnt.h> + _ACEOF + rm -f conftest.$ac_objext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +@@ -9087,8 +9087,8 @@ echo "$as_me:$LINENO: result: $ac_header + echo "${ECHO_T}$ac_header_compiler" >&6 + + # Is the header present? +-echo "$as_me:$LINENO: checking sys/syssgi.h presence" >&5 +-echo $ECHO_N "checking sys/syssgi.h presence... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking sys/fs/nfs_clnt.h presence" >&5 ++echo $ECHO_N "checking sys/fs/nfs_clnt.h presence... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -9096,7 +9096,7 @@ _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <sys/syssgi.h> ++#include <sys/fs/nfs_clnt.h> + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +@@ -9129,10 +9129,10 @@ echo "${ECHO_T}$ac_header_preproc" >&6 + # So? What about this header? + case $ac_header_compiler:$ac_header_preproc in + yes:no ) +- { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: sys/syssgi.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++echo "$as_me: WARNING: sys/fs/nfs_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX + ## ------------------------------------ ## +@@ -9143,12 +9143,12 @@ _ASBOX + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) +- { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: sys/syssgi.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: sys/syssgi.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: sys/syssgi.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: present but cannot be compiled" >&5 ++echo "$as_me: WARNING: sys/fs/nfs_clnt.h: present but cannot be compiled" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: check for missing prerequisite headers?" >&5 ++echo "$as_me: WARNING: sys/fs/nfs_clnt.h: check for missing prerequisite headers?" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX + ## ------------------------------------ ## +@@ -9159,42 +9159,50 @@ _ASBOX + sed "s/^/$as_me: WARNING: /" >&2 + ;; + esac +-echo "$as_me:$LINENO: checking for sys/syssgi.h" >&5 +-echo $ECHO_N "checking for sys/syssgi.h... $ECHO_C" >&6 +-if test "${ac_cv_header_sys_syssgi_h+set}" = set; then ++echo "$as_me:$LINENO: checking for sys/fs/nfs_clnt.h" >&5 ++echo $ECHO_N "checking for sys/fs/nfs_clnt.h... $ECHO_C" >&6 ++if test "${ac_cv_header_sys_fs_nfs_clnt_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- ac_cv_header_sys_syssgi_h=$ac_header_preproc ++ ac_cv_header_sys_fs_nfs_clnt_h=$ac_header_preproc + fi +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_syssgi_h" >&5 +-echo "${ECHO_T}$ac_cv_header_sys_syssgi_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header_sys_fs_nfs_clnt_h" >&5 ++echo "${ECHO_T}$ac_cv_header_sys_fs_nfs_clnt_h" >&6 + + fi +-if test $ac_cv_header_sys_syssgi_h = yes; then ++if test $ac_cv_header_sys_fs_nfs_clnt_h = yes; then + cat >>confdefs.h <<\_ACEOF +-#define HAVE_SYSSGI 1 ++#define HAVE_SYS_FS_NFS_CLNT_H 1 + _ACEOF + + else + cat >>confdefs.h <<\_ACEOF +-#define HAVE_SYSSGI 0 ++#define HAVE_SYS_FS_NFS_CLNT_H 0 + _ACEOF + + fi + + +-if test "${ac_cv_header_sys_fs_nfs_clnt_h+set}" = set; then +- echo "$as_me:$LINENO: checking for sys/fs/nfs_clnt.h" >&5 +-echo $ECHO_N "checking for sys/fs/nfs_clnt.h... $ECHO_C" >&6 +-if test "${ac_cv_header_sys_fs_nfs_clnt_h+set}" = set; then ++ ++if test `uname` != 'IRIX' && test `uname` != 'IRIX64'; then ++ cat >>confdefs.h <<\_ACEOF ++#define HAVE_STATVFS 0 ++_ACEOF ++ ++ have_statvfs="no" ++else ++ if test "${ac_cv_header_sys_statvfs_h+set}" = set; then ++ echo "$as_me:$LINENO: checking for sys/statvfs.h" >&5 ++echo $ECHO_N "checking for sys/statvfs.h... $ECHO_C" >&6 ++if test "${ac_cv_header_sys_statvfs_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + fi +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_fs_nfs_clnt_h" >&5 +-echo "${ECHO_T}$ac_cv_header_sys_fs_nfs_clnt_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header_sys_statvfs_h" >&5 ++echo "${ECHO_T}$ac_cv_header_sys_statvfs_h" >&6 + else + # Is the header compilable? +-echo "$as_me:$LINENO: checking sys/fs/nfs_clnt.h usability" >&5 +-echo $ECHO_N "checking sys/fs/nfs_clnt.h usability... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking sys/statvfs.h usability" >&5 ++echo $ECHO_N "checking sys/statvfs.h usability... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -9203,7 +9211,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default +-#include <sys/fs/nfs_clnt.h> ++#include <sys/statvfs.h> + _ACEOF + rm -f conftest.$ac_objext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +@@ -9229,8 +9237,8 @@ echo "$as_me:$LINENO: result: $ac_header + echo "${ECHO_T}$ac_header_compiler" >&6 + + # Is the header present? +-echo "$as_me:$LINENO: checking sys/fs/nfs_clnt.h presence" >&5 +-echo $ECHO_N "checking sys/fs/nfs_clnt.h presence... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking sys/statvfs.h presence" >&5 ++echo $ECHO_N "checking sys/statvfs.h presence... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -9238,7 +9246,7 @@ _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <sys/fs/nfs_clnt.h> ++#include <sys/statvfs.h> + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +@@ -9271,10 +9279,10 @@ echo "${ECHO_T}$ac_header_preproc" >&6 + # So? What about this header? + case $ac_header_compiler:$ac_header_preproc in + yes:no ) +- { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: sys/fs/nfs_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++echo "$as_me: WARNING: sys/statvfs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX + ## ------------------------------------ ## +@@ -9285,12 +9293,12 @@ _ASBOX + sed "s/^/$as_me: WARNING: /" >&2 + ;; + no:yes ) +- { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: sys/fs/nfs_clnt.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: sys/fs/nfs_clnt.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: sys/fs/nfs_clnt.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: present but cannot be compiled" >&5 ++echo "$as_me: WARNING: sys/statvfs.h: present but cannot be compiled" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: check for missing prerequisite headers?" >&5 ++echo "$as_me: WARNING: sys/statvfs.h: check for missing prerequisite headers?" >&2;} ++ { echo "$as_me:$LINENO: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: sys/statvfs.h: proceeding with the preprocessor's result" >&2;} + ( + cat <<\_ASBOX + ## ------------------------------------ ## +@@ -9301,37 +9309,29 @@ _ASBOX + sed "s/^/$as_me: WARNING: /" >&2 + ;; + esac +-echo "$as_me:$LINENO: checking for sys/fs/nfs_clnt.h" >&5 +-echo $ECHO_N "checking for sys/fs/nfs_clnt.h... $ECHO_C" >&6 +-if test "${ac_cv_header_sys_fs_nfs_clnt_h+set}" = set; then ++echo "$as_me:$LINENO: checking for sys/statvfs.h" >&5 ++echo $ECHO_N "checking for sys/statvfs.h... $ECHO_C" >&6 ++if test "${ac_cv_header_sys_statvfs_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- ac_cv_header_sys_fs_nfs_clnt_h=$ac_header_preproc ++ ac_cv_header_sys_statvfs_h=$ac_header_preproc + fi +-echo "$as_me:$LINENO: result: $ac_cv_header_sys_fs_nfs_clnt_h" >&5 +-echo "${ECHO_T}$ac_cv_header_sys_fs_nfs_clnt_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header_sys_statvfs_h" >&5 ++echo "${ECHO_T}$ac_cv_header_sys_statvfs_h" >&6 + + fi +-if test $ac_cv_header_sys_fs_nfs_clnt_h = yes; then ++if test $ac_cv_header_sys_statvfs_h = yes; then + cat >>confdefs.h <<\_ACEOF +-#define HAVE_SYS_FS_NFS_CLNT_H 1 ++#define HAVE_STATVFS 1 + _ACEOF +- ++ have_statvfs="yes" + else + cat >>confdefs.h <<\_ACEOF +-#define HAVE_SYS_FS_NFS_CLNT_H 0 +-_ACEOF +- +-fi +- +- +- +-if test `uname` != 'IRIX' && test `uname` != 'IRIX64'; then +- cat >>confdefs.h <<\_ACEOF + #define HAVE_STATVFS 0 + _ACEOF ++ have_statvfs="no" ++fi + +- have_statvfs="no" + fi + + echo "$as_me:$LINENO: checking SGI_NOHANG" >&5 @@ -9670,6 +9670,41 @@ _ACEOF fi |