2000-02-18 03:39:52 +08:00
|
|
|
dnl This is the newlib/libc/machine configure.in file.
|
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
2006-04-14 03:56:32 +08:00
|
|
|
AC_PREREQ(2.59)
|
|
|
|
AC_INIT([newlib],[NEWLIB_VERSION])
|
|
|
|
AC_CONFIG_SRCDIR([d10v])
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
|
|
|
|
AC_CONFIG_AUX_DIR(../../..)
|
|
|
|
|
|
|
|
NEWLIB_CONFIGURE(../..)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
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.
|
2007-05-25 01:33:42 +08:00
|
|
|
_LT_DECL_SED
|
2010-02-25 05:00:08 +08:00
|
|
|
_LT_PROG_ECHO_BACKSLASH
|
2001-12-14 07:50:11 +08:00
|
|
|
if test "${use_libtool}" = "yes"; then
|
|
|
|
AC_LIBTOOL_WIN32_DLL
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
fi
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
if test -n "${machine_dir}"; then
|
2006-04-12 03:02:16 +08:00
|
|
|
case ${machine_dir} in
|
|
|
|
a29k) AC_CONFIG_SUBDIRS(a29k) ;;
|
|
|
|
arm) AC_CONFIG_SUBDIRS(arm) ;;
|
2006-11-09 03:26:43 +08:00
|
|
|
bfin) AC_CONFIG_SUBDIRS(bfin) ;;
|
2010-12-03 03:30:47 +08:00
|
|
|
cr16) AC_CONFIG_SUBDIRS(cr16) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
cris) AC_CONFIG_SUBDIRS(cris) ;;
|
|
|
|
crx) AC_CONFIG_SUBDIRS(crx) ;;
|
|
|
|
d10v) AC_CONFIG_SUBDIRS(d10v) ;;
|
|
|
|
d30v) AC_CONFIG_SUBDIRS(d30v) ;;
|
|
|
|
fr30) AC_CONFIG_SUBDIRS(fr30) ;;
|
|
|
|
frv) AC_CONFIG_SUBDIRS(frv) ;;
|
|
|
|
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) ;;
|
2008-12-12 04:05:38 +08:00
|
|
|
lm32) AC_CONFIG_SUBDIRS(lm32) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
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) ;;
|
2007-11-08 05:42:24 +08:00
|
|
|
mep ) AC_CONFIG_SUBDIRS(mep) ;;
|
2009-09-28 Michael Eager <eager@eagercon.com>
* configure.host: Add microblaze.
* libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN.
* libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE.
* libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL,
_UNIX98_THREAD_MUTEX_ATTRIBUTES.
* libc/include/sys/types.h: Treat XMK like rtems, define
PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE,
PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s.
* libc/machine/configure.in: Add microblaze.
* libc/machine/configure: Add microblaze (not regenerated).
* libc/machine/microblaze/configure.in: NEW.
* libc/machine/microblaze/configure: Generate.
* libc/machine/microblaze/Makefile.am: NEW.
* libc/machine/microblaze/Makefile.in: Generate.
* libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c,
mallocr.c, longjmp.S, setjmp.S}: NEW.
* libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype,
mALLOc(): return malloc value.
2009-09-29 00:42:21 +08:00
|
|
|
microblaze ) AC_CONFIG_SUBDIRS(microblaze) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
mips) AC_CONFIG_SUBDIRS(mips) ;;
|
|
|
|
mn10200) AC_CONFIG_SUBDIRS(mn10200) ;;
|
|
|
|
mn10300) AC_CONFIG_SUBDIRS(mn10300) ;;
|
2009-04-23 03:52:49 +08:00
|
|
|
moxie) AC_CONFIG_SUBDIRS(moxie) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
mt) AC_CONFIG_SUBDIRS(mt) ;;
|
|
|
|
necv70) AC_CONFIG_SUBDIRS(necv70) ;;
|
|
|
|
powerpc) AC_CONFIG_SUBDIRS(powerpc) ;;
|
2009-10-26 18:05:23 +08:00
|
|
|
rx) AC_CONFIG_SUBDIRS(rx) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
sh) AC_CONFIG_SUBDIRS(sh) ;;
|
|
|
|
sparc) AC_CONFIG_SUBDIRS(sparc) ;;
|
2006-08-24 00:07:36 +08:00
|
|
|
spu) AC_CONFIG_SUBDIRS(spu) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
tic4x) AC_CONFIG_SUBDIRS(tic4x) ;;
|
2010-10-09 10:33:30 +08:00
|
|
|
tic6x) AC_CONFIG_SUBDIRS(tic6x) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
tic80) AC_CONFIG_SUBDIRS(tic80) ;;
|
|
|
|
v850) AC_CONFIG_SUBDIRS(v850) ;;
|
|
|
|
w65) AC_CONFIG_SUBDIRS(w65) ;;
|
2007-08-29 05:56:50 +08:00
|
|
|
x86_64) AC_CONFIG_SUBDIRS(x86_64) ;;
|
2009-12-11 01:12:11 +08:00
|
|
|
xc16x) AC_CONFIG_SUBDIRS(xc16x) ;;
|
2006-04-12 03:02:16 +08:00
|
|
|
xscale) AC_CONFIG_SUBDIRS(xscale) ;;
|
|
|
|
xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;;
|
|
|
|
z8k) AC_CONFIG_SUBDIRS(z8k) ;;
|
|
|
|
esac;
|
2000-02-18 03:39:52 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
|
|
|
|
|
2006-04-14 03:56:32 +08:00
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_OUTPUT
|