1 | dnl This is the newlib/libc/machine configure.in file. |
---|
2 | dnl Process this file with autoconf to produce a configure script. |
---|
3 | |
---|
4 | AC_PREREQ(2.59) |
---|
5 | AC_INIT([newlib],[NEWLIB_VERSION]) |
---|
6 | AC_CONFIG_SRCDIR([d10v]) |
---|
7 | |
---|
8 | dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. |
---|
9 | AC_CONFIG_AUX_DIR(../../..) |
---|
10 | |
---|
11 | NEWLIB_CONFIGURE(../..) |
---|
12 | |
---|
13 | dnl We have to add the following lines because automake detects the |
---|
14 | dnl references to libtool libraries from aclocal and tries to verify that |
---|
15 | dnl AM_PROG_LIBTOOL is being used. This must be added after |
---|
16 | dnl the call to NEWLIB_CONFIGURE. |
---|
17 | _LT_DECL_SED |
---|
18 | _LT_PROG_ECHO_BACKSLASH |
---|
19 | if test "${use_libtool}" = "yes"; then |
---|
20 | AC_LIBTOOL_WIN32_DLL |
---|
21 | AM_PROG_LIBTOOL |
---|
22 | fi |
---|
23 | |
---|
24 | if test -n "${machine_dir}"; then |
---|
25 | case ${machine_dir} in |
---|
26 | a29k) AC_CONFIG_SUBDIRS(a29k) ;; |
---|
27 | aarch64) AC_CONFIG_SUBDIRS(aarch64) ;; |
---|
28 | arc) AC_CONFIG_SUBDIRS(arc) ;; |
---|
29 | arm) AC_CONFIG_SUBDIRS(arm) ;; |
---|
30 | bfin) AC_CONFIG_SUBDIRS(bfin) ;; |
---|
31 | cr16) AC_CONFIG_SUBDIRS(cr16) ;; |
---|
32 | cris) AC_CONFIG_SUBDIRS(cris) ;; |
---|
33 | crx) AC_CONFIG_SUBDIRS(crx) ;; |
---|
34 | d10v) AC_CONFIG_SUBDIRS(d10v) ;; |
---|
35 | d30v) AC_CONFIG_SUBDIRS(d30v) ;; |
---|
36 | epiphany) AC_CONFIG_SUBDIRS(epiphany) ;; |
---|
37 | fr30) AC_CONFIG_SUBDIRS(fr30) ;; |
---|
38 | frv) AC_CONFIG_SUBDIRS(frv) ;; |
---|
39 | ft32) AC_CONFIG_SUBDIRS(ft32) ;; |
---|
40 | h8300) AC_CONFIG_SUBDIRS(h8300) ;; |
---|
41 | h8500) AC_CONFIG_SUBDIRS(h8500) ;; |
---|
42 | hppa) AC_CONFIG_SUBDIRS(hppa) ;; |
---|
43 | i386) AC_CONFIG_SUBDIRS(i386) ;; |
---|
44 | i960) AC_CONFIG_SUBDIRS(i960) ;; |
---|
45 | iq2000) AC_CONFIG_SUBDIRS(iq2000) ;; |
---|
46 | lm32) AC_CONFIG_SUBDIRS(lm32) ;; |
---|
47 | m32c) AC_CONFIG_SUBDIRS(m32c) ;; |
---|
48 | m32r) AC_CONFIG_SUBDIRS(m32r) ;; |
---|
49 | m68hc11) AC_CONFIG_SUBDIRS(m68hc11) ;; |
---|
50 | m68k) AC_CONFIG_SUBDIRS(m68k) ;; |
---|
51 | m88k) AC_CONFIG_SUBDIRS(m88k) ;; |
---|
52 | mep ) AC_CONFIG_SUBDIRS(mep) ;; |
---|
53 | microblaze ) AC_CONFIG_SUBDIRS(microblaze) ;; |
---|
54 | mips) AC_CONFIG_SUBDIRS(mips) ;; |
---|
55 | riscv) AC_CONFIG_SUBDIRS(riscv) ;; |
---|
56 | mn10200) AC_CONFIG_SUBDIRS(mn10200) ;; |
---|
57 | mn10300) AC_CONFIG_SUBDIRS(mn10300) ;; |
---|
58 | moxie) AC_CONFIG_SUBDIRS(moxie) ;; |
---|
59 | msp430) AC_CONFIG_SUBDIRS(msp430) ;; |
---|
60 | mt) AC_CONFIG_SUBDIRS(mt) ;; |
---|
61 | nds32) AC_CONFIG_SUBDIRS(nds32) ;; |
---|
62 | necv70) AC_CONFIG_SUBDIRS(necv70) ;; |
---|
63 | nios2) AC_CONFIG_SUBDIRS(nios2) ;; |
---|
64 | or1k) AC_CONFIG_SUBDIRS(or1k) ;; |
---|
65 | powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; |
---|
66 | rl78) AC_CONFIG_SUBDIRS(rl78) ;; |
---|
67 | rx) AC_CONFIG_SUBDIRS(rx) ;; |
---|
68 | sh) AC_CONFIG_SUBDIRS(sh) ;; |
---|
69 | sparc) AC_CONFIG_SUBDIRS(sparc) ;; |
---|
70 | spu) AC_CONFIG_SUBDIRS(spu) ;; |
---|
71 | tic4x) AC_CONFIG_SUBDIRS(tic4x) ;; |
---|
72 | tic6x) AC_CONFIG_SUBDIRS(tic6x) ;; |
---|
73 | tic80) AC_CONFIG_SUBDIRS(tic80) ;; |
---|
74 | v850) AC_CONFIG_SUBDIRS(v850) ;; |
---|
75 | visium) AC_CONFIG_SUBDIRS(visium) ;; |
---|
76 | w65) AC_CONFIG_SUBDIRS(w65) ;; |
---|
77 | x86_64) AC_CONFIG_SUBDIRS(x86_64) ;; |
---|
78 | xc16x) AC_CONFIG_SUBDIRS(xc16x) ;; |
---|
79 | xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;; |
---|
80 | z8k) AC_CONFIG_SUBDIRS(z8k) ;; |
---|
81 | esac; |
---|
82 | fi |
---|
83 | |
---|
84 | AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) |
---|
85 | |
---|
86 | AC_CONFIG_FILES([Makefile]) |
---|
87 | AC_OUTPUT |
---|