/[gentoo-x86]/app-i18n/ibus/files/ibus-gconf-2.m4.patch
Gentoo

Contents of /app-i18n/ibus/files/ibus-gconf-2.m4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Mar 9 19:33:26 2012 UTC (2 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Patch gconf-2.m4 to m4/ directory for eautoreconf wrt #395239 by Mori RĂ¡mar

(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

1 http://bugs.gentoo.org/395239
2
3 --- m4/gconf-2.m4
4 +++ m4/gconf-2.m4
5 @@ -0,0 +1,44 @@
6 +dnl AM_GCONF_SOURCE_2
7 +dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
8 +dnl (i.e. pass to gconftool-2
9 +dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
10 +dnl you should install foo.schemas files
11 +dnl
12 +
13 +AC_DEFUN([AM_GCONF_SOURCE_2],
14 +[
15 + if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
16 + GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
17 + else
18 + GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
19 + fi
20 +
21 + AC_ARG_WITH([gconf-source],
22 + AC_HELP_STRING([--with-gconf-source=sourceaddress],
23 + [Config database for installing schema files.]),
24 + [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
25 +
26 + AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
27 + AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
28 +
29 + if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
30 + GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
31 + fi
32 +
33 + AC_ARG_WITH([gconf-schema-file-dir],
34 + AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
35 + [Directory for installing schema files.]),
36 + [GCONF_SCHEMA_FILE_DIR="$withval"],)
37 +
38 + AC_SUBST(GCONF_SCHEMA_FILE_DIR)
39 + AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
40 +
41 + AC_ARG_ENABLE(schemas-install,
42 + AC_HELP_STRING([--disable-schemas-install],
43 + [Disable the schemas installation]),
44 + [case ${enableval} in
45 + yes|no) ;;
46 + *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;;
47 + esac])
48 + AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
49 +])

  ViewVC Help
Powered by ViewVC 1.1.20