mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-23 15:40:14 +08:00
d5a20f0b70
These subdirs have unique configure scripts to do some compiler tests. The checks should work for all targets, so hoist them up to the top libgloss dir. This should allow us to delete these subdir configure scripts. It means the top-level gains autoheader support, but that's fine. It wasn't exporting any defines previously (i.e. -D into CPPFLAGS), and all of the defines it now exports are only used by code in the libnosys subdir which was expecting to have a config.h.
28 lines
557 B
Plaintext
28 lines
557 B
Plaintext
dnl Make sure syscall names match those being used by newlib
|
|
case "${target}" in
|
|
*-*-cygwin*) ;;
|
|
a29k-amd-udi) ;;
|
|
aarch64*-*-*) ;;
|
|
arc-*-*) ;;
|
|
arm*-*-*) ;;
|
|
bfin-*-*) ;;
|
|
cris-*-* | crisv32-*-*) ;;
|
|
d10v*) ;;
|
|
h8300*-*-*) ;;
|
|
h8500-*-*) ;;
|
|
i[3456]86-*-sco*) ;;
|
|
lm32-*-*) ;;
|
|
m32r-*-*) ;;
|
|
mn10?00-*-*) ;;
|
|
riscv*-*-*) ;;
|
|
powerpcle-*-pe) ;;
|
|
sh*-*-*) ;;
|
|
sparc-sun-sunos*) ;;
|
|
sparc64-*-*) ;;
|
|
v850*-*-*) ;;
|
|
w65-*-*) ;;
|
|
xstormy16-*-*) ;;
|
|
z8k-*-*) ;;
|
|
*) AC_DEFINE(MISSING_SYSCALL_NAMES, 1, [Missing syscall names]) ;;
|
|
esac
|