[packages/anjuta] - using ac_ct_CXX internal variable is not the right way

kiesiu kiesiu at pld-linux.org
Tue Oct 2 11:03:08 CEST 2012


commit 6b4d339d3b545835737b373788a007c9a81faa2f
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Tue Oct 2 11:01:10 2012 +0200

    - using ac_ct_CXX internal variable is not the right way

 autoconf-cxx.patch | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
---
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])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/anjuta.git/commitdiff/71f17129a83031bcc0b611ec16ca1b9a26893d0e



More information about the pld-cvs-commit mailing list