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