From f7a9bbdd4fe2d94992a70002d10585c989b47912 Mon Sep 17 00:00:00 2001 From: Dan McMahill Date: Mon, 2 Jan 2017 10:51:58 -0500 Subject: [PATCH] When the GL libraries are installed in the $x_libraries area, the configure check was failing to find libGL and libGLU. This is because the code tried to add $x_libraries slightly too late. --- m4/ax_check_gl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/ax_check_gl.m4 b/m4/ax_check_gl.m4 index 808e0f4334..e08e9c57f4 100644 --- a/m4/ax_check_gl.m4 +++ b/m4/ax_check_gl.m4 @@ -99,9 +99,9 @@ case $host_cpu in esac ax_save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $GL_CFLAGS" -ax_save_LDFLAGS=$LDFLAGS AS_IF([test X$no_x != Xyes -a -n "$x_libraries"], [LDFLAGS="$LDFLAGS -L$x_libraries"]) +ax_save_LDFLAGS=$LDFLAGS ax_save_LIBS=$LIBS ax_check_libs="-lopengl32 -lGL" for ax_lib in $ax_check_libs; do -- 2.11.4.GIT