* configure.in: Check for sys/statvfs.h header file.

* configure: Regenerate.
* std/include/config.h.in: Regenerate.
* src/NSFileManager.m: Include header files only if available.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2752 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Scott Christley 1998-02-14 23:36:06 +00:00
parent e0d3709cbe
commit 8279633eea
5 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Sat Feb 14 16:03:07 1998 Scott Christley <scottc@stetson.net-community.com>
* configure.in: Check for sys/statvfs.h header file.
* configure: Regenerate.
* std/include/config.h.in: Regenerate.
* src/NSFileManager.m: Include header files only if available.
Sat Feb 14 15:50:40 1998 Adam Fedor <fedor@ultra.doc.com>
* src/NXStringTable_scan.c src/lex.pl.m src/lex.sf.m

View file

@ -81,6 +81,9 @@
/* Define if you have the <sys/statfs.h> header file. */
#undef HAVE_SYS_STATFS_H
/* Define if you have the <sys/statvfs.h> header file. */
#undef HAVE_SYS_STATVFS_H
/* Define if you have the <sys/vfs.h> header file. */
#undef HAVE_SYS_VFS_H

View file

@ -86,7 +86,9 @@
#ifdef HAVE_SYS_VFS_H
# include <sys/vfs.h>
# include <sys/statvfs.h>
# ifdef HAVE_SYS_STATVFS_H
# include <sys/statvfs.h>
# endif
#endif
#ifdef HAVE_SYS_STATFS_H

2
configure vendored
View file

@ -2062,7 +2062,7 @@ done
#--------------------------------------------------------------------
# Header files and functions for files and filesystems
#--------------------------------------------------------------------
for ac_hdr in sys/stat.h sys/vfs.h sys/statfs.h
for ac_hdr in sys/stat.h sys/vfs.h sys/statfs.h sys/statvfs.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

View file

@ -211,7 +211,7 @@ AC_CHECK_HEADERS(values.h)
#--------------------------------------------------------------------
# Header files and functions for files and filesystems
#--------------------------------------------------------------------
AC_CHECK_HEADERS(sys/stat.h sys/vfs.h sys/statfs.h)
AC_CHECK_HEADERS(sys/stat.h sys/vfs.h sys/statfs.h sys/statvfs.h)
AC_CHECK_FUNCS(statvfs)
#--------------------------------------------------------------------