summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpoljar (Damir Jelić) <poljarinho@gmail.com>2013-09-16 02:00:35 +0200
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-09-17 19:21:12 +0530
commitf9a54a0d04a9d3bda229d751d43817ddde9e06fe (patch)
treea0303a7bba1acbfed9b8720523cb4d8a75fb492e
parentb58ab2b3514670d687cca46e18cfc49b9ee1ea25 (diff)
downloadpulseaudio-f9a54a0d04a9d3bda229d751d43817ddde9e06fe.tar.gz
build-sys: Silence warning about missing AC_LANG_SOURCE call in acx_libwrap.m4
This updates the acx_libwrap.m4 macro for autoconf 2.68 and fixes warnings like: configure.ac:471: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
-rw-r--r--m4/acx_libwrap.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/acx_libwrap.m4 b/m4/acx_libwrap.m4
index e1602144b..ccf8afc0a 100644
--- a/m4/acx_libwrap.m4
+++ b/m4/acx_libwrap.m4
@@ -4,13 +4,13 @@ saved_LIBS="$LIBS"
LIBS="$LIBS -lwrap"
AC_MSG_CHECKING([for tcpwrap library and headers])
AC_LINK_IFELSE(
-AC_LANG_PROGRAM(
+[AC_LANG_PROGRAM(
[#include <tcpd.h>
#include <syslog.h>
int allow_severity = LOG_INFO;
int deny_severity = LOG_WARNING;],
[struct request_info *req;
-return hosts_access (req);]),
+return hosts_access (req);])],
[AC_DEFINE(HAVE_LIBWRAP, [], [Have tcpwrap?])
LIBWRAP_LIBS="-lwrap"
AC_MSG_RESULT(yes)],