checks for statvts headers

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39360 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2016-02-12 00:56:56 +00:00
parent 4e07058985
commit 14fab35abc
3 changed files with 35 additions and 0 deletions

View file

@ -24,6 +24,9 @@
/* Define to 1 if you have the `getmntinfo' function. */
#undef HAVE_GETMNTINFO
/* Define to 1 if you have the `GifQuantizeBuffer' function. */
#undef HAVE_GIFQUANTIZEBUFFER
/* Have ImageMagick */
#undef HAVE_IMAGEMAGICK
@ -96,12 +99,18 @@
/* Define to 1 if you have the <sys/mntent.h> header file. */
#undef HAVE_SYS_MNTENT_H
/* Define to 1 if you have the <sys/statvfs.h> header file. */
#undef HAVE_SYS_STATVFS_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <sys/vfs.h> header file. */
#undef HAVE_SYS_VFS_H
/* Define to 1 if you have the <unicode/uchar.h> header file. */
#undef HAVE_UNICODE_UCHAR_H

24
configure vendored
View file

@ -4036,6 +4036,30 @@ _ACEOF
fi
done
for ac_header in sys/statvfs.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_statvfs_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SYS_STATVFS_H 1
_ACEOF
fi
done
for ac_header in sys/vfs.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default"
if test "x$ac_cv_header_sys_vfs_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SYS_VFS_H 1
_ACEOF
fi
done
#--------------------------------------------------------------------
# Simple way to add a bunch of paths to the flags

View file

@ -155,6 +155,8 @@ 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_HEADERS(sys/statvfs.h)
AC_CHECK_HEADERS(sys/vfs.h)
#--------------------------------------------------------------------
# Simple way to add a bunch of paths to the flags