Blame SOURCES/elinks-0.12pre6-autoconf.patch

b07f02
From d7380abead73dc753023ef598b87944756c08d40 Mon Sep 17 00:00:00 2001
b07f02
From: Kamil Dudka <kdudka@redhat.com>
b07f02
Date: Mon, 25 Feb 2013 15:31:07 +0100
b07f02
Subject: [PATCH] configure.in: add missing AC_LANG_PROGRAM
b07f02
b07f02
... around the first argument of AC_COMPILE_IFELSE
b07f02
---
b07f02
 configure.in |    4 ++--
b07f02
 1 files changed, 2 insertions(+), 2 deletions(-)
b07f02
b07f02
diff --git a/configure.in b/configure.in
b07f02
index 2629ac3..4290e45 100644
b07f02
--- a/configure.in
b07f02
+++ b/configure.in
b07f02
@@ -220,7 +220,7 @@ AC_STRUCT_TM
b07f02
 AC_C_CONST
b07f02
 AC_C_INLINE
b07f02
 AC_MSG_CHECKING([[for C99-conforming inline]])
b07f02
-AC_COMPILE_IFELSE([[
b07f02
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
b07f02
 	int add(int change);
b07f02
 
b07f02
 	static int sum;
b07f02
@@ -236,7 +236,7 @@ AC_COMPILE_IFELSE([[
b07f02
 	sub(int change)
b07f02
 	{
b07f02
 		return add(-change);
b07f02
-	}]],
b07f02
+	}]])],
b07f02
 	[AC_MSG_RESULT([[yes]])
b07f02
 	 AC_DEFINE([NONSTATIC_INLINE], [inline],
b07f02
 		[Define as inline if the compiler lets you declare a function without inline, then define it with inline, and have that definition refer to identifiers with internal linkage.  This is allowed by C99 6.7.4p6 and 6.7.4p3 together.  Otherwise define as nothing.])],
b07f02
-- 
b07f02
1.7.1
b07f02