netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@medozas.de>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 3/4] m4: resolve autoconf-2.68 warnings
Date: Sat, 17 Dec 2011 16:37:09 +0100	[thread overview]
Message-ID: <1324136231-25643-4-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1324136231-25643-1-git-send-email-jengelh@medozas.de>

Newer autoconf desires proper full quoting and use of AC_LANG_SOURCE.
Import new m4 file from git://dev.medozas.de/m4_jengelh.

m4/gcc4_visibility.m4:4: CHECK_GCC_FVISIBILITY is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
---
 m4/gcc4_visibility.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/gcc4_visibility.m4 b/m4/gcc4_visibility.m4
index 84959f3..214d3f3 100644
--- a/m4/gcc4_visibility.m4
+++ b/m4/gcc4_visibility.m4
@@ -7,13 +7,13 @@ AC_DEFUN([CHECK_GCC_FVISIBILITY], [
 	CFLAGS="$saved_CFLAGS -fvisibility=hidden"
 	AC_CACHE_CHECK([whether compiler accepts -fvisibility=hidden],
 	  [ac_cv_fvisibility_hidden], AC_COMPILE_IFELSE(
-		AC_LANG_PROGRAM([], []),
+		[AC_LANG_SOURCE()],
 		[ac_cv_fvisibility_hidden=yes],
 		[ac_cv_fvisibility_hidden=no]
 	))
 	if test "$ac_cv_fvisibility_hidden" = "yes"; then
 		AC_DEFINE([HAVE_VISIBILITY_HIDDEN], [1],
-		  [True if compiler supports -fvisibility=hidden])
+			[True if compiler supports -fvisibility=hidden])
 		AC_SUBST([GCC_FVISIBILITY_HIDDEN], [-fvisibility=hidden])
 	fi
 	CFLAGS="$saved_CFLAGS"
-- 
1.7.3.4


  parent reply	other threads:[~2011-12-17 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-17 15:37 libmnl: build updates Jan Engelhardt
2011-12-17 15:37 ` [PATCH 1/4] Update .gitignore Jan Engelhardt
2011-12-17 15:37 ` [PATCH 2/4] build: use AC_CONFIG_AUX_DIR and stash away tools Jan Engelhardt
2011-12-17 15:37 ` Jan Engelhardt [this message]
2011-12-17 15:37 ` [PATCH 4/4] build: disable implicit .tar.gz archive generation and use POSIX mode Jan Engelhardt
2011-12-27 18:50 ` libmnl: build updates Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1324136231-25643-4-git-send-email-jengelh@medozas.de \
    --to=jengelh@medozas.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).