]> sourceware.org Git - newlib-cygwin.git/commit
newlib: update preprocessor configure checks
authorMike Frysinger <vapier@gentoo.org>
Sun, 23 Jan 2022 01:35:00 +0000 (20:35 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 24 Jan 2022 03:35:21 +0000 (22:35 -0500)
commit2e9aa5f56cc26a411014a7f788423c670cfb5646
treea4f028fc70a636b18be9a4fe3b8c4757568f3088
parentdfa088ab660c80678825ba89f88f9338cfaed3f7
newlib: update preprocessor configure checks

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.
13 files changed:
newlib/libc/machine/nds32/Makefile.in
newlib/libc/machine/nds32/configure
newlib/libc/machine/nds32/configure.ac
newlib/libc/machine/sh/Makefile.in
newlib/libc/machine/sh/configure
newlib/libc/machine/sh/configure.ac
newlib/libc/machine/spu/Makefile.in
newlib/libc/machine/spu/aclocal.m4
newlib/libc/machine/spu/configure
newlib/libc/machine/spu/configure.ac
newlib/libm/machine/nds32/Makefile.in
newlib/libm/machine/nds32/configure [changed mode: 0644->0755]
newlib/libm/machine/nds32/configure.ac
This page took 0.031417 seconds and 5 git commands to generate.