devhelp r1136 - trunk
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: devhelp r1136 - trunk
- Date: Sat, 4 Oct 2008 19:16:11 +0000 (UTC)
Author: rhult
Date: Sat Oct 4 19:16:11 2008
New Revision: 1136
URL: http://svn.gnome.org/viewvc/devhelp?rev=1136&view=rev
Log:
2008-10-04 Richard Hult <richard imendio com>
* acinclude.m4:
* configure.in: Only depend on gconf on X11.
Modified:
trunk/ChangeLog
trunk/acinclude.m4
trunk/configure.in
Modified: trunk/acinclude.m4
==============================================================================
--- trunk/acinclude.m4 (original)
+++ trunk/acinclude.m4 Sat Oct 4 19:16:11 2008
@@ -86,3 +86,47 @@
AM_CONDITIONAL(HAVE_PLATFORM_OSX, test $IGE_PLATFORM = osx)
AM_CONDITIONAL(HAVE_PLATFORM_X11, test $IGE_PLATFORM = x11)
])
+
+dnl AM_GCONF_SOURCE_2
+dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
+dnl (i.e. pass to gconftool-2
+dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
+dnl you should install foo.schemas files
+dnl
+
+AC_DEFUN([AM_GCONF_SOURCE_2],
+[
+ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
+ GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ else
+ GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
+ fi
+
+ AC_ARG_WITH([gconf-source],
+ AC_HELP_STRING([--with-gconf-source=sourceaddress],
+ [Config database for installing schema files.]),
+ [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
+
+ AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
+ AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
+
+ if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
+ GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
+ fi
+
+ AC_ARG_WITH([gconf-schema-file-dir],
+ AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
+ [Directory for installing schema files.]),
+ [GCONF_SCHEMA_FILE_DIR="$withval"],)
+
+ AC_SUBST(GCONF_SCHEMA_FILE_DIR)
+ AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
+
+ AC_ARG_ENABLE(schemas-install,
+ [ --disable-schemas-install Disable the schemas installation],
+ [case ${enableval} in
+ yes|no) ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
+ esac])
+ AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
+])
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Oct 4 19:16:11 2008
@@ -14,8 +14,8 @@
AM_PATH_GLIB_2_0
IT_PROG_INTLTOOL([0.40.0])
-AC_PATH_PROG(GCONFTOOL, gconftool-2)
+AC_PATH_PROG(GCONFTOOL, gconftool-2)
AM_GCONF_SOURCE_2
IMENDIO_COMPILE_WARNINGS
@@ -32,7 +32,7 @@
PLATFORM_CFLAGS=
PLATFORM_LDFLAGS=
else
- gconf_pkgconfig="gconf-2.0 >= 2.6.0"
+ gconf_pkgconfig=
libwnck_pkgconfig=
igemacintegration_pkgconfig="ige-mac-integration >= 0.8.2"
REQUIRES_LIBWNCK=
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]