Blame SOURCES/elinks-0.12pre6-autoconf.patch

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