[grilo-plugins] Add new plugin's configuration dir to configure.ac



commit e1685ace3e882535a93c2334f59f2fe7e2ac2e53
Author: Joaquim Rocha <jrocha igalia com>
Date:   Tue Jun 15 14:49:29 2010 +0200

    Add new plugin's configuration dir to configure.ac

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5887824..5ff6f0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,12 +42,20 @@ GNOME_MAINTAINER_MODE_DEFINES
 # DEFINITIONS
 # ----------------------------------------------------------
 
+GRL_VERSION=0.1
+GRL_NAME=grilo-${GRL_VERSION}
+
 # Plugins directory
 
 GRL_PLUGINS_DIR=`pkg-config --variable=plugindir grilo-0.1`
 AC_SUBST(GRL_PLUGINS_DIR)
 AC_DEFINE_UNQUOTED(GRL_PLUGINS_DIR, "$GRL_PLUGINS_DIR", [Plugins directory])
 
+# Plugins configuration directory
+
+GRL_PLUGINS_CONF_DIR="${datadir}/${GRL_NAME}/plugins"
+AC_SUBST(GRL_PLUGINS_CONF_DIR)
+
 # ----------------------------------------------------------
 # DEPENDENCIES
 # ----------------------------------------------------------



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