/hg/icedtea6: Also fail if the C compiler is not found.
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Thu Sep 19 09:01:04 PDT 2013
changeset 73058db81e91 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=73058db81e91
author: Andrew John Hughes <gnu.andrew at redhat.com>
date: Thu Sep 19 17:00:58 2013 +0100
Also fail if the C compiler is not found.
2013-09-19 Andrew John Hughes <gnu.andrew at redhat.com>
* configure.ac:
Check if CC gets set and fail if not.
diffstat:
ChangeLog | 5 +++++
configure.ac | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
diffs (26 lines):
diff -r a431aea72bfc -r 73058db81e91 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 <gnu.andrew at redhat.com>
+
+ * configure.ac:
+ Check if CC gets set and fail if not.
+
2013-09-19 Andrew John Hughes <gnu.andrew at redhat.com>
* configure.ac:
diff -r a431aea72bfc -r 73058db81e91 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.])
More information about the distro-pkg-dev
mailing list