From 7472da5ca328fac9435e227d1e24cdeb4b47e508 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Thu, 20 Jun 2013 12:40:41 -0400
Subject: Add patch to fix libc sysdeps preconfigure on ash.

AS_LINENO_PREPARE was causing an infinitely recursive configure loop.

Before:

    configure: loading cache config.cache
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cpp
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for readelf... readelf
    checking for sysdeps preconfigure fragments... x86_64 configure: WARNING: you should use --build, --host, --target
    configure: WARNING: you should use --build, --host, --target
    checking build system type... (cached) x86_64-unknown-linux-gnu
    checking host system type... (cached) x86_64-unknown-linux-gnu
    checking for dummy-gcc... gcc
    checking for suffix of object files... (cached) o
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking how to run the C preprocessor... cpp
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking for dummy-readelf... readelf
    checking for sysdeps preconfigure fragments... x86_64 configure: WARNING: you should use --build, --host, --target
    configure: WARNING: you should use --build, --host, --target
    [...]

After:

    configure: loading cache config.cache
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cpp
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for readelf... readelf
    checking for sysdeps preconfigure fragments... x86_64 checking whether gcc compiles in -mx32 mode by default... no
---
(limited to 'changelog')

--
cgit v0.9.1