Attempt to get NSWorkspace.m to compile again. No idea whether the

resulting behaviour is as intended by the author of the last change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2016-07-11 22:26:34 +00:00
parent 76ba8b1c9e
commit 58fed6911f
4 changed files with 23 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2016-07-12 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/config.h.in
* configure.ac
* configure
Attempt to get NSWorkspace.m to compile again. No idea whether the
resulting behaviour is as intended by the author of the last change.
2016-06-21 Riccardo Mottola <rm@gnu.org>
* Source/NSWorkspace.m

View file

@ -84,6 +84,9 @@
/* Define to 1 if you have the <sndfile.h> header file. */
#undef HAVE_SNDFILE_H
/* Define to 1 if you have the `statfs' function. */
#undef HAVE_STATFS
/* Define to 1 if you have the `statvfs' function. */
#undef HAVE_STATVFS

11
configure vendored
View file

@ -4036,6 +4036,17 @@ _ACEOF
fi
done
for ac_func in statfs
do :
ac_fn_c_check_func "$LINENO" "statfs" "ac_cv_func_statfs"
if test "x$ac_cv_func_statfs" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_STATFS 1
_ACEOF
fi
done
for ac_func in statvfs
do :
ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"

View file

@ -155,6 +155,7 @@ AC_CHECK_MEMBER(struct mntent.mnt_dir,[AC_DEFINE(MNT_MEMB,mnt_dir,mntent structu
AC_CHECK_MEMBER(struct mntent.mnt_mountp,[AC_DEFINE(MNT_MEMB,mnt_mountp,mntent structure member name)],,[#include <sys/mntent.h>])
AC_FUNC_GETMNTENT
AC_CHECK_FUNCS(getmntinfo)
AC_CHECK_FUNCS(statfs)
AC_CHECK_FUNCS(statvfs)
AC_CHECK_HEADERS(sys/statvfs.h)
AC_CHECK_HEADERS(sys/vfs.h)