[evince] Add configure option --disable-viewer
- From: Jan-Joost Spanjers <jspanjers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Add configure option --disable-viewer
- Date: Thu, 15 Dec 2011 16:16:57 +0000 (UTC)
commit eab1461b7416db80e380d4a60e70b9e912a120b6
Author: Hib Eris <hib hiberis nl>
Date: Thu Dec 15 17:12:16 2011 +0100
Add configure option --disable-viewer
This allows you to disable the build of the document viewer.
Makefile.am | 9 +++++++--
configure.ac | 18 ++++++++++++++++--
2 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index fbf02e0..3aadbf2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,9 +11,14 @@ SUBDIRS = \
libdocument \
backend \
libview \
- libmisc \
+ libmisc
+
+if ENABLE_VIEWER
+SUBDIRS += shell
+endif
+
+SUBDIRS += \
properties \
- shell \
po \
help
diff --git a/configure.ac b/configure.ac
index 8aabc97..391a02f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -380,7 +380,21 @@ fi
AM_CONDITIONAL([ENABLE_NAUTILUS],[test "$enable_nautilus" = "yes"])
-# Check for thumbnailer build
+# ***************
+# Document Viewer
+# ***************
+
+AC_ARG_ENABLE(
+ [viewer],
+ [AS_HELP_STRING([--disable-viewer], [Disable GNOME Document viewer])],
+ [],
+ [enable_viewer=yes]
+)
+AM_CONDITIONAL([ENABLE_VIEWER],[test "$enable_viewer" = "yes"])
+
+# ***************
+# Thumbnailer
+# ***************
AC_ARG_ENABLE([thumbnailer],
[AS_HELP_STRING([--disable-thumbnailer],
@@ -825,7 +839,7 @@ Tests ....................: $enable_tests
FRONTENDS
-Viewer ...................: yes
+Viewer ...................: $enable_viewer
Previewer ................: $enable_previewer
Thumbnailer ..............: $enable_thumbnailer
Nautilus Extensions.......: $enable_nautilus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]