Blame SOURCES/elinks-0.12pre6-autoconf.patch

5a1f25
From d7380abead73dc753023ef598b87944756c08d40 Mon Sep 17 00:00:00 2001
5a1f25
From: Kamil Dudka <kdudka@redhat.com>
5a1f25
Date: Mon, 25 Feb 2013 15:31:07 +0100
5a1f25
Subject: [PATCH] configure.in: add missing AC_LANG_PROGRAM
5a1f25
5a1f25
... around the first argument of AC_COMPILE_IFELSE
5a1f25
---
5a1f25
 configure.in |    4 ++--
5a1f25
 1 files changed, 2 insertions(+), 2 deletions(-)
5a1f25
5a1f25
diff --git a/configure.in b/configure.in
5a1f25
index 2629ac3..4290e45 100644
5a1f25
--- a/configure.in
5a1f25
+++ b/configure.in
5a1f25
@@ -220,7 +220,7 @@ AC_STRUCT_TM
5a1f25
 AC_C_CONST
5a1f25
 AC_C_INLINE
5a1f25
 AC_MSG_CHECKING([[for C99-conforming inline]])
5a1f25
-AC_COMPILE_IFELSE([[
5a1f25
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
5a1f25
 	int add(int change);
5a1f25
 
5a1f25
 	static int sum;
5a1f25
@@ -236,7 +236,7 @@ AC_COMPILE_IFELSE([[
5a1f25
 	sub(int change)
5a1f25
 	{
5a1f25
 		return add(-change);
5a1f25
-	}]],
5a1f25
+	}]])],
5a1f25
 	[AC_MSG_RESULT([[yes]])
5a1f25
 	 AC_DEFINE([NONSTATIC_INLINE], [inline],
5a1f25
 		[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.])],
5a1f25
-- 
5a1f25
1.7.1
5a1f25