mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Merge GUI configure/configure.ac from trunk revision 40072
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40121 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
189ee17b08
commit
1c157f2d56
2 changed files with 281 additions and 117 deletions
22
configure.ac
22
configure.ac
|
@ -155,6 +155,28 @@ 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)
|
||||
|
||||
AC_CHECK_MEMBERS([struct statfs.f_flags, struct statfs.f_owner],[],[],[
|
||||
#if defined(HAVE_GETMNTINFO)
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
#if defined (HAVE_SYS_STATVFS_H)
|
||||
#include <sys/statvfs.h>
|
||||
#endif
|
||||
#if defined (HAVE_SYS_VFS_H)
|
||||
#include <sys/vfs.h>
|
||||
#endif
|
||||
])
|
||||
AC_CHECK_MEMBERS([struct statvfs.f_flag, struct statvfs.f_owner],[],[],[
|
||||
#if defined (HAVE_SYS_STATVFS_H)
|
||||
#include <sys/statvfs.h>
|
||||
#endif
|
||||
])
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Simple way to add a bunch of paths to the flags
|
||||
|
|
Loading…
Reference in a new issue