[gnome-session] [build] Add --enable-splash configure option to build splash



commit 1538f59bd47e3755fbb6fbf93c77c16541cb5bc1
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Jul 21 18:43:43 2009 +0200

    [build] Add --enable-splash configure option to build splash
    
    By default, the splash is not build anymore.

 Makefile.am  |    5 ++++-
 configure.in |   11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 91886b0..f967e52 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,11 +4,14 @@ SUBDIRS =			\
 	capplet			\
 	tools			\
 	compat			\
-	splash			\
 	po			\
 	doc			\
 	data
 
+if ENABLE_SPLASH
+SUBDIRS += splash
+endif
+
 MAINTAINERCLEANFILES = \
 	$(srcdir)/INSTALL \
 	$(srcdir)/aclocal.m4 \
diff --git a/configure.in b/configure.in
index 0e6098a..8fd2ff3 100644
--- a/configure.in
+++ b/configure.in
@@ -115,6 +115,16 @@ AC_SUBST(DEFAULT_WM)
 AM_CONDITIONAL(USE_GNOME_WM, test x$with_default_wm = xgnome-wm)
 
 dnl ====================================================================
+dnl Option to enable the splash screen
+dnl ====================================================================
+AC_ARG_ENABLE(splash,
+              [AC_HELP_STRING([--enable-splash],
+                              [enable splash screen [default=no]])],,
+              [enable_splash=no])
+
+AM_CONDITIONAL(ENABLE_SPLASH, test x$enable_splash = xyes)
+
+dnl ====================================================================
 dnl GConf Checks
 dnl ====================================================================
 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
@@ -396,6 +406,7 @@ echo "
         XRender support:          ${have_xrender}
         XSync support:            ${have_xsync}
         XTest support:            ${have_xtest}
+        Build splash:             ${enable_splash}
         Build documentation:      ${enable_docbook_docs}
 
 "



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