/hg/icedtea6: Fail if a C++ compiler is not installed.

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Thu Sep 19 08:58:19 PDT 2013


changeset a431aea72bfc in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=a431aea72bfc
author: Andrew John Hughes <gnu.andrew at redhat.com>
date: Thu Sep 19 16:58:11 2013 +0100

	Fail if a C++ compiler is not installed.

	2013-09-19  Andrew John Hughes  <gnu.andrew at redhat.com>

		* configure.ac:
		Check if CXX gets set and fail if not.


diffstat:

 ChangeLog    |  5 +++++
 configure.ac |  3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r 48ba1e242c44 -r a431aea72bfc ChangeLog
--- a/ChangeLog	Tue Sep 17 20:08:21 2013 +0200
+++ b/ChangeLog	Thu Sep 19 16:58:11 2013 +0100
@@ -1,3 +1,8 @@
+2013-09-19  Andrew John Hughes  <gnu.andrew at redhat.com>
+
+	* configure.ac:
+	Check if CXX gets set and fail if not.
+
 2013-09-17  Xerxes RÃ¥nby  <xerxes at zafena.se>
 	    Robert Lougher  <rob at jamvm.org.uk>
 
diff -r 48ba1e242c44 -r a431aea72bfc configure.ac
--- a/configure.ac	Tue Sep 17 20:08:21 2013 +0200
+++ b/configure.ac	Thu Sep 19 16:58:11 2013 +0100
@@ -17,6 +17,9 @@
 
 AC_PROG_CC
 AC_PROG_CXX
+if test "x$CXX" = x; then
+   AC_MSG_ERROR([No C++ compiler found.])
+fi
 
 IT_FIND_TOOL([MAKE], [make])
 IT_FIND_TOOL([GZIP], [gzip])



More information about the distro-pkg-dev mailing list