[gnumeric] Introduce a configure flag to control whether the component is built.
- From: J.H.M. Dassen (Ray) <jdassen src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnumeric] Introduce a configure flag to control whether the component is built.
- Date: Fri, 8 May 2009 15:51:49 -0400 (EDT)
commit 3239ad128111f86909b6334d86b78bfdbb9055aa
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date: Fri May 8 21:50:09 2009 +0200
Introduce a configure flag to control whether the component is built.
---
Makefile.am | 2 +-
configure.in | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e1bd6dd..0c73ae4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = . po po-functions src plugins icons templates doc tools schemas test
+SUBDIRS = . po po-functions src plugins icons @COMPONENT_DIR@ templates doc tools schemas test
XML_I18N_XML_KIND = --pass-through
diff --git a/configure.in b/configure.in
index 666ae1a..48d980f 100644
--- a/configure.in
+++ b/configure.in
@@ -386,6 +386,17 @@ AC_ARG_ENABLE(ssgrep,
[], [enable_ssgrep=yes])
AM_CONDITIONAL(ENABLE_SSGREP, test x"$enable_ssgrep" = xyes)
+AC_ARG_ENABLE(component,
+ AS_HELP_STRING([--disable-component], [Do not build the goffice component]),
+ [], [enable_component=yes])
+component_dir=""
+if test x"$enable_component" = xyes; then
+ component_dir="component"
+else
+ component_dir=""
+fi
+AC_SUBST(COMPONENT_DIR, $component_dir)
+
dnl ****************************
dnl GDA Plugin
dnl ****************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]