Making optional use of statvfs() in sg-dummy

This commit is contained in:
Thomas Schmitt 2009-03-03 10:37:20 +00:00
parent de00bac219
commit b9be55973b
2 changed files with 11 additions and 1 deletions

View File

@ -80,6 +80,16 @@ TARGET_SHIZZLE
AC_SUBST(ARCH) AC_SUBST(ARCH)
AC_SUBST(LIBBURN_ARCH_LIBS) AC_SUBST(LIBBURN_ARCH_LIBS)
dnl ts A90303
dnl Check the preconditions for using statvfs() in sg-dummy
dnl (sg-linux and sg-freebsd use statvfs() unconditionally)
STATVFS_DEF=-DLibburn_os_has_statvfS
AC_CHECK_HEADER(sys/statvfs.h, X=, STATVFS_DEF=)
AC_CHECK_FUNC([statvfs], X=, STATVFS_DEF=)
CFLAGS="$CFLAGS $STATVFS_DEF"
dnl Add compiler-specific flags dnl Add compiler-specific flags
dnl See if the user wants aggressive optimizations of the code dnl See if the user wants aggressive optimizations of the code

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.03.01.113444" #define Xorriso_timestamP "2009.03.03.103706"