[Libreoffice-commits] .: Branch 'libreoffice-3-3' - configure.in

René Engelhard rene at kemper.freedesktop.org
Fri Dec 17 04:20:49 PST 2010


 configure.in |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 2260f31cc20d0a14111fa9b145744a86e92002b0
Author: Rene Engelhard <rene at debian.org>
Date:   Fri Dec 17 13:17:06 2010 +0100

    actually check for glxext.h and check whether it works
    
    Signed-off-by: Robert Nagy <robert at openbsd.org>

diff --git a/configure.in b/configure.in
index 3857aff..a97f094 100644
--- a/configure.in
+++ b/configure.in
@@ -5452,6 +5452,12 @@ if test "$with_system_mesa_headers" = "no"; then
 else
    AC_MSG_RESULT([external])
    SYSTEM_MESA_HEADERS=YES
+   AC_LANG_PUSH(C)
+   AC_CHECK_HEADER(GL/glxext.h, [],
+      [ AC_MSG_ERROR(mesa headers not found.)], [#include <GL/glx.h>])
+   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)
 fi
 AC_SUBST(SYSTEM_MESA_HEADERS)
 


More information about the Libreoffice-commits mailing list