Making optional use of statvfs() in sg-dummy

master
Thomas Schmitt 14 years ago
parent 723dcbcb89
commit 3f4b8b60e0
  1. 10
      xorriso/configure_ac.txt
  2. 2
      xorriso/xorriso_timestamp.h

@ -80,6 +80,16 @@ TARGET_SHIZZLE
AC_SUBST(ARCH)
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 See if the user wants aggressive optimizations of the code

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

Loading…
Cancel
Save