2000-03-18 06:48:54 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
2006-04-20 03:44:05 +08:00
|
|
|
AC_INIT([libgloss],[LIBGLOSS_VERSION])
|
|
|
|
AC_CONFIG_SRCDIR([libnosys])
|
2000-03-18 06:48:54 +08:00
|
|
|
|
|
|
|
if test "${enable_shared}" = "yes" ; then
|
2022-01-17 16:58:13 +08:00
|
|
|
AC_MSG_WARN([Shared libraries not supported for cross compiling, ignored])
|
2000-03-18 06:48:54 +08:00
|
|
|
fi
|
|
|
|
|
2022-01-07 13:53:26 +08:00
|
|
|
AC_CONFIG_AUX_DIR(..)
|
2000-03-18 06:48:54 +08:00
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
AC_CANONICAL_SYSTEM
|
2021-09-15 12:22:54 +08:00
|
|
|
AM_INIT_AUTOMAKE([foreign no-define 1.15])
|
2000-03-18 06:48:54 +08:00
|
|
|
|
|
|
|
if test -z "${with_multisubdir}" ; then
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([doc])
|
2000-03-18 06:48:54 +08:00
|
|
|
fi
|
|
|
|
|
2009-05-14 05:38:25 +08:00
|
|
|
dnl indicates whether to run configure within the testsuite subdirectory
|
|
|
|
config_testsuite=true
|
|
|
|
|
|
|
|
dnl indicates whether to run configure within the libnosys subdirectory
|
|
|
|
config_libnosys=true
|
2006-04-20 03:44:05 +08:00
|
|
|
|
2000-03-18 06:48:54 +08:00
|
|
|
case "${target}" in
|
2012-09-27 04:11:54 +08:00
|
|
|
aarch64*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS(aarch64)
|
|
|
|
config_testsuite=true
|
|
|
|
;;
|
2015-10-24 02:24:06 +08:00
|
|
|
arc*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS(arc)
|
|
|
|
;;
|
2020-09-25 23:01:25 +08:00
|
|
|
csky*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS(csky)
|
|
|
|
;;
|
2012-02-22 06:37:47 +08:00
|
|
|
epiphany-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS(epiphany)
|
|
|
|
config_testsuite=true
|
|
|
|
;;
|
2006-04-20 03:44:05 +08:00
|
|
|
i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([i386])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
m32r-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([m32r])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2006-04-20 03:44:05 +08:00
|
|
|
m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([m68hc11])
|
2002-07-24 05:56:27 +08:00
|
|
|
;;
|
2013-07-09 Sabrina Ni <sabrina@andestech.com>
* configure.in: Add nds32 subdir.
* configure: Regenerated.
* nds32/configure.in: New.
* nds32/configure: New (autogenerated).
* nds32/{crt0.S,crt1.S}: New.
* nds32/Makefile.in: New.
* nds32/{syscall_argvlen.S,syscall_argv.S,
syscall_chdirS, syscall_chmod.S,
syscall_close.S,syscall_exit.S,syscall_extra.h, syscall_fstat.S,
syscall_getpid.S,syscall_gettimeofday.S,syscall_isatty.S,syscall_kill.S,
syscall_link.S,syscall_lseek.S,syscall_open.S,syscall_read.S,
syscall_rename.S,syscall_sbrk.S,syscall_stat.S,syscall_system.S,
syscall_time.S,syscall_times.S,syscall_unlink.S,syscall_utime.S,
syscall_write.S}: New.
2013-07-10 03:16:25 +08:00
|
|
|
nds32*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([nds32])
|
|
|
|
;;
|
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-19 05:48:18 +08:00
|
|
|
fido-*-* | m68*-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([m68k])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
hppa*-*-pro*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([pa])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
i960-*-coff)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([i960])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2011-12-15 Konrad Eisele <konrad@gaisler.com>
* configure.in: Add SPARC LEON support.
* configure: Regenerated.
* sparc_leon/asm-leon/amba.h, sparc_leon/asm-leon/asmmacro.h,
sparc_leon/asm-leon/clock.h, sparc_leon/asm-leon/contextswitch.h,
sparc_leon/asm-leon/elfmacro.h, sparc_leon/asm-leon/head.h,
sparc_leon/asm-leon/irq.h, sparc_leon/asm-leon/jiffies.h,
sparc_leon/asm-leon/lambapp.h, sparc_leon/asm-leon/lambapp_devs.h,
sparc_leon/asm-leon/leon.h, sparc_leon/asm-leon/leon3.h,
sparc_leon/asm-leon/leonbare_debug.h, sparc_leon/asm-leon/leonbare_kernel.h,
sparc_leon/asm-leon/leonbare_kernel_queue.h, sparc_leon/asm-leon/leoncompat.h,
sparc_leon/asm-leon/leondbg.h, sparc_leon/asm-leon/leonstack.h,
sparc_leon/asm-leon/liblocks.h, sparc_leon/asm-leon/linkage.h,
sparc_leon/asm-leon/param.h, sparc_leon/asm-leon/queue.h,
sparc_leon/asm-leon/spinlock.h, sparc_leon/asm-leon/stack.h,
sparc_leon/asm-leon/time.h, sparc_leon/asm-leon/timer.h,
sparc_leon/asm-leon/types.h, sparc_leon/asm-leon/winmacros.h:
New file.
* sparc_leon/Makefile.in, sparc_leon/_exit.c,
sparc_leon/amba.c, sparc_leon/amba_dbg.c,
sparc_leon/amba_driver.c, sparc_leon/amba_scan.c,
sparc_leon/asm-leon, sparc_leon/bdinit.S,
sparc_leon/busscan.S, sparc_leon/cacheA.S,
sparc_leon/catch_interrupt.c, sparc_leon/catch_interrupt_mvt.c,
sparc_leon/catch_interrupt_pending.c, sparc_leon/catch_interrupt_svt.c,
sparc_leon/configure.in,
sparc_leon/console.c, sparc_leon/console_dbg.c,
sparc_leon/console_init.c, sparc_leon/contextswitch.c,
sparc_leon/contextswitch_asm.S, sparc_leon/crt0.S,
sparc_leon/crti.S, sparc_leon/crtn.S,
sparc_leon/etrap.S, sparc_leon/etrap_fast.S,
sparc_leon/fpu.S, sparc_leon/gettimeofday.c,
sparc_leon/initcalls.c, sparc_leon/io.c,
sparc_leon/irqinstall.S, sparc_leon/irqtrap.S,
sparc_leon/irqtrap_fast.S, sparc_leon/jiffies.c,
sparc_leon/kernel.c, sparc_leon/kernel_context.S,
sparc_leon/kernel_debug.c, sparc_leon/kernel_debug_var.c,
sparc_leon/kernel_mm.c, sparc_leon/kernel_mutex.c,
sparc_leon/kernel_queue.c, sparc_leon/kernel_sched.c,
sparc_leon/kernel_thread.c, sparc_leon/lcpuinit.S,
sparc_leon/locore.S, sparc_leon/locore_atexit.c,
sparc_leon/locore_clean.S, sparc_leon/locore_mvt.S,
sparc_leon/locore_mvt_reset.S, sparc_leon/locore_svt.S,
sparc_leon/locore_svt_reset.S, sparc_leon/locore_svtdisp.S,
sparc_leon/locore_var.S, sparc_leon/locore_var_svt.S,
sparc_leon/mmu_asm.S, sparc_leon/mutex.c,
sparc_leon/nocache.S, sparc_leon/pnpinit.c,
sparc_leon/pnpinit_malloc.c, sparc_leon/pnpinit_simple.c,
sparc_leon/regwin.S, sparc_leon/regwin_patch.c,
sparc_leon/regwin_slow.S, sparc_leon/regwinflush.S,
sparc_leon/rtc.c, sparc_leon/rtrap.S,
sparc_leon/rtrap_fast.S, sparc_leon/stop.S,
sparc_leon/timer.c, sparc_leon/times.c:
New file
* sparc_leon/configure: Regenerate
2011-12-16 06:58:40 +08:00
|
|
|
sparc-*leon*-elf* | sparc-*leon*-none*)
|
|
|
|
AC_CONFIG_SUBDIRS([sparc_leon])
|
|
|
|
;;
|
2006-04-20 03:44:05 +08:00
|
|
|
sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([sparc])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2012-03-02 21:20:08 +08:00
|
|
|
sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([wince])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
mips*-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([mips])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2017-07-27 16:45:47 +08:00
|
|
|
riscv*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([riscv])
|
|
|
|
;;
|
2000-03-18 06:48:54 +08:00
|
|
|
powerpc-*-*|powerpcle-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([rs6000])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
mn10200-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([mn10200])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
mn10300-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([mn10300])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2006-11-09 03:36:56 +08:00
|
|
|
bfin-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([bfin])
|
2006-11-09 03:36:56 +08:00
|
|
|
;;
|
2010-12-03 03:35:47 +08:00
|
|
|
cr16-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([cr16])
|
|
|
|
;;
|
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
* configure.in: Support cris-*-* and crisv32-*-*.
* libnosys/configure.in: Ditto.
* configure, libnosys/configure: Regenerate.
* cris: New directory.
* cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h,
cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c,
cris/Makefile.in, cris/setup.S, cris/configure: New files.
2005-01-28 06:57:32 +08:00
|
|
|
cris-*-* | crisv32-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([cris])
|
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
* configure.in: Support cris-*-* and crisv32-*-*.
* libnosys/configure.in: Ditto.
* configure, libnosys/configure: Regenerate.
* cris: New directory.
* cris/crt0.S, cris/crtn.c, cris/gensyscalls, cris/linunistd.h,
cris/outbyte.c, cris/configure.in, cris/crti.c, cris/lcrt0.c,
cris/Makefile.in, cris/setup.S, cris/configure: New files.
2005-01-28 06:57:32 +08:00
|
|
|
;;
|
2004-10-06 04:00:53 +08:00
|
|
|
crx-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([crx])
|
2004-10-06 04:00:53 +08:00
|
|
|
;;
|
2000-03-18 06:48:54 +08:00
|
|
|
d30v-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([d30v])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
|
|
|
fr30-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([fr30])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2002-06-19 05:19:17 +08:00
|
|
|
frv*-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([frv])
|
2002-06-19 05:41:22 +08:00
|
|
|
;;
|
2015-09-05 01:07:00 +08:00
|
|
|
ft32*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([ft32])
|
|
|
|
;;
|
2008-12-18 07:08:09 +08:00
|
|
|
lm32*-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([lm32])
|
2008-12-18 07:08:09 +08:00
|
|
|
;;
|
2000-03-18 06:48:54 +08:00
|
|
|
mcore-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([mcore])
|
2000-03-18 06:48:54 +08:00
|
|
|
;;
|
2007-02-09 05:22:05 +08:00
|
|
|
mep-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([mep])
|
2007-02-09 05:22:05 +08:00
|
|
|
;;
|
2009-04-22 Anthony Green <green@moxielogic.com>
* configure.in: Add moxie support.
* configure: Regenerate.
* moxie/aclocal.m4, moxie/configure, moxie/configure.in,
moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c,
moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld,
moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c,
moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S,
moxie/sim-exit.S,
moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c,
moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c,
moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.
2009-04-23 03:48:07 +08:00
|
|
|
moxie-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([moxie])
|
2009-04-22 Anthony Green <green@moxielogic.com>
* configure.in: Add moxie support.
* configure: Regenerate.
* moxie/aclocal.m4, moxie/configure, moxie/configure.in,
moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c,
moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld,
moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c,
moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S,
moxie/sim-exit.S,
moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c,
moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c,
moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.
2009-04-23 03:48:07 +08:00
|
|
|
;;
|
2013-07-16 15:48:53 +08:00
|
|
|
microblaze*-*-*)
|
2009-09-28 Michael Eager <eager@eagercon.com>
* configure.in: Add microblaze-*-*.
* configure: Add microblaze-*-* (not regenerated.)
* microblaze: NEW microblaze target directory.
* microblaze/configure.in: NEW.
* microblaze/configure: Generate.
* microblaze/Makefile.in: NEW.
* microblaze/{crt0.S, crt1.S, crt2.S, crt3.S, crt4.S, crtinit.S}: NEW.
* microblaze/{pgcrtinit.S, _program_clean.S, _program_init.S,
sbrk.c, sim-crtinit.S, sim-pgcrtinit.S, timer.c, _exception_handler.S,
_hw_exception_handler.S, _interrupt_handler.S, xil_malloc.c,
nnxil_printf.c, xil_sbrk.c: NEW.
* microblaze/xilinx.ld: NEW.
2009-09-29 00:43:57 +08:00
|
|
|
AC_CONFIG_SUBDIRS([microblaze])
|
|
|
|
;;
|
2005-12-12 19:25:07 +08:00
|
|
|
mt-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([mt])
|
2006-04-20 03:44:05 +08:00
|
|
|
;;
|
2010-07-24 01:52:37 +08:00
|
|
|
v850*-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([v850])
|
|
|
|
;;
|
2015-01-22 02:27:47 +08:00
|
|
|
visium-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([visium])
|
|
|
|
config_testsuite=false
|
|
|
|
;;
|
2009-12-11 01:07:04 +08:00
|
|
|
xc16x-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([xc16x])
|
|
|
|
;;
|
2001-12-23 06:47:58 +08:00
|
|
|
xstormy16-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([xstormy16])
|
2001-12-23 06:47:58 +08:00
|
|
|
;;
|
2005-08-10 DJ Delorie <dj@redhat.com>
* configure.in: Add m32c support.
* configure: Regenerated
* m32c: New directory, Renesas R8C/M16C/M32C support.
* m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S,
m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in,
m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S,
m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S,
m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S,
m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in,
m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S,
m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
2005-08-11 04:29:33 +08:00
|
|
|
m32c-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([m32c])
|
2004-06-09 Toralf Lund <toralf@procaptura.com>
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
FIQ and IRQ mode, plus calls hardware_init_hook() and
software_init_hook() if present.
* arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
from newlib.
* arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
librdpmon.a, librdimon.a - support file for "bare" setup, as well
as "RDP" and "RDI" monitors.
* arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
with above mentioned support libs and startfiles.
2004-06-10 03:06:50 +08:00
|
|
|
;;
|
2019-11-26 05:17:41 +08:00
|
|
|
msp430-*-elf*)
|
2013-05-14 05:39:51 +08:00
|
|
|
AC_CONFIG_SUBDIRS([msp430])
|
2015-12-18 05:49:08 +08:00
|
|
|
config_libnosys=false
|
2013-05-14 05:39:51 +08:00
|
|
|
;;
|
2011-11-29 14:33:49 +08:00
|
|
|
rl78*-*-elf)
|
|
|
|
AC_CONFIG_SUBDIRS([rl78])
|
|
|
|
;;
|
2009-10-26 18:05:23 +08:00
|
|
|
rx*-*-elf)
|
|
|
|
AC_CONFIG_SUBDIRS([rx])
|
|
|
|
;;
|
2012-03-02 21:20:08 +08:00
|
|
|
arm*-*-elf | arm*-*-coff | arm*-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([arm])
|
2002-01-08 02:12:32 +08:00
|
|
|
;;
|
2006-08-17 05:15:03 +08:00
|
|
|
spu-*-elf)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([spu])
|
2006-12-12 06:19:03 +08:00
|
|
|
config_testsuite=false
|
2009-05-14 05:38:25 +08:00
|
|
|
config_libnosys=false
|
2006-08-17 05:15:03 +08:00
|
|
|
;;
|
2010-10-09 10:31:22 +08:00
|
|
|
tic6x-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS(tic6x)
|
|
|
|
config_testsuite=false
|
|
|
|
;;
|
2004-10-28 16:18:18 +08:00
|
|
|
iq2000-*-*)
|
2009-05-14 05:38:25 +08:00
|
|
|
AC_CONFIG_SUBDIRS([iq2000])
|
2006-04-20 03:44:05 +08:00
|
|
|
;;
|
2014-12-16 04:09:28 +08:00
|
|
|
or1k-*-* | or1knd-*-* )
|
|
|
|
AC_CONFIG_SUBDIRS([or1k])
|
|
|
|
;;
|
2018-03-12 04:23:26 +08:00
|
|
|
pru-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([pru])
|
|
|
|
;;
|
2018-08-08 05:15:47 +08:00
|
|
|
nios2-*-*)
|
|
|
|
AC_CONFIG_SUBDIRS([nios2])
|
|
|
|
;;
|
2000-03-18 06:48:54 +08:00
|
|
|
esac
|
|
|
|
|
2009-05-14 05:38:25 +08:00
|
|
|
dnl For now, don't bother configuring testsuite
|
|
|
|
dnl
|
|
|
|
dnl if test "${config_testsuite}" = "true";
|
|
|
|
dnl then AC_CONFIG_SUBDIRS([testsuite])
|
|
|
|
dnl fi
|
|
|
|
|
|
|
|
if test "${config_libnosys}" = "true"; then
|
|
|
|
AC_CONFIG_SUBDIRS([libnosys])
|
|
|
|
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
|
2006-04-20 03:44:05 +08:00
|
|
|
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)
|
|
|
|
|
2006-05-11 04:51:41 +08:00
|
|
|
if test "${multilib}" = "yes"; then
|
|
|
|
multilib_arg="--enable-multilib"
|
|
|
|
else
|
|
|
|
multilib_arg=
|
|
|
|
fi
|
|
|
|
|
2000-03-18 06:48:54 +08:00
|
|
|
# for now, only add multilibs for specific targets
|
2006-05-11 04:51:41 +08:00
|
|
|
AC_CONFIG_FILES([Makefile],
|
|
|
|
[if test -n "$CONFIG_FILES"; then
|
|
|
|
unset ac_file
|
2022-01-07 13:53:26 +08:00
|
|
|
. ${srcdir}/../config-ml.in
|
2006-05-11 04:51:41 +08:00
|
|
|
fi],
|
2000-03-18 06:48:54 +08:00
|
|
|
srcdir=${srcdir}
|
|
|
|
target=${target}
|
2019-10-30 22:35:21 +08:00
|
|
|
host=${host}
|
2000-03-18 06:48:54 +08:00
|
|
|
with_multisubdir=${with_multisubdir}
|
|
|
|
ac_configure_args="--enable-multilib ${ac_configure_args}"
|
|
|
|
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
2006-05-11 04:51:41 +08:00
|
|
|
CC="${CC}"
|
|
|
|
LDFLAGS=${LDFLAGS}
|
2000-03-18 06:48:54 +08:00
|
|
|
)
|
2006-04-20 03:44:05 +08:00
|
|
|
AC_OUTPUT
|
2000-03-18 06:48:54 +08:00
|
|
|
|
|
|
|
|