>From 9300d9ef984a91bbc4d20a73e062a2d4c3561327 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh@chollian.net>
Date: Fri, 6 Dec 2013 13:53:30 +0900
Subject: [PATCH 2/3] configure: reindent

---
 configure.ac |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/configure.ac b/configure.ac
index 938cdbf..d289464 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2957,26 +2957,26 @@ AC_ARG_ENABLE(gl,
     [disable OpenGL support(default enabled)])])
 have_gl="no"
 AS_IF([test "${enable_gl}" != "no"], [
-PKG_CHECK_MODULES([GL], [gl], [
-  have_gl="yes"
-], [
-  AC_CHECK_HEADER([GL/gl.h], [
+  PKG_CHECK_MODULES([GL], [gl], [
     have_gl="yes"
-    GL_CFLAGS=""
-    AS_IF([test "${SYS}" = "mingw32"], [
-      AC_CHECK_HEADER([GL/glew.h], [
+  ], [
+    AC_CHECK_HEADER([GL/gl.h], [
+      have_gl="yes"
+      GL_CFLAGS=""
+      AS_IF([test "${SYS}" = "mingw32"], [
+        AC_CHECK_HEADER([GL/glew.h], [
+        ], [
+          have_gl="no"
+        ])
+        GL_LIBS="-lopengl32"
       ], [
-        have_gl="no"
+        GL_LIBS="-lGL"
       ])
-      GL_LIBS="-lopengl32"
     ], [
-      GL_LIBS="-lGL"
+      have_gl="no"
     ])
-  ], [
-    have_gl="no"
   ])
 ])
-])
 AM_CONDITIONAL([HAVE_GL], [test "${have_gl}" = "yes"])
 
 dnl OpenGL ES 2: depends on EGL 1.1
-- 
1.7.3.2

