1 dnl This is the newlib/libc/machine configure.in file.
2 dnl Process this file with autoconf to produce a configure script.
5 AC_INIT([newlib],[NEWLIB_VERSION])
6 AC_CONFIG_SRCDIR([d10v])
8 dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
9 AC_CONFIG_AUX_DIR(../../..)
11 NEWLIB_CONFIGURE(../..)
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.
18 if test "${use_libtool}" = "yes"; then
23 if test -n "${machine_dir}"; then
24 case ${machine_dir} in
25 a29k) AC_CONFIG_SUBDIRS(a29k) ;;
26 arm) AC_CONFIG_SUBDIRS(arm) ;;
27 bfin) AC_CONFIG_SUBDIRS(bfin) ;;
28 cris) AC_CONFIG_SUBDIRS(cris) ;;
29 crx) AC_CONFIG_SUBDIRS(crx) ;;
30 d10v) AC_CONFIG_SUBDIRS(d10v) ;;
31 d30v) AC_CONFIG_SUBDIRS(d30v) ;;
32 fr30) AC_CONFIG_SUBDIRS(fr30) ;;
33 frv) AC_CONFIG_SUBDIRS(frv) ;;
34 h8300) AC_CONFIG_SUBDIRS(h8300) ;;
35 h8500) AC_CONFIG_SUBDIRS(h8500) ;;
36 hppa) AC_CONFIG_SUBDIRS(hppa) ;;
37 i386) AC_CONFIG_SUBDIRS(i386) ;;
38 i960) AC_CONFIG_SUBDIRS(i960) ;;
39 iq2000) AC_CONFIG_SUBDIRS(iq2000) ;;
40 m32c) AC_CONFIG_SUBDIRS(m32c) ;;
41 m32r) AC_CONFIG_SUBDIRS(m32r) ;;
42 m68hc11) AC_CONFIG_SUBDIRS(m68hc11) ;;
43 m68k) AC_CONFIG_SUBDIRS(m68k) ;;
44 m88k) AC_CONFIG_SUBDIRS(m88k) ;;
45 mips) AC_CONFIG_SUBDIRS(mips) ;;
46 mn10200) AC_CONFIG_SUBDIRS(mn10200) ;;
47 mn10300) AC_CONFIG_SUBDIRS(mn10300) ;;
48 mt) AC_CONFIG_SUBDIRS(mt) ;;
49 necv70) AC_CONFIG_SUBDIRS(necv70) ;;
50 powerpc) AC_CONFIG_SUBDIRS(powerpc) ;;
51 sh) AC_CONFIG_SUBDIRS(sh) ;;
52 sparc) AC_CONFIG_SUBDIRS(sparc) ;;
53 spu) AC_CONFIG_SUBDIRS(spu) ;;
54 tic4x) AC_CONFIG_SUBDIRS(tic4x) ;;
55 tic80) AC_CONFIG_SUBDIRS(tic80) ;;
56 v850) AC_CONFIG_SUBDIRS(v850) ;;
57 w65) AC_CONFIG_SUBDIRS(w65) ;;
58 xscale) AC_CONFIG_SUBDIRS(xscale) ;;
59 xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;;
60 z8k) AC_CONFIG_SUBDIRS(z8k) ;;
64 AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
66 AC_CONFIG_FILES([Makefile])