summaryrefslogtreecommitdiff
blob: db844e07fb68524693e5cd8aedf1ccba3aabf465 (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
26
27
28
From 4d59f47b7f42951638f4390ef1a4a3373486d083 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue, 25 Sep 2012 02:32:31 -0400
Subject: [PATCH] configure: fix C++ compiler check

AC_PROG_CXX sets CXX, not ac_ct_CXX

https://bugzilla.gnome.org/show_bug.cgi?id=684758
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 106c1b4..21e9386 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,7 @@ fi
 AC_LANG([C])
 AC_LANG([C++])
 AC_PROG_CXX
-if test "x$ac_ct_CXX" = "x"
+if test "x$CXX" = "x"
 then
   AC_MSG_ERROR([C++ Compiler required to compile Anjuta])
 fi
-- 
1.7.12