diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-03-30 07:43:06 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-03-30 07:43:06 +0000 |
| commit | 1be7419d10a4c2226783f280af9e2aa7ff48b738 (patch) | |
| tree | ab1c63ea9b9edb9c1eddcc93c5c572230694ce4e /auto | |
| parent | a1e9bfbc859490e25f4fff07ddc5441c9a91abcc (diff) | |
| download | nginx-1be7419d10a4c2226783f280af9e2aa7ff48b738.tar.gz nginx-1be7419d10a4c2226783f280af9e2aa7ff48b738.tar.bz2 | |
ngx_fs_bsize()
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/headers | 12 | ||||
| -rw-r--r-- | auto/os/features | 24 | ||||
| -rw-r--r-- | auto/os/linux | 3 |
3 files changed, 34 insertions, 5 deletions
diff --git a/auto/headers b/auto/headers index 542b757c1..cdd5d294b 100644 --- a/auto/headers +++ b/auto/headers @@ -2,8 +2,10 @@ # Copyright (C) Igor Sysoev -ngx_include="unistd.h"; . auto/include -ngx_include="inttypes.h"; . auto/include -ngx_include="limits.h"; . auto/include -ngx_include="sys/filio.h"; . auto/include -ngx_include="crypt.h"; . auto/include +ngx_include="unistd.h"; . auto/include +ngx_include="inttypes.h"; . auto/include +ngx_include="limits.h"; . auto/include +ngx_include="sys/filio.h"; . auto/include +ngx_include="sys/mount.h"; . auto/include +ngx_include="sys/statvfs.h"; . auto/include +ngx_include="crypt.h"; . auto/include diff --git a/auto/os/features b/auto/os/features index ecb210da6..f00663c88 100644 --- a/auto/os/features +++ b/auto/os/features @@ -205,3 +205,27 @@ ngx_feature_path= ngx_feature_libs= ngx_feature_test="directio(0, DIRECTIO_ON);" . auto/feature + + +ngx_feature="statfs()" +ngx_feature_name="NGX_HAVE_STATFS" +ngx_feature_run=no +ngx_feature_incs="$NGX_INCLUDE_SYS_MOUNT_H + $NGX_INCLUDE_SYS_VFS_H" +ngx_feature_path= +ngx_feature_libs= +ngx_feature_test="struct statfs fs; + statfs(NULL, &fs);" +. auto/feature + + +ngx_feature="statvfs()" +ngx_feature_name="NGX_HAVE_STATVFS" +ngx_feature_run=no +ngx_feature_incs="#include <sys/types.h> + #include <sys/statvfs.h>" +ngx_feature_path= +ngx_feature_libs= +ngx_feature_test="struct statvfs fs; + statvfs(NULL, &fs);" +. auto/feature diff --git a/auto/os/linux b/auto/os/linux index 698886fa8..43ff3c9e2 100644 --- a/auto/os/linux +++ b/auto/os/linux @@ -124,4 +124,7 @@ ngx_feature_test="long mask = 0; . auto/feature +ngx_include="sys/vfs.h"; . auto/include + + CC_AUX_FLAGS=$cc_aux_flags |
