diff options
author | heinz <heinz@pkgsrc.org> | 2004-04-16 23:59:32 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-04-16 23:59:32 +0000 |
commit | 0f9f9185bea306128454666535b92905eb7735b3 (patch) | |
tree | ac6f43068e8097492b3c7c54708473e9e208e738 /pkgtools/libnbcompat | |
parent | 6ba6314a4f73cfcce6b79990450f02dce3d2dad8 (diff) | |
download | pkgsrc-0f9f9185bea306128454666535b92905eb7735b3.tar.gz |
Use statvfs on UnixWare, similar to Solaris and IRIX.
Diffstat (limited to 'pkgtools/libnbcompat')
-rwxr-xr-x | pkgtools/libnbcompat/files/configure | 2 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/configure.ac | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/libnbcompat/files/configure b/pkgtools/libnbcompat/files/configure index 2f15790aa65..0fb69ae3a35 100755 --- a/pkgtools/libnbcompat/files/configure +++ b/pkgtools/libnbcompat/files/configure @@ -9062,7 +9062,7 @@ echo "${ECHO_T}$ac_cv_func_statfs" >&6 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 --git a/pkgtools/libnbcompat/files/configure.ac b/pkgtools/libnbcompat/files/configure.ac index 4c583944844..23af2e280df 100644 --- a/pkgtools/libnbcompat/files/configure.ac +++ b/pkgtools/libnbcompat/files/configure.ac @@ -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_CHECK_FUNC(sl_init, [ [:] , [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) ]) |