[rygel] core: Expose sysconfdir to vala world



commit 6035bf23c2058865db693b174fe14f7f86399438
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jun 24 16:47:50 2009 +0300

    core: Expose sysconfdir to vala world

 src/rygel/Makefile.am |    3 ++-
 src/rygel/cstuff.vapi |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am
index 3356c7f..8178223 100644
--- a/src/rygel/Makefile.am
+++ b/src/rygel/Makefile.am
@@ -22,7 +22,8 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
 	    $(LIBSOUP_CFLAGS) \
 	    $(LIBDBUS_GLIB_CFLAGS) \
 	    $(LIBSQLITE3_CFLAGS) \
-	    -I$(top_srcdir) -DDATA_DIR='"$(shareddir)"' \
+	    -I$(top_srcdir) \
+	    -DDATA_DIR='"$(shareddir)"' -DSYS_CONFIG_DIR='"$(sysconfdir)"'\
 	    -DPLUGIN_DIR='"$(plugindir)"' -DDESKTOP_DIR='"$(desktopdir)"'\
 	    -include config.h
 
diff --git a/src/rygel/cstuff.vapi b/src/rygel/cstuff.vapi
index cb085cc..00870c5 100644
--- a/src/rygel/cstuff.vapi
+++ b/src/rygel/cstuff.vapi
@@ -31,6 +31,9 @@ namespace CStuff {
         [CCode (cname = "DATA_DIR")]
         public static const string DATA_DIR;
 
+        [CCode (cname = "SYS_CONFIG_DIR")]
+        public static const string SYS_CONFIG_DIR;
+
         [CCode (cname = "DESKTOP_DIR")]
         public static const string DESKTOP_DIR;
 



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