newlib-cygwin/libgloss/configure.in

164 lines
3.5 KiB
Plaintext
Raw Normal View History

2000-03-18 06:48:54 +08:00
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT([libgloss],[LIBGLOSS_VERSION])
AC_CONFIG_SRCDIR([libnosys])
2000-03-18 06:48:54 +08:00
if test "${enable_shared}" = "yes" ; then
echo "Shared libraries not supported for cross compiling, ignored"
fi
if test "${srcdir}" = "." ; then
if test "${with_target_subdir}" != "." ; then
libgloss_topdir="${srcdir}/${with_multisrctop}../.."
else
libgloss_topdir="${srcdir}/${with_multisrctop}.."
fi
else
libgloss_topdir="${srcdir}/.."
fi
AC_CONFIG_AUX_DIR($libgloss_topdir)
AC_PROG_INSTALL
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
2000-03-18 06:48:54 +08:00
if test -z "${with_multisubdir}" ; then
AC_CONFIG_SUBDIRS(doc)
2000-03-18 06:48:54 +08:00
fi
AC_CONFIG_SUBDIRS(libnosys)
2000-03-18 06:48:54 +08:00
case "${target}" in
i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
AC_CONFIG_SUBDIRS(i386)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
m32r-*-*)
AC_CONFIG_SUBDIRS(m32r)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
AC_CONFIG_SUBDIRS(m68hc11)
config_testsuite = true;
;;
2000-03-18 06:48:54 +08:00
m68*-*-*)
AC_CONFIG_SUBDIRS(m68k)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
hppa*-*-pro*)
AC_CONFIG_SUBDIRS(pa)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
i960-*-coff)
AC_CONFIG_SUBDIRS(i960)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
AC_CONFIG_SUBDIRS(sparc)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
sh*-*-pe | mips*-*-pe | *arm-wince-pe)
AC_CONFIG_SUBDIRS(wince)
2000-03-18 06:48:54 +08:00
;;
mips*-*-*)
AC_CONFIG_SUBDIRS(mips)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
powerpc-*-*|powerpcle-*-*)
AC_CONFIG_SUBDIRS(rs6000)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
mn10200-*-*)
AC_CONFIG_SUBDIRS(mn10200)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
mn10300-*-*)
AC_CONFIG_SUBDIRS(mn10300)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
cris-*-* | crisv32-*-*)
AC_CONFIG_SUBDIRS(cris)
config_testsuite = true;
;;
crx-*-*)
AC_CONFIG_SUBDIRS(crx)
;;
2000-03-18 06:48:54 +08:00
d30v-*-*)
AC_CONFIG_SUBDIRS(d30v)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
fr30-*-*)
AC_CONFIG_SUBDIRS(fr30)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
frv*-*-*)
AC_CONFIG_SUBDIRS(frv)
config_testsuite = true;
2002-06-19 05:41:22 +08:00
;;
2000-03-18 06:48:54 +08:00
mcore-*-*)
AC_CONFIG_SUBDIRS(mcore)
config_testsuite = true;
2000-03-18 06:48:54 +08:00
;;
Rename ms1 to mt, part 1 * config.sub: Replace ms1 arch with mt. Allow ms1 as alias. * configure.in: Replace ms1 arch with mt. * configure: Rebuilt. * bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt. (cpu_mt.lo, elf32-mt.lo): Update target and dependency names. * bfd/Makefile.in: Rebuilt. * bfd/config.bfd: Replace ms1 arch with mt. * bfd/configure.in: Replace ms1 files with mt files. * bfd/configure: Rebuilt. * bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files. * bfd/cpu-mt.c: Renamed from cpu-ms1.c. * cpu/mt.cpu: Rename from ms1.cpu. * cpu/mt.opc: Rename from ms1.opc. * binutils/Makefile.am: Replace ms1 files with mt files. * binutils/Makefile.in: Rebuilt. * binutils/readelf.c (elf/mt.h): Adjust #include. * gas/configure.in: Replace ms1 arch with mt arch. * gas/configure: Rebuilt. * gas/configure.tgt: Replace ms1 arch with mt arch. * gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files. * gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files. * gas/doc/Makefile.in: Rebuilt. * gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as needed. * gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch. * gdb/configure.tgt: Replace ms1 arch with mt arch. * gdb/config/mt: Renamed from ms1 dir. Update file names as needed. * gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file. * include/elf/mt.h: Renamed from ms1.h * ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. (eelf32mt.c): Update target name and dependencies. * ld/Makefile.in: Rebuilt. * ld/configure.tgt: Replace ms1 arch with mt arch. * ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update comment. * libgloss/configure.in: Replace ms1 arch with mt arch. * libgloss/configure: Rebuilt. * libgloss/mt: Renamed from ms1 dir. * newlib/configure.host: Replace ms1 arch with mt arch. * newlib/libc/machine/mt: Renamed from ms1 dir. * opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. * opcodes/Makefile.in: Rebuilt. * opcodes/configure.in: Replace ms1 files with mt files. * opcodes/configure: Rebuilt. * sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file names as appropriate. * sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt files. * sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
2005-12-12 19:25:07 +08:00
mt-*-*)
AC_CONFIG_SUBDIRS(mt)
config_testsuite = true;
;;
In newlib/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * configure.host: Add support for xstormy16. * libc/include/machine/ieeefp.h: Add support for xstormy16. * libc/include/machine/setjmp.h: Add support for xstormy16. * libc/include/sys/config.h: Add support for xstormy16. * libc/machine/xstormy16/Makefile.am: New file. * libc/machine/xstormy16/Makefile.in: New file. * libc/machine/xstormy16/aclocal.m4: New file. * libc/machine/xstormy16/configure: New file. * libc/machine/xstormy16/configure.in: New file. * libc/machine/xstormy16/setjmp.S: New file. In libgloss/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Mark Salter <msalter@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add xstormy16. * libnosys/configure.in: Add xstormy16. * configure: Regenerated. * libnosys/configure: Regenerated. * xstormy16/Makefile.in: New file. * xstormy16/close.c: New file. * xstormy16/configure: New file. * xstormy16/configure.in: New file. * xstormy16/crt0.s: New file. * xstormy16/crt0_stub.s: New file. * xstormy16/crti.s: New file. * xstormy16/crtn.s: New file. * xstormy16/eva_app.c: New file. * xstormy16/eva_app.ld: New file. * xstormy16/eva_stub.ld: New file. * xstormy16/fstat.c: New file. * xstormy16/getpid.c: New file. * xstormy16/kill.c: New file. * xstormy16/lseek.c: New file. * xstormy16/open.c: New file. * xstormy16/sbrk.c: New file. * xstormy16/sim_high.ld: New file. * xstormy16/stat.c: New file. * xstormy16/syscalls.S: New file. * xstormy16/syscalls.m4: New file. * xstormy16/unlink.c: New file. * xstormy16/xstormy16_stub.c: New file.
2001-12-23 06:47:58 +08:00
xstormy16-*-*)
AC_CONFIG_SUBDIRS(xstormy16)
config_testsuite = true;
In newlib/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * configure.host: Add support for xstormy16. * libc/include/machine/ieeefp.h: Add support for xstormy16. * libc/include/machine/setjmp.h: Add support for xstormy16. * libc/include/sys/config.h: Add support for xstormy16. * libc/machine/xstormy16/Makefile.am: New file. * libc/machine/xstormy16/Makefile.in: New file. * libc/machine/xstormy16/aclocal.m4: New file. * libc/machine/xstormy16/configure: New file. * libc/machine/xstormy16/configure.in: New file. * libc/machine/xstormy16/setjmp.S: New file. In libgloss/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Mark Salter <msalter@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add xstormy16. * libnosys/configure.in: Add xstormy16. * configure: Regenerated. * libnosys/configure: Regenerated. * xstormy16/Makefile.in: New file. * xstormy16/close.c: New file. * xstormy16/configure: New file. * xstormy16/configure.in: New file. * xstormy16/crt0.s: New file. * xstormy16/crt0_stub.s: New file. * xstormy16/crti.s: New file. * xstormy16/crtn.s: New file. * xstormy16/eva_app.c: New file. * xstormy16/eva_app.ld: New file. * xstormy16/eva_stub.ld: New file. * xstormy16/fstat.c: New file. * xstormy16/getpid.c: New file. * xstormy16/kill.c: New file. * xstormy16/lseek.c: New file. * xstormy16/open.c: New file. * xstormy16/sbrk.c: New file. * xstormy16/sim_high.ld: New file. * xstormy16/stat.c: New file. * xstormy16/syscalls.S: New file. * xstormy16/syscalls.m4: New file. * xstormy16/unlink.c: New file. * xstormy16/xstormy16_stub.c: New file.
2001-12-23 06:47:58 +08:00
;;
m32c-*-*)
AC_CONFIG_SUBDIRS(m32c)
config_testsuite = true;
;;
strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
AC_CONFIG_SUBDIRS(arm)
config_testsuite = true;
2002-01-08 02:12:32 +08:00
;;
2004-10-28 16:18:18 +08:00
iq2000-*-*)
AC_CONFIG_SUBDIRS(iq2000)
config_testsuite = true;
;;
2000-03-18 06:48:54 +08:00
esac
# For now, don't bother configuring testsuite
#
# if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi
#
2000-03-18 06:48:54 +08:00
LIB_AC_PROG_CC
AS=${AS-as}
AC_SUBST(AS)
AC_CHECK_PROG(AR, ar, ar, :)
AR=${AR-ar}
AC_SUBST(AR)
LD=${LD-ld}
AC_SUBST(LD)
AC_PROG_RANLIB
LIB_AM_PROG_AS
2000-03-18 06:48:54 +08:00
host_makefile_frag=${srcdir}/config/default.mh
dnl We have to assign the same value to other variables because autoconf
dnl doesn't provide a mechanism to substitute a replacement keyword with
dnl arbitrary data or pathnames.
dnl
host_makefile_frag_path=$host_makefile_frag
AC_SUBST(host_makefile_frag_path)
AC_SUBST_FILE(host_makefile_frag)
# for now, only add multilibs for specific targets
AC_CONFIG_FILES(Makefile,
2000-03-18 06:48:54 +08:00
. ${libgloss_topdir}/config-ml.in,
srcdir=${srcdir}
target=${target}
with_multisubdir=${with_multisubdir}
ac_configure_args="--enable-multilib ${ac_configure_args}"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
libgloss_topdir=${libgloss_topdir}
)
AC_OUTPUT
2000-03-18 06:48:54 +08:00