From d54b77d554f7d321bd21c9acaed8009c54a4a5a4 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 31 May 2016 11:58:23 +0200 Subject: Remove some dead code Remove a code path for a hpux inside a MINGW section when doing the opengl detection. Change-Id: I20b8f7948cd663ec3d6c9dcb891f6fe9a2c9c358 Reviewed-by: Oswald Buddenhagen --- configure | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/configure b/configure index 1b46f82f6d..f093f8ef74 100755 --- a/configure +++ b/configure @@ -4566,19 +4566,6 @@ if [ "$XPLATFORM_MINGW" = "yes" ]; then fi CFG_OPENGL=no fi - case "$PLATFORM" in - hpux*) - # HP-UX have buggy glx headers; check if we really need to define the GLXFBConfig struct. - if [ "$CFG_OPENGL" = "desktop" ]; then - compileTest x11/glxfbconfig "OpenGL" - if [ $? != "0" ]; then - QMakeVar add DEFINES QT_DEFINE_GLXFBCONFIG_STRUCT - fi - fi - ;; - *) - ;; - esac elif [ "$CFG_OPENGL" = "es2" ]; then #OpenGL ES 2.0 compileTest unix/opengles2 "OpenGL ES 2.0" @@ -4599,17 +4586,6 @@ if [ "$XPLATFORM_MINGW" = "yes" ]; then echo " ${XQMAKESPEC}." exit 1 fi - case "$PLATFORM" in - hpux*) - # HP-UX have buggy glx headers; check if we really need to define the GLXFBConfig struct. - compileTest x11/glxfbconfig "OpenGL" - if [ $? != "0" ]; then - QMakeVar add DEFINES QT_DEFINE_GLXFBCONFIG_STRUCT - fi - ;; - *) - ;; - esac fi fi # X11/MINGW OpenGL -- cgit v1.2.3