changeset 3038:dc1e3d4ec38a

Also fail if the C compiler is not found. 2013-09-19 Andrew John Hughes <gnu.andrew@redhat.com> * configure.ac: Check if CC gets set and fail if not.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Thu, 19 Sep 2013 17:00:58 +0100
parents f5dc6cff5bb5
children e1c38bfa0650
files ChangeLog configure.ac
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Sep 19 16:58:11 2013 +0100
+++ b/ChangeLog	Thu Sep 19 17:00:58 2013 +0100
@@ -1,3 +1,8 @@
+2013-09-19  Andrew John Hughes  <gnu.andrew@redhat.com>
+
+	* configure.ac:
+	Check if CC gets set and fail if not.
+
 2013-09-19  Andrew John Hughes  <gnu.andrew@redhat.com>
 
 	* configure.ac:
--- a/configure.ac	Thu Sep 19 16:58:11 2013 +0100
+++ b/configure.ac	Thu Sep 19 17:00:58 2013 +0100
@@ -16,6 +16,10 @@
 AC_PREFIX_DEFAULT([bootstrap])
 
 AC_PROG_CC
+if test "x$CC" = x; then
+   AC_MSG_ERROR([No C compiler found.])
+fi
+
 AC_PROG_CXX
 if test "x$CXX" = x; then
    AC_MSG_ERROR([No C++ compiler found.])