summaryrefslogtreecommitdiffstats
path: root/patches/xmlrpc-c-1.06.42/0005-calling-AC_PROG_CXX-conditionally-is-broken-with-aut.patch
blob: e29d53a9f00142014c722a86ed2b14b43520a29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Tue, 31 Jan 2012 21:04:17 +0100
Subject: [PATCH] calling AC_PROG_CXX conditionally is broken with autoconf >
 2.52

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 configure.in |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index a83076a..705eb35 100644
--- a/configure.in
+++ b/configure.in
@@ -213,9 +213,7 @@ dnl Checks for programs.
 dnl =======================================================================
 
 AC_PROG_CC
-if test x"$enable_cplusplus" != xno; then
-    AC_PROG_CXX
-fi
+AC_PROG_CXX
 
 
 dnl =======================================================================