changeset 3037:f5dc6cff5bb5

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 347a942613ee
children dc1e3d4ec38a
files ChangeLog configure.ac
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jan 21 16:37:21 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.
+
 2014-01-21  Andrew John Hughes  <gnu.andrew@redhat.com>
 
 	* Makefile.am:
--- a/configure.ac	Tue Jan 21 16:37:21 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])