Package: autoconf-archive Version: 20160916-1 Severity: normal Tags: upstream patch
Dear Maintainer, it appears that the macro _AX_CHECK_GL_LINK in ax_check_gl.m4 currently restores LDFLAGS without saving it before, what is critical because, for example, the LDFLAGS from the dpkg-buildflags(1) is then dropped. Thanks, Jerome -- System Information: Debian Release: Jessie* APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.7-ckt20-0001-mbp62 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) autoconf-archive depends on no packages. Versions of packages autoconf-archive recommends: ii autoconf 2.69-8 autoconf-archive suggests no packages. -- no debconf information
--- ax_check_gl.m4-orig 2016-10-10 21:34:37.000000000 +0100 +++ ax_check_gl.m4 2016-12-16 16:54:19.198552717 +0000 @@ -164,7 +164,7 @@ # 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"])