Re: [PATCH] newlib: update preprocessor configure checks

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Jan 23 00:25, Mike Frysinger wrote:
> The nds32 & spu dirs are using compile tests to look for some
> preprocessor defines, but we don't need to compile the code,
> just preprocess it.  So switch to AC_PREPROC_IFELSE.
> 
> The sh dir is using a preprocessor test via grep, but let's
> switch it to AC_PREPROC_IFELSE too to be consistent.
> 
> This should allow us to drop the uncommon AC_NO_EXECUTABLES call.
> ---
>  newlib/libc/machine/nds32/Makefile.in  |    1 +
>  newlib/libc/machine/nds32/configure    |  264 +++--
>  newlib/libc/machine/nds32/configure.ac |    9 +-
>  newlib/libc/machine/sh/Makefile.in     |    2 -
>  newlib/libc/machine/sh/configure       |  232 +----
>  newlib/libc/machine/sh/configure.ac    |   10 +-
>  newlib/libc/machine/spu/Makefile.in    |    6 +
>  newlib/libc/machine/spu/aclocal.m4     |   64 ++
>  newlib/libc/machine/spu/configure      | 1318 +++++++++++++++++++++---
>  newlib/libc/machine/spu/configure.ac   |   15 +-
>  newlib/libm/machine/nds32/Makefile.in  |    1 +
>  newlib/libm/machine/nds32/configure    |  270 +++--
>  newlib/libm/machine/nds32/configure.ac |   17 +-
>  13 files changed, 1656 insertions(+), 553 deletions(-)
>  mode change 100644 => 100755 newlib/libm/machine/nds32/configure

LGTM


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.