[Libreoffice-commits] .: configure.in
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 22 07:38:41 PST 2010
configure.in | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
New commits:
commit ef4808005071fdeaf216e7973cd97c23afc8f9d0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 22 15:38:33 2010 +0000
toggle the default for this option
diff --git a/configure.in b/configure.in
index e0ad7b4..89dffcd 100755
--- a/configure.in
+++ b/configure.in
@@ -5511,11 +5511,8 @@ dnl ===================================================================
dnl Check for system Mesa
dnl ===================================================================
AC_MSG_CHECKING([which Mesa headers to use])
-if test "$with_system_mesa_headers" = "no"; then
- AC_MSG_RESULT([internal])
- SYSTEM_MESA_HEADERS=NO
- BUILD_TYPE="$BUILD_TYPE MESA"
-else
+if test -n "$with_system_mesa_headers" -o -n "$with_system_headers" && \
+ test "$with_system_mesa_headers" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_MESA_HEADERS=YES
AC_LANG_PUSH(C)
@@ -5524,6 +5521,10 @@ else
AC_MSG_CHECKING([whether GL/glxext.h defines PFNGLXBINDTEXIMAGEEXTPROC])
AC_EGREP_HEADER(PFNGLXBINDTEXIMAGEEXTPROC, GL/glxext.h, [AC_MSG_RESULT([yes])], AC_MSG_ERROR(no))
AC_LANG_POP(C)
+else
+ AC_MSG_RESULT([internal])
+ SYSTEM_MESA_HEADERS=NO
+ BUILD_TYPE="$BUILD_TYPE MESA"
fi
AC_SUBST(SYSTEM_MESA_HEADERS)
More information about the Libreoffice-commits
mailing list