From 6b4d339d3b545835737b373788a007c9a81faa2f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Kie=C5=9B?= Date: Tue, 2 Oct 2012 11:01:10 +0200 Subject: [PATCH] - using ac_ct_CXX internal variable is not the right way --- autoconf-cxx.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 autoconf-cxx.patch diff --git a/autoconf-cxx.patch b/autoconf-cxx.patch new file mode 100644 index 0000000..748ea18 --- /dev/null +++ b/autoconf-cxx.patch @@ -0,0 +1,25 @@ +diff -uNr anjuta-3.6.0/configure.ac anjuta-3.6.0.new/configure.ac +--- anjuta-3.6.0/configure.ac 2012-09-26 23:16:42.000000000 +0200 ++++ anjuta-3.6.0.new/configure.ac 2012-10-02 10:46:43.690159033 +0200 +@@ -66,6 +66,9 @@ + + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + ++dnl Check C++ compiler before C compiler ++AC_PROG_CXX ++ + dnl Check for C Compiler + AC_PROG_CC + AC_PROG_CPP +@@ -79,11 +82,6 @@ + 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 + AM_PROG_CC_C_O + + GNOME_COMPILE_WARNINGS([maximum]) -- 2.43.0