pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files Use statvfs on UnixWare, si...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/676e3aaef611
branches:  trunk
changeset: 473164:676e3aaef611
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Fri Apr 16 23:59:32 2004 +0000

description:
Use statvfs on UnixWare, similar to Solaris and IRIX.

diffstat:

 pkgtools/libnbcompat/files/configure    |  2 +-
 pkgtools/libnbcompat/files/configure.ac |  8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r a03abe2a8d2c -r 676e3aaef611 pkgtools/libnbcompat/files/configure
--- a/pkgtools/libnbcompat/files/configure      Fri Apr 16 23:47:02 2004 +0000
+++ b/pkgtools/libnbcompat/files/configure      Fri Apr 16 23:59:32 2004 +0000
@@ -9062,7 +9062,7 @@
 if test $ac_cv_func_statfs = yes; then
 
        case $host_os in
-       irix*|sunos*|solaris*)
+       irix*|sunos*|solaris*|*UnixWare*)
                echo "$as_me:$LINENO: checking for statvfs" >&5
 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
 if test "${ac_cv_func_statvfs+set}" = set; then
diff -r a03abe2a8d2c -r 676e3aaef611 pkgtools/libnbcompat/files/configure.ac
--- a/pkgtools/libnbcompat/files/configure.ac   Fri Apr 16 23:47:02 2004 +0000
+++ b/pkgtools/libnbcompat/files/configure.ac   Fri Apr 16 23:59:32 2004 +0000
@@ -1,4 +1,4 @@
-dnl $NetBSD: configure.ac,v 1.38 2004/03/11 18:35:29 sketch Exp $
+dnl $NetBSD: configure.ac,v 1.39 2004/04/16 23:59:32 heinz Exp $
 
 dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.52)
@@ -209,13 +209,13 @@
                [:] , [AC_LIBOBJ(sl_init)])
 ])
 
-dnl Solaris 2.7 and 2.8 have statfs(2), but it is deprecated, and has a
-dnl different interface from NetBSD's statfs.
+dnl Solaris 2.7, 2.8 and UnixWare 7 have statfs(2), but it is deprecated,
+dnl and has a different interface from NetBSD's statfs.
 dnl
 pkg_use_nbcompat_statfs=yes
 AC_CHECK_FUNC(statfs, [
        case $host_os in
-       irix*|sunos*|solaris*)
+       irix*|sunos*|solaris*|*UnixWare*)
                AC_CHECK_FUNC(statvfs, [:], [
                        AC_MSG_ERROR(statfs can't be implemented correctly)
                ])



Home | Main Index | Thread Index | Old Index