commit: 912aaab983c5a4c4b96b86cd62e7243211437754
parent 7449419ed07f15b90df60b95192f4ac071037bba
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 14 Jul 2023 23:03:06 +0200
notes/pure-wayland: ax_check_gl.m4 patch
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml
@@ -45,7 +45,7 @@
<li>Replace <code>OPENGL_gl_LIBRARY</code> to <code>OPENGL_opengl_LIBRARY</code>. This will allow to use libOpenGL.so over libGL.so when possible.</li>
</ol>
<h3>Auto*hell</h3>
- <p>Use something like the following:</p>
+ <p>Either use <code>AX_CHECK_GL</code> from autoconf-archive with <a href="http://savannah.gnu.org/patch/index.php?10369">patch #10369: ax_check_gl.m4: Fallback to libOpenGL</a>, or use something like the following:</p>
<pre><code>AC_CHECK_HEADER(
[GL/gl.h],
AC_SEARCH_LIBS(glVertex3f, [opengl32 GL GL2 OpenGL], [test $ac_cv_search_glVertex3f = "none required" || GL_LIBS="$ac_cv_search_glVertex3f $GL_LIBS"], [AC_MSG_ERROR(*** OpenGL library not found on system!)]),