[PATCH] configure.ac: Fix failure caused by x32 ABI test
Simon Horman
horms at verge.net.au
Wed Apr 8 19:10:13 PDT 2015
On Wed, Apr 08, 2015 at 12:48:58PM -0500, Aníbal Limón wrote:
> 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>
Thanks for following up on this, applied.
> ---
> 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