summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/configure.in
blob: bca12129dbfe2392f41b66939cb115d112717ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
dnl This is the newlib/libc/machine configure.in file.
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT([newlib],[NEWLIB_VERSION])
AC_CONFIG_SRCDIR([d10v])

dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. 
AC_CONFIG_AUX_DIR(../../..)

NEWLIB_CONFIGURE(../..)

dnl We have to add the following lines because automake detects the
dnl references to libtool libraries from aclocal and tries to verify that
dnl AM_PROG_LIBTOOL is being used.  This must be added after
dnl the call to NEWLIB_CONFIGURE.
_LT_DECL_SED
_LT_PROG_ECHO_BACKSLASH
if test "${use_libtool}" = "yes"; then
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
fi

if test -n "${machine_dir}"; then
  case ${machine_dir} in
	a29k) AC_CONFIG_SUBDIRS(a29k) ;;
	aarch64) AC_CONFIG_SUBDIRS(aarch64) ;;
	arc) AC_CONFIG_SUBDIRS(arc) ;;
	arm) AC_CONFIG_SUBDIRS(arm) ;;
	bfin) AC_CONFIG_SUBDIRS(bfin) ;;
	cr16) AC_CONFIG_SUBDIRS(cr16) ;;
	cris) AC_CONFIG_SUBDIRS(cris) ;;
	crx) AC_CONFIG_SUBDIRS(crx) ;;
	d10v) AC_CONFIG_SUBDIRS(d10v) ;;
	d30v) AC_CONFIG_SUBDIRS(d30v) ;;
	epiphany) AC_CONFIG_SUBDIRS(epiphany) ;;
	fr30) AC_CONFIG_SUBDIRS(fr30) ;;
	frv) AC_CONFIG_SUBDIRS(frv) ;;
	ft32) AC_CONFIG_SUBDIRS(ft32) ;;
	h8300) AC_CONFIG_SUBDIRS(h8300) ;;
	h8500) AC_CONFIG_SUBDIRS(h8500) ;;
	hppa) AC_CONFIG_SUBDIRS(hppa) ;;
	i386) AC_CONFIG_SUBDIRS(i386) ;;
	i960) AC_CONFIG_SUBDIRS(i960) ;;
	iq2000) AC_CONFIG_SUBDIRS(iq2000) ;;
	lm32) AC_CONFIG_SUBDIRS(lm32) ;;
	m32c) AC_CONFIG_SUBDIRS(m32c) ;;
	m32r) AC_CONFIG_SUBDIRS(m32r) ;;
	m68hc11) AC_CONFIG_SUBDIRS(m68hc11) ;;
	m68k) AC_CONFIG_SUBDIRS(m68k) ;;
	m88k) AC_CONFIG_SUBDIRS(m88k) ;;
	mep ) AC_CONFIG_SUBDIRS(mep) ;;
	microblaze ) AC_CONFIG_SUBDIRS(microblaze) ;;
	mips) AC_CONFIG_SUBDIRS(mips) ;;
	riscv) AC_CONFIG_SUBDIRS(riscv) ;;
	mn10200) AC_CONFIG_SUBDIRS(mn10200) ;;
	mn10300) AC_CONFIG_SUBDIRS(mn10300) ;;
	moxie) AC_CONFIG_SUBDIRS(moxie) ;;
	msp430) AC_CONFIG_SUBDIRS(msp430) ;;
	mt) AC_CONFIG_SUBDIRS(mt) ;;
	nds32) AC_CONFIG_SUBDIRS(nds32) ;;
	necv70) AC_CONFIG_SUBDIRS(necv70) ;;
	nios2) AC_CONFIG_SUBDIRS(nios2) ;;
	or1k) AC_CONFIG_SUBDIRS(or1k) ;;
	powerpc) AC_CONFIG_SUBDIRS(powerpc) ;;
	rl78) AC_CONFIG_SUBDIRS(rl78) ;;
	rx) AC_CONFIG_SUBDIRS(rx) ;;
	sh) AC_CONFIG_SUBDIRS(sh) ;;
	sparc) AC_CONFIG_SUBDIRS(sparc) ;;
	spu) AC_CONFIG_SUBDIRS(spu) ;;
	tic4x) AC_CONFIG_SUBDIRS(tic4x) ;;
	tic6x) AC_CONFIG_SUBDIRS(tic6x) ;;
	tic80) AC_CONFIG_SUBDIRS(tic80) ;;
	v850) AC_CONFIG_SUBDIRS(v850) ;;
	visium) AC_CONFIG_SUBDIRS(visium) ;;
	w65) AC_CONFIG_SUBDIRS(w65) ;;
	x86_64) AC_CONFIG_SUBDIRS(x86_64) ;;
	xc16x) AC_CONFIG_SUBDIRS(xc16x) ;;
	xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;;
	z8k) AC_CONFIG_SUBDIRS(z8k) ;;
  esac;
fi

AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)

AC_CONFIG_FILES([Makefile])
AC_OUTPUT