Fix libxul bustage from bug 376658, patch by sylvain.pasche, r=me
authorbenjamin@smedbergs.us
Wed, 11 Apr 2007 11:22:35 -0700
changeset 473 1c0d55b6d3a583be6f630603790642bae2efb325
parent 472 cc864893ab2d28222ff2bf3090f40a4f788882e4
child 474 006275d273717e8a4d1e62ff4e28039fd86bec6c
push idunknown
push userunknown
push dateunknown
reviewersme
bugs376658
milestone1.9a4pre
Fix libxul bustage from bug 376658, patch by sylvain.pasche, r=me
configure.in
--- a/configure.in
+++ b/configure.in
@@ -5294,16 +5294,18 @@ MOZ_ARG_DISABLE_BOOL(xinerama,
     MOZ_ENABLE_XINERAMA=,
     MOZ_ENABLE_XINERAMA=1 )
 
 if test -n "$MOZ_ENABLE_XINERAMA"; then
     if test -z "$MOZ_XINERAMA_LIBS" || \
         test "$ac_cv_header_X11_extensions_Xinerama_h" = "no"; then
         AC_MSG_ERROR([Cannot find Xinerama library. To build without Xinerama support, rebuild with --disable-xinerama])
     fi
+    # Xinerama depends on libXext which is not automatically included on older distribs
+    MOZ_XINERAMA_LIBS="$MOZ_XINERAMA_LIBS $XEXT_LIBS"
     AC_DEFINE(MOZ_ENABLE_XINERAMA)
 fi
 
 dnl bi-directional support always on
 IBMBIDI=1
 AC_DEFINE(IBMBIDI)
 
 dnl ========================================================