From 7c0270cdb52e6f6a8a20be74ee44f8339cc38ae2 Mon Sep 17 00:00:00 2001 From: Nikolay Merinov Date: Sun, 23 Sep 2012 22:00:12 +0600 Subject: [PATCH] Fix autoconf warning --- ChangeLog | 5 +++++ m4/wget.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ebc4af9..2f9498ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-23 Merinov Nikolay + + * 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 * bootstrap: Update from gnulib. diff --git a/m4/wget.m4 b/m4/wget.m4 index 02d0cf95..777e9734 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 - ], [ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([#include + ])], [ AC_MSG_RESULT(yes) AC_DEFINE([HAVE_WORKING_FNMATCH_H], 1, [Define if fnmatch.h can be included.])