Autoconf version 2.68 and higher print warnings like > configure.ac:222: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected > in body
The patch to silence autoconf warning attached to this letter. This changes are also compatible with autoconf 2.61 required by current configure.ac.
>From 6b183f29ae4f1043bd1e4ad7f34ee0a146692fdb Mon Sep 17 00:00:00 2001 From: Nikolay Merinov <[email protected]> Date: Sun, 23 Sep 2012 22:00:12 +0600 Subject: [PATCH 1/2] Fix autoconf warning --- ChangeLog | 5 +++++ m4/wget.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ebc4af..2f9498a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-23 Merinov Nikolay <[email protected]> + + * m4/wget.m4 (WGET_FNMATCH): Add AC_LANG_SOURCE into + AC_COMPILE_IFELSE in order to silence autoconf 2.68 warning. + 2012-09-20 Giuseppe Scrivano <[email protected]> * bootstrap: Update from gnulib. diff --git a/m4/wget.m4 b/m4/wget.m4 index 02d0cf9..777e973 100644 --- a/m4/wget.m4 +++ b/m4/wget.m4 @@ -51,8 +51,8 @@ dnl /usr/local/include (!), which GCC uses before /usr/include. AC_DEFUN([WGET_FNMATCH], [ AC_MSG_CHECKING([for working fnmatch.h]) - AC_COMPILE_IFELSE([#include <fnmatch.h> - ], [ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include <fnmatch.h> + ])], [ AC_MSG_RESULT(yes) AC_DEFINE([HAVE_WORKING_FNMATCH_H], 1, [Define if fnmatch.h can be included.]) -- 1.7.10.4
