* configure.ac: Error if no $BUILD_CC could be found.

Reported by: DevHC.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-14 10:54:20 +02:00
parent 2af2353b0a
commit 816719c8d4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-08-14 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Error if no $BUILD_CC could be found.
Reported by: DevHC.
2013-08-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/i386/coreboot/init.c: Fix compilation on

View File

@ -406,8 +406,8 @@ fi
# Check for host and build compilers.
#
HOST_CC=$CC
AC_CHECK_PROGS(BUILD_CC, [gcc egcs cc],
[AC_MSG_ERROR([none of gcc, egcs and cc is found. set BUILD_CC manually.])])
AC_CHECK_PROGS(BUILD_CC, [gcc egcs cc])
test -z "$BUILD_CC" && AC_MSG_ERROR([none of gcc, egcs and cc is found. set BUILD_CC manually.])
# For gnulib.
gl_INIT