[Libreoffice-commits] .: configure.in

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 17 12:12:29 PST 2012


 configure.in |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

New commits:
commit af75ceb873e55fc2f252c4b02ea3d536470cfb87
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 17 20:11:34 2012 +0000

    fix build, WANT_X11 is a variable

diff --git a/configure.in b/configure.in
index e424560..413dec0 100644
--- a/configure.in
+++ b/configure.in
@@ -7345,7 +7345,7 @@ fi
 dnl ===================================================================
 dnl Check for nsplugin
 dnl ===================================================================
-AC_MSG_CHECKING([wether to build nsplugin extension])
+AC_MSG_CHECKING([whether to build nsplugin extension])
 ENABLE_NSPLUGIN=NO
 if test "$enable_nsplugin" != "no"; then
     if test "$enable_gtk" != "no"; then
@@ -7359,6 +7359,7 @@ else
 fi
 AC_SUBST(ENABLE_NSPLUGIN)
 
+AC_MSG_CHECKING([whether to use X11])
 dnl ***************************************
 dnl testing for X libraries and includes...
 dnl ***************************************
@@ -7366,8 +7367,9 @@ WANT_X11="no"
 if test $_os != Darwin -a $_os != WINNT -a $_os != Android -a $_os != iOS -a "$enable_headless" != "yes"; then
     WANT_X11="yes"
 fi
+AC_MSG_RESULT([$WANT_X11])
 
-if test WANT_X11 = "yes"; then
+if test "$WANT_X11" = "yes"; then
     AC_PATH_X
     AC_PATH_XTRA
     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
@@ -7420,7 +7422,7 @@ if test "$XINC" != "no_x_includes" -a "$XINC" != "/usr/include" ; then
 fi
 AC_SUBST(XLIB)
 
-if test WANT_X11 = "yes"; then
+if test "$WANT_X11" = "yes"; then
     dnl ===================================================================
     dnl Check for Composite.h for Mozilla plugin
     dnl ===================================================================
@@ -7440,7 +7442,7 @@ dnl ===================================================================
 dnl Check for system Xrender
 dnl ===================================================================
 AC_MSG_CHECKING([whether to use Xrender])
-if test WANT_X11 = "yes" -a  "$test_xrender" = "yes"; then
+if test "$WANT_X11" = "yes" -a  "$test_xrender" = "yes"; then
     AC_MSG_RESULT([yes])
     AC_CHECK_LIB([Xrender], [XRenderQueryVersion], [:],
       [AC_MSG_ERROR(libXrender not found or functional)], [])
@@ -7458,7 +7460,7 @@ dnl ===================================================================
 dnl Check for XRandr
 dnl ===================================================================
 AC_MSG_CHECKING([whether to enable RandR support])
-if test WANT_X11 = "yes" -a "$test_randr" = "yes" -a \( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \) ; then
+if test "$WANT_X11" = "yes" -a "$test_randr" = "yes" -a \( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \) ; then
     if test -z "$enable_randr_link" -o "$enable_randr_link" = "no"; then
         XRANDR_DLOPEN="TRUE"
         AC_MSG_RESULT([configured to dlopen libXrandr at runtime])


More information about the Libreoffice-commits mailing list