summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Roucariès <bastien.roucaries+debian@gmail.com>2017-07-26 23:39:52 +0200
committerBastien Roucariès <bastien.roucaries+debian@gmail.com>2017-08-15 14:26:59 +0200
commit2884c1fffa0e04cbc32807578afe27ab33bd4100 (patch)
treec1006f5335e0a28c14cdab6dc3a3ca6d0a24bd3c
parentae13f1403ee84e42d83289d84f1541a1e45ba7eb (diff)
downloadautoconf-archive-2884c1fffa0e04cbc32807578afe27ab33bd4100.tar.gz
Do not forget to save LDFLAGS
ax_check_gl forget to save LDFLAGS Thanks to Jerome Benoit <calculus@rezozer.net> debian-bug; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848363
-rw-r--r--m4/ax_check_gl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_check_gl.m4 b/m4/ax_check_gl.m4
index cc4c426..a22747e 100644
--- a/m4/ax_check_gl.m4
+++ b/m4/ax_check_gl.m4
@@ -164,7 +164,7 @@ AC_DEFUN([_AX_CHECK_GL_COMPILE_CV],
# Link the example program
AC_DEFUN([_AX_CHECK_GL_LINK],
[dnl
- _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]])
+ _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS],[LDFLAGS]])
AC_LINK_IFELSE([_AX_CHECK_GL_PROGRAM],
[ax_check_gl_link_opengl="yes"],
[ax_check_gl_link_opengl="no"])