[PATCH] configure.ac: Fix failure caused by x32 ABI test
Aníbal Limón
anibal.limon at linux.intel.com
Wed Apr 8 10:48:58 PDT 2015
When try to compile with zlib fails due to configure.ac
bad expansion caused by x32 ABI test that needs AC_PROG_CC
for use AC_EGREP_CPP.
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1ecadd5..e0b5f78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,7 @@ AC_INIT(kexec-tools, 2.0.10.git)
AC_CONFIG_AUX_DIR(./config)
AC_CONFIG_HEADERS([include/config.h])
AC_LANG(C)
+AC_PROG_CC
AC_DEFINE_UNQUOTED(PACKAGE_DATE, "`date '+%d %B %Y'`",
[Define to the release date of this package])
@@ -106,9 +107,6 @@ AC_ARG_WITH([booke],
dnl ---Programs
dnl To specify a different compiler, just 'export CC=/path/to/compiler'
-
-AC_PROG_CC
-
if test "${build}" != "${host}" ; then
AC_CHECK_PROGS(BUILD_CC, [${build_alias}-gcc ${build}-gcc gcc])
else
--
1.9.1
More information about the kexec
mailing list