]> git.pld-linux.org Git - packages/anjuta.git/commitdiff
- using ac_ct_CXX internal variable is not the right way
authorŁukasz Kieś <kiesiu@pld-linux.org>
Tue, 2 Oct 2012 09:01:10 +0000 (11:01 +0200)
committerŁukasz Kieś <kiesiu@pld-linux.org>
Tue, 2 Oct 2012 09:01:10 +0000 (11:01 +0200)
autoconf-cxx.patch [new file with mode: 0644]

diff --git a/autoconf-cxx.patch b/autoconf-cxx.patch
new file mode 100644 (file)
index 0000000..748ea18
--- /dev/null
@@ -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])
This page took 0.099489 seconds and 4 git commands to generate.