From b9be55973b8925010cfb6b798e61306183ef49fd Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 Mar 2009 10:37:20 +0000 Subject: [PATCH] Making optional use of statvfs() in sg-dummy --- libisoburn/trunk/xorriso/configure_ac.txt | 10 ++++++++++ libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/xorriso/configure_ac.txt b/libisoburn/trunk/xorriso/configure_ac.txt index 21ddb1d0..b4e4e424 100644 --- a/libisoburn/trunk/xorriso/configure_ac.txt +++ b/libisoburn/trunk/xorriso/configure_ac.txt @@ -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 diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 977bb9e0..b5fe0f09 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.03.01.113444" +#define Xorriso_timestamP "2009.03.03.103706"