]> git.pld-linux.org Git - packages/anjuta.git/blob - autoconf-cxx.patch
- using ac_ct_CXX internal variable is not the right way
[packages/anjuta.git] / autoconf-cxx.patch
1 diff -uNr anjuta-3.6.0/configure.ac anjuta-3.6.0.new/configure.ac
2 --- anjuta-3.6.0/configure.ac   2012-09-26 23:16:42.000000000 +0200
3 +++ anjuta-3.6.0.new/configure.ac       2012-10-02 10:46:43.690159033 +0200
4 @@ -66,6 +66,9 @@
5  
6  m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7  
8 +dnl Check C++ compiler before C compiler
9 +AC_PROG_CXX
10 +
11  dnl Check for C Compiler
12  AC_PROG_CC
13  AC_PROG_CPP
14 @@ -79,11 +82,6 @@
15  fi
16  AC_LANG([C])
17  AC_LANG([C++])
18 -AC_PROG_CXX
19 -if test "x$ac_ct_CXX" = "x"
20 -then
21 -  AC_MSG_ERROR([C++ Compiler required to compile Anjuta])
22 -fi
23  AM_PROG_CC_C_O
24  
25  GNOME_COMPILE_WARNINGS([maximum])
This page took 0.059354 seconds and 3 git commands to generate.