diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-02 15:24:04 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-02 15:24:04 +0000 |
commit | 09f51c56d8c07ef787647f58b1135145980dd59f (patch) | |
tree | 682a4f5676e7b4eda6071594b0dae9fdbc71c751 /configure.in | |
parent | 1388beb195d249c89357b84da3a6c87a8efcaf71 (diff) | |
download | ruby-09f51c56d8c07ef787647f58b1135145980dd59f.tar.gz |
* file.c (HAVE_STRUCT_STATVFS_F_BASETYPE): File::Statfs#fstypename
is supported on AIX, HP-UX, and Solaris, by using the value of
struct statvfs.f_basetype.
* configure.in (HAVE_STRUCT_STATVFS_F_BASETYPE): check struct
statvfs.f_basetype which is available on AIX, HP-UX, and Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 29ae4f6c37..1258daac42 100644 --- a/configure.in +++ b/configure.in @@ -1746,9 +1746,12 @@ AC_CHECK_MEMBERS([struct statfs.f_type, struct statfs.f_fstypename], [], [], [@% @%:@ include <sys/vfs.h> @%:@endif]) ]) -# NetBSD +# AIX, HP-UX, NetBSD, Solaris AC_CHECK_TYPES([struct statvfs], [], [], [@%:@ include <sys/statvfs.h>]) +# NetBSD AC_CHECK_MEMBERS([struct statvfs.f_fstypename], [], [], [@%:@ include <sys/statvfs.h>]) +# AIX, HP-UX, Solaris +AC_CHECK_MEMBERS([struct statvfs.f_basetype], [], [], [@%:@ include <sys/statvfs.h>]) AC_CHECK_TYPES([clockid_t], [], [], [@%:@ifdef HAVE_TIME_H @%:@ include <time.h> |