Bug 938489 - 3/3. Remove configure check for glx.h - r=glandium
authorBenoit Jacob <bjacob@mozilla.com>
Mon, 18 Nov 2013 08:08:24 -0500
changeset 156118 5641d2ab4d52d781a2fafa4c650866a6893ee5d4
parent 156117 6aec2ae23025ab22e480a7efe7659284110c37d5
child 156119 ee5f421a77cdaa339de4cfb13bfdd5b25c08d51e
push id25669
push userkwierso@gmail.com
push dateTue, 19 Nov 2013 02:31:16 +0000
treeherdermozilla-central@5236947f9090 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs938489
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 938489 - 3/3. Remove configure check for glx.h - r=glandium
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8728,23 +8728,16 @@ if test "$MOZ_X11"; then
     CFLAGS="$_SAVE_CFLAGS"
 
     if test -n "$MISSING_X"; then
         AC_MSG_ERROR([ Could not find the following X libraries: $MISSING_X ]);
     fi
 
 fi # MOZ_X11
 
-dnl Check for headers, etc. needed by WebGL.
-if test "$MOZ_GL_DEFAULT_PROVIDER" = "GLX"; then
-    MOZ_CHECK_HEADER(GL/glx.h)
-    if test "$ac_cv_header_GL_glx_h" != "yes"; then
-        AC_MSG_ERROR([Can't find header GL/glx.h for WebGL (install mesa-common-dev (Ubuntu), mesa-libGL-devel (Fedora), or Mesa-devel (openSUSE))])
-    fi
-fi # MOZ_GL_DEFAULT_PROVIDER=GLX
 fi # COMPILE_ENVIRONMENT
 
 dnl Set various defines and substitutions
 dnl ========================================================
 
 if test "$OS_ARCH" = "Darwin"; then
   AC_DEFINE(XP_UNIX)
 elif test "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2"; then