yelp r3224 - trunk



Author: chpe
Date: Sun Mar  1 21:42:17 2009
New Revision: 3224
URL: http://svn.gnome.org/viewvc/yelp?rev=3224&view=rev

Log:
	* configure.in: Treat libxul and libxul-embedding the same as far as the
	MOZILLA_COMPONENT pkg-config check is concerned.

Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Sun Mar  1 21:42:17 2009
@@ -244,8 +244,8 @@
 *) 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])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]