comparison acinclude.m4 @ 14520:82b59abcaee4

[gaim-migrate @ 17240] SF Patch #1492561 from Lars T. Mikkelsen "This patch adds gaim-url-handler, a URL handler for most protocols in Gaim. The gaim-url-handler is similar to (and based on) gaim-remote, however, it uses the native URL format of each protocol. Furthermore, the patch includes a GConf schema, which allows Gnome applications to use the URL handler." With this and gaim-send/gaim-send-async, we should be able to drop gaim-remote. Please let me know if you object, or I'll remove gaim-remote shortly. For the record, I know this doesn't support 100% of the ChatZilla IRC URL spec, and I haven't investigated the XMPP URL spec beyond a casual first look. We can tweak these things later -- I figured it was important to get the bulk of the code in place. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 11 Sep 2006 02:30:59 +0000
parents c1b72d397fd8
children 9a989acb0601
comparison
equal deleted inserted replaced
14519:e548832f0e82 14520:82b59abcaee4
834 AC_DEFINE(ENABLE_BINRELOC,,[Use binary relocation?]) 834 AC_DEFINE(ENABLE_BINRELOC,,[Use binary relocation?])
835 fi 835 fi
836 AC_SUBST(BINRELOC_CFLAGS) 836 AC_SUBST(BINRELOC_CFLAGS)
837 AC_SUBST(BINRELOC_LIBS) 837 AC_SUBST(BINRELOC_LIBS)
838 ]) 838 ])
839 dnl AM_GCONF_SOURCE_2
840 dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
841 dnl (i.e. pass to gconftool-2
842 dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
843 dnl you should install foo.schemas files
844 dnl
845
846 AC_DEFUN([AM_GCONF_SOURCE_2],
847 [
848 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
849 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
850 else
851 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
852 fi
853
854 AC_ARG_WITH(gconf-source,
855 [ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
856
857 AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
858 AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
859
860 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
861 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
862 fi
863
864 AC_ARG_WITH(gconf-schema-file-dir,
865 [ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",)
866
867 AC_SUBST(GCONF_SCHEMA_FILE_DIR)
868 AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
869
870 AC_ARG_ENABLE(schemas-install,
871 [ --disable-schemas-install Disable the schemas installation],
872 [case ${enableval} in
873 yes|no) ;;
874 *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
875 esac])
876 AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
877 ])