Fix autoconf warning

This commit is contained in:
Nikolay Merinov 2012-09-23 22:00:12 +06:00 committed by Giuseppe Scrivano
parent 67e6027ea1
commit 7c0270cdb5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-09-23 Merinov Nikolay <kim.roader@gmail.com>
* 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 <gscrivano@gnu.org>
* bootstrap: Update from gnulib.

View File

@ -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.])