OSDN Git Service

newlib:
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / machine / configure.in
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 if test "${use_libtool}" = "yes"; then
19 AC_LIBTOOL_WIN32_DLL
20 AM_PROG_LIBTOOL
21 fi
22
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         lm32) AC_CONFIG_SUBDIRS(lm32) ;;
41         m32c) AC_CONFIG_SUBDIRS(m32c) ;;
42         m32r) AC_CONFIG_SUBDIRS(m32r) ;;
43         m68hc11) AC_CONFIG_SUBDIRS(m68hc11) ;;
44         m68k) AC_CONFIG_SUBDIRS(m68k) ;;
45         m88k) AC_CONFIG_SUBDIRS(m88k) ;;
46         mep ) AC_CONFIG_SUBDIRS(mep) ;;
47         microblaze ) AC_CONFIG_SUBDIRS(microblaze) ;;
48         mips) AC_CONFIG_SUBDIRS(mips) ;;
49         mn10200) AC_CONFIG_SUBDIRS(mn10200) ;;
50         mn10300) AC_CONFIG_SUBDIRS(mn10300) ;;
51         moxie) AC_CONFIG_SUBDIRS(moxie) ;;
52         mt) AC_CONFIG_SUBDIRS(mt) ;;
53         necv70) AC_CONFIG_SUBDIRS(necv70) ;;
54         powerpc) AC_CONFIG_SUBDIRS(powerpc) ;;
55         rx) AC_CONFIG_SUBDIRS(rx) ;;
56         sh) AC_CONFIG_SUBDIRS(sh) ;;
57         sparc) AC_CONFIG_SUBDIRS(sparc) ;;
58         spu) AC_CONFIG_SUBDIRS(spu) ;;
59         tic4x) AC_CONFIG_SUBDIRS(tic4x) ;;
60         tic80) AC_CONFIG_SUBDIRS(tic80) ;;
61         v850) AC_CONFIG_SUBDIRS(v850) ;;
62         w65) AC_CONFIG_SUBDIRS(w65) ;;
63         x86_64) AC_CONFIG_SUBDIRS(x86_64) ;;
64         xscale) AC_CONFIG_SUBDIRS(xscale) ;;
65         xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;;
66         z8k) AC_CONFIG_SUBDIRS(z8k) ;;
67   esac;
68 fi
69
70 AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
71
72 AC_CONFIG_FILES([Makefile])
73 AC_OUTPUT