}
+ cdl_option CYGSEM_FILEIO_INFO_DISK_USAGE {
+ display "cyg_fs_getinfo call for disk usage"
+ flavor bool
+ default_value 0
+ description "
+ Enabling this option includes code in some filesystems to
+ implement a call using cyg_fs_getinfo to return the current
+ filesystem block usage."
+ }
+
+ cdl_component CYGPKG_FILEIO_FNMATCH {
+ display "POSIX fnmatch configuration"
+ flavor bool
+ default_value ( CYGINT_ISO_STRING_STRFUNCS && CYGINT_ISO_CTYPE )
+ requires { CYGBLD_ISO_FNMATCH_HEADER == \
+ "<cyg/fileio/fnmatch.h>" }
+ description "
+ This component provides configuration controls for
+ the POSIX fnmatch() function."
+
+ compile fnmatch.c
+ }
+
+ cdl_option CYGPKG_FILEIO_DIRENT_DTYPE {
+ display "Struct dirent contains a d_type field"
+ flavor bool
+ default_value 0
+ description "
+ If this option is enabled then struct dirent contains a
+ d_type field. With this field, file type may be
+ distinguished directly without calling stat. Note: This
+ member is not part of the POSIX standard, however is
+ commonely implemented in Linux, FreeBSD, but not SunOS.
+ Also, not all filesystems support it. So this feature is
+ not portable and should be used with caution."
+ }
+
# ----------------------------------------------------------------
# Tests
display "Fileio tests"
flavor data
no_define
- calculated { "tests/fileio1 tests/socket tests/select tests/stdio tests/pselect" }
+ calculated { "tests/fileio1 tests/socket tests/select tests/stdio tests/pselect tests/fnmatch" }
description "
This option specifies the set of tests for the FileIO package."
}