From: Jan Engelhardt <jengelh@medozas.de>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 3/3] build: run autoupdate to replace obsolete constructs
Date: Fri, 5 Nov 2010 18:37:31 +0100 [thread overview]
Message-ID: <1288978652-15892-4-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1288978652-15892-1-git-send-email-jengelh@medozas.de>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
configure.ac | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index d0145bd..b194ea8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,8 +28,7 @@ AC_CHECK_FUNCS(inet_ntop)
dnl Again, some systems have it, but not IPv6
if test "$ac_cv_func_inet_ntop" = "yes" ; then
AC_MSG_CHECKING(if inet_ntop supports IPv6)
-AC_TRY_RUN(
- [
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
@@ -52,9 +51,9 @@ int main()
else
exit(0);
}
- ], [ AC_MSG_RESULT(yes)
+ ]])],[ AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(HAVE_INET_NTOP_IPV6, 1, [Define to 1 if inet_ntop supports IPv6.])
- ], AC_MSG_RESULT(no),AC_MSG_RESULT(no))
+ ],[AC_MSG_RESULT(no)],[AC_MSG_RESULT(no)])
fi
if test ! -z "$libdir"; then
--
1.7.1
next prev parent reply other threads:[~2010-11-05 17:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-05 17:37 libnetfilter_conntrack build updates 2 Jan Engelhardt
2010-11-05 17:37 ` [PATCH 1/3] build: default to not building static libraries Jan Engelhardt
2010-11-05 17:37 ` [PATCH 2/3] build: use AC_OUTPUT Jan Engelhardt
2010-11-05 17:37 ` Jan Engelhardt [this message]
2010-11-07 19:49 ` libnetfilter_conntrack build updates 2 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=1288978652-15892-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).