[gtkglext] Moved checks for GL and GLX headers up to "Checks for headers and libraries" section.



commit 0f5581212ad7885fc4acc1a2ad157934adef1b4e
Author: Braden McDaniel <bmcdaniel turketron tena-sda org>
Date:   Thu Dec 17 17:54:03 2009 -0500

    Moved checks for GL and GLX headers up to "Checks for headers and libraries" section.

 configure.ac |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8419bda..7e6bc78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,6 +218,8 @@ AC_CHECK_HEADERS([X11/Xmu/StdCmap.h Xmu/StdCmap.h], , ,
                   #include <X11/Xutil.h>])
 AC_CHECK_LIB([Xmu], [XmuLookupStandardColormap], , ,
              [-lXt $X_PRE_LIBS])
+AC_CHECK_HEADERS([GL/glx.h])
+AC_CHECK_HEADERS([GL/gl.h GL/glu.h])
 CPPFLAGS="$save_CPPFLAGS"
 LIBS="$save_LIBS"
 
@@ -324,14 +326,6 @@ save_LIBS="$LIBS"
 LIBS="$LIBS $GL_LDFLAGS $WINDOWING_LIBS $MATH_LIB"
 
 if test "x$gdktarget" = "xx11"; then
-  AC_CHECK_HEADERS([GL/glx.h], ,
-                   [AC_MSG_ERROR([Cannot find GLX header])])
-fi
-
-AC_CHECK_HEADERS([GL/gl.h GL/glu.h], ,
-                 [AC_MSG_ERROR([Cannot find OpenGL headers])])
-
-if test "x$gdktarget" = "xx11"; then
 
   # for X11
 



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