From 4ab47eb902c77717cdafaa976df0f7c66f094627 Mon Sep 17 00:00:00 2001 From: Michal Hruby Date: Tue, 8 Jun 2010 02:24:42 +0200 Subject: Make also firefox use automake --- configure.ac | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5610c27..bfbea94 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,8 @@ AC_INIT([zeitgeist-dataproviders], [0.1.0], [https://bugs.launchpad.net/zeitgeist-dataproviders/]) +AC_PREFIX_DEFAULT([/usr]) + AM_INIT_AUTOMAKE([1.9 foreign]) # Enable silent build when available (Automake 1.11) @@ -49,8 +51,8 @@ AC_ARG_ENABLE([all-plugins], AC_MSG_RESULT($all_plugins) # The full list of plugins -allowed_plugins="bzr chrome eog geany gedit rhythmbox totem-libzg" -# currently disabled = "epiphany firefox-libzg tomboy" +allowed_plugins="bzr chrome eog firefox-libzg geany gedit rhythmbox totem-libzg" +# currently disabled = "epiphany tomboy" # npapi-plugin has a template Makefile.am, but don't use it directly # - see chrome's Makefile.am for how to compile it @@ -96,6 +98,16 @@ for plugin in ${used_plugins}; do plugin_error_or_ignore "libzeitgeist not found" continue fi + PKG_CHECK_MODULES(LIBXUL, libxul, + [HAVE_LIBXUL=yes], [HAVE_LIBXUL=no]) + if test "${HAVE_LIBXUL}" != "yes" ; then + plugin_error_or_ignore "libxul not found" + continue + fi + XPIDL_BIN="`$PKG_CONFIG --variable=sdkdir libxul`/bin/xpidl" + AC_SUBST(XPIDL_BIN) + XUL_IDLDIR="`$PKG_CONFIG --variable=idldir libxul`" + AC_SUBST(XUL_IDLDIR) ;; geany) if test "${HAVE_LIBZG}" != "yes" ; then @@ -171,6 +183,9 @@ Makefile bzr/Makefile chrome/Makefile eog/Makefile +firefox-libzg/Makefile +firefox-libzg/extension/Makefile +firefox-libzg/extension/components/Makefile geany/Makefile gedit/Makefile rhythmbox/Makefile -- cgit v1.2.3