Mercurial > hg > release > icedtea6-1.11
changeset 2952:c9ac092141ed
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 | 38e2c5cb8310 |
children | cb0efad69ad3 |
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.])