# HG changeset patch # User Andrew John Hughes # Date 1379606458 -3600 # Node ID dc1e3d4ec38ace0f18f5eb3ff47f7a549158c910 # Parent f5dc6cff5bb5b4dd51f60f4720763a9854840aa5 Also fail if the C compiler is not found. 2013-09-19 Andrew John Hughes * configure.ac: Check if CC gets set and fail if not. diff -r f5dc6cff5bb5 -r dc1e3d4ec38a ChangeLog --- 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 + + * configure.ac: + Check if CC gets set and fail if not. + 2013-09-19 Andrew John Hughes * configure.ac: diff -r f5dc6cff5bb5 -r dc1e3d4ec38a 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.])