[anjuta] build: bgo#684758 - anjuta-3.5.91 fails to configure due to ac_ct_CXX check
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] build: bgo#684758 - anjuta-3.5.91 fails to configure due to ac_ct_CXX check
- Date: Sat, 13 Oct 2012 20:35:33 +0000 (UTC)
commit ed542779a5d35c3cdef3567a9c1aaaf8cfa23b19
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Sat Oct 13 22:35:09 2012 +0200
build: bgo#684758 - anjuta-3.5.91 fails to configure due to ac_ct_CXX check
configure.ac | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 631b45b..70b2f5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,10 +80,8 @@ fi
AC_LANG([C])
AC_LANG([C++])
AC_PROG_CXX
-if test "x$ac_ct_CXX" = "x"
-then
- AC_MSG_ERROR([C++ Compiler required to compile Anjuta])
-fi
+AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],,
+ AC_MSG_ERROR([C++ Compiler required to compile Anjuta]))
AM_PROG_CC_C_O
GNOME_COMPILE_WARNINGS([maximum])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]