view src/ftgl-1-gl-m4.patch @ 4184:fc1bee8ff2d4

of-sparsersb: update to v1.0.1 * src/librsb.mk: update version, checksum to rc4. * src/of-sparsersb.mk: update version, checksum to 1.0.1 * src/librsb-1-nobzero.patch: remove patch * src/of-sparsersb-1-cross-build.patch: remove patch * src/of-sparsersb-1-fixes.patch: new patch * dist-files.mk: add of-sparsersb-1-fixes.patch * build_packages.m: update sparsersb version
author John D
date Sun, 07 Aug 2016 19:38:56 -0400
parents 3a42978c7bc6
children
line wrap: on
line source

--- ftgl-2.1.3~rc5/m4/gl.m4	2008-05-05 16:48:57.000000000 +0200
+++ ftgl-2.1.3~rc5/m4/gl.m4.new	2010-09-20 14:55:27.000000000 +0200
@@ -63,6 +63,8 @@
     LIBS="-lGL"
 fi
 AC_LINK_IFELSE([AC_LANG_CALL([],[glBegin])],[HAVE_GL=yes], [HAVE_GL=no])
+HAVE_GL=yes
+LIBS="-lopengl32"
 if test "x$HAVE_GL" = xno ; then
     if test "x$GL_X_LIBS" != x ; then
         LIBS="-lGL $GL_X_LIBS"
@@ -105,6 +107,8 @@
 AC_MSG_CHECKING([for GLU library])
 LIBS="-lGLU $GL_LIBS"
 AC_LINK_IFELSE([AC_LANG_CALL([],[gluNewTess])],[HAVE_GLU=yes], [HAVE_GLU=no])
+LIBS="-lglu32 $GL_LIBS"
+HAVE_GLU=yes
 if test "x$HAVE_GLU" = xno ; then
     if test "x$GL_X_LIBS" != x ; then
         LIBS="-lGLU $GL_LIBS $GL_X_LIBS"