blob: 5166fece092a97b9a332fa6f7b9a1cf7b08856cb [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From e62d5b59262ec7ffe07931790712c7e247377795 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Thu, 21 Feb 2013 09:31:31 +0100
4Subject: [PATCH] configure.ac remove additional c++ test
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9For openembedded cross-builds CXX can contain something like:
10
11arm-oe-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm
12
13This ends up in
14
15configure:5582: error: No C++ compiler found. Please install a C++ compiler.
16
17Anyway if [1] is still valid, the combination of AC_PROG_CC and AC_PROG_CXX
18should thow an error message.
19
20[1] http://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg00001.html
21
22Upstream-Status: Inappropriate [configuration]
23
24Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com>
25---
26 configure.ac | 5 -----
27 1 files changed, 0 insertions(+), 5 deletions(-)
28
29diff --git a/configure.ac b/configure.ac
30index c37312a..742bf35 100644
31--- a/configure.ac
32+++ b/configure.ac
33@@ -26,11 +26,6 @@ AC_USE_SYSTEM_EXTENSIONS
34 AC_PROG_CC
35
36 AC_PROG_CXX
37-# check for C++ compiler explicitly and fail if none is found, do this check
38-# after AC_PROG_CXX has set the CXX environment variable
39-if ! which $CXX >/dev/null 2>&1; then
40- AC_MSG_ERROR([No C++ compiler found. Please install a C++ compiler.])
41-fi
42
43 AC_PROG_INSTALL
44 AC_PROG_LN_S
45--
461.7.6.5
47