[gnome-control-center/extensible-shell] Add check on whether we want to look for UI files in the sources
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center/extensible-shell] Add check on whether we want to look for UI files in the sources
- Date: Tue, 19 Jan 2010 14:37:47 +0000 (UTC)
commit aae816fe963cbb2eb0e154ffc95e81e6d6893d55
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 19 14:36:49 2010 +0000
Add check on whether we want to look for UI files in the sources
configure.ac | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0351f5f..f3a0047 100644
--- a/configure.ac
+++ b/configure.ac
@@ -281,6 +281,20 @@ AC_ARG_ENABLE(update-mimedb,
enable_update_mimedb=yes)
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
+dnl run in source tree
+AC_ARG_ENABLE(run-in-source-tree,
+ AC_HELP_STRING([--disable-run-in-source-tree],[disable search for UI files and plugins in local directory ]),
+ [case "${enableval}" in
+ yes) ENABLE_RUN_IN_SOURCE_TREE=yes ;;
+ no) ENABLE_RUN_IN_SOURCE_TREE=no ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-run-in-source-tree) ;;
+ esac],
+ [ENABLE_RUN_IN_SOURCE_TREE=yes]) dnl Default value
+if test x$ENABLE_RUN_IN_SOURCE_TREE = xyes; then
+ AC_DEFINE(RUN_IN_SOURCE_TREE, 1, [enable search for UI files and plugins in local directory])
+fi
+
+
dnl =======================================
dnl Finish
dnl =======================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]