diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-02-06 08:16:35 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-02-06 08:16:35 +0800 |
commit | 391196385a1c5702d93697eace05fc416ae93f02 (patch) | |
tree | 8fb4151411235981ed9b619c7060e51bdafda2b2 /m4 | |
parent | 2edc02176220d96d6386c500afaf4a680dc3a3b9 (diff) | |
download | gsoc2013-epiphany-391196385a1c5702d93697eace05fc416ae93f02.tar.gz gsoc2013-epiphany-391196385a1c5702d93697eace05fc416ae93f02.tar.zst gsoc2013-epiphany-391196385a1c5702d93697eace05fc416ae93f02.zip |
Fix xulrunner detection logic.
2006-02-06 Christian Persch <chpe@cvs.gnome.org>
* m4/gecko.m4:
Fix xulrunner detection logic.
* configure.ac:
A po/Makevars:
* src/Makefile.am:
* doc/reference/Makefile.am:
Remove AM_GLIB_GNU_GETTEXT, use plain AM_GNU_GETTEXT.
* data/glade/Makefile.am:
Fix distcheck with certs manager disabled.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gecko.m4 | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4 index 29c55bd41..25572325e 100644 --- a/m4/gecko.m4 +++ b/m4/gecko.m4 @@ -81,13 +81,10 @@ fi if test "$gecko_cv_have_gecko" = "yes"; then -gecko_cv_extra_pkg_dependencies= - case "$gecko_cv_gecko" in -mozilla) gecko_cv_gecko_flavour=mozilla gecko_cv_extra_pkg_dependencies="$gecko_cv_extra_pkg_dependencies ${gecko_cv_gecko}-gtkmozembed" ;; -seamonkey) gecko_cv_gecko_flavour=mozilla gecko_cv_extra_pkg_dependencies="$gecko_cv_extra_pkg_dependencies ${gecko_cv_gecko}-gtkmozembed" ;; -*firefox) gecko_cv_gecko_flavour=toolkit gecko_cv_extra_pkg_dependencies="$gecko_cv_extra_pkg_dependencies ${gecko_cv_gecko}-gtkmozembed" ;; -XXxulrunner) gecko_cv_gecko_flavour=toolkit gecko_cv_extra_pkg_dependencies="$gecko_cv_extra_pkg_dependencies ${gecko_cv_gecko}-gtkmozembed" ;; +mozilla) gecko_cv_gecko_flavour=mozilla ;; +seamonkey) gecko_cv_gecko_flavour=mozilla ;; +*firefox) gecko_cv_gecko_flavour=toolkit ;; xulrunner) gecko_cv_gecko_flavour=toolkit ;; esac @@ -280,7 +277,17 @@ $1[]_VERSION=$gecko_cv_gecko_version $1[]_VERSION_MAJOR=$gecko_cv_gecko_version_major $1[]_VERSION_MINOR=$gecko_cv_gecko_version_minor -]) +# ************************************************** +# Packages that we need to check for with pkg-config +# ************************************************** + +if test "$gecko_cv_gecko" = "xulrunner" -a "$gecko_cv_gecko_version_major" = "1" -a "$gecko_cv_gecko_version_minor" -ge "9"; then + gecko_cv_extra_pkg_dependencies= +else + gecko_cv_extra_pkg_dependencies="${gecko_cv_gecko}-gtkmozembed" +fi + +$1[]_EXTRA_PKG_DEPENDENCIES="$gecko_cv_extra_pkg_dependencies" # *************************************************************************** # *************************************************************************** @@ -443,7 +450,7 @@ AC_PATH_PROG([XPIDL],[xpidl],[no],[$_GECKO_LIBDIR:$PATH]) XPIDL_IDLDIR="`$PKG_CONFIG --variable=idldir ${gecko_cv_gecko}-xpcom`" -# Older gecko's don't have this variable, see +# Older geckos don't have this variable, see # https://bugzilla.mozilla.org/show_bug.cgi?id=240473 if test -z "$XPIDL_IDLDIR" -o ! -f "$XPIDL_IDLDIR/nsISupports.idl"; then |