Ignore:
Timestamp:
Aug 1, 2011, 7:12:59 PM (8 years ago)
Author:
sam
Message:

build: detect libopengl32 on mingw systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r785 r793  
    8989  AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available)
    9090  GL_LIBS="-lGL"]) # FIXME: hackish
     91AC_CHECK_HEADER(GL/gl.h,
     92 [AC_TRY_COMPILE([#include <GL/gl.h>],
     93   [glLoadIdentity();],
     94   [ac_cv_my_have_gl="yes"
     95    AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available)
     96    GL_LIBS="-lopengl32"])]) # FIXME: hackish
    9197if test "${ac_cv_my_have_gl}" = "no"; then
    9298  AC_MSG_ERROR([[No OpenGL or OpenGL ES implementation found]])
     
    190196AC_SUBST(LOL_LIBS)
    191197
    192 AC_CONFIG_FILES([
    193   Makefile
     198AC_CONFIG_FILES(
     199 [Makefile
    194200  src/Makefile
    195201  test/Makefile
     
    198204  tools/Makefile
    199205])
    200 AC_CONFIG_FILES([
    201   monsterz/Makefile
     206AC_CONFIG_FILES(
     207 [monsterz/Makefile
    202208])
    203 AC_CONFIG_FILES([
    204   deushax/Makefile
     209AC_CONFIG_FILES(
     210 [deushax/Makefile
    205211  deushax/art/Makefile
    206212  deushax/art/test/Makefile
Note: See TracChangeset for help on using the changeset viewer.