From 702c353f317ff8ae1ecd9407ee8d91846dbeb91b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 17 Nov 2009 14:23:28 +0000 Subject: [PATCH] New configure option --enable-dvd-obs-64k --- libisoburn/trunk/Makefile.am | 3 ++- libisoburn/trunk/configure.ac | 12 ++++++++++++ libisoburn/trunk/xorriso/configure_ac.txt | 11 +++++++++++ libisoburn/trunk/xorriso/makefile_libxorriso_am.txt | 3 ++- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 5 files changed, 28 insertions(+), 3 deletions(-) diff --git a/libisoburn/trunk/Makefile.am b/libisoburn/trunk/Makefile.am index e348bcc9..9450a3bc 100644 --- a/libisoburn/trunk/Makefile.am +++ b/libisoburn/trunk/Makefile.am @@ -52,7 +52,8 @@ bin_PROGRAMS = \ xorriso_xorriso_CPPFLAGS = -Ilibisoburn xorriso_xorriso_CFLAGS = -DXorriso_with_maiN \ $(READLINE_DEF) $(LIBACL_DEF) $(XATTR_DEF) \ - $(EXTF_DEF) $(EXTF_SUID_DEF) $(ZLIB_DEF) + $(EXTF_DEF) $(EXTF_SUID_DEF) $(ZLIB_DEF) \ + $(XORRISO_DVD_OBS_64K) xorriso_xorriso_LDADD = libisoburn/libisoburn.la -lisofs -lburn \ $(THREAD_LIBS) $(LIBBURN_ARCH_LIBS) diff --git a/libisoburn/trunk/configure.ac b/libisoburn/trunk/configure.ac index 4ea8163e..704280a0 100644 --- a/libisoburn/trunk/configure.ac +++ b/libisoburn/trunk/configure.ac @@ -196,6 +196,18 @@ else fi AC_SUBST(EXTF_SUID_DEF) +AC_ARG_ENABLE(dvd-obs-64k, +[ --enable-dvd-obs-64k 64 KB default size for xorriso DVD/BD writing, default=no], + , enable_fifo_odirect=no) +if test x$enable_dvd_obs_64k = xyes; then + XORRISO_DVD_OBS_64K="-DXorriso_dvd_obs_default_64K" + echo "enabled xorriso write size default 64 KB on DVD and BD" +else + XORRISO_DVD_OBS_64K= + echo "disabled xorriso write size default 64 KB on DVD and BD" +fi +AC_SUBST(XORRISO_DVD_OBS_64K) + AC_CHECK_HEADER(libburn/libburn.h) AC_CHECK_HEADER(libisofs/libisofs.h) diff --git a/libisoburn/trunk/xorriso/configure_ac.txt b/libisoburn/trunk/xorriso/configure_ac.txt index bf23675e..8f8b8acb 100644 --- a/libisoburn/trunk/xorriso/configure_ac.txt +++ b/libisoburn/trunk/xorriso/configure_ac.txt @@ -204,6 +204,17 @@ else fi AC_SUBST(EXTF_SUID_DEF) +AC_ARG_ENABLE(dvd-obs-64k, +[ --enable-dvd-obs-64k 64 KB default size for DVD/BD writing, default=no], + , enable_fifo_odirect=no) +if test x$enable_dvd_obs_64k = xyes; then + XORRISO_DVD_OBS_64K="-DXorriso_dvd_obs_default_64K" + echo "enabled xorriso write size default 64 KB on DVD and BD" +else + XORRISO_DVD_OBS_64K= + echo "disabled xorriso write size default 64 KB on DVD and BD" +fi +AC_SUBST(XORRISO_DVD_OBS_64K) AC_CONFIG_FILES([ diff --git a/libisoburn/trunk/xorriso/makefile_libxorriso_am.txt b/libisoburn/trunk/xorriso/makefile_libxorriso_am.txt index 06e96685..f613876f 100644 --- a/libisoburn/trunk/xorriso/makefile_libxorriso_am.txt +++ b/libisoburn/trunk/xorriso/makefile_libxorriso_am.txt @@ -70,7 +70,8 @@ bin_PROGRAMS = \ xorriso_xorriso_CPPFLAGS = -Ilibisoburn xorriso_xorriso_CFLAGS = -DXorriso_with_maiN -DXorriso_without_subS \ $(READLINE_DEF) $(LIBACL_DEF) $(XATTR_DEF) \ - $(EXTF_DEF) $(EXTF_SUID_DEF) $(ZLIB_DEF) + $(EXTF_DEF) $(EXTF_SUID_DEF) $(ZLIB_DEF) \ + $(XORRISO_DVD_OBS_64K) xorriso_xorriso_LDADD = libisoburn/libisoburn.la -lisofs -lburn \ libxorriso/libxorriso.la \ diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index b4d72e75..668c2d62 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.11.17.134239" +#define Xorriso_timestamP "2009.11.17.142447"