[brasero] Fix #559664 Add a configure switch for enabling/disabling cdrdao support



commit ffb535a5248a1d83c70cdd8dea728717d2f36a9e
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Tue Nov 17 21:06:33 2009 +0100

    Fix #559664 Add a configure switch for enabling/disabling cdrdao support
    Also add a growisofs switch

 configure.in        |   28 ++++++++++++++++++++++++++++
 plugins/Makefile.am |   10 +++++++++-
 2 files changed, 37 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index da1a718..46bc51b 100644
--- a/configure.in
+++ b/configure.in
@@ -308,6 +308,19 @@ else
 fi
 AM_CONDITIONAL(BUILD_CDRTOOLS, test x"$build_cdrtools" = "xyes")
 
+dnl **************** check for cdrdao **********************
+AC_ARG_ENABLE(cdrdao,
+			AS_HELP_STRING([--enable-cdrdao],[Build cdrdao plugins [[default=yes]]]),
+			[build_cdrdao=$enableval],
+			[build_cdrdao="yes"])
+
+if test x"$build_cdrdao" = "xyes"; then
+	AC_DEFINE(BUILD_CDRDAO, 1, [define if you  want to build cdrdao plugins])
+else
+	build_cdrdao="no"
+fi
+AM_CONDITIONAL(BUILD_CDRDAO, test x"$build_cdrdao" = "xyes")
+
 dnl **************** check for cdrkit ************************
 AC_ARG_ENABLE(cdrkit,
 			AS_HELP_STRING([--enable-cdrkit],[Build cdrkit plugins [[default=yes]]]),
@@ -321,6 +334,19 @@ else
 fi
 AM_CONDITIONAL(BUILD_CDRKIT, test x"$build_cdrkit" = "xyes")
 
+dnl **************** check for growisofs ************************
+AC_ARG_ENABLE(growisofs,
+			AS_HELP_STRING([--enable-growisofs],[Build growisofs plugins [[default=yes]]]),
+			[build_growisofs=$enableval],
+			[build_growisofs="yes"])
+
+if test x"$build_growisofs" = "xyes"; then
+	AC_DEFINE(BUILD_GROWISOFS, 1, [define if you  want to build growisofs plugins])
+else
+	build_growisofs="no"
+fi
+AM_CONDITIONAL(BUILD_GROWISOFS, test x"$build_growisofs" = "xyes")
+
 dnl ****************check for libnotify (optional)**************
 dnl disable because not used any more
 dnl LIBNOTIFY_REQUIRED=0.3.0
@@ -604,8 +630,10 @@ echo "Version: $BRASERO_VERSION
 	Build search pane : ${build_search}
 	Build playlist pane : ${build_totem}
 	Build Preview pane : ${enable_preview}
+	Build cdrdao plugins : ${build_cdrdao}
 	Build cdrtools plugins : ${build_cdrtools}
 	Build cdrkit plugins : ${build_cdrkit}
+	Build growisofs plugins : ${build_growisofs}
 	Build libburnia plugins : ${build_libburnia}
 	Build GObject-Introspection : ${found_introspection}
 "
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 166c061..849181b 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = cdrdao transcode dvdcss growisofs checksum local-track dvdauthor vcdimager
+SUBDIRS = transcode dvdcss checksum local-track dvdauthor vcdimager
 
 if BUILD_LIBBURNIA
 SUBDIRS += libburnia
@@ -12,4 +12,12 @@ if BUILD_CDRTOOLS
 SUBDIRS += cdrtools
 endif
 
+if BUILD_CDRDAO
+SUBDIRS += cdrdao
+endif
+
+if BUILD_GROWISOFS
+SUBDIRS += growisofs
+endif
+
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]