changeset 2951:38e2c5cb8310

Fail if a C++ compiler is not installed. 2013-09-19 Andrew John Hughes <gnu.andrew@redhat.com> * configure.ac: Check if CXX gets set and fail if not.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Thu, 19 Sep 2013 16:58:11 +0100
parents c982036ea4b3
children c9ac092141ed
files ChangeLog configure.ac
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jan 20 08:52:16 2014 +0000
+++ b/ChangeLog	Thu Sep 19 16:58:11 2013 +0100
@@ -1,3 +1,8 @@
+2013-09-19  Andrew John Hughes  <gnu.andrew@redhat.com>
+
+	* configure.ac:
+	Check if CXX gets set and fail if not.
+
 2013-08-28  Andrew John Hughes  <gnu.andrew@redhat.com>
 
 	* Makefile.am:
--- a/configure.ac	Mon Jan 20 08:52:16 2014 +0000
+++ 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])