diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2009-03-01 Christian Persch <chpe@gnome.org> + * configure.in: Treat libxul and libxul-embedding the same as far as the + MOZILLA_COMPONENT pkg-config check is concerned. + +2009-03-01 Christian Persch <chpe@gnome.org> + * m4/gecko.m4: Fix libxul[-embedding] detection. 2009-02-25 Thomas H.P. Andersen <phomes@gmail.com> diff --git a/configure.in b/configure.in index c073c74f..b6b72308 100644 --- a/configure.in +++ b/configure.in @@ -244,8 +244,8 @@ libxul*) gecko_min_version=1.9 ;; *) AC_MSG_ERROR([$gecko_cv_gecko is not supported]) esac -if test $MOZILLA = libxul-embedding; then - PKG_CHECK_MODULES([MOZILLA_COMPONENT],[libxul-embedding $gecko_cv_extra_pkg_dependencies]) +if test "$MOZILLA" = "libxul-embedding" -o "$MOZILLA" = "libxul"; then + PKG_CHECK_MODULES([MOZILLA_COMPONENT],[$MOZILLA $gecko_cv_extra_pkg_dependencies]) MOZILLA_COMPONENT_CFLAGS="$MOZILLA_COMPONENT_CFLAGS `$PKG_CONFIG --cflags ${gecko_cv_gecko}` `$PKG_CONFIG --define-variable=includetype=unstable --cflags ${gecko_cv_gecko}`" else PKG_CHECK_MODULES([MOZILLA_COMPONENT],[${gecko_cv_gecko}-xpcom >= $gecko_min_version $gecko_cv_extra_pkg_dependencies]) |