From 920617998eebd7b3b5707b6d1f58078b9e41dbeb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 9 Sep 2021 16:49:49 -0400 Subject: libgloss/newlib: rename configure.in to configure.ac The .in name has been deprecated for a long time in favor of .ac. --- libgloss/aarch64/configure.ac | 65 ++ libgloss/aarch64/configure.in | 65 -- libgloss/aarch64/cpu-init/configure.ac | 50 ++ libgloss/aarch64/cpu-init/configure.in | 50 -- libgloss/arc/configure.ac | 55 ++ libgloss/arc/configure.in | 55 -- libgloss/arm/configure.ac | 97 +++ libgloss/arm/configure.in | 97 --- libgloss/bfin/configure.ac | 54 ++ libgloss/bfin/configure.in | 54 -- libgloss/configure.ac | 245 +++++++ libgloss/configure.in | 245 ------- libgloss/cr16/configure.ac | 55 ++ libgloss/cr16/configure.in | 55 -- libgloss/cris/configure.ac | 55 ++ libgloss/cris/configure.in | 55 -- libgloss/crx/configure.ac | 39 ++ libgloss/crx/configure.in | 39 -- libgloss/csky/configure.ac | 93 +++ libgloss/csky/configure.in | 93 --- libgloss/d30v/configure.ac | 55 ++ libgloss/d30v/configure.in | 55 -- libgloss/doc/configure.ac | 16 + libgloss/doc/configure.in | 16 - libgloss/epiphany/configure.ac | 127 ++++ libgloss/epiphany/configure.in | 127 ---- libgloss/fr30/configure.ac | 39 ++ libgloss/fr30/configure.in | 39 -- libgloss/frv/configure.ac | 55 ++ libgloss/frv/configure.in | 55 -- libgloss/ft32/configure.ac | 55 ++ libgloss/ft32/configure.in | 55 -- libgloss/hp74x/configure.ac | 35 + libgloss/hp74x/configure.in | 35 - libgloss/i386/configure.ac | 79 +++ libgloss/i386/configure.in | 79 --- libgloss/i960/configure.ac | 39 ++ libgloss/i960/configure.in | 39 -- libgloss/iq2000/configure.ac | 81 +++ libgloss/iq2000/configure.in | 81 --- libgloss/libnosys/configure.ac | 200 ++++++ libgloss/libnosys/configure.in | 200 ------ libgloss/lm32/configure.ac | 55 ++ libgloss/lm32/configure.in | 55 -- libgloss/m32c/configure.ac | 55 ++ libgloss/m32c/configure.in | 55 -- libgloss/m32r/configure.ac | 47 ++ libgloss/m32r/configure.in | 47 -- libgloss/m68hc11/configure.ac | 56 ++ libgloss/m68hc11/configure.in | 56 -- libgloss/m68k/configure.ac | 93 +++ libgloss/m68k/configure.in | 93 --- libgloss/mcore/configure.ac | 65 ++ libgloss/mcore/configure.in | 65 -- libgloss/mep/configure.ac | 66 ++ libgloss/mep/configure.in | 66 -- libgloss/microblaze/configure.ac | 60 ++ libgloss/microblaze/configure.in | 60 -- libgloss/mips/configure.ac | 123 ++++ libgloss/mips/configure.in | 123 ---- libgloss/mn10200/configure.ac | 80 +++ libgloss/mn10200/configure.in | 80 --- libgloss/mn10300/configure.ac | 92 +++ libgloss/mn10300/configure.in | 92 --- libgloss/moxie/configure.ac | 70 ++ libgloss/moxie/configure.in | 70 -- libgloss/msp430/configure.ac | 67 ++ libgloss/msp430/configure.in | 67 -- libgloss/mt/configure.ac | 55 ++ libgloss/mt/configure.in | 55 -- libgloss/nds32/configure.ac | 47 ++ libgloss/nds32/configure.in | 47 -- libgloss/nios2/configure.ac | 58 ++ libgloss/nios2/configure.in | 58 -- libgloss/or1k/configure.ac | 81 +++ libgloss/or1k/configure.in | 81 --- libgloss/pa/configure.ac | 71 ++ libgloss/pa/configure.in | 71 -- libgloss/pru/configure.ac | 66 ++ libgloss/pru/configure.in | 66 -- libgloss/riscv/configure.ac | 45 ++ libgloss/riscv/configure.in | 45 -- libgloss/rl78/configure.ac | 55 ++ libgloss/rl78/configure.in | 55 -- libgloss/rs6000/configure.ac | 55 ++ libgloss/rs6000/configure.in | 55 -- libgloss/rx/configure.ac | 55 ++ libgloss/rx/configure.in | 55 -- libgloss/sparc/configure.ac | 85 +++ libgloss/sparc/configure.in | 85 --- libgloss/sparc/libsys/configure.ac | 51 ++ libgloss/sparc/libsys/configure.in | 51 -- libgloss/sparc_leon/configure.ac | 58 ++ libgloss/sparc_leon/configure.in | 58 -- libgloss/spu/configure.ac | 51 ++ libgloss/spu/configure.in | 51 -- libgloss/tic6x/configure.ac | 54 ++ libgloss/tic6x/configure.in | 54 -- libgloss/v850/configure.ac | 55 ++ libgloss/v850/configure.in | 55 -- libgloss/visium/configure.ac | 59 ++ libgloss/visium/configure.in | 59 -- libgloss/wince/configure.ac | 34 + libgloss/wince/configure.in | 34 - libgloss/xc16x/configure.ac | 81 +++ libgloss/xc16x/configure.in | 81 --- libgloss/xstormy16/configure.ac | 38 ++ libgloss/xstormy16/configure.in | 38 -- newlib/configure.ac | 712 +++++++++++++++++++++ newlib/configure.in | 712 --------------------- newlib/doc/configure.ac | 43 ++ newlib/doc/configure.in | 43 -- newlib/iconvdata/configure.ac | 24 + newlib/iconvdata/configure.in | 24 - newlib/libc/configure.ac | 224 +++++++ newlib/libc/configure.in | 224 ------- newlib/libc/machine/a29k/configure.ac | 14 + newlib/libc/machine/a29k/configure.in | 14 - newlib/libc/machine/aarch64/configure.ac | 14 + newlib/libc/machine/aarch64/configure.in | 14 - newlib/libc/machine/amdgcn/configure.ac | 14 + newlib/libc/machine/amdgcn/configure.in | 14 - newlib/libc/machine/arc/configure.ac | 13 + newlib/libc/machine/arc/configure.in | 13 - newlib/libc/machine/arm/configure.ac | 16 + newlib/libc/machine/arm/configure.in | 16 - newlib/libc/machine/bfin/configure.ac | 14 + newlib/libc/machine/bfin/configure.in | 14 - newlib/libc/machine/configure.ac | 91 +++ newlib/libc/machine/configure.in | 91 --- newlib/libc/machine/cr16/configure.ac | 14 + newlib/libc/machine/cr16/configure.in | 14 - newlib/libc/machine/cris/configure.ac | 14 + newlib/libc/machine/cris/configure.in | 14 - newlib/libc/machine/crx/configure.ac | 14 + newlib/libc/machine/crx/configure.in | 14 - newlib/libc/machine/csky/configure.ac | 14 + newlib/libc/machine/csky/configure.in | 14 - newlib/libc/machine/d10v/configure.ac | 14 + newlib/libc/machine/d10v/configure.in | 14 - newlib/libc/machine/d30v/configure.ac | 14 + newlib/libc/machine/d30v/configure.in | 14 - newlib/libc/machine/epiphany/configure.ac | 41 ++ newlib/libc/machine/epiphany/configure.in | 41 -- newlib/libc/machine/fr30/configure.ac | 14 + newlib/libc/machine/fr30/configure.in | 14 - newlib/libc/machine/frv/configure.ac | 14 + newlib/libc/machine/frv/configure.in | 14 - newlib/libc/machine/ft32/configure.ac | 14 + newlib/libc/machine/ft32/configure.in | 14 - newlib/libc/machine/h8300/configure.ac | 14 + newlib/libc/machine/h8300/configure.in | 14 - newlib/libc/machine/h8500/configure.ac | 14 + newlib/libc/machine/h8500/configure.in | 14 - newlib/libc/machine/hppa/configure.ac | 14 + newlib/libc/machine/hppa/configure.in | 14 - newlib/libc/machine/i386/configure.ac | 27 + newlib/libc/machine/i386/configure.in | 27 - newlib/libc/machine/i960/configure.ac | 14 + newlib/libc/machine/i960/configure.in | 14 - newlib/libc/machine/iq2000/configure.ac | 14 + newlib/libc/machine/iq2000/configure.in | 14 - newlib/libc/machine/lm32/configure.ac | 14 + newlib/libc/machine/lm32/configure.in | 14 - newlib/libc/machine/m32c/configure.ac | 14 + newlib/libc/machine/m32c/configure.in | 14 - newlib/libc/machine/m32r/configure.ac | 14 + newlib/libc/machine/m32r/configure.in | 14 - newlib/libc/machine/m68hc11/configure.ac | 14 + newlib/libc/machine/m68hc11/configure.in | 14 - newlib/libc/machine/m68k/configure.ac | 14 + newlib/libc/machine/m68k/configure.in | 14 - newlib/libc/machine/m88k/configure.ac | 14 + newlib/libc/machine/m88k/configure.in | 14 - newlib/libc/machine/mep/configure.ac | 14 + newlib/libc/machine/mep/configure.in | 14 - newlib/libc/machine/microblaze/configure.ac | 14 + newlib/libc/machine/microblaze/configure.in | 14 - newlib/libc/machine/mips/configure.ac | 14 + newlib/libc/machine/mips/configure.in | 14 - newlib/libc/machine/mn10200/configure.ac | 14 + newlib/libc/machine/mn10200/configure.in | 14 - newlib/libc/machine/mn10300/configure.ac | 14 + newlib/libc/machine/mn10300/configure.in | 14 - newlib/libc/machine/moxie/configure.ac | 14 + newlib/libc/machine/moxie/configure.in | 14 - newlib/libc/machine/msp430/configure.ac | 38 ++ newlib/libc/machine/msp430/configure.in | 38 -- newlib/libc/machine/mt/configure.ac | 14 + newlib/libc/machine/mt/configure.in | 14 - newlib/libc/machine/nds32/configure.ac | 26 + newlib/libc/machine/nds32/configure.in | 26 - newlib/libc/machine/necv70/configure.ac | 14 + newlib/libc/machine/necv70/configure.in | 14 - newlib/libc/machine/nios2/configure.ac | 14 + newlib/libc/machine/nios2/configure.in | 14 - newlib/libc/machine/nvptx/configure.ac | 14 + newlib/libc/machine/nvptx/configure.in | 14 - newlib/libc/machine/or1k/configure.ac | 14 + newlib/libc/machine/or1k/configure.in | 14 - newlib/libc/machine/powerpc/configure.ac | 25 + newlib/libc/machine/powerpc/configure.in | 25 - newlib/libc/machine/pru/configure.ac | 14 + newlib/libc/machine/pru/configure.in | 14 - newlib/libc/machine/riscv/configure.ac | 14 + newlib/libc/machine/riscv/configure.in | 14 - newlib/libc/machine/rl78/configure.ac | 14 + newlib/libc/machine/rl78/configure.in | 14 - newlib/libc/machine/rx/configure.ac | 14 + newlib/libc/machine/rx/configure.in | 14 - newlib/libc/machine/sh/configure.ac | 23 + newlib/libc/machine/sh/configure.in | 23 - newlib/libc/machine/sparc/configure.ac | 14 + newlib/libc/machine/sparc/configure.in | 14 - newlib/libc/machine/spu/configure.ac | 30 + newlib/libc/machine/spu/configure.in | 30 - newlib/libc/machine/tic4x/configure.ac | 14 + newlib/libc/machine/tic4x/configure.in | 14 - newlib/libc/machine/tic6x/configure.ac | 14 + newlib/libc/machine/tic6x/configure.in | 14 - newlib/libc/machine/tic80/configure.ac | 14 + newlib/libc/machine/tic80/configure.in | 14 - newlib/libc/machine/v850/configure.ac | 14 + newlib/libc/machine/v850/configure.in | 14 - newlib/libc/machine/visium/configure.ac | 14 + newlib/libc/machine/visium/configure.in | 14 - newlib/libc/machine/w65/configure.ac | 14 + newlib/libc/machine/w65/configure.in | 14 - newlib/libc/machine/x86_64/configure.ac | 14 + newlib/libc/machine/x86_64/configure.in | 14 - newlib/libc/machine/xc16x/configure.ac | 14 + newlib/libc/machine/xc16x/configure.in | 14 - newlib/libc/machine/xscale/configure.ac | 14 + newlib/libc/machine/xscale/configure.in | 14 - newlib/libc/machine/xstormy16/configure.ac | 14 + newlib/libc/machine/xstormy16/configure.in | 14 - newlib/libc/machine/z8k/configure.ac | 14 + newlib/libc/machine/z8k/configure.in | 14 - newlib/libc/sys/a29khif/configure.ac | 14 + newlib/libc/sys/a29khif/configure.in | 14 - newlib/libc/sys/amdgcn/configure.ac | 14 + newlib/libc/sys/amdgcn/configure.in | 14 - newlib/libc/sys/arm/configure.ac | 14 + newlib/libc/sys/arm/configure.in | 14 - newlib/libc/sys/configure.ac | 65 ++ newlib/libc/sys/configure.in | 65 -- newlib/libc/sys/d10v/configure.ac | 14 + newlib/libc/sys/d10v/configure.in | 14 - newlib/libc/sys/decstation/configure.ac | 14 + newlib/libc/sys/decstation/configure.in | 14 - newlib/libc/sys/epiphany/configure.ac | 41 ++ newlib/libc/sys/epiphany/configure.in | 41 -- newlib/libc/sys/h8300hms/configure.ac | 14 + newlib/libc/sys/h8300hms/configure.in | 14 - newlib/libc/sys/h8500hms/configure.ac | 14 + newlib/libc/sys/h8500hms/configure.in | 14 - newlib/libc/sys/linux/configure.ac | 54 ++ newlib/libc/sys/linux/configure.in | 54 -- newlib/libc/sys/linux/linuxthreads/configure.ac | 34 + newlib/libc/sys/linux/linuxthreads/configure.in | 34 - .../sys/linux/linuxthreads/machine/configure.ac | 32 + .../sys/linux/linuxthreads/machine/configure.in | 32 - .../linux/linuxthreads/machine/i386/configure.ac | 25 + .../linux/linuxthreads/machine/i386/configure.in | 25 - newlib/libc/sys/linux/machine/configure.ac | 38 ++ newlib/libc/sys/linux/machine/configure.in | 38 -- newlib/libc/sys/linux/machine/i386/configure.ac | 25 + newlib/libc/sys/linux/machine/i386/configure.in | 25 - newlib/libc/sys/m88kbug/configure.ac | 14 + newlib/libc/sys/m88kbug/configure.in | 14 - newlib/libc/sys/mmixware/configure.ac | 14 + newlib/libc/sys/mmixware/configure.in | 14 - newlib/libc/sys/netware/configure.ac | 14 + newlib/libc/sys/netware/configure.in | 14 - newlib/libc/sys/or1k/configure.ac | 14 + newlib/libc/sys/or1k/configure.in | 14 - newlib/libc/sys/phoenix/configure.ac | 19 + newlib/libc/sys/phoenix/configure.in | 19 - newlib/libc/sys/phoenix/machine/arm/configure.ac | 14 + newlib/libc/sys/phoenix/machine/arm/configure.in | 14 - newlib/libc/sys/phoenix/machine/configure.ac | 31 + newlib/libc/sys/phoenix/machine/configure.in | 31 - newlib/libc/sys/rdos/configure.ac | 14 + newlib/libc/sys/rdos/configure.in | 14 - newlib/libc/sys/rtems/configure.ac | 14 + newlib/libc/sys/rtems/configure.in | 14 - newlib/libc/sys/sh/configure.ac | 14 + newlib/libc/sys/sh/configure.in | 14 - newlib/libc/sys/sparc64/configure.ac | 14 + newlib/libc/sys/sparc64/configure.in | 14 - newlib/libc/sys/sun4/configure.ac | 14 + newlib/libc/sys/sun4/configure.in | 14 - newlib/libc/sys/sysmec/configure.ac | 14 + newlib/libc/sys/sysmec/configure.in | 14 - newlib/libc/sys/sysnec810/configure.ac | 14 + newlib/libc/sys/sysnec810/configure.in | 14 - newlib/libc/sys/sysnecv850/configure.ac | 14 + newlib/libc/sys/sysnecv850/configure.in | 14 - newlib/libc/sys/sysvi386/configure.ac | 14 + newlib/libc/sys/sysvi386/configure.in | 14 - newlib/libc/sys/sysvnecv70/configure.ac | 14 + newlib/libc/sys/sysvnecv70/configure.in | 14 - newlib/libc/sys/tic80/configure.ac | 14 + newlib/libc/sys/tic80/configure.in | 14 - newlib/libc/sys/tirtos/configure.ac | 14 + newlib/libc/sys/tirtos/configure.in | 14 - newlib/libc/sys/w65/configure.ac | 14 + newlib/libc/sys/w65/configure.in | 14 - newlib/libc/sys/z8ksim/configure.ac | 14 + newlib/libc/sys/z8ksim/configure.in | 14 - newlib/libm/configure.ac | 66 ++ newlib/libm/configure.in | 66 -- newlib/libm/machine/aarch64/configure.ac | 14 + newlib/libm/machine/aarch64/configure.in | 14 - newlib/libm/machine/arm/configure.ac | 14 + newlib/libm/machine/arm/configure.in | 14 - newlib/libm/machine/configure.ac | 55 ++ newlib/libm/machine/configure.in | 55 -- newlib/libm/machine/i386/configure.ac | 25 + newlib/libm/machine/i386/configure.in | 25 - newlib/libm/machine/mips/configure.ac | 11 + newlib/libm/machine/mips/configure.in | 11 - newlib/libm/machine/nds32/configure.ac | 35 + newlib/libm/machine/nds32/configure.in | 35 - newlib/libm/machine/powerpc/configure.ac | 11 + newlib/libm/machine/powerpc/configure.in | 11 - newlib/libm/machine/pru/configure.ac | 11 + newlib/libm/machine/pru/configure.in | 11 - newlib/libm/machine/riscv/configure.ac | 11 + newlib/libm/machine/riscv/configure.in | 11 - newlib/libm/machine/sparc/configure.ac | 11 + newlib/libm/machine/sparc/configure.in | 11 - newlib/libm/machine/spu/configure.ac | 14 + newlib/libm/machine/spu/configure.in | 14 - newlib/libm/machine/x86_64/configure.ac | 25 + newlib/libm/machine/x86_64/configure.in | 25 - 336 files changed, 6750 insertions(+), 6750 deletions(-) create mode 100644 libgloss/aarch64/configure.ac delete mode 100644 libgloss/aarch64/configure.in create mode 100644 libgloss/aarch64/cpu-init/configure.ac delete mode 100644 libgloss/aarch64/cpu-init/configure.in create mode 100644 libgloss/arc/configure.ac delete mode 100644 libgloss/arc/configure.in create mode 100644 libgloss/arm/configure.ac delete mode 100644 libgloss/arm/configure.in create mode 100644 libgloss/bfin/configure.ac delete mode 100644 libgloss/bfin/configure.in create mode 100644 libgloss/configure.ac delete mode 100644 libgloss/configure.in create mode 100644 libgloss/cr16/configure.ac delete mode 100644 libgloss/cr16/configure.in create mode 100644 libgloss/cris/configure.ac delete mode 100644 libgloss/cris/configure.in create mode 100644 libgloss/crx/configure.ac delete mode 100644 libgloss/crx/configure.in create mode 100644 libgloss/csky/configure.ac delete mode 100644 libgloss/csky/configure.in create mode 100644 libgloss/d30v/configure.ac delete mode 100644 libgloss/d30v/configure.in create mode 100644 libgloss/doc/configure.ac delete mode 100644 libgloss/doc/configure.in create mode 100644 libgloss/epiphany/configure.ac delete mode 100644 libgloss/epiphany/configure.in create mode 100644 libgloss/fr30/configure.ac delete mode 100644 libgloss/fr30/configure.in create mode 100644 libgloss/frv/configure.ac delete mode 100644 libgloss/frv/configure.in create mode 100644 libgloss/ft32/configure.ac delete mode 100644 libgloss/ft32/configure.in create mode 100644 libgloss/hp74x/configure.ac delete mode 100644 libgloss/hp74x/configure.in create mode 100644 libgloss/i386/configure.ac delete mode 100644 libgloss/i386/configure.in create mode 100644 libgloss/i960/configure.ac delete mode 100644 libgloss/i960/configure.in create mode 100644 libgloss/iq2000/configure.ac delete mode 100644 libgloss/iq2000/configure.in create mode 100644 libgloss/libnosys/configure.ac delete mode 100644 libgloss/libnosys/configure.in create mode 100644 libgloss/lm32/configure.ac delete mode 100644 libgloss/lm32/configure.in create mode 100644 libgloss/m32c/configure.ac delete mode 100644 libgloss/m32c/configure.in create mode 100644 libgloss/m32r/configure.ac delete mode 100644 libgloss/m32r/configure.in create mode 100644 libgloss/m68hc11/configure.ac delete mode 100644 libgloss/m68hc11/configure.in create mode 100644 libgloss/m68k/configure.ac delete mode 100644 libgloss/m68k/configure.in create mode 100644 libgloss/mcore/configure.ac delete mode 100644 libgloss/mcore/configure.in create mode 100644 libgloss/mep/configure.ac delete mode 100644 libgloss/mep/configure.in create mode 100644 libgloss/microblaze/configure.ac delete mode 100644 libgloss/microblaze/configure.in create mode 100644 libgloss/mips/configure.ac delete mode 100644 libgloss/mips/configure.in create mode 100644 libgloss/mn10200/configure.ac delete mode 100644 libgloss/mn10200/configure.in create mode 100644 libgloss/mn10300/configure.ac delete mode 100644 libgloss/mn10300/configure.in create mode 100644 libgloss/moxie/configure.ac delete mode 100644 libgloss/moxie/configure.in create mode 100644 libgloss/msp430/configure.ac delete mode 100644 libgloss/msp430/configure.in create mode 100644 libgloss/mt/configure.ac delete mode 100644 libgloss/mt/configure.in create mode 100644 libgloss/nds32/configure.ac delete mode 100644 libgloss/nds32/configure.in create mode 100644 libgloss/nios2/configure.ac delete mode 100644 libgloss/nios2/configure.in create mode 100644 libgloss/or1k/configure.ac delete mode 100644 libgloss/or1k/configure.in create mode 100644 libgloss/pa/configure.ac delete mode 100644 libgloss/pa/configure.in create mode 100644 libgloss/pru/configure.ac delete mode 100644 libgloss/pru/configure.in create mode 100644 libgloss/riscv/configure.ac delete mode 100644 libgloss/riscv/configure.in create mode 100644 libgloss/rl78/configure.ac delete mode 100644 libgloss/rl78/configure.in create mode 100644 libgloss/rs6000/configure.ac delete mode 100644 libgloss/rs6000/configure.in create mode 100644 libgloss/rx/configure.ac delete mode 100644 libgloss/rx/configure.in create mode 100644 libgloss/sparc/configure.ac delete mode 100644 libgloss/sparc/configure.in create mode 100644 libgloss/sparc/libsys/configure.ac delete mode 100644 libgloss/sparc/libsys/configure.in create mode 100644 libgloss/sparc_leon/configure.ac delete mode 100644 libgloss/sparc_leon/configure.in create mode 100644 libgloss/spu/configure.ac delete mode 100644 libgloss/spu/configure.in create mode 100644 libgloss/tic6x/configure.ac delete mode 100644 libgloss/tic6x/configure.in create mode 100644 libgloss/v850/configure.ac delete mode 100644 libgloss/v850/configure.in create mode 100644 libgloss/visium/configure.ac delete mode 100644 libgloss/visium/configure.in create mode 100644 libgloss/wince/configure.ac delete mode 100644 libgloss/wince/configure.in create mode 100644 libgloss/xc16x/configure.ac delete mode 100644 libgloss/xc16x/configure.in create mode 100644 libgloss/xstormy16/configure.ac delete mode 100644 libgloss/xstormy16/configure.in create mode 100644 newlib/configure.ac delete mode 100644 newlib/configure.in create mode 100644 newlib/doc/configure.ac delete mode 100644 newlib/doc/configure.in create mode 100644 newlib/iconvdata/configure.ac delete mode 100644 newlib/iconvdata/configure.in create mode 100644 newlib/libc/configure.ac delete mode 100644 newlib/libc/configure.in create mode 100644 newlib/libc/machine/a29k/configure.ac delete mode 100644 newlib/libc/machine/a29k/configure.in create mode 100644 newlib/libc/machine/aarch64/configure.ac delete mode 100644 newlib/libc/machine/aarch64/configure.in create mode 100644 newlib/libc/machine/amdgcn/configure.ac delete mode 100644 newlib/libc/machine/amdgcn/configure.in create mode 100644 newlib/libc/machine/arc/configure.ac delete mode 100644 newlib/libc/machine/arc/configure.in create mode 100644 newlib/libc/machine/arm/configure.ac delete mode 100644 newlib/libc/machine/arm/configure.in create mode 100644 newlib/libc/machine/bfin/configure.ac delete mode 100644 newlib/libc/machine/bfin/configure.in create mode 100644 newlib/libc/machine/configure.ac delete mode 100644 newlib/libc/machine/configure.in create mode 100644 newlib/libc/machine/cr16/configure.ac delete mode 100644 newlib/libc/machine/cr16/configure.in create mode 100644 newlib/libc/machine/cris/configure.ac delete mode 100644 newlib/libc/machine/cris/configure.in create mode 100644 newlib/libc/machine/crx/configure.ac delete mode 100644 newlib/libc/machine/crx/configure.in create mode 100644 newlib/libc/machine/csky/configure.ac delete mode 100644 newlib/libc/machine/csky/configure.in create mode 100644 newlib/libc/machine/d10v/configure.ac delete mode 100644 newlib/libc/machine/d10v/configure.in create mode 100644 newlib/libc/machine/d30v/configure.ac delete mode 100644 newlib/libc/machine/d30v/configure.in create mode 100644 newlib/libc/machine/epiphany/configure.ac delete mode 100644 newlib/libc/machine/epiphany/configure.in create mode 100644 newlib/libc/machine/fr30/configure.ac delete mode 100644 newlib/libc/machine/fr30/configure.in create mode 100644 newlib/libc/machine/frv/configure.ac delete mode 100644 newlib/libc/machine/frv/configure.in create mode 100644 newlib/libc/machine/ft32/configure.ac delete mode 100644 newlib/libc/machine/ft32/configure.in create mode 100644 newlib/libc/machine/h8300/configure.ac delete mode 100644 newlib/libc/machine/h8300/configure.in create mode 100644 newlib/libc/machine/h8500/configure.ac delete mode 100644 newlib/libc/machine/h8500/configure.in create mode 100644 newlib/libc/machine/hppa/configure.ac delete mode 100644 newlib/libc/machine/hppa/configure.in create mode 100644 newlib/libc/machine/i386/configure.ac delete mode 100644 newlib/libc/machine/i386/configure.in create mode 100644 newlib/libc/machine/i960/configure.ac delete mode 100644 newlib/libc/machine/i960/configure.in create mode 100644 newlib/libc/machine/iq2000/configure.ac delete mode 100644 newlib/libc/machine/iq2000/configure.in create mode 100644 newlib/libc/machine/lm32/configure.ac delete mode 100644 newlib/libc/machine/lm32/configure.in create mode 100644 newlib/libc/machine/m32c/configure.ac delete mode 100644 newlib/libc/machine/m32c/configure.in create mode 100644 newlib/libc/machine/m32r/configure.ac delete mode 100644 newlib/libc/machine/m32r/configure.in create mode 100644 newlib/libc/machine/m68hc11/configure.ac delete mode 100644 newlib/libc/machine/m68hc11/configure.in create mode 100644 newlib/libc/machine/m68k/configure.ac delete mode 100644 newlib/libc/machine/m68k/configure.in create mode 100644 newlib/libc/machine/m88k/configure.ac delete mode 100644 newlib/libc/machine/m88k/configure.in create mode 100644 newlib/libc/machine/mep/configure.ac delete mode 100644 newlib/libc/machine/mep/configure.in create mode 100644 newlib/libc/machine/microblaze/configure.ac delete mode 100644 newlib/libc/machine/microblaze/configure.in create mode 100644 newlib/libc/machine/mips/configure.ac delete mode 100644 newlib/libc/machine/mips/configure.in create mode 100644 newlib/libc/machine/mn10200/configure.ac delete mode 100644 newlib/libc/machine/mn10200/configure.in create mode 100644 newlib/libc/machine/mn10300/configure.ac delete mode 100644 newlib/libc/machine/mn10300/configure.in create mode 100644 newlib/libc/machine/moxie/configure.ac delete mode 100644 newlib/libc/machine/moxie/configure.in create mode 100644 newlib/libc/machine/msp430/configure.ac delete mode 100644 newlib/libc/machine/msp430/configure.in create mode 100644 newlib/libc/machine/mt/configure.ac delete mode 100644 newlib/libc/machine/mt/configure.in create mode 100644 newlib/libc/machine/nds32/configure.ac delete mode 100644 newlib/libc/machine/nds32/configure.in create mode 100644 newlib/libc/machine/necv70/configure.ac delete mode 100644 newlib/libc/machine/necv70/configure.in create mode 100644 newlib/libc/machine/nios2/configure.ac delete mode 100644 newlib/libc/machine/nios2/configure.in create mode 100644 newlib/libc/machine/nvptx/configure.ac delete mode 100644 newlib/libc/machine/nvptx/configure.in create mode 100644 newlib/libc/machine/or1k/configure.ac delete mode 100644 newlib/libc/machine/or1k/configure.in create mode 100644 newlib/libc/machine/powerpc/configure.ac delete mode 100644 newlib/libc/machine/powerpc/configure.in create mode 100644 newlib/libc/machine/pru/configure.ac delete mode 100644 newlib/libc/machine/pru/configure.in create mode 100644 newlib/libc/machine/riscv/configure.ac delete mode 100644 newlib/libc/machine/riscv/configure.in create mode 100644 newlib/libc/machine/rl78/configure.ac delete mode 100644 newlib/libc/machine/rl78/configure.in create mode 100644 newlib/libc/machine/rx/configure.ac delete mode 100644 newlib/libc/machine/rx/configure.in create mode 100644 newlib/libc/machine/sh/configure.ac delete mode 100644 newlib/libc/machine/sh/configure.in create mode 100644 newlib/libc/machine/sparc/configure.ac delete mode 100644 newlib/libc/machine/sparc/configure.in create mode 100644 newlib/libc/machine/spu/configure.ac delete mode 100644 newlib/libc/machine/spu/configure.in create mode 100644 newlib/libc/machine/tic4x/configure.ac delete mode 100644 newlib/libc/machine/tic4x/configure.in create mode 100644 newlib/libc/machine/tic6x/configure.ac delete mode 100644 newlib/libc/machine/tic6x/configure.in create mode 100644 newlib/libc/machine/tic80/configure.ac delete mode 100644 newlib/libc/machine/tic80/configure.in create mode 100644 newlib/libc/machine/v850/configure.ac delete mode 100644 newlib/libc/machine/v850/configure.in create mode 100644 newlib/libc/machine/visium/configure.ac delete mode 100644 newlib/libc/machine/visium/configure.in create mode 100644 newlib/libc/machine/w65/configure.ac delete mode 100644 newlib/libc/machine/w65/configure.in create mode 100644 newlib/libc/machine/x86_64/configure.ac delete mode 100644 newlib/libc/machine/x86_64/configure.in create mode 100644 newlib/libc/machine/xc16x/configure.ac delete mode 100644 newlib/libc/machine/xc16x/configure.in create mode 100644 newlib/libc/machine/xscale/configure.ac delete mode 100644 newlib/libc/machine/xscale/configure.in create mode 100644 newlib/libc/machine/xstormy16/configure.ac delete mode 100644 newlib/libc/machine/xstormy16/configure.in create mode 100644 newlib/libc/machine/z8k/configure.ac delete mode 100644 newlib/libc/machine/z8k/configure.in create mode 100644 newlib/libc/sys/a29khif/configure.ac delete mode 100644 newlib/libc/sys/a29khif/configure.in create mode 100644 newlib/libc/sys/amdgcn/configure.ac delete mode 100644 newlib/libc/sys/amdgcn/configure.in create mode 100644 newlib/libc/sys/arm/configure.ac delete mode 100644 newlib/libc/sys/arm/configure.in create mode 100644 newlib/libc/sys/configure.ac delete mode 100644 newlib/libc/sys/configure.in create mode 100644 newlib/libc/sys/d10v/configure.ac delete mode 100644 newlib/libc/sys/d10v/configure.in create mode 100644 newlib/libc/sys/decstation/configure.ac delete mode 100644 newlib/libc/sys/decstation/configure.in create mode 100644 newlib/libc/sys/epiphany/configure.ac delete mode 100644 newlib/libc/sys/epiphany/configure.in create mode 100644 newlib/libc/sys/h8300hms/configure.ac delete mode 100644 newlib/libc/sys/h8300hms/configure.in create mode 100644 newlib/libc/sys/h8500hms/configure.ac delete mode 100644 newlib/libc/sys/h8500hms/configure.in create mode 100644 newlib/libc/sys/linux/configure.ac delete mode 100644 newlib/libc/sys/linux/configure.in create mode 100644 newlib/libc/sys/linux/linuxthreads/configure.ac delete mode 100644 newlib/libc/sys/linux/linuxthreads/configure.in create mode 100644 newlib/libc/sys/linux/linuxthreads/machine/configure.ac delete mode 100644 newlib/libc/sys/linux/linuxthreads/machine/configure.in create mode 100644 newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac delete mode 100644 newlib/libc/sys/linux/linuxthreads/machine/i386/configure.in create mode 100644 newlib/libc/sys/linux/machine/configure.ac delete mode 100644 newlib/libc/sys/linux/machine/configure.in create mode 100644 newlib/libc/sys/linux/machine/i386/configure.ac delete mode 100644 newlib/libc/sys/linux/machine/i386/configure.in create mode 100644 newlib/libc/sys/m88kbug/configure.ac delete mode 100644 newlib/libc/sys/m88kbug/configure.in create mode 100644 newlib/libc/sys/mmixware/configure.ac delete mode 100644 newlib/libc/sys/mmixware/configure.in create mode 100644 newlib/libc/sys/netware/configure.ac delete mode 100644 newlib/libc/sys/netware/configure.in create mode 100644 newlib/libc/sys/or1k/configure.ac delete mode 100644 newlib/libc/sys/or1k/configure.in create mode 100644 newlib/libc/sys/phoenix/configure.ac delete mode 100644 newlib/libc/sys/phoenix/configure.in create mode 100644 newlib/libc/sys/phoenix/machine/arm/configure.ac delete mode 100644 newlib/libc/sys/phoenix/machine/arm/configure.in create mode 100644 newlib/libc/sys/phoenix/machine/configure.ac delete mode 100644 newlib/libc/sys/phoenix/machine/configure.in create mode 100644 newlib/libc/sys/rdos/configure.ac delete mode 100644 newlib/libc/sys/rdos/configure.in create mode 100644 newlib/libc/sys/rtems/configure.ac delete mode 100644 newlib/libc/sys/rtems/configure.in create mode 100644 newlib/libc/sys/sh/configure.ac delete mode 100644 newlib/libc/sys/sh/configure.in create mode 100644 newlib/libc/sys/sparc64/configure.ac delete mode 100644 newlib/libc/sys/sparc64/configure.in create mode 100644 newlib/libc/sys/sun4/configure.ac delete mode 100644 newlib/libc/sys/sun4/configure.in create mode 100644 newlib/libc/sys/sysmec/configure.ac delete mode 100644 newlib/libc/sys/sysmec/configure.in create mode 100644 newlib/libc/sys/sysnec810/configure.ac delete mode 100644 newlib/libc/sys/sysnec810/configure.in create mode 100644 newlib/libc/sys/sysnecv850/configure.ac delete mode 100644 newlib/libc/sys/sysnecv850/configure.in create mode 100644 newlib/libc/sys/sysvi386/configure.ac delete mode 100644 newlib/libc/sys/sysvi386/configure.in create mode 100644 newlib/libc/sys/sysvnecv70/configure.ac delete mode 100644 newlib/libc/sys/sysvnecv70/configure.in create mode 100644 newlib/libc/sys/tic80/configure.ac delete mode 100644 newlib/libc/sys/tic80/configure.in create mode 100644 newlib/libc/sys/tirtos/configure.ac delete mode 100644 newlib/libc/sys/tirtos/configure.in create mode 100644 newlib/libc/sys/w65/configure.ac delete mode 100644 newlib/libc/sys/w65/configure.in create mode 100644 newlib/libc/sys/z8ksim/configure.ac delete mode 100644 newlib/libc/sys/z8ksim/configure.in create mode 100644 newlib/libm/configure.ac delete mode 100644 newlib/libm/configure.in create mode 100644 newlib/libm/machine/aarch64/configure.ac delete mode 100644 newlib/libm/machine/aarch64/configure.in create mode 100644 newlib/libm/machine/arm/configure.ac delete mode 100644 newlib/libm/machine/arm/configure.in create mode 100644 newlib/libm/machine/configure.ac delete mode 100644 newlib/libm/machine/configure.in create mode 100644 newlib/libm/machine/i386/configure.ac delete mode 100644 newlib/libm/machine/i386/configure.in create mode 100644 newlib/libm/machine/mips/configure.ac delete mode 100644 newlib/libm/machine/mips/configure.in create mode 100644 newlib/libm/machine/nds32/configure.ac delete mode 100644 newlib/libm/machine/nds32/configure.in create mode 100644 newlib/libm/machine/powerpc/configure.ac delete mode 100644 newlib/libm/machine/powerpc/configure.in create mode 100644 newlib/libm/machine/pru/configure.ac delete mode 100644 newlib/libm/machine/pru/configure.in create mode 100644 newlib/libm/machine/riscv/configure.ac delete mode 100644 newlib/libm/machine/riscv/configure.in create mode 100644 newlib/libm/machine/sparc/configure.ac delete mode 100644 newlib/libm/machine/sparc/configure.in create mode 100644 newlib/libm/machine/spu/configure.ac delete mode 100644 newlib/libm/machine/spu/configure.in create mode 100644 newlib/libm/machine/x86_64/configure.ac delete mode 100644 newlib/libm/machine/x86_64/configure.in diff --git a/libgloss/aarch64/configure.ac b/libgloss/aarch64/configure.ac new file mode 100644 index 0000000..73d11b5 --- /dev/null +++ b/libgloss/aarch64/configure.ac @@ -0,0 +1,65 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +case "${target}" in + *-*-elf) + objtype=elf- + ;; +esac + +AC_SUBST(objtype) + +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) + +# Configure cpu init plug-ins +if test -d "${srcdir}/cpu-init"; then + subdirs="${subdirs} cpu-init" + AC_CONFIG_SUBDIRS(cpu-init) + AC_SUBST(subdirs) +fi + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/aarch64/configure.in b/libgloss/aarch64/configure.in deleted file mode 100644 index 73d11b5..0000000 --- a/libgloss/aarch64/configure.in +++ /dev/null @@ -1,65 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -case "${target}" in - *-*-elf) - objtype=elf- - ;; -esac - -AC_SUBST(objtype) - -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) - -# Configure cpu init plug-ins -if test -d "${srcdir}/cpu-init"; then - subdirs="${subdirs} cpu-init" - AC_CONFIG_SUBDIRS(cpu-init) - AC_SUBST(subdirs) -fi - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/aarch64/cpu-init/configure.ac b/libgloss/aarch64/cpu-init/configure.ac new file mode 100644 index 0000000..03e0b22 --- /dev/null +++ b/libgloss/aarch64/cpu-init/configure.ac @@ -0,0 +1,50 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(Makefile.in) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/aarch64/cpu-init/configure.in b/libgloss/aarch64/cpu-init/configure.in deleted file mode 100644 index 03e0b22..0000000 --- a/libgloss/aarch64/cpu-init/configure.in +++ /dev/null @@ -1,50 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(Makefile.in) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/arc/configure.ac b/libgloss/arc/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/arc/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/arc/configure.in b/libgloss/arc/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/arc/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/arm/configure.ac b/libgloss/arm/configure.ac new file mode 100644 index 0000000..5fa901d --- /dev/null +++ b/libgloss/arm/configure.ac @@ -0,0 +1,97 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(redboot-crt0.S) + +dnl Support --disable-newlib-supplied-syscalls +AC_ARG_ENABLE(newlib-supplied-syscalls, +[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls], +[case "${enableval}" in + yes) newlib_may_supply_syscalls=yes ;; + no) newlib_may_supply_syscalls=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;; + esac], [newlib_may_supply_syscalls=yes])dnl + +if test "x$newlib_may_supply_syscalls" = "xyes"; then + BUILD_CRT0_TRUE='#' + BUILD_CRT0_FALSE= +else + BUILD_CRT0_TRUE= + BUILD_CRT0_FALSE='#' +fi + +AC_SUBST(BUILD_CRT0_TRUE) +AC_SUBST(BUILD_CRT0_FALSE) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +case "${target}" in + *-*-elf | *-*-eabi* | *-*-tirtos*) + objtype=elf- + ;; + *-*-coff) + objtype=coff- + ;; +esac + +AC_SUBST(objtype) + +host_makefile_frag=`cd $srcdir/../config;pwd`/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) + +# Configure cpu init plug-ins +if test -d "${srcdir}/cpu-init"; then + subdirs="${subdirs} cpu-init" + AC_CONFIG_FILES(cpu-init/Makefile, + . ${libgloss_topdir}/config-ml.in, + srcdir=${srcdir} + target=${target} + with_multisubdir=${with_multisubdir} + ac_configure_args="${ac_configure_args} --enable-multilib" + CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + libgloss_topdir=${libgloss_topdir} + ) + AC_SUBST(subdirs) +fi + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + diff --git a/libgloss/arm/configure.in b/libgloss/arm/configure.in deleted file mode 100644 index 5fa901d..0000000 --- a/libgloss/arm/configure.in +++ /dev/null @@ -1,97 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(redboot-crt0.S) - -dnl Support --disable-newlib-supplied-syscalls -AC_ARG_ENABLE(newlib-supplied-syscalls, -[ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls], -[case "${enableval}" in - yes) newlib_may_supply_syscalls=yes ;; - no) newlib_may_supply_syscalls=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-supplied-syscalls option) ;; - esac], [newlib_may_supply_syscalls=yes])dnl - -if test "x$newlib_may_supply_syscalls" = "xyes"; then - BUILD_CRT0_TRUE='#' - BUILD_CRT0_FALSE= -else - BUILD_CRT0_TRUE= - BUILD_CRT0_FALSE='#' -fi - -AC_SUBST(BUILD_CRT0_TRUE) -AC_SUBST(BUILD_CRT0_FALSE) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -case "${target}" in - *-*-elf | *-*-eabi* | *-*-tirtos*) - objtype=elf- - ;; - *-*-coff) - objtype=coff- - ;; -esac - -AC_SUBST(objtype) - -host_makefile_frag=`cd $srcdir/../config;pwd`/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) - -# Configure cpu init plug-ins -if test -d "${srcdir}/cpu-init"; then - subdirs="${subdirs} cpu-init" - AC_CONFIG_FILES(cpu-init/Makefile, - . ${libgloss_topdir}/config-ml.in, - srcdir=${srcdir} - target=${target} - with_multisubdir=${with_multisubdir} - ac_configure_args="${ac_configure_args} --enable-multilib" - CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - libgloss_topdir=${libgloss_topdir} - ) - AC_SUBST(subdirs) -fi - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - diff --git a/libgloss/bfin/configure.ac b/libgloss/bfin/configure.ac new file mode 100644 index 0000000..7c2231c --- /dev/null +++ b/libgloss/bfin/configure.ac @@ -0,0 +1,54 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/bfin/configure.in b/libgloss/bfin/configure.in deleted file mode 100644 index 7c2231c..0000000 --- a/libgloss/bfin/configure.in +++ /dev/null @@ -1,54 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/configure.ac b/libgloss/configure.ac new file mode 100644 index 0000000..4111724 --- /dev/null +++ b/libgloss/configure.ac @@ -0,0 +1,245 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT([libgloss],[LIBGLOSS_VERSION]) +AC_CONFIG_SRCDIR([libnosys]) + +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]) + +if test -z "${with_multisubdir}" ; then + AC_CONFIG_SUBDIRS([doc]) +fi + +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 + +case "${target}" in + aarch64*-*-*) + AC_CONFIG_SUBDIRS(aarch64) + config_testsuite=true + ;; + arc*-*-*) + AC_CONFIG_SUBDIRS(arc) + ;; + csky*-*-*) + AC_CONFIG_SUBDIRS(csky) + ;; + epiphany-*-*) + AC_CONFIG_SUBDIRS(epiphany) + config_testsuite=true + ;; + i[[3456]]86-*-elf* | i[[3456]]86-*-coff*) + AC_CONFIG_SUBDIRS([i386]) + ;; + m32r-*-*) + AC_CONFIG_SUBDIRS([m32r]) + ;; + m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*) + AC_CONFIG_SUBDIRS([m68hc11]) + ;; + nds32*-*-*) + AC_CONFIG_SUBDIRS([nds32]) + ;; + fido-*-* | m68*-*-*) + AC_CONFIG_SUBDIRS([m68k]) + ;; + hppa*-*-pro*) + AC_CONFIG_SUBDIRS([pa]) + ;; + i960-*-coff) + AC_CONFIG_SUBDIRS([i960]) + ;; + sparc-*leon*-elf* | sparc-*leon*-none*) + AC_CONFIG_SUBDIRS([sparc_leon]) + ;; + sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*) + AC_CONFIG_SUBDIRS([sparc]) + ;; + sh*-*-pe | mips*-*-pe | *arm*-wince-pe) + AC_CONFIG_SUBDIRS([wince]) + ;; + mips*-*-*) + AC_CONFIG_SUBDIRS([mips]) + ;; + riscv*-*-*) + AC_CONFIG_SUBDIRS([riscv]) + ;; + powerpc-*-*|powerpcle-*-*) + AC_CONFIG_SUBDIRS([rs6000]) + ;; + mn10200-*-*) + AC_CONFIG_SUBDIRS([mn10200]) + ;; + mn10300-*-*) + AC_CONFIG_SUBDIRS([mn10300]) + ;; + bfin-*-*) + AC_CONFIG_SUBDIRS([bfin]) + ;; + cr16-*-*) + AC_CONFIG_SUBDIRS([cr16]) + ;; + cris-*-* | crisv32-*-*) + AC_CONFIG_SUBDIRS([cris]) + ;; + crx-*-*) + AC_CONFIG_SUBDIRS([crx]) + ;; + d30v-*-*) + AC_CONFIG_SUBDIRS([d30v]) + ;; + fr30-*-*) + AC_CONFIG_SUBDIRS([fr30]) + ;; + frv*-*-*) + AC_CONFIG_SUBDIRS([frv]) + ;; + ft32*-*-*) + AC_CONFIG_SUBDIRS([ft32]) + ;; + lm32*-*-*) + AC_CONFIG_SUBDIRS([lm32]) + ;; + mcore-*-*) + AC_CONFIG_SUBDIRS([mcore]) + ;; + mep-*-*) + AC_CONFIG_SUBDIRS([mep]) + ;; + moxie-*-*) + AC_CONFIG_SUBDIRS([moxie]) + ;; + microblaze*-*-*) + AC_CONFIG_SUBDIRS([microblaze]) + ;; + mt-*-*) + AC_CONFIG_SUBDIRS([mt]) + ;; + v850*-*-*) + AC_CONFIG_SUBDIRS([v850]) + ;; + visium-*-*) + AC_CONFIG_SUBDIRS([visium]) + config_testsuite=false + ;; + xc16x-*-*) + AC_CONFIG_SUBDIRS([xc16x]) + ;; + xstormy16-*-*) + AC_CONFIG_SUBDIRS([xstormy16]) + ;; + m32c-*-*) + AC_CONFIG_SUBDIRS([m32c]) + ;; + msp430-*-elf*) + AC_CONFIG_SUBDIRS([msp430]) + config_libnosys=false + ;; + rl78*-*-elf) + AC_CONFIG_SUBDIRS([rl78]) + ;; + rx*-*-elf) + AC_CONFIG_SUBDIRS([rx]) + ;; + arm*-*-elf | arm*-*-coff | arm*-*-*) + AC_CONFIG_SUBDIRS([arm]) + ;; + spu-*-elf) + AC_CONFIG_SUBDIRS([spu]) + config_testsuite=false + config_libnosys=false + ;; + tic6x-*-*) + AC_CONFIG_SUBDIRS(tic6x) + config_testsuite=false + ;; + iq2000-*-*) + AC_CONFIG_SUBDIRS([iq2000]) + ;; + or1k-*-* | or1knd-*-* ) + AC_CONFIG_SUBDIRS([or1k]) + ;; + pru-*-*) + AC_CONFIG_SUBDIRS([pru]) + ;; + nios2-*-*) + AC_CONFIG_SUBDIRS([nios2]) + ;; +esac + +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 + +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 + +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) + +if test "${multilib}" = "yes"; then + multilib_arg="--enable-multilib" +else + multilib_arg= +fi + +# for now, only add multilibs for specific targets +AC_CONFIG_FILES([Makefile], +[if test -n "$CONFIG_FILES"; then + unset ac_file + . ${libgloss_topdir}/config-ml.in +fi], +srcdir=${srcdir} +target=${target} +host=${host} +with_multisubdir=${with_multisubdir} +ac_configure_args="--enable-multilib ${ac_configure_args}" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +CC="${CC}" +LDFLAGS=${LDFLAGS} +) +AC_OUTPUT + + diff --git a/libgloss/configure.in b/libgloss/configure.in deleted file mode 100644 index 4111724..0000000 --- a/libgloss/configure.in +++ /dev/null @@ -1,245 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT([libgloss],[LIBGLOSS_VERSION]) -AC_CONFIG_SRCDIR([libnosys]) - -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]) - -if test -z "${with_multisubdir}" ; then - AC_CONFIG_SUBDIRS([doc]) -fi - -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 - -case "${target}" in - aarch64*-*-*) - AC_CONFIG_SUBDIRS(aarch64) - config_testsuite=true - ;; - arc*-*-*) - AC_CONFIG_SUBDIRS(arc) - ;; - csky*-*-*) - AC_CONFIG_SUBDIRS(csky) - ;; - epiphany-*-*) - AC_CONFIG_SUBDIRS(epiphany) - config_testsuite=true - ;; - i[[3456]]86-*-elf* | i[[3456]]86-*-coff*) - AC_CONFIG_SUBDIRS([i386]) - ;; - m32r-*-*) - AC_CONFIG_SUBDIRS([m32r]) - ;; - m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*) - AC_CONFIG_SUBDIRS([m68hc11]) - ;; - nds32*-*-*) - AC_CONFIG_SUBDIRS([nds32]) - ;; - fido-*-* | m68*-*-*) - AC_CONFIG_SUBDIRS([m68k]) - ;; - hppa*-*-pro*) - AC_CONFIG_SUBDIRS([pa]) - ;; - i960-*-coff) - AC_CONFIG_SUBDIRS([i960]) - ;; - sparc-*leon*-elf* | sparc-*leon*-none*) - AC_CONFIG_SUBDIRS([sparc_leon]) - ;; - sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*) - AC_CONFIG_SUBDIRS([sparc]) - ;; - sh*-*-pe | mips*-*-pe | *arm*-wince-pe) - AC_CONFIG_SUBDIRS([wince]) - ;; - mips*-*-*) - AC_CONFIG_SUBDIRS([mips]) - ;; - riscv*-*-*) - AC_CONFIG_SUBDIRS([riscv]) - ;; - powerpc-*-*|powerpcle-*-*) - AC_CONFIG_SUBDIRS([rs6000]) - ;; - mn10200-*-*) - AC_CONFIG_SUBDIRS([mn10200]) - ;; - mn10300-*-*) - AC_CONFIG_SUBDIRS([mn10300]) - ;; - bfin-*-*) - AC_CONFIG_SUBDIRS([bfin]) - ;; - cr16-*-*) - AC_CONFIG_SUBDIRS([cr16]) - ;; - cris-*-* | crisv32-*-*) - AC_CONFIG_SUBDIRS([cris]) - ;; - crx-*-*) - AC_CONFIG_SUBDIRS([crx]) - ;; - d30v-*-*) - AC_CONFIG_SUBDIRS([d30v]) - ;; - fr30-*-*) - AC_CONFIG_SUBDIRS([fr30]) - ;; - frv*-*-*) - AC_CONFIG_SUBDIRS([frv]) - ;; - ft32*-*-*) - AC_CONFIG_SUBDIRS([ft32]) - ;; - lm32*-*-*) - AC_CONFIG_SUBDIRS([lm32]) - ;; - mcore-*-*) - AC_CONFIG_SUBDIRS([mcore]) - ;; - mep-*-*) - AC_CONFIG_SUBDIRS([mep]) - ;; - moxie-*-*) - AC_CONFIG_SUBDIRS([moxie]) - ;; - microblaze*-*-*) - AC_CONFIG_SUBDIRS([microblaze]) - ;; - mt-*-*) - AC_CONFIG_SUBDIRS([mt]) - ;; - v850*-*-*) - AC_CONFIG_SUBDIRS([v850]) - ;; - visium-*-*) - AC_CONFIG_SUBDIRS([visium]) - config_testsuite=false - ;; - xc16x-*-*) - AC_CONFIG_SUBDIRS([xc16x]) - ;; - xstormy16-*-*) - AC_CONFIG_SUBDIRS([xstormy16]) - ;; - m32c-*-*) - AC_CONFIG_SUBDIRS([m32c]) - ;; - msp430-*-elf*) - AC_CONFIG_SUBDIRS([msp430]) - config_libnosys=false - ;; - rl78*-*-elf) - AC_CONFIG_SUBDIRS([rl78]) - ;; - rx*-*-elf) - AC_CONFIG_SUBDIRS([rx]) - ;; - arm*-*-elf | arm*-*-coff | arm*-*-*) - AC_CONFIG_SUBDIRS([arm]) - ;; - spu-*-elf) - AC_CONFIG_SUBDIRS([spu]) - config_testsuite=false - config_libnosys=false - ;; - tic6x-*-*) - AC_CONFIG_SUBDIRS(tic6x) - config_testsuite=false - ;; - iq2000-*-*) - AC_CONFIG_SUBDIRS([iq2000]) - ;; - or1k-*-* | or1knd-*-* ) - AC_CONFIG_SUBDIRS([or1k]) - ;; - pru-*-*) - AC_CONFIG_SUBDIRS([pru]) - ;; - nios2-*-*) - AC_CONFIG_SUBDIRS([nios2]) - ;; -esac - -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 - -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 - -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) - -if test "${multilib}" = "yes"; then - multilib_arg="--enable-multilib" -else - multilib_arg= -fi - -# for now, only add multilibs for specific targets -AC_CONFIG_FILES([Makefile], -[if test -n "$CONFIG_FILES"; then - unset ac_file - . ${libgloss_topdir}/config-ml.in -fi], -srcdir=${srcdir} -target=${target} -host=${host} -with_multisubdir=${with_multisubdir} -ac_configure_args="--enable-multilib ${ac_configure_args}" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -CC="${CC}" -LDFLAGS=${LDFLAGS} -) -AC_OUTPUT - - diff --git a/libgloss/cr16/configure.ac b/libgloss/cr16/configure.ac new file mode 100644 index 0000000..6928ce8 --- /dev/null +++ b/libgloss/cr16/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt1.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/cr16/configure.in b/libgloss/cr16/configure.in deleted file mode 100644 index 6928ce8..0000000 --- a/libgloss/cr16/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt1.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/cris/configure.ac b/libgloss/cris/configure.ac new file mode 100644 index 0000000..3604c94 --- /dev/null +++ b/libgloss/cris/configure.ac @@ -0,0 +1,55 @@ +dnl This file is based on ../mcore/configure.in +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(Makefile.in) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/cris/configure.in b/libgloss/cris/configure.in deleted file mode 100644 index 3604c94..0000000 --- a/libgloss/cris/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl This file is based on ../mcore/configure.in -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(Makefile.in) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/crx/configure.ac b/libgloss/crx/configure.ac new file mode 100644 index 0000000..2dab824 --- /dev/null +++ b/libgloss/crx/configure.ac @@ -0,0 +1,39 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(intable.c) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/libgloss/crx/configure.in b/libgloss/crx/configure.in deleted file mode 100644 index 2dab824..0000000 --- a/libgloss/crx/configure.in +++ /dev/null @@ -1,39 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(intable.c) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile) -AC_OUTPUT diff --git a/libgloss/csky/configure.ac b/libgloss/csky/configure.ac new file mode 100644 index 0000000..e24bd7d --- /dev/null +++ b/libgloss/csky/configure.ac @@ -0,0 +1,93 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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="${with_multisrctop}../../.." + else + libgloss_topdir="${with_multisrctop}../.." + fi +else + libgloss_topdir="${srcdir}/../.." +fi + +AC_CONFIG_AUX_DIR($libgloss_topdir) +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +AC_MSG_CHECKING([target cpu family]) +DO=csky +dnl Temporarily modify LDFLAGS so that link tests will succeed without +dnl a C library. Note that we may not have a C librabry yet and that +dnl autoconf automatically adds script to check whether we can create +dnl an executable or not. +dnl +saved_LDFLAGS="$LDFLAGS" +LDFLAGS="-nostdlib -e main" +AC_PREPROC_IFELSE([#ifndef __mcoldfire__ + #error we are not coldfire + #endif], + DO="cf",) +AC_PREPROC_IFELSE([#ifndef __mfido__ + #error we are not fido + #endif], + DO="fido",) +LDFLAGS=$saved_LDFLAGS +AC_MSG_RESULT($DO) +AC_SUBST(DO) + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + diff --git a/libgloss/csky/configure.in b/libgloss/csky/configure.in deleted file mode 100644 index e24bd7d..0000000 --- a/libgloss/csky/configure.in +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright (c) 1995, 1996 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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="${with_multisrctop}../../.." - else - libgloss_topdir="${with_multisrctop}../.." - fi -else - libgloss_topdir="${srcdir}/../.." -fi - -AC_CONFIG_AUX_DIR($libgloss_topdir) -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -AC_MSG_CHECKING([target cpu family]) -DO=csky -dnl Temporarily modify LDFLAGS so that link tests will succeed without -dnl a C library. Note that we may not have a C librabry yet and that -dnl autoconf automatically adds script to check whether we can create -dnl an executable or not. -dnl -saved_LDFLAGS="$LDFLAGS" -LDFLAGS="-nostdlib -e main" -AC_PREPROC_IFELSE([#ifndef __mcoldfire__ - #error we are not coldfire - #endif], - DO="cf",) -AC_PREPROC_IFELSE([#ifndef __mfido__ - #error we are not fido - #endif], - DO="fido",) -LDFLAGS=$saved_LDFLAGS -AC_MSG_RESULT($DO) -AC_SUBST(DO) - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - diff --git a/libgloss/d30v/configure.ac b/libgloss/d30v/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/d30v/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/d30v/configure.in b/libgloss/d30v/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/d30v/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/doc/configure.ac b/libgloss/doc/configure.ac new file mode 100644 index 0000000..ab16564 --- /dev/null +++ b/libgloss/doc/configure.ac @@ -0,0 +1,16 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(porting.texi) + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/libgloss/doc/configure.in b/libgloss/doc/configure.in deleted file mode 100644 index ab16564..0000000 --- a/libgloss/doc/configure.in +++ /dev/null @@ -1,16 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(porting.texi) - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -AC_CONFIG_FILES(Makefile) -AC_OUTPUT diff --git a/libgloss/epiphany/configure.ac b/libgloss/epiphany/configure.ac new file mode 100644 index 0000000..a7bd11a --- /dev/null +++ b/libgloss/epiphany/configure.ac @@ -0,0 +1,127 @@ +# Makefile for libgloss/epiphany + +# Copyright (c) 2011, Adapteva, Inc. +# All rights reserved. + +# Contributor Jeremy Bennett for Adapteva Inc + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Adapteva nor the names of its contributors may be +# used to endorse or promote products derived from this software without +# specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. */ + +# Process this file with autoconf to produce a configure script + +AC_PREREQ(2.59) +AC_INIT(libepiphany,0.0.1) +AC_CONFIG_HEADER(config.h) + +# No shared libraries allowed +if test "${enable_shared}" = "yes" ; then + echo "Shared libraries not supported for cross compiling, ignored" +fi + +# Where are the auxillary tools (confg.sub etc)? +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld]) + +# We always use ELF, define various useful associated things. +AC_DEFINE(HAVE_ELF, 1, [Using ELF format]) + +# Assembler directives (the assembler handles them, whether it does anything +# useful with them is another matter... +AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE, 1, [.previous directive allowed]) +AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE, 1, + [.pushsection/.popsection directives allowed]) + +# Section attributes in C don't currently work +#AC_DEFINE(HAVE_SECTION_ATTRIBUTES, 1, [support for section attributes]) + +# Sort out what the symbol prefix is (we could just fix it as '_', but let the +# script work it out. +AC_CACHE_CHECK([for symbol prefix], libc_symbol_prefix, [dnl +cat > conftest.c <<\EOF +foo () { } +EOF +dnl +libc_symbol_prefix=none +if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]); +then + libc_symbol_prefix='$' +else + if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]); + then + libc_symbol_prefix=_ + fi +fi +rm -f conftest* ]) +if test $libc_symbol_prefix != none; then + AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_symbol_prefix", [symbol prefix]) +else + AC_DEFINE(__SYMBOL_PREFIX, "", [symbol prefix]) +fi + +# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4 +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +ac_file=Makefile . ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/epiphany/configure.in b/libgloss/epiphany/configure.in deleted file mode 100644 index a7bd11a..0000000 --- a/libgloss/epiphany/configure.in +++ /dev/null @@ -1,127 +0,0 @@ -# Makefile for libgloss/epiphany - -# Copyright (c) 2011, Adapteva, Inc. -# All rights reserved. - -# Contributor Jeremy Bennett for Adapteva Inc - -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Adapteva nor the names of its contributors may be -# used to endorse or promote products derived from this software without -# specific prior written permission. - -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. */ - -# Process this file with autoconf to produce a configure script - -AC_PREREQ(2.59) -AC_INIT(libepiphany,0.0.1) -AC_CONFIG_HEADER(config.h) - -# No shared libraries allowed -if test "${enable_shared}" = "yes" ; then - echo "Shared libraries not supported for cross compiling, ignored" -fi - -# Where are the auxillary tools (confg.sub etc)? -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld]) - -# We always use ELF, define various useful associated things. -AC_DEFINE(HAVE_ELF, 1, [Using ELF format]) - -# Assembler directives (the assembler handles them, whether it does anything -# useful with them is another matter... -AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE, 1, [.previous directive allowed]) -AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE, 1, - [.pushsection/.popsection directives allowed]) - -# Section attributes in C don't currently work -#AC_DEFINE(HAVE_SECTION_ATTRIBUTES, 1, [support for section attributes]) - -# Sort out what the symbol prefix is (we could just fix it as '_', but let the -# script work it out. -AC_CACHE_CHECK([for symbol prefix], libc_symbol_prefix, [dnl -cat > conftest.c <<\EOF -foo () { } -EOF -dnl -libc_symbol_prefix=none -if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]); -then - libc_symbol_prefix='$' -else - if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]); - then - libc_symbol_prefix=_ - fi -fi -rm -f conftest* ]) -if test $libc_symbol_prefix != none; then - AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_symbol_prefix", [symbol prefix]) -else - AC_DEFINE(__SYMBOL_PREFIX, "", [symbol prefix]) -fi - -# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4 -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -ac_file=Makefile . ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/fr30/configure.ac b/libgloss/fr30/configure.ac new file mode 100644 index 0000000..01818d7 --- /dev/null +++ b/libgloss/fr30/configure.ac @@ -0,0 +1,39 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.s) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/libgloss/fr30/configure.in b/libgloss/fr30/configure.in deleted file mode 100644 index 01818d7..0000000 --- a/libgloss/fr30/configure.in +++ /dev/null @@ -1,39 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.s) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile) -AC_OUTPUT diff --git a/libgloss/frv/configure.ac b/libgloss/frv/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/frv/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/frv/configure.in b/libgloss/frv/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/frv/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/ft32/configure.ac b/libgloss/ft32/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/ft32/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/ft32/configure.in b/libgloss/ft32/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/ft32/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/hp74x/configure.ac b/libgloss/hp74x/configure.ac new file mode 100644 index 0000000..576ffa8 --- /dev/null +++ b/libgloss/hp74x/configure.ac @@ -0,0 +1,35 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.s) + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_OUTPUT(Makefile) diff --git a/libgloss/hp74x/configure.in b/libgloss/hp74x/configure.in deleted file mode 100644 index 576ffa8..0000000 --- a/libgloss/hp74x/configure.in +++ /dev/null @@ -1,35 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.s) - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_OUTPUT(Makefile) diff --git a/libgloss/i386/configure.ac b/libgloss/i386/configure.ac new file mode 100644 index 0000000..b1e5855 --- /dev/null +++ b/libgloss/i386/configure.ac @@ -0,0 +1,79 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(cygmon-salib.c) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +case "$target" in + *coff) + IS_COFF="-DCOFF" + ;; + *aout) + IS_AOUT="-DAOUT" + ;; +esac + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_SUBST(IS_COFF) +AC_SUBST(IS_AOUT) +AC_SUBST(NEED_UNDERSCORE) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/i386/configure.in b/libgloss/i386/configure.in deleted file mode 100644 index b1e5855..0000000 --- a/libgloss/i386/configure.in +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright (c) 1995, 1996 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(cygmon-salib.c) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -case "$target" in - *coff) - IS_COFF="-DCOFF" - ;; - *aout) - IS_AOUT="-DAOUT" - ;; -esac - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_SUBST(IS_COFF) -AC_SUBST(IS_AOUT) -AC_SUBST(NEED_UNDERSCORE) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/i960/configure.ac b/libgloss/i960/configure.ac new file mode 100644 index 0000000..b60478a --- /dev/null +++ b/libgloss/i960/configure.ac @@ -0,0 +1,39 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.c) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/libgloss/i960/configure.in b/libgloss/i960/configure.in deleted file mode 100644 index b60478a..0000000 --- a/libgloss/i960/configure.in +++ /dev/null @@ -1,39 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.c) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile) -AC_OUTPUT diff --git a/libgloss/iq2000/configure.ac b/libgloss/iq2000/configure.ac new file mode 100644 index 0000000..754ee3c --- /dev/null +++ b/libgloss/iq2000/configure.ac @@ -0,0 +1,81 @@ +# Copyright (c) 2000, Cygnus Solutions, A Red Hat Company +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +if test "${with_multisubdir}" = "m32"; then + LD_TYPE="m32" +else + LD_TYPE="m16" +fi +AC_SUBST(LD_TYPE) + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(part_specific_obj) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + + diff --git a/libgloss/iq2000/configure.in b/libgloss/iq2000/configure.in deleted file mode 100644 index 754ee3c..0000000 --- a/libgloss/iq2000/configure.in +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright (c) 2000, Cygnus Solutions, A Red Hat Company -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -if test "${with_multisubdir}" = "m32"; then - LD_TYPE="m32" -else - LD_TYPE="m16" -fi -AC_SUBST(LD_TYPE) - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(part_specific_obj) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - - diff --git a/libgloss/libnosys/configure.ac b/libgloss/libnosys/configure.ac new file mode 100644 index 0000000..8908217 --- /dev/null +++ b/libgloss/libnosys/configure.ac @@ -0,0 +1,200 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(close.c) +AC_CONFIG_HEADER(config.h) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +AC_DEFINE(HAVE_GNU_LD) +dnl Make sure syscall names match those being used by newlib +case "${target}" in + *-*-cygwin*) + ;; + a29k-amd-udi) + ;; + aarch64*-*-*) + ;; + arc-*-*) + ;; + arm*-*-*) + ;; + bfin-*-*) + ;; + cris-*-* | crisv32-*-*) + ;; + d10v*) + ;; + h8300*-*-*) + ;; + h8500-*-*) + ;; + i[3456]86-*-sco*) + ;; + lm32-*-*) + ;; + m32r-*-*) + ;; + mn10?00-*-*) + ;; + riscv*-*-*) + ;; + powerpcle-*-pe) + ;; + sh*-*-*) + ;; + sparc-sun-sunos*) + ;; + sparc64-*-*) + ;; + v850*-*-*) + ;; + w65-*-*) + ;; + xstormy16-*-*) + ;; + z8k-*-*) + ;; + *) + AC_DEFINE(MISSING_SYSCALL_NAMES) + ;; +esac + +dnl Make sure we know if elf format used +case "${target}" in + *-*-elf) + AC_DEFINE(HAVE_ELF) + + AC_CACHE_CHECK([for .previous assembler directive], + libc_cv_asm_previous_directive, [dnl + libc_cv_asm_previous_directive=no + cat > conftest.s <&AC_FD_CC); then + libc_cv_asm_previous_directive=yes + fi + rm -f conftest*]) + + if test "x${libc_cv_asm_previous_directive}" = "xyes"; then + AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE) + fi + + AC_CACHE_CHECK([for .popsection assembler directive], + libc_cv_asm_popsection_directive, [dnl + libc_cv_asm_popsection_directive=no + cat > conftest.s <&AC_FD_CC); then + libc_cv_asm_popsection_directive=yes + fi + rm -f conftest*]) + + if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then + AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE) + fi + + AC_CACHE_CHECK([for section attributes], + libc_cv_section_attributes, [dnl + libc_cv_section_attributes=no + cat > conftest.c <&AC_FD_CC); then + libc_cv_section_attributes=yes + fi + rm -f conftest*]) + if test "x${libc_cv_section_attributes}" = "xyes"; then + AC_DEFINE(HAVE_SECTION_ATTRIBUTES) + fi + ;; +esac + +AC_CACHE_CHECK([for symbol prefix], libc_cv_symbol_prefix, [dnl +cat > conftest.c <<\EOF +foo () { } +EOF +dnl +libc_cv_symbol_prefix=none +if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]); +then + libc_cv_symbol_prefix='$' +else + if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]); + then + libc_cv_symbol_prefix=_ + fi +fi +rm -f conftest* ]) +if test $libc_cv_symbol_prefix != none; then + AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_cv_symbol_prefix") +else + AC_DEFINE(__SYMBOL_PREFIX, "") +fi + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +ac_file=Makefile . ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + + diff --git a/libgloss/libnosys/configure.in b/libgloss/libnosys/configure.in deleted file mode 100644 index 8908217..0000000 --- a/libgloss/libnosys/configure.in +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright (c) 1995, 1996 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(close.c) -AC_CONFIG_HEADER(config.h) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -AC_DEFINE(HAVE_GNU_LD) -dnl Make sure syscall names match those being used by newlib -case "${target}" in - *-*-cygwin*) - ;; - a29k-amd-udi) - ;; - aarch64*-*-*) - ;; - arc-*-*) - ;; - arm*-*-*) - ;; - bfin-*-*) - ;; - cris-*-* | crisv32-*-*) - ;; - d10v*) - ;; - h8300*-*-*) - ;; - h8500-*-*) - ;; - i[3456]86-*-sco*) - ;; - lm32-*-*) - ;; - m32r-*-*) - ;; - mn10?00-*-*) - ;; - riscv*-*-*) - ;; - powerpcle-*-pe) - ;; - sh*-*-*) - ;; - sparc-sun-sunos*) - ;; - sparc64-*-*) - ;; - v850*-*-*) - ;; - w65-*-*) - ;; - xstormy16-*-*) - ;; - z8k-*-*) - ;; - *) - AC_DEFINE(MISSING_SYSCALL_NAMES) - ;; -esac - -dnl Make sure we know if elf format used -case "${target}" in - *-*-elf) - AC_DEFINE(HAVE_ELF) - - AC_CACHE_CHECK([for .previous assembler directive], - libc_cv_asm_previous_directive, [dnl - libc_cv_asm_previous_directive=no - cat > conftest.s <&AC_FD_CC); then - libc_cv_asm_previous_directive=yes - fi - rm -f conftest*]) - - if test "x${libc_cv_asm_previous_directive}" = "xyes"; then - AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE) - fi - - AC_CACHE_CHECK([for .popsection assembler directive], - libc_cv_asm_popsection_directive, [dnl - libc_cv_asm_popsection_directive=no - cat > conftest.s <&AC_FD_CC); then - libc_cv_asm_popsection_directive=yes - fi - rm -f conftest*]) - - if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then - AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE) - fi - - AC_CACHE_CHECK([for section attributes], - libc_cv_section_attributes, [dnl - libc_cv_section_attributes=no - cat > conftest.c <&AC_FD_CC); then - libc_cv_section_attributes=yes - fi - rm -f conftest*]) - if test "x${libc_cv_section_attributes}" = "xyes"; then - AC_DEFINE(HAVE_SECTION_ATTRIBUTES) - fi - ;; -esac - -AC_CACHE_CHECK([for symbol prefix], libc_cv_symbol_prefix, [dnl -cat > conftest.c <<\EOF -foo () { } -EOF -dnl -libc_cv_symbol_prefix=none -if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]); -then - libc_cv_symbol_prefix='$' -else - if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]); - then - libc_cv_symbol_prefix=_ - fi -fi -rm -f conftest* ]) -if test $libc_cv_symbol_prefix != none; then - AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_cv_symbol_prefix") -else - AC_DEFINE(__SYMBOL_PREFIX, "") -fi - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -ac_file=Makefile . ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - - diff --git a/libgloss/lm32/configure.ac b/libgloss/lm32/configure.ac new file mode 100644 index 0000000..b33c1d7 --- /dev/null +++ b/libgloss/lm32/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59)dnl +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + diff --git a/libgloss/lm32/configure.in b/libgloss/lm32/configure.in deleted file mode 100644 index b33c1d7..0000000 --- a/libgloss/lm32/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59)dnl -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - diff --git a/libgloss/m32c/configure.ac b/libgloss/m32c/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/m32c/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/m32c/configure.in b/libgloss/m32c/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/m32c/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/m32r/configure.ac b/libgloss/m32r/configure.ac new file mode 100644 index 0000000..aa3cf0c --- /dev/null +++ b/libgloss/m32r/configure.ac @@ -0,0 +1,47 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${srcdir}/../../config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${srcdir}/../.. +) +AC_OUTPUT diff --git a/libgloss/m32r/configure.in b/libgloss/m32r/configure.in deleted file mode 100644 index aa3cf0c..0000000 --- a/libgloss/m32r/configure.in +++ /dev/null @@ -1,47 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${srcdir}/../../config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${srcdir}/../.. -) -AC_OUTPUT diff --git a/libgloss/m68hc11/configure.ac b/libgloss/m68hc11/configure.ac new file mode 100644 index 0000000..b2c1125 --- /dev/null +++ b/libgloss/m68hc11/configure.ac @@ -0,0 +1,56 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(sci-inout.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + diff --git a/libgloss/m68hc11/configure.in b/libgloss/m68hc11/configure.in deleted file mode 100644 index b2c1125..0000000 --- a/libgloss/m68hc11/configure.in +++ /dev/null @@ -1,56 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(sci-inout.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - diff --git a/libgloss/m68k/configure.ac b/libgloss/m68k/configure.ac new file mode 100644 index 0000000..0ec5860 --- /dev/null +++ b/libgloss/m68k/configure.ac @@ -0,0 +1,93 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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="${with_multisrctop}../../.." + else + libgloss_topdir="${with_multisrctop}../.." + fi +else + libgloss_topdir="${srcdir}/../.." +fi + +AC_CONFIG_AUX_DIR($libgloss_topdir) +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +AC_MSG_CHECKING([target cpu family]) +DO=m68k +dnl Temporarily modify LDFLAGS so that link tests will succeed without +dnl a C library. Note that we may not have a C librabry yet and that +dnl autoconf automatically adds script to check whether we can create +dnl an executable or not. +dnl +saved_LDFLAGS="$LDFLAGS" +LDFLAGS="-nostdlib -e main" +AC_PREPROC_IFELSE([#ifndef __mcoldfire__ + #error we are not coldfire + #endif], + DO="cf",) +AC_PREPROC_IFELSE([#ifndef __mfido__ + #error we are not fido + #endif], + DO="fido",) +LDFLAGS=$saved_LDFLAGS +AC_MSG_RESULT($DO) +AC_SUBST(DO) + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + diff --git a/libgloss/m68k/configure.in b/libgloss/m68k/configure.in deleted file mode 100644 index 0ec5860..0000000 --- a/libgloss/m68k/configure.in +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright (c) 1995, 1996 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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="${with_multisrctop}../../.." - else - libgloss_topdir="${with_multisrctop}../.." - fi -else - libgloss_topdir="${srcdir}/../.." -fi - -AC_CONFIG_AUX_DIR($libgloss_topdir) -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -AC_MSG_CHECKING([target cpu family]) -DO=m68k -dnl Temporarily modify LDFLAGS so that link tests will succeed without -dnl a C library. Note that we may not have a C librabry yet and that -dnl autoconf automatically adds script to check whether we can create -dnl an executable or not. -dnl -saved_LDFLAGS="$LDFLAGS" -LDFLAGS="-nostdlib -e main" -AC_PREPROC_IFELSE([#ifndef __mcoldfire__ - #error we are not coldfire - #endif], - DO="cf",) -AC_PREPROC_IFELSE([#ifndef __mfido__ - #error we are not fido - #endif], - DO="fido",) -LDFLAGS=$saved_LDFLAGS -AC_MSG_RESULT($DO) -AC_SUBST(DO) - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - diff --git a/libgloss/mcore/configure.ac b/libgloss/mcore/configure.ac new file mode 100644 index 0000000..767af17 --- /dev/null +++ b/libgloss/mcore/configure.ac @@ -0,0 +1,65 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +case "${target}" in + mcore-*-elf) + bsp_prefix=elf- + ;; + mcore-*-pe) + bsp_prefix=pe- + ;; +esac + +AC_SUBST(bsp_prefix) + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/mcore/configure.in b/libgloss/mcore/configure.in deleted file mode 100644 index 767af17..0000000 --- a/libgloss/mcore/configure.in +++ /dev/null @@ -1,65 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -case "${target}" in - mcore-*-elf) - bsp_prefix=elf- - ;; - mcore-*-pe) - bsp_prefix=pe- - ;; -esac - -AC_SUBST(bsp_prefix) - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/mep/configure.ac b/libgloss/mep/configure.ac new file mode 100644 index 0000000..328b5d8 --- /dev/null +++ b/libgloss/mep/configure.ac @@ -0,0 +1,66 @@ +dnl Copyright (c) 2000-2007 Red Hat, Inc. All rights reserved. +dnl +dnl This copyrighted material is made available to anyone wishing to use, +dnl modify, copy, or redistribute it subject to the terms and conditions of +dnl the BSD License. This program is distributed in the hope that +dnl it will be useful, but WITHOUT ANY WARRANTY expressed or implied, +dnl including the implied warranties of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. A copy of this license is available at +dnl http://www.opensource.org/licenses. Any Red Hat trademarks that are +dnl incorporated in the source code or documentation are not subject to the +dnl BSD License and may only be used or replicated with the express permission +dnl of Red Hat, Inc. + +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB + +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) + +AC_CONFIG_FILES([Makefile], +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/mep/configure.in b/libgloss/mep/configure.in deleted file mode 100644 index 328b5d8..0000000 --- a/libgloss/mep/configure.in +++ /dev/null @@ -1,66 +0,0 @@ -dnl Copyright (c) 2000-2007 Red Hat, Inc. All rights reserved. -dnl -dnl This copyrighted material is made available to anyone wishing to use, -dnl modify, copy, or redistribute it subject to the terms and conditions of -dnl the BSD License. This program is distributed in the hope that -dnl it will be useful, but WITHOUT ANY WARRANTY expressed or implied, -dnl including the implied warranties of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. A copy of this license is available at -dnl http://www.opensource.org/licenses. Any Red Hat trademarks that are -dnl incorporated in the source code or documentation are not subject to the -dnl BSD License and may only be used or replicated with the express permission -dnl of Red Hat, Inc. - -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB - -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) - -AC_CONFIG_FILES([Makefile], -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/microblaze/configure.ac b/libgloss/microblaze/configure.ac new file mode 100644 index 0000000..77aa769 --- /dev/null +++ b/libgloss/microblaze/configure.ac @@ -0,0 +1,60 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +AC_SUBST(bsp_prefix) + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/microblaze/configure.in b/libgloss/microblaze/configure.in deleted file mode 100644 index 77aa769..0000000 --- a/libgloss/microblaze/configure.in +++ /dev/null @@ -1,60 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -AC_SUBST(bsp_prefix) - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/mips/configure.ac b/libgloss/mips/configure.ac new file mode 100644 index 0000000..49b6520 --- /dev/null +++ b/libgloss/mips/configure.ac @@ -0,0 +1,123 @@ +# Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000, 2002 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +crt0=crt0.o +pcrt0=pcrt0.o + +case "${target}" in + mips*-tx39*-*|mipstx39*-*-*) + part_specific_obj= + part_specific_defines= + script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java sde32 sde64 mti32 mti64 mti64_n32 mti64_64" + bsp_list="libdve.a libidt.a libjmr3904.a" + ;; + mipsisa32-*-* | mipsisa32el-*-* | \ + mipsisa32r2-*-* | mipsisa32r2el-*-* | \ + mipsisa64*-*-*) + crt0="crt0_cfe.o crt0_cygmon.o crt0.o" + pcrt0="pcrt0.o" + part_specific_obj= + part_specific_defines= + script_list="idt32 idt64 cfe" + bsp_list="libcygmon.a libidt.a libcfe.a" + ;; + mips*-lsi*-*) + part_specific_obj=entry.o + part_specific_defines= + script_list="lsi" + bsp_list=liblsi.a + ;; + mips64vr5*-*-*) + part_specific_obj="vr5xxx.o cma101.o" + part_specific_defines=-DR5000 + script_list="idt pmon ddb ddb-kseg0 lsi idtecoff nullmon" + bsp_list="libidt.a libpmon.a liblsi.a libnullmon.a" + ;; + mips64vr-*-* | mips64vrel-*-*) + part_specific_obj="vr5xxx.o cma101.o" + script_list="ddb ddb-kseg0 nullmon" + bsp_list="libpmon.a libnullmon.a" + ;; + *) + crt0="crt0_cfe.o crt0.o" + part_specific_obj="vr4300.o cma101.o" + part_specific_defines= + script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon sde32 sde64 mti32 mti64 mti64_n32 mti64_64" + bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a" + ;; +esac + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/mips.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(part_specific_obj) +AC_SUBST(part_specific_defines) +AC_SUBST(script_list) +AC_SUBST(bsp_list) +AC_SUBST(crt0) +AC_SUBST(pcrt0) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/mips/configure.in b/libgloss/mips/configure.in deleted file mode 100644 index 49b6520..0000000 --- a/libgloss/mips/configure.in +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000, 2002 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -crt0=crt0.o -pcrt0=pcrt0.o - -case "${target}" in - mips*-tx39*-*|mipstx39*-*-*) - part_specific_obj= - part_specific_defines= - script_list="dve idt jmr3904app jmr3904dram jmr3904dram-java jmr3904app-java sde32 sde64 mti32 mti64 mti64_n32 mti64_64" - bsp_list="libdve.a libidt.a libjmr3904.a" - ;; - mipsisa32-*-* | mipsisa32el-*-* | \ - mipsisa32r2-*-* | mipsisa32r2el-*-* | \ - mipsisa64*-*-*) - crt0="crt0_cfe.o crt0_cygmon.o crt0.o" - pcrt0="pcrt0.o" - part_specific_obj= - part_specific_defines= - script_list="idt32 idt64 cfe" - bsp_list="libcygmon.a libidt.a libcfe.a" - ;; - mips*-lsi*-*) - part_specific_obj=entry.o - part_specific_defines= - script_list="lsi" - bsp_list=liblsi.a - ;; - mips64vr5*-*-*) - part_specific_obj="vr5xxx.o cma101.o" - part_specific_defines=-DR5000 - script_list="idt pmon ddb ddb-kseg0 lsi idtecoff nullmon" - bsp_list="libidt.a libpmon.a liblsi.a libnullmon.a" - ;; - mips64vr-*-* | mips64vrel-*-*) - part_specific_obj="vr5xxx.o cma101.o" - script_list="ddb ddb-kseg0 nullmon" - bsp_list="libpmon.a libnullmon.a" - ;; - *) - crt0="crt0_cfe.o crt0.o" - part_specific_obj="vr4300.o cma101.o" - part_specific_defines= - script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon sde32 sde64 mti32 mti64 mti64_n32 mti64_64" - bsp_list="libidt.a libpmon.a liblsi.a libcfe.a libnullmon.a" - ;; -esac - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/mips.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(part_specific_obj) -AC_SUBST(part_specific_defines) -AC_SUBST(script_list) -AC_SUBST(bsp_list) -AC_SUBST(crt0) -AC_SUBST(pcrt0) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/mn10200/configure.ac b/libgloss/mn10200/configure.ac new file mode 100644 index 0000000..a559e4e --- /dev/null +++ b/libgloss/mn10200/configure.ac @@ -0,0 +1,80 @@ +# Copyright (c) 1995, 1996, 1997, 1998 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +case "${target}" in + *) + part_specific_obj=vr4300.o + ;; +esac + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/mn10200.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(part_specific_obj) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + + diff --git a/libgloss/mn10200/configure.in b/libgloss/mn10200/configure.in deleted file mode 100644 index a559e4e..0000000 --- a/libgloss/mn10200/configure.in +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright (c) 1995, 1996, 1997, 1998 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -case "${target}" in - *) - part_specific_obj=vr4300.o - ;; -esac - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/mn10200.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(part_specific_obj) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - - diff --git a/libgloss/mn10300/configure.ac b/libgloss/mn10300/configure.ac new file mode 100644 index 0000000..2c9bd83 --- /dev/null +++ b/libgloss/mn10300/configure.ac @@ -0,0 +1,92 @@ +# Copyright (c) 1995, 1996, 2000 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +case "${target}" in + mn10300-*elf) + part_specific_obj=vr4300.o + script_list="eval sim asb2303 asb2305" + bsp_list="libeval.a libcygmon.a" + ;; + *) + part_specific_obj=vr4300.o + script_list="eval sim" + bsp_list="libeval.a" + ;; +esac + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/mn10300.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(part_specific_obj) +AC_SUBST(script_list) +AC_SUBST(bsp_list) + +AC_CONFIG_FILES([Makefile], +[if test -n "$CONFIG_FILES"; then + unset ac_file + . ${libgloss_topdir}/config-ml.in +fi], +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + + diff --git a/libgloss/mn10300/configure.in b/libgloss/mn10300/configure.in deleted file mode 100644 index 2c9bd83..0000000 --- a/libgloss/mn10300/configure.in +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright (c) 1995, 1996, 2000 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -case "${target}" in - mn10300-*elf) - part_specific_obj=vr4300.o - script_list="eval sim asb2303 asb2305" - bsp_list="libeval.a libcygmon.a" - ;; - *) - part_specific_obj=vr4300.o - script_list="eval sim" - bsp_list="libeval.a" - ;; -esac - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/mn10300.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(part_specific_obj) -AC_SUBST(script_list) -AC_SUBST(bsp_list) - -AC_CONFIG_FILES([Makefile], -[if test -n "$CONFIG_FILES"; then - unset ac_file - . ${libgloss_topdir}/config-ml.in -fi], -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - - diff --git a/libgloss/moxie/configure.ac b/libgloss/moxie/configure.ac new file mode 100644 index 0000000..e3b5d14 --- /dev/null +++ b/libgloss/moxie/configure.ac @@ -0,0 +1,70 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +dnl Don't build crt0 for moxiebox, which provides crt0 for us. +case "${target}" in + moxie-*-moxiebox*) + BUILD_CRT0_TRUE='#' + BUILD_CRT0_FALSE= + ;; + *) + BUILD_CRT0_TRUE= + BUILD_CRT0_FALSE='#' + ;; +esac + +AC_SUBST(BUILD_CRT0_TRUE) +AC_SUBST(BUILD_CRT0_FALSE) + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/moxie/configure.in b/libgloss/moxie/configure.in deleted file mode 100644 index e3b5d14..0000000 --- a/libgloss/moxie/configure.in +++ /dev/null @@ -1,70 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -dnl Don't build crt0 for moxiebox, which provides crt0 for us. -case "${target}" in - moxie-*-moxiebox*) - BUILD_CRT0_TRUE='#' - BUILD_CRT0_FALSE= - ;; - *) - BUILD_CRT0_TRUE= - BUILD_CRT0_FALSE='#' - ;; -esac - -AC_SUBST(BUILD_CRT0_TRUE) -AC_SUBST(BUILD_CRT0_FALSE) - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/msp430/configure.ac b/libgloss/msp430/configure.ac new file mode 100644 index 0000000..217f115 --- /dev/null +++ b/libgloss/msp430/configure.ac @@ -0,0 +1,67 @@ +# Copyright (c) 2008, 2009, 2011, 2013 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing to use, modify, +# copy, or redistribute it subject to the terms and conditions of the BSD +# License. This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties +# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license +# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that +# are incorporated in the source code or documentation are not subject to the BSD +# License and may only be used or replicated with the express permission of +# Red Hat, Inc. + +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/msp430/configure.in b/libgloss/msp430/configure.in deleted file mode 100644 index 217f115..0000000 --- a/libgloss/msp430/configure.in +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright (c) 2008, 2009, 2011, 2013 Red Hat, Inc. All rights reserved. -# -# This copyrighted material is made available to anyone wishing to use, modify, -# copy, or redistribute it subject to the terms and conditions of the BSD -# License. This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties -# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license -# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that -# are incorporated in the source code or documentation are not subject to the BSD -# License and may only be used or replicated with the express permission of -# Red Hat, Inc. - -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/mt/configure.ac b/libgloss/mt/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/mt/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/mt/configure.in b/libgloss/mt/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/mt/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/nds32/configure.ac b/libgloss/nds32/configure.ac new file mode 100644 index 0000000..aa3cf0c --- /dev/null +++ b/libgloss/nds32/configure.ac @@ -0,0 +1,47 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${srcdir}/../../config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${srcdir}/../.. +) +AC_OUTPUT diff --git a/libgloss/nds32/configure.in b/libgloss/nds32/configure.in deleted file mode 100644 index aa3cf0c..0000000 --- a/libgloss/nds32/configure.in +++ /dev/null @@ -1,47 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${srcdir}/../../config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${srcdir}/../.. -) -AC_OUTPUT diff --git a/libgloss/nios2/configure.ac b/libgloss/nios2/configure.ac new file mode 100644 index 0000000..fb187b7 --- /dev/null +++ b/libgloss/nios2/configure.ac @@ -0,0 +1,58 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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="${with_multisrctop}../../.." + else + libgloss_topdir="${with_multisrctop}../.." + fi +else + libgloss_topdir="${srcdir}/../.." +fi +AC_CONFIG_AUX_DIR($libgloss_topdir) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/nios2/configure.in b/libgloss/nios2/configure.in deleted file mode 100644 index fb187b7..0000000 --- a/libgloss/nios2/configure.in +++ /dev/null @@ -1,58 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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="${with_multisrctop}../../.." - else - libgloss_topdir="${with_multisrctop}../.." - fi -else - libgloss_topdir="${srcdir}/../.." -fi -AC_CONFIG_AUX_DIR($libgloss_topdir) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/or1k/configure.ac b/libgloss/or1k/configure.ac new file mode 100644 index 0000000..5337a4d --- /dev/null +++ b/libgloss/or1k/configure.ac @@ -0,0 +1,81 @@ +# Makefile for libgloss/or1k + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. */ + +# Process this file with autoconf to produce a configure script + +AC_PREREQ(2.59) +AC_INIT(libor1k,0.0.1) + +# No shared libraries allowed +if test "${enable_shared}" = "yes" ; then + echo "Shared libraries not supported for cross compiling, ignored" +fi + +# Where are the auxillary tools (confg.sub etc)? +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld]) + +# We always use ELF, define various useful associated things. +AC_DEFINE(HAVE_ELF, 1, [Using ELF format]) + +# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4 +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT \ No newline at end of file diff --git a/libgloss/or1k/configure.in b/libgloss/or1k/configure.in deleted file mode 100644 index 5337a4d..0000000 --- a/libgloss/or1k/configure.in +++ /dev/null @@ -1,81 +0,0 @@ -# Makefile for libgloss/or1k - -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. */ - -# Process this file with autoconf to produce a configure script - -AC_PREREQ(2.59) -AC_INIT(libor1k,0.0.1) - -# No shared libraries allowed -if test "${enable_shared}" = "yes" ; then - echo "Shared libraries not supported for cross compiling, ignored" -fi - -# Where are the auxillary tools (confg.sub etc)? -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld]) - -# We always use ELF, define various useful associated things. -AC_DEFINE(HAVE_ELF, 1, [Using ELF format]) - -# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4 -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT \ No newline at end of file diff --git a/libgloss/pa/configure.ac b/libgloss/pa/configure.ac new file mode 100644 index 0000000..d8f9d55 --- /dev/null +++ b/libgloss/pa/configure.ac @@ -0,0 +1,71 @@ +/* Copyright (c) 1995, 1996 Cygnus Support + * + * The authors hereby grant permission to use, copy, modify, distribute, + * and license this software and its documentation for any purpose, provided + * that existing copyright notices are retained in all copies and that this + * notice is included verbatim in any distributions. No written agreement, + * license, or royalty fee is required for any of the authorized uses. + * Modifications to this software may be copyrighted by their authors + * and need not follow the licensing terms described here, provided that + * the new terms are clearly indicated on the first page of each file where + * they apply. + * + * Process this file with autoconf to produce a configure script. + */ +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/pa/configure.in b/libgloss/pa/configure.in deleted file mode 100644 index d8f9d55..0000000 --- a/libgloss/pa/configure.in +++ /dev/null @@ -1,71 +0,0 @@ -/* Copyright (c) 1995, 1996 Cygnus Support - * - * The authors hereby grant permission to use, copy, modify, distribute, - * and license this software and its documentation for any purpose, provided - * that existing copyright notices are retained in all copies and that this - * notice is included verbatim in any distributions. No written agreement, - * license, or royalty fee is required for any of the authorized uses. - * Modifications to this software may be copyrighted by their authors - * and need not follow the licensing terms described here, provided that - * the new terms are clearly indicated on the first page of each file where - * they apply. - * - * Process this file with autoconf to produce a configure script. - */ -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/pru/configure.ac b/libgloss/pru/configure.ac new file mode 100644 index 0000000..2a4c946 --- /dev/null +++ b/libgloss/pru/configure.ac @@ -0,0 +1,66 @@ +# Copyright (c) 2008, 2009, 2011, 2013 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing to use, modify, +# copy, or redistribute it subject to the terms and conditions of the BSD +# License. This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties +# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license +# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that +# are incorporated in the source code or documentation are not subject to the BSD +# License and may only be used or replicated with the express permission of +# Red Hat, Inc. + +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/pru/configure.in b/libgloss/pru/configure.in deleted file mode 100644 index 2a4c946..0000000 --- a/libgloss/pru/configure.in +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright (c) 2008, 2009, 2011, 2013 Red Hat, Inc. All rights reserved. -# -# This copyrighted material is made available to anyone wishing to use, modify, -# copy, or redistribute it subject to the terms and conditions of the BSD -# License. This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties -# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license -# is available at http://www.opensource.org/licenses. Any Red Hat trademarks that -# are incorporated in the source code or documentation are not subject to the BSD -# License and may only be used or replicated with the express permission of -# Red Hat, Inc. - -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/riscv/configure.ac b/libgloss/riscv/configure.ac new file mode 100644 index 0000000..5694013 --- /dev/null +++ b/libgloss/riscv/configure.ac @@ -0,0 +1,45 @@ +#========================================================================= +# configure.ac for riscv libgloss and crt0 +#========================================================================= + +#------------------------------------------------------------------------- +# Setup +#------------------------------------------------------------------------- + +AC_INIT([crt0.S]) +AC_CONFIG_SRCDIR([crt0.S]) +AC_CONFIG_AUX_DIR([${srcdir}/../..]) + +#------------------------------------------------------------------------- +# Checks for programs +#------------------------------------------------------------------------- + +LIB_AC_PROG_CC +AC_CHECK_TOOL([AR],[ar]) +AC_CHECK_TOOL([RANLIB],[ranlib]) +AC_PROG_INSTALL + +#------------------------------------------------------------------------- +# Output +#------------------------------------------------------------------------- + +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_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/riscv/configure.in b/libgloss/riscv/configure.in deleted file mode 100644 index 5694013..0000000 --- a/libgloss/riscv/configure.in +++ /dev/null @@ -1,45 +0,0 @@ -#========================================================================= -# configure.ac for riscv libgloss and crt0 -#========================================================================= - -#------------------------------------------------------------------------- -# Setup -#------------------------------------------------------------------------- - -AC_INIT([crt0.S]) -AC_CONFIG_SRCDIR([crt0.S]) -AC_CONFIG_AUX_DIR([${srcdir}/../..]) - -#------------------------------------------------------------------------- -# Checks for programs -#------------------------------------------------------------------------- - -LIB_AC_PROG_CC -AC_CHECK_TOOL([AR],[ar]) -AC_CHECK_TOOL([RANLIB],[ranlib]) -AC_PROG_INSTALL - -#------------------------------------------------------------------------- -# Output -#------------------------------------------------------------------------- - -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_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/rl78/configure.ac b/libgloss/rl78/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/rl78/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/rl78/configure.in b/libgloss/rl78/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/rl78/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/rs6000/configure.ac b/libgloss/rs6000/configure.ac new file mode 100644 index 0000000..caa192f --- /dev/null +++ b/libgloss/rs6000/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(sim-crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/ppc.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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/rs6000/configure.in b/libgloss/rs6000/configure.in deleted file mode 100644 index caa192f..0000000 --- a/libgloss/rs6000/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(sim-crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/ppc.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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/rx/configure.ac b/libgloss/rx/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/rx/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/rx/configure.in b/libgloss/rx/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/rx/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/sparc/configure.ac b/libgloss/sparc/configure.ac new file mode 100644 index 0000000..d4f02d2 --- /dev/null +++ b/libgloss/sparc/configure.ac @@ -0,0 +1,85 @@ +# Copyright (c) 1995, 1996 Cygnus Support +# +# The authors hereby grant permission to use, copy, modify, distribute, +# and license this software and its documentation for any purpose, provided +# that existing copyright notices are retained in all copies and that this +# notice is included verbatim in any distributions. No written agreement, +# license, or royalty fee is required for any of the authorized uses. +# Modifications to this software may be copyrighted by their authors +# and need not follow the licensing terms described here, provided that +# the new terms are clearly indicated on the first page of each file where +# they apply. +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(sparc-stub.c) + +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="${with_multisrctop}../../.." + else + libgloss_topdir="${with_multisrctop}../.." + fi +else + libgloss_topdir="${srcdir}/../.." +fi + +AC_CONFIG_AUX_DIR($libgloss_topdir) + +AC_PROG_INSTALL + +AC_CANONICAL_SYSTEM + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +case ${target_cpu} in +sparclite*) CPU=SLITE ;; +sparclet*) CPU=SPLET ;; +sparc64*) CPU=SPARC64 ;; +sparc86x*) CPU=SLITE ;; +*) CPU=SPARC ;; +esac +AC_SUBST(CPU) + +case ${target_cpu} in +sparc64*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon-sparc64-ld.src ;; +sparclet-*-aout*) CYGMONLDSCRIPTTEMPL-${srcdir}/cygmon.ld.src; AC_CONFIG_SUBDIRS(libsys) ;; +*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon.ld.src +esac + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(CYGMONLDSCRIPTTEMPL) + +AC_OUTPUT(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) + diff --git a/libgloss/sparc/configure.in b/libgloss/sparc/configure.in deleted file mode 100644 index d4f02d2..0000000 --- a/libgloss/sparc/configure.in +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright (c) 1995, 1996 Cygnus Support -# -# The authors hereby grant permission to use, copy, modify, distribute, -# and license this software and its documentation for any purpose, provided -# that existing copyright notices are retained in all copies and that this -# notice is included verbatim in any distributions. No written agreement, -# license, or royalty fee is required for any of the authorized uses. -# Modifications to this software may be copyrighted by their authors -# and need not follow the licensing terms described here, provided that -# the new terms are clearly indicated on the first page of each file where -# they apply. -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(sparc-stub.c) - -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="${with_multisrctop}../../.." - else - libgloss_topdir="${with_multisrctop}../.." - fi -else - libgloss_topdir="${srcdir}/../.." -fi - -AC_CONFIG_AUX_DIR($libgloss_topdir) - -AC_PROG_INSTALL - -AC_CANONICAL_SYSTEM - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -case ${target_cpu} in -sparclite*) CPU=SLITE ;; -sparclet*) CPU=SPLET ;; -sparc64*) CPU=SPARC64 ;; -sparc86x*) CPU=SLITE ;; -*) CPU=SPARC ;; -esac -AC_SUBST(CPU) - -case ${target_cpu} in -sparc64*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon-sparc64-ld.src ;; -sparclet-*-aout*) CYGMONLDSCRIPTTEMPL-${srcdir}/cygmon.ld.src; AC_CONFIG_SUBDIRS(libsys) ;; -*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon.ld.src -esac - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(CYGMONLDSCRIPTTEMPL) - -AC_OUTPUT(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) - diff --git a/libgloss/sparc/libsys/configure.ac b/libgloss/sparc/libsys/configure.ac new file mode 100644 index 0000000..1e06529 --- /dev/null +++ b/libgloss/sparc/libsys/configure.ac @@ -0,0 +1,51 @@ +# Configure.in for libgloss/sparc/libsys +# Copyright (c) 1996 Cygnus Support +# All rights reserved. +# +# Redistribution and use in source and binary forms are permitted +# provided that the above copyright notice and this paragraph are +# duplicated in all such forms and that any documentation, +# and/or other materials related to such +# distribution and use acknowledge that the software was developed +# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to +# endorse or promote products derived from this software without +# specific prior written permission. +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(libsys-crt0.S) + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_OUTPUT(Makefile) diff --git a/libgloss/sparc/libsys/configure.in b/libgloss/sparc/libsys/configure.in deleted file mode 100644 index 1e06529..0000000 --- a/libgloss/sparc/libsys/configure.in +++ /dev/null @@ -1,51 +0,0 @@ -# Configure.in for libgloss/sparc/libsys -# Copyright (c) 1996 Cygnus Support -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted -# provided that the above copyright notice and this paragraph are -# duplicated in all such forms and that any documentation, -# and/or other materials related to such -# distribution and use acknowledge that the software was developed -# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to -# endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(libsys-crt0.S) - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_OUTPUT(Makefile) diff --git a/libgloss/sparc_leon/configure.ac b/libgloss/sparc_leon/configure.ac new file mode 100644 index 0000000..fab622f --- /dev/null +++ b/libgloss/sparc_leon/configure.ac @@ -0,0 +1,58 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/sparc_leon/configure.in b/libgloss/sparc_leon/configure.in deleted file mode 100644 index fab622f..0000000 --- a/libgloss/sparc_leon/configure.in +++ /dev/null @@ -1,58 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/spu/configure.ac b/libgloss/spu/configure.ac new file mode 100644 index 0000000..32270d9 --- /dev/null +++ b/libgloss/spu/configure.ac @@ -0,0 +1,51 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59)dnl +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/ppc.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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/spu/configure.in b/libgloss/spu/configure.in deleted file mode 100644 index 32270d9..0000000 --- a/libgloss/spu/configure.in +++ /dev/null @@ -1,51 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59)dnl -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/ppc.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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/tic6x/configure.ac b/libgloss/tic6x/configure.ac new file mode 100644 index 0000000..7c2231c --- /dev/null +++ b/libgloss/tic6x/configure.ac @@ -0,0 +1,54 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/tic6x/configure.in b/libgloss/tic6x/configure.in deleted file mode 100644 index 7c2231c..0000000 --- a/libgloss/tic6x/configure.in +++ /dev/null @@ -1,54 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/v850/configure.ac b/libgloss/v850/configure.ac new file mode 100644 index 0000000..04169f1 --- /dev/null +++ b/libgloss/v850/configure.ac @@ -0,0 +1,55 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC + +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/v850/configure.in b/libgloss/v850/configure.in deleted file mode 100644 index 04169f1..0000000 --- a/libgloss/v850/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC - -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/visium/configure.ac b/libgloss/visium/configure.ac new file mode 100644 index 0000000..5274ba6 --- /dev/null +++ b/libgloss/visium/configure.ac @@ -0,0 +1,59 @@ +# Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(syscalls.c) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/default.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(part_specific_obj) + +AC_CONFIG_FILES(Makefile, +. ${libgloss_topdir}/config-ml.in, +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT diff --git a/libgloss/visium/configure.in b/libgloss/visium/configure.in deleted file mode 100644 index 5274ba6..0000000 --- a/libgloss/visium/configure.in +++ /dev/null @@ -1,59 +0,0 @@ -# Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(syscalls.c) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/default.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(part_specific_obj) - -AC_CONFIG_FILES(Makefile, -. ${libgloss_topdir}/config-ml.in, -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT diff --git a/libgloss/wince/configure.ac b/libgloss/wince/configure.ac new file mode 100644 index 0000000..fd57254 --- /dev/null +++ b/libgloss/wince/configure.ac @@ -0,0 +1,34 @@ +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) + +AC_INIT(Makefile.in) +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM +AM_INIT_AUTOMAKE(wince-stub, 1.0) +AM_MAINTAINER_MODE + +cross_compiling=yes +program_transform_name=s,^,@target_alias@-,; + +: ${CFLAGS='-O2'} +LIB_AC_PROG_CC +# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain" +AC_CHECK_TOOL(LD, ld, ld) +AC_SUBST(LD) +AC_PROG_INSTALL +case "${target}" in + *arm*-*-*) LDADD='-lwinsock -lsslsock' ;; + *) LDADD='-lwinsock' +esac +AC_SUBST(LDADD) +LIB_AM_PROG_AS +# +# The following is sort of a kludge but we *know* that we need +# an executable extension and, currently, the sh-pe-gcc compiler +# doesn't play well with configure, so, set a "cache" entry. +# +: ${ac_cv_exeext='.exe'} +AC_EXEEXT + +AC_OUTPUT([Makefile]) diff --git a/libgloss/wince/configure.in b/libgloss/wince/configure.in deleted file mode 100644 index fd57254..0000000 --- a/libgloss/wince/configure.in +++ /dev/null @@ -1,34 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) - -AC_INIT(Makefile.in) -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM -AM_INIT_AUTOMAKE(wince-stub, 1.0) -AM_MAINTAINER_MODE - -cross_compiling=yes -program_transform_name=s,^,@target_alias@-,; - -: ${CFLAGS='-O2'} -LIB_AC_PROG_CC -# CFLAGS="$CFLAGS -Xlinker --defsym -Xlinker _main=_WinMain" -AC_CHECK_TOOL(LD, ld, ld) -AC_SUBST(LD) -AC_PROG_INSTALL -case "${target}" in - *arm*-*-*) LDADD='-lwinsock -lsslsock' ;; - *) LDADD='-lwinsock' -esac -AC_SUBST(LDADD) -LIB_AM_PROG_AS -# -# The following is sort of a kludge but we *know* that we need -# an executable extension and, currently, the sh-pe-gcc compiler -# doesn't play well with configure, so, set a "cache" entry. -# -: ${ac_cv_exeext='.exe'} -AC_EXEEXT - -AC_OUTPUT([Makefile]) diff --git a/libgloss/xc16x/configure.ac b/libgloss/xc16x/configure.ac new file mode 100644 index 0000000..40ecfea --- /dev/null +++ b/libgloss/xc16x/configure.ac @@ -0,0 +1,81 @@ +# +# Copyright (C) 2006 KPIT Cummins +# Copyright (C) 2009 Conny Marco Menebröcker +# All rights reserved. +# +# Redistribution and use in source and binary forms is permitted +# provided that the above copyright notice and following paragraph are +# duplicated in all such forms. +# +# This file is distributed WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# +# Process this file with autoconf to produce a configure script. +# +AC_PREREQ(2.59) +AC_INIT(crt0.S) + +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_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + + +host_makefile_frag=${srcdir}/../config/default.mh +target_makefile_frag=${srcdir}/../config/xc16x.mt + +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) +target_makefile_frag_path=$target_makefile_frag +AC_SUBST(target_makefile_frag_path) +AC_SUBST_FILE(target_makefile_frag) +AC_SUBST(part_specific_obj) +AC_SUBST(script_list) +AC_SUBST(bsp_list) + +AC_CONFIG_FILES([Makefile], +[if test -n "$CONFIG_FILES"; then + unset ac_file + . ${libgloss_topdir}/config-ml.in +fi], +srcdir=${srcdir} +target=${target} +with_multisubdir=${with_multisubdir} +ac_configure_args="${ac_configure_args} --enable-multilib" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +libgloss_topdir=${libgloss_topdir} +) +AC_OUTPUT + + diff --git a/libgloss/xc16x/configure.in b/libgloss/xc16x/configure.in deleted file mode 100644 index 40ecfea..0000000 --- a/libgloss/xc16x/configure.in +++ /dev/null @@ -1,81 +0,0 @@ -# -# Copyright (C) 2006 KPIT Cummins -# Copyright (C) 2009 Conny Marco Menebröcker -# All rights reserved. -# -# Redistribution and use in source and binary forms is permitted -# provided that the above copyright notice and following paragraph are -# duplicated in all such forms. -# -# This file is distributed WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# -# -# Process this file with autoconf to produce a configure script. -# -AC_PREREQ(2.59) -AC_INIT(crt0.S) - -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_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - - -host_makefile_frag=${srcdir}/../config/default.mh -target_makefile_frag=${srcdir}/../config/xc16x.mt - -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) -target_makefile_frag_path=$target_makefile_frag -AC_SUBST(target_makefile_frag_path) -AC_SUBST_FILE(target_makefile_frag) -AC_SUBST(part_specific_obj) -AC_SUBST(script_list) -AC_SUBST(bsp_list) - -AC_CONFIG_FILES([Makefile], -[if test -n "$CONFIG_FILES"; then - unset ac_file - . ${libgloss_topdir}/config-ml.in -fi], -srcdir=${srcdir} -target=${target} -with_multisubdir=${with_multisubdir} -ac_configure_args="${ac_configure_args} --enable-multilib" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -libgloss_topdir=${libgloss_topdir} -) -AC_OUTPUT - - diff --git a/libgloss/xstormy16/configure.ac b/libgloss/xstormy16/configure.ac new file mode 100644 index 0000000..d7d5e3b --- /dev/null +++ b/libgloss/xstormy16/configure.ac @@ -0,0 +1,38 @@ +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.59) +AC_INIT(crt0.s) + +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM + +if test "$srcdir" = "." ; then + mdir=`echo "${with_multisubdir}/" \ + | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` + AC_CONFIG_AUX_DIR(${mdir}../../..) +else + AC_CONFIG_AUX_DIR(${srcdir}/../..) +fi + +AC_PROG_INSTALL + +LIB_AC_PROG_CC +AS=${AS-as} +AC_SUBST(AS) +AR=${AR-ar} +AC_SUBST(AR) +LD=${LD-ld} +AC_SUBST(LD) +AC_PROG_RANLIB +LIB_AM_PROG_AS + +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) + +AC_OUTPUT(Makefile) diff --git a/libgloss/xstormy16/configure.in b/libgloss/xstormy16/configure.in deleted file mode 100644 index d7d5e3b..0000000 --- a/libgloss/xstormy16/configure.in +++ /dev/null @@ -1,38 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59) -AC_INIT(crt0.s) - -AC_CANONICAL_SYSTEM -AC_ARG_PROGRAM - -if test "$srcdir" = "." ; then - mdir=`echo "${with_multisubdir}/" \ - | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` - AC_CONFIG_AUX_DIR(${mdir}../../..) -else - AC_CONFIG_AUX_DIR(${srcdir}/../..) -fi - -AC_PROG_INSTALL - -LIB_AC_PROG_CC -AS=${AS-as} -AC_SUBST(AS) -AR=${AR-ar} -AC_SUBST(AR) -LD=${LD-ld} -AC_SUBST(LD) -AC_PROG_RANLIB -LIB_AM_PROG_AS - -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) - -AC_OUTPUT(Makefile) diff --git a/newlib/configure.ac b/newlib/configure.ac new file mode 100644 index 0000000..67597bb --- /dev/null +++ b/newlib/configure.ac @@ -0,0 +1,712 @@ +dnl This is the newlib configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([libc]) +AC_CONFIG_HEADERS([_newlib_version.h:_newlib_version.hin newlib.h:newlib.hin]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(..) + +dnl Support --enable-newlib-io-pos-args +dnl This option is actually read in libc/configure.in. It is repeated +dnl here so that it shows up in the help text. +AC_ARG_ENABLE(newlib-io-pos-args, +[ --enable-newlib-io-pos-args enable printf-family positional arg support], +[case "${enableval}" in + yes) newlib_io_pos_args=yes ;; + no) newlib_io_pos_args=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;; + esac], [newlib_io_pos_args=])dnl + +dnl Support --enable-newlib-io-c99-formats +AC_ARG_ENABLE(newlib-io-c99-formats, +[ --enable-newlib-io-c99-formats enable C99 support in IO functions like printf/scanf], +[case "${enableval}" in + yes) newlib_io_c99_formats=yes;; + no) newlib_io_c99_formats=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-c99-formats option) ;; + esac], [newlib_io_c99_formats=])dnl + +dnl Support --enable-newlib-register-fini +AC_ARG_ENABLE(newlib-register-fini, +[ --enable-newlib-register-fini enable finalization function registration using atexit], +[case "${enableval}" in + yes) newlib_register_fini=yes;; + no) newlib_register_fini=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-register-fini option) ;; + esac], [newlib_register_fini=])dnl + +dnl Support --enable-newlib-io-long-long +AC_ARG_ENABLE(newlib-io-long-long, +[ --enable-newlib-io-long-long enable long long type support in IO functions like printf/scanf], +[case "${enableval}" in + yes) newlib_io_long_long=yes;; + no) newlib_io_long_long=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-long-long option) ;; + esac], [newlib_io_long_long=])dnl + +dnl Support --enable-newlib-io-long-double +AC_ARG_ENABLE(newlib-io-long-double, +[ --enable-newlib-io-long-double enable long double type support in IO functions printf/scanf], +[case "${enableval}" in + yes) newlib_io_long_double=yes;; + no) newlib_io_long_double=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-long-double option) ;; + esac], [newlib_io_long_double=])dnl + +dnl If multibyte support is enabled, iconv should be enabled too +dnl Support --enable-newlib-mb +AC_ARG_ENABLE(newlib-mb, +[ --enable-newlib-mb enable multibyte support], +[case "${enableval}" in + yes) newlib_mb=yes;; + no) newlib_mb=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-mb option) ;; + esac], [newlib_mb=])dnl + +dnl Enable verification of successful memory allocation for _REENT_CHECK family of macros +dnl Support --disable-newlib-reent-check-verify +AC_ARG_ENABLE(newlib-reent-check-verify, +[ --disable-newlib-reent-check-verify disable checking of _REENT_CHECK memory allocation], +[case "${enableval}" in + yes) newlib_reent_check_verify=yes;; + no) newlib_reent_check_verify=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-reent-check-verify option) ;; + esac], [newlib_reent_check_verify=])dnl + +dnl Support --enable-newlib-iconv-encodings +AC_ARG_ENABLE(newlib-iconv-encodings, +[ --enable-newlib-iconv-encodings enable specific comma-separated list of bidirectional iconv encodings to be built-in], +[if test x${enableval} = x; then + AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list) + fi + iconv_encodings=${enableval} + ], [iconv_encodings=])dnl + +dnl Support --enable-newlib-iconv-from-encodings +AC_ARG_ENABLE(newlib-iconv-from-encodings, +[ --enable-newlib-iconv-from-encodings enable specific comma-separated list of \"from\" iconv encodings to be built-in], +[if test x${enableval} = x; then + AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list) + fi + iconv_from_encodings=${enableval} + ], [iconv_from_encodings=])dnl + +dnl Support --enable-newlib-iconv-to-encodings +AC_ARG_ENABLE(newlib-iconv-to-encodings, +[ --enable-newlib-iconv-to-encodings enable specific comma-separated list of \"to\" iconv encodings to be built-in], +[if test x${enableval} = x; then + AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list) + fi + iconv_to_encodings=${enableval} + ], [iconv_to_encodings=])dnl + +dnl Support --enable-newlib-iconv-external-ccs +AC_ARG_ENABLE(newlib-iconv-external-ccs, +[ --enable-newlib-iconv-external-ccs enable capabilities to load external CCS files for iconv], +[if test "${newlib_iconv_external_ccs+set}" != set; then + case "${enableval}" in + yes) newlib_iconv_external_ccs=yes ;; + no) newlib_iconv_external_ccs=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-external-ccs option) ;; + esac + fi], [newlib_iconv_external_ccs=${newlib_iconv_external_ccs}])dnl + +dnl Support --disable-newlib-atexit-dynamic-alloc +AC_ARG_ENABLE(newlib-atexit-dynamic-alloc, +[ --disable-newlib-atexit-dynamic-alloc disable dynamic allocation of atexit entries], +[if test "${newlib_atexit_dynamic_alloc+set}" != set; then + case "${enableval}" in + yes) newlib_atexit_dynamic_alloc=yes ;; + no) newlib_atexit_dynamic_alloc=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-atexit-dynamic-alloc option) ;; + esac + fi], [newlib_atexit_dynamic_alloc=${newlib_atexit_dynamic_alloc}])dnl + +dnl Support --enable-newlib-global-atexit +dnl Enable atexit data structure as global variables to save memory usage in +dnl _reent. +AC_ARG_ENABLE(newlib-global-atexit, +[ --enable-newlib-global-atexit enable atexit data structure as global], +[if test "${newlib_global_atexit+set}" != set; then + case "${enableval}" in + yes) newlib_global_atexit=yes ;; + no) newlib_global_atexit=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-global-atexit option) ;; + esac + fi], [newlib_global_atexit=no])dnl + +dnl Support --enable-newlib-reent-small +AC_ARG_ENABLE(newlib-reent-small, +[ --enable-newlib-reent-small enable small reentrant struct support], +[case "${enableval}" in + yes) newlib_reent_small=yes;; + no) newlib_reent_small=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-reent-small option) ;; + esac], [newlib_reent_small=])dnl + +dnl Support --enable-newlib-global-stdio-streams +AC_ARG_ENABLE(newlib-global-stdio-streams, +[ --enable-newlib-global-stdio-streams enable global stdio streams], +[case "${enableval}" in + yes) newlib_global_stdio_streams=yes;; + no) newlib_global_stdio_streams=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-global-stdio-streams option) ;; + esac], [newlib_global_stdio_streams=])dnl + +dnl Support --disable-newlib-fvwrite-in-streamio +AC_ARG_ENABLE(newlib-fvwrite-in-streamio, +[ --disable-newlib-fvwrite-in-streamio disable iov in streamio], +[if test "${newlib_fvwrite_in_streamio+set}" != set; then + case "${enableval}" in + yes) newlib_fvwrite_in_streamio=yes ;; + no) newlib_fvwrite_in_streamio=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-fvwrite-in-streamio option) ;; + esac + fi], [newlib_fvwrite_in_streamio=yes])dnl + +dnl Support --disable-newlib-fseek-optimization +AC_ARG_ENABLE(newlib-fseek-optimization, +[ --disable-newlib-fseek-optimization disable fseek optimization], +[if test "${newlib_fseek_optimization+set}" != set; then + case "${enableval}" in + yes) newlib_fseek_optimization=yes ;; + no) newlib_fseek_optimization=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-fseek-optimization option) ;; + esac + fi], [newlib_fseek_optimization=yes])dnl + +dnl Support --enable-newlib-wide-orient +dnl This option is also read in libc/configure.in. It is repeated +dnl here so that it shows up in the help text. +AC_ARG_ENABLE(newlib_wide_orient, +[ --disable-newlib-wide-orient Turn off wide orientation in streamio], +[case "${enableval}" in + yes) newlib_wide_orient=yes ;; + no) newlib_wide_orient=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-wide-orient) ;; + esac],[newlib_wide_orient=yes]) + +dnl Support --enable-newlib-nano-malloc +dnl This option is also read in libc/configure.in. It is repeated +dnl here so that it shows up in the help text. +AC_ARG_ENABLE(newlib-nano-malloc, +[ --enable-newlib-nano-malloc use small-footprint nano-malloc implementation], +[if test "${newlib_nano_malloc+set}" != set; then + case "${enableval}" in + yes) newlib_nano_malloc=yes ;; + no) newlib_nano_malloc=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc option) ;; + esac + fi], [newlib_nano_malloc=])dnl + +dnl Support --disable-newlib-unbuf-stream-opt +AC_ARG_ENABLE(newlib-unbuf-stream-opt, +[ --disable-newlib-unbuf-stream-opt disable unbuffered stream optimization in streamio], +[if test "${newlib_unbuf_stream_opt+set}" != set; then + case "${enableval}" in + yes) newlib_unbuf_stream_opt=yes ;; + no) newlib_unbuf_stream_opt=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-unbuf-stream-opt option) ;; + esac + fi], [newlib_unbuf_stream_opt=yes])dnl + +dnl Support --enable-lite-exit +dnl Lite exit is a size-reduced implementation of exit that doesn't invoke +dnl clean-up functions such as _fini or global destructors. +AC_ARG_ENABLE(lite-exit, +[ --enable-lite-exit enable light weight exit], +[if test "${lite_exit+set}" != set; then + case "${enableval}" in + yes) lite_exit=yes ;; + no) lite_exit=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for lite-exit option) ;; + esac + fi], [lite_exit=no])dnl + +dnl Support --enable-newlib-nano-formatted-io +dnl This option is also read in libc/configure.in. It is repeated +dnl here so that it shows up in the help text. +AC_ARG_ENABLE(newlib_nano_formatted_io, +[ --enable-newlib-nano-formatted-io Use nano version formatted IO], +[case "${enableval}" in + yes) newlib_nano_formatted_io=yes ;; + no) newlib_nano_formatted_io=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; + esac],[newlib_nano_formatted_io=no]) + +dnl Support --enable-retargetable-locking +dnl This option is also read in libc/configure.in. It is repeated +dnl here so that it shows up in the help text. +AC_ARG_ENABLE(newlib-retargetable-locking, +[ --enable-newlib-retargetable-locking Allow locking routines to be retargeted at link time], +[case "${enableval}" in + yes) newlib_retargetable_locking=yes ;; + no) newlib_retargetable_locking=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-retargetable-locking) ;; + esac],[newlib_retargetable_locking=no]) + +dnl Support --enable-newlib-long-time_t +AC_ARG_ENABLE(newlib-long-time_t, +[ --enable-newlib-long-time_t define time_t to long], +[if test "${newlib_long_time_t+set}" != set; then + case "${enableval}" in + yes) newlib_long_time_t=yes ;; + no) newlib_long_time_t=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-long-time_t option) ;; + esac + fi], [newlib_long_time_t=no])dnl + +NEWLIB_CONFIGURE(.) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +AC_PROG_AWK +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +dnl The following is being disabled because the mathfp library is +dnl not up to standard due to inaccuracies caused by some of the +dnl floating-point algorithms used. If you wish to work on this, +dnl comment out the following line and uncomment out the lines +dnl following it to re-enable the feature. +newlib_hw_fp=false +#AC_ARG_ENABLE(newlib_hw_fp, +#[ --enable-newlib-hw-fp Turn on hardware floating point math], +#[case "${enableval}" in +# yes) newlib_hw_fp=true ;; +# no) newlib_hw_fp=false ;; +# *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;; +# esac],[newlib_hw_fp=false]) +AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue) + +# These get added in the top-level configure.in, except in the case where +# newlib is being built natively. +LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include` +abs_newlib_basedir=`cd ${newlib_basedir} && pwd` +if test -z "${LIBC_INCLUDE_GREP}"; then + CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include" +else + CC_FOR_NEWLIB="${CC}" +fi +AC_SUBST(CC_FOR_NEWLIB) + +AC_CONFIG_SUBDIRS(libc) +AC_CONFIG_SUBDIRS(libm) + +if test -z "${with_multisubdir}"; then + have_multisubdir=no + AC_CONFIG_SUBDIRS(doc) +else + have_multisubdir=yes +fi +AM_CONDITIONAL(HAVE_DOC, test x$have_multisubdir = xno) + +# Some run-time support libraries provided by GCC (e.g. libgomp) use configure +# checks to detect certain features, e.g. availability of thread-local storage. +# The configure script generates a test program and tries to compile and link +# it. It should use target libraries and startfiles of the build tree if +# available and not random ones from the installation prefix for this +# procedure. The search directories specified by -B are a bit special, see +# for_each_path() in gcc.c of the GCC sources. First a search is performed on +# all search paths with the multilib directory appended (if desired), then a +# second search is performed on demand with the base directory only. For each +# multilib there is a "newlib" subdirectory. This directory is specified by a +# -B option for the support libraries. In order to find the newlib artifacts +# (ctr0.o, libc.a, libg.a and libm.a) they must be located in a proper multilib +# subdirectory withing the build directory. +AM_CONDITIONAL(HAVE_MULTISUBDIR, test x$have_multisubdir = xyes) + +EXTRA_DIRS= +case $host in + i[[34567]]86-pc-linux-*) + AC_CONFIG_SUBDIRS(iconvdata) + EXTRA_DIRS=iconvdata + ;; +esac +AC_SUBST(EXTRA_DIRS) + +CRT0= +CRT0_DIR= +if test "x${have_crt0}" = "xyes"; then + CRT0=crt0.o + CRT0_DIR=libc/ +fi +AM_CONDITIONAL(HAVE_CRT0, test x$have_crt0 = xyes) +AC_SUBST(CRT0) +AC_SUBST(CRT0_DIR) + +CRT1=${crt1} +CRT1_DIR= +if test -n "${crt1_dir}"; then + CRT1_DIR=${crt1_dir}/ +fi +AC_SUBST(CRT1) +AC_SUBST(CRT1_DIR) + +if test -n "${libm_machine_dir}"; then + LIBM_MACHINE_OBJECTLIST=libm/machine/${libm_machine_dir}/objectlist.awk.in +fi +AC_SUBST(LIBM_MACHINE_OBJECTLIST) + +if test -n "${machine_dir}"; then + MACHINE_OBJECTLIST=libc/machine/${machine_dir}/objectlist.awk.in +fi +AC_SUBST(MACHINE_OBJECTLIST) + +if test -n "${sys_dir}"; then + SYS_OBJECTLIST=libc/sys/${sys_dir}/objectlist.awk.in +fi +AC_SUBST(SYS_OBJECTLIST) + +if test "${have_sys_mach_dir}" = "yes"; then + SYS_MACH_OBJECTLIST=libc/sys/${sys_dir}/machine/${machine_dir}/objectlist.awk.in +fi +AC_SUBST(SYS_MACH_OBJECTLIST) + +if test -n "${posix_dir}"; then + POSIX_OBJECTLIST=libc/${posix_dir}/objectlist.awk.in +fi +AC_SUBST(POSIX_OBJECTLIST) + +if test -n "${signal_dir}"; then + SIGNAL_OBJECTLIST=libc/${signal_dir}/objectlist.awk.in +fi +AC_SUBST(SIGNAL_OBJECTLIST) + +if test -n "${syscall_dir}"; then + SYSCALL_OBJECTLIST=libc/${syscall_dir}/objectlist.awk.in +fi +AC_SUBST(SYSCALL_OBJECTLIST) + +if test -n "${unix_dir}"; then + UNIX_OBJECTLIST=libc/${unix_dir}/objectlist.awk.in +fi +AC_SUBST(UNIX_OBJECTLIST) + +if test -n "${stdio64_dir}"; then + STDIO64_OBJECTLIST=libc/${stdio64_dir}/objectlist.awk.in +fi +AC_SUBST(STDIO64_OBJECTLIST) + +# Put a plausible default for CC_FOR_BUILD in Makefile. +if test -z "$CC_FOR_BUILD"; then + CC_FOR_BUILD=gcc +fi +AC_SUBST(CC_FOR_BUILD) + +if test "${newlib_elix_level}" -gt "0"; then +AC_DEFINE_UNQUOTED(_ELIX_LEVEL,${newlib_elix_level}) +fi + +if test "${newlib_reent_check_verify}" = "yes"; then +AC_DEFINE_UNQUOTED(_REENT_CHECK_VERIFY) +fi + +if test "${newlib_io_c99_formats}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_IO_C99_FORMATS) +fi + +if test "${newlib_register_fini}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_REGISTER_FINI) +fi + +if test "${newlib_io_long_long}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_IO_LONG_LONG) +fi + +if test "${newlib_io_long_double}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_IO_LONG_DOUBLE) +fi + +if test "${newlib_io_pos_args}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_IO_POS_ARGS) +fi + +if test "${newlib_reent_small}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_REENT_SMALL) +fi + +if test "${newlib_global_stdio_streams}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_REENT_GLOBAL_STDIO_STREAMS) +fi + +if test "${newlib_mb}" = "yes"; then +AC_DEFINE_UNQUOTED(_MB_CAPABLE) +AC_DEFINE_UNQUOTED(_MB_LEN_MAX,8) +else +AC_DEFINE_UNQUOTED(_MB_LEN_MAX,1) +fi + +if test "${newlib_iconv_external_ccs}" = "yes"; then +AC_DEFINE_UNQUOTED(_ICONV_ENABLE_EXTERNAL_CCS) +fi + +AC_DEFINE(_NEWLIB_VERSION,"NEWLIB_VERSION","The newlib version in string format.") +AC_DEFINE(__NEWLIB__,NEWLIB_MAJOR_VERSION,"The newlib major version number.") +AC_DEFINE(__NEWLIB_MINOR__,NEWLIB_MINOR_VERSION,"The newlib minor version number.") +AC_DEFINE(__NEWLIB_PATCHLEVEL__,NEWLIB_PATCHLEVEL_VERSION,"The newlib patch level.") + +if test "${multilib}" = "yes"; then + multilib_arg="--enable-multilib" +else + multilib_arg= +fi + +if test "${newlib_iconv}" = "yes"; then +AC_DEFINE_UNQUOTED(_ICONV_ENABLED,1) +fi + +if test "x${newlib_iconv_external_ccs}" = "xyes"; then + if test "x${newlib_iconv}" = "x"; then + AC_MSG_ERROR(--enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it.) + fi + AC_DEFINE_UNQUOTED(_ICONV_ENABLE_EXTERNAL_CCS,1) +fi + +if test "${newlib_atexit_dynamic_alloc}" = "yes"; then +AC_DEFINE_UNQUOTED(_ATEXIT_DYNAMIC_ALLOC) +fi + +if test "${newlib_global_atexit}" = "yes"; then +AC_DEFINE_UNQUOTED(_REENT_GLOBAL_ATEXIT) +fi + +if test "${newlib_fvwrite_in_streamio}" = "yes"; then +AC_DEFINE_UNQUOTED(_FVWRITE_IN_STREAMIO) +fi + +if test "${newlib_fseek_optimization}" = "yes"; then +AC_DEFINE_UNQUOTED(_FSEEK_OPTIMIZATION) +fi + +if test "${newlib_wide_orient}" = "yes"; then +AC_DEFINE_UNQUOTED(_WIDE_ORIENT) +fi + +if test "${newlib_nano_malloc}" = "yes"; then +AC_DEFINE_UNQUOTED(_NANO_MALLOC) +fi + +if test "${newlib_unbuf_stream_opt}" = "yes"; then +AC_DEFINE_UNQUOTED(_UNBUF_STREAM_OPT) +fi + +if test "${lite_exit}" = "yes"; then +AC_DEFINE_UNQUOTED(_LITE_EXIT) +fi + +if test "${newlib_nano_formatted_io}" = "yes"; then +AC_DEFINE_UNQUOTED(_NANO_FORMATTED_IO) +fi + +if test "${newlib_retargetable_locking}" = "yes"; then +AC_DEFINE_UNQUOTED(_RETARGETABLE_LOCKING) +fi + +if test "${newlib_long_time_t}" = "yes"; then +AC_DEFINE_UNQUOTED(_WANT_USE_LONG_TIME_T) +fi + +dnl +dnl Parse --enable-newlib-iconv-encodings option argument +dnl + +if test "x${iconv_encodings}" != "x" \ + || test "x${iconv_to_encodings}" != "x" \ + || test "x${iconv_from_encodings}" != "x"; then + if test "x${newlib_iconv}" = "x"; then + AC_MSG_ERROR([--enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it.]) + fi + + dnl Normalize encodings names and delete commas + iconv_encodings=`echo "${iconv_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` + iconv_to_encodings=`echo "${iconv_to_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` + iconv_from_encodings=`echo "${iconv_from_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` + + dnl Get the list of available encodings excluding comments + dnl Join line with previous if the first character is whitespace + available_encodings=`cat "${srcdir}/libc/iconv/encoding.aliases" | sed -e '/^#.*/d'` + + dnl Check if required encodings are supported + dnl Convert aliases to names + + dnl iconv_encodings + iconv_encodings1="${iconv_encodings}" + iconv_encodings="" + for encoding in ${iconv_encodings1}; do + result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"` + if test $? != "0"; then + AC_MSG_ERROR(${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings) + fi + encoding1=`echo "${result}" | sed -e 's/\(^[[^ ]]*\).*$/\1/'` + iconv_encodings="${iconv_encodings} ${encoding1}" + done + dnl Enable appropriate option in newlib.h + for encoding in ${iconv_encodings}; do + opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + AC_DEFINE_UNQUOTED($opt,1) + opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + AC_DEFINE_UNQUOTED($opt,1) + done + + dnl iconv_to_encodings + iconv_encodings1="${iconv_to_encodings}" + iconv_to_encodings="" + for encoding in ${iconv_encodings1}; do + result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"` + if test $? != "0"; then + AC_MSG_ERROR(${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings) + fi + encoding1=`echo "${result}" | sed -e 's/\(^[[^ ]]*\).*$/\1/'` + iconv_to_encodings="${iconv_to_encodings} ${encoding1}" + done + dnl Enable appropriate option in newlib.h + for encoding in ${iconv_to_encodings}; do + opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + AC_DEFINE_UNQUOTED($opt,1) + done + + dnl iconv_from_encodings + iconv_encodings1="${iconv_from_encodings}" + iconv_from_encodings="" + for encoding in ${iconv_encodings1}; do + result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"` + if test $? != "0"; then + AC_MSG_ERROR(${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings) + fi + encoding1=`echo "${result}" | sed -e 's/\(^[[^ ]]*\).*$/\1/'` + iconv_from_encodings="${iconv_from_encodings} ${encoding1}" + done + dnl Enable appropriate option in newlib.h + for encoding in ${iconv_from_encodings}; do + opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` + AC_DEFINE_UNQUOTED($opt,1) + done +fi; + +AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support, + libc_cv_initfinit_array, [dnl +cat > conftest.c <&AS_MESSAGE_LOG_FD]) +then + if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then + libc_cv_initfinit_array=yes + else + libc_cv_initfinit_array=no + fi +else + libc_cv_initfinit_array=no +fi +rm -f conftest*]) +AC_SUBST(libc_cv_initfinit_array) +if test $libc_cv_initfinit_array = yes; then + AC_DEFINE_UNQUOTED(HAVE_INITFINI_ARRAY) +fi + +AC_CACHE_CHECK(if $CC accepts -fno-tree-loop-distribute-patterns with \ +__attribute__ ((__optimize__)), libc_cv_cc_loop_to_function, [dnl +cat > conftest.c < conftest.c < +#if defined(LDBL_MANT_DIG) + #define _HAVE_LONG_DOUBLE + #else + #error "LDBL != DBL" +#endif +long double test() { +long double ld = 0.0L; +return ld; +} +EOF +if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c + 1>&AS_MESSAGE_LOG_FD]) +then + acnewlib_cv_type_long_double=yes; +else + acnewlib_cv_type_long_double=no; +fi +rm -f conftest*]) +if test $acnewlib_cv_type_long_double = yes; then + AC_DEFINE_UNQUOTED(_HAVE_LONG_DOUBLE) +fi +AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes") + +AC_CACHE_CHECK(whether long double equals double, + newlib_cv_ldbl_eq_dbl, [dnl +cat > conftest.c < +#if DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \ + LDBL_MAX_EXP == DBL_MAX_EXP + #define _LDBL_EQ_DBL + #else + #error "LDBL != DBL" +#endif +EOF +if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c + 1>&AS_MESSAGE_LOG_FD]) +then + newlib_cv_ldbl_eq_dbl=yes; +else + newlib_cv_ldbl_eq_dbl=no; +fi +rm -f conftest*]) +if test $newlib_cv_ldbl_eq_dbl = yes; then + AC_DEFINE_UNQUOTED(_LDBL_EQ_DBL) +fi + +AC_SUBST(CFLAGS) + +AC_CONFIG_FILES([Makefile], +[if test -n "$CONFIG_FILES"; then + unset ac_file + . ${newlib_basedir}/../config-ml.in +fi], +srcdir=${srcdir} +host=${host} +with_multisubdir=${with_multisubdir} +ac_configure_args="${multilib_arg} ${ac_configure_args}" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +newlib_basedir=${newlib_basedir} +CC="${CC}" +LDFLAGS="${LDFLAGS}" +) +AC_OUTPUT diff --git a/newlib/configure.in b/newlib/configure.in deleted file mode 100644 index 67597bb..0000000 --- a/newlib/configure.in +++ /dev/null @@ -1,712 +0,0 @@ -dnl This is the newlib configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([libc]) -AC_CONFIG_HEADERS([_newlib_version.h:_newlib_version.hin newlib.h:newlib.hin]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(..) - -dnl Support --enable-newlib-io-pos-args -dnl This option is actually read in libc/configure.in. It is repeated -dnl here so that it shows up in the help text. -AC_ARG_ENABLE(newlib-io-pos-args, -[ --enable-newlib-io-pos-args enable printf-family positional arg support], -[case "${enableval}" in - yes) newlib_io_pos_args=yes ;; - no) newlib_io_pos_args=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;; - esac], [newlib_io_pos_args=])dnl - -dnl Support --enable-newlib-io-c99-formats -AC_ARG_ENABLE(newlib-io-c99-formats, -[ --enable-newlib-io-c99-formats enable C99 support in IO functions like printf/scanf], -[case "${enableval}" in - yes) newlib_io_c99_formats=yes;; - no) newlib_io_c99_formats=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-c99-formats option) ;; - esac], [newlib_io_c99_formats=])dnl - -dnl Support --enable-newlib-register-fini -AC_ARG_ENABLE(newlib-register-fini, -[ --enable-newlib-register-fini enable finalization function registration using atexit], -[case "${enableval}" in - yes) newlib_register_fini=yes;; - no) newlib_register_fini=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-register-fini option) ;; - esac], [newlib_register_fini=])dnl - -dnl Support --enable-newlib-io-long-long -AC_ARG_ENABLE(newlib-io-long-long, -[ --enable-newlib-io-long-long enable long long type support in IO functions like printf/scanf], -[case "${enableval}" in - yes) newlib_io_long_long=yes;; - no) newlib_io_long_long=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-long-long option) ;; - esac], [newlib_io_long_long=])dnl - -dnl Support --enable-newlib-io-long-double -AC_ARG_ENABLE(newlib-io-long-double, -[ --enable-newlib-io-long-double enable long double type support in IO functions printf/scanf], -[case "${enableval}" in - yes) newlib_io_long_double=yes;; - no) newlib_io_long_double=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-long-double option) ;; - esac], [newlib_io_long_double=])dnl - -dnl If multibyte support is enabled, iconv should be enabled too -dnl Support --enable-newlib-mb -AC_ARG_ENABLE(newlib-mb, -[ --enable-newlib-mb enable multibyte support], -[case "${enableval}" in - yes) newlib_mb=yes;; - no) newlib_mb=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-mb option) ;; - esac], [newlib_mb=])dnl - -dnl Enable verification of successful memory allocation for _REENT_CHECK family of macros -dnl Support --disable-newlib-reent-check-verify -AC_ARG_ENABLE(newlib-reent-check-verify, -[ --disable-newlib-reent-check-verify disable checking of _REENT_CHECK memory allocation], -[case "${enableval}" in - yes) newlib_reent_check_verify=yes;; - no) newlib_reent_check_verify=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-reent-check-verify option) ;; - esac], [newlib_reent_check_verify=])dnl - -dnl Support --enable-newlib-iconv-encodings -AC_ARG_ENABLE(newlib-iconv-encodings, -[ --enable-newlib-iconv-encodings enable specific comma-separated list of bidirectional iconv encodings to be built-in], -[if test x${enableval} = x; then - AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-encodings option - use comma-separated encodings list) - fi - iconv_encodings=${enableval} - ], [iconv_encodings=])dnl - -dnl Support --enable-newlib-iconv-from-encodings -AC_ARG_ENABLE(newlib-iconv-from-encodings, -[ --enable-newlib-iconv-from-encodings enable specific comma-separated list of \"from\" iconv encodings to be built-in], -[if test x${enableval} = x; then - AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-from-encodings option - use comma-separated encodings list) - fi - iconv_from_encodings=${enableval} - ], [iconv_from_encodings=])dnl - -dnl Support --enable-newlib-iconv-to-encodings -AC_ARG_ENABLE(newlib-iconv-to-encodings, -[ --enable-newlib-iconv-to-encodings enable specific comma-separated list of \"to\" iconv encodings to be built-in], -[if test x${enableval} = x; then - AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-to-encodings option - use comma-separated encodings list) - fi - iconv_to_encodings=${enableval} - ], [iconv_to_encodings=])dnl - -dnl Support --enable-newlib-iconv-external-ccs -AC_ARG_ENABLE(newlib-iconv-external-ccs, -[ --enable-newlib-iconv-external-ccs enable capabilities to load external CCS files for iconv], -[if test "${newlib_iconv_external_ccs+set}" != set; then - case "${enableval}" in - yes) newlib_iconv_external_ccs=yes ;; - no) newlib_iconv_external_ccs=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-iconv-external-ccs option) ;; - esac - fi], [newlib_iconv_external_ccs=${newlib_iconv_external_ccs}])dnl - -dnl Support --disable-newlib-atexit-dynamic-alloc -AC_ARG_ENABLE(newlib-atexit-dynamic-alloc, -[ --disable-newlib-atexit-dynamic-alloc disable dynamic allocation of atexit entries], -[if test "${newlib_atexit_dynamic_alloc+set}" != set; then - case "${enableval}" in - yes) newlib_atexit_dynamic_alloc=yes ;; - no) newlib_atexit_dynamic_alloc=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-atexit-dynamic-alloc option) ;; - esac - fi], [newlib_atexit_dynamic_alloc=${newlib_atexit_dynamic_alloc}])dnl - -dnl Support --enable-newlib-global-atexit -dnl Enable atexit data structure as global variables to save memory usage in -dnl _reent. -AC_ARG_ENABLE(newlib-global-atexit, -[ --enable-newlib-global-atexit enable atexit data structure as global], -[if test "${newlib_global_atexit+set}" != set; then - case "${enableval}" in - yes) newlib_global_atexit=yes ;; - no) newlib_global_atexit=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-global-atexit option) ;; - esac - fi], [newlib_global_atexit=no])dnl - -dnl Support --enable-newlib-reent-small -AC_ARG_ENABLE(newlib-reent-small, -[ --enable-newlib-reent-small enable small reentrant struct support], -[case "${enableval}" in - yes) newlib_reent_small=yes;; - no) newlib_reent_small=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-reent-small option) ;; - esac], [newlib_reent_small=])dnl - -dnl Support --enable-newlib-global-stdio-streams -AC_ARG_ENABLE(newlib-global-stdio-streams, -[ --enable-newlib-global-stdio-streams enable global stdio streams], -[case "${enableval}" in - yes) newlib_global_stdio_streams=yes;; - no) newlib_global_stdio_streams=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-global-stdio-streams option) ;; - esac], [newlib_global_stdio_streams=])dnl - -dnl Support --disable-newlib-fvwrite-in-streamio -AC_ARG_ENABLE(newlib-fvwrite-in-streamio, -[ --disable-newlib-fvwrite-in-streamio disable iov in streamio], -[if test "${newlib_fvwrite_in_streamio+set}" != set; then - case "${enableval}" in - yes) newlib_fvwrite_in_streamio=yes ;; - no) newlib_fvwrite_in_streamio=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-fvwrite-in-streamio option) ;; - esac - fi], [newlib_fvwrite_in_streamio=yes])dnl - -dnl Support --disable-newlib-fseek-optimization -AC_ARG_ENABLE(newlib-fseek-optimization, -[ --disable-newlib-fseek-optimization disable fseek optimization], -[if test "${newlib_fseek_optimization+set}" != set; then - case "${enableval}" in - yes) newlib_fseek_optimization=yes ;; - no) newlib_fseek_optimization=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-fseek-optimization option) ;; - esac - fi], [newlib_fseek_optimization=yes])dnl - -dnl Support --enable-newlib-wide-orient -dnl This option is also read in libc/configure.in. It is repeated -dnl here so that it shows up in the help text. -AC_ARG_ENABLE(newlib_wide_orient, -[ --disable-newlib-wide-orient Turn off wide orientation in streamio], -[case "${enableval}" in - yes) newlib_wide_orient=yes ;; - no) newlib_wide_orient=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-wide-orient) ;; - esac],[newlib_wide_orient=yes]) - -dnl Support --enable-newlib-nano-malloc -dnl This option is also read in libc/configure.in. It is repeated -dnl here so that it shows up in the help text. -AC_ARG_ENABLE(newlib-nano-malloc, -[ --enable-newlib-nano-malloc use small-footprint nano-malloc implementation], -[if test "${newlib_nano_malloc+set}" != set; then - case "${enableval}" in - yes) newlib_nano_malloc=yes ;; - no) newlib_nano_malloc=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc option) ;; - esac - fi], [newlib_nano_malloc=])dnl - -dnl Support --disable-newlib-unbuf-stream-opt -AC_ARG_ENABLE(newlib-unbuf-stream-opt, -[ --disable-newlib-unbuf-stream-opt disable unbuffered stream optimization in streamio], -[if test "${newlib_unbuf_stream_opt+set}" != set; then - case "${enableval}" in - yes) newlib_unbuf_stream_opt=yes ;; - no) newlib_unbuf_stream_opt=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-unbuf-stream-opt option) ;; - esac - fi], [newlib_unbuf_stream_opt=yes])dnl - -dnl Support --enable-lite-exit -dnl Lite exit is a size-reduced implementation of exit that doesn't invoke -dnl clean-up functions such as _fini or global destructors. -AC_ARG_ENABLE(lite-exit, -[ --enable-lite-exit enable light weight exit], -[if test "${lite_exit+set}" != set; then - case "${enableval}" in - yes) lite_exit=yes ;; - no) lite_exit=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for lite-exit option) ;; - esac - fi], [lite_exit=no])dnl - -dnl Support --enable-newlib-nano-formatted-io -dnl This option is also read in libc/configure.in. It is repeated -dnl here so that it shows up in the help text. -AC_ARG_ENABLE(newlib_nano_formatted_io, -[ --enable-newlib-nano-formatted-io Use nano version formatted IO], -[case "${enableval}" in - yes) newlib_nano_formatted_io=yes ;; - no) newlib_nano_formatted_io=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; - esac],[newlib_nano_formatted_io=no]) - -dnl Support --enable-retargetable-locking -dnl This option is also read in libc/configure.in. It is repeated -dnl here so that it shows up in the help text. -AC_ARG_ENABLE(newlib-retargetable-locking, -[ --enable-newlib-retargetable-locking Allow locking routines to be retargeted at link time], -[case "${enableval}" in - yes) newlib_retargetable_locking=yes ;; - no) newlib_retargetable_locking=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-retargetable-locking) ;; - esac],[newlib_retargetable_locking=no]) - -dnl Support --enable-newlib-long-time_t -AC_ARG_ENABLE(newlib-long-time_t, -[ --enable-newlib-long-time_t define time_t to long], -[if test "${newlib_long_time_t+set}" != set; then - case "${enableval}" in - yes) newlib_long_time_t=yes ;; - no) newlib_long_time_t=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-long-time_t option) ;; - esac - fi], [newlib_long_time_t=no])dnl - -NEWLIB_CONFIGURE(.) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -AC_PROG_AWK -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -dnl The following is being disabled because the mathfp library is -dnl not up to standard due to inaccuracies caused by some of the -dnl floating-point algorithms used. If you wish to work on this, -dnl comment out the following line and uncomment out the lines -dnl following it to re-enable the feature. -newlib_hw_fp=false -#AC_ARG_ENABLE(newlib_hw_fp, -#[ --enable-newlib-hw-fp Turn on hardware floating point math], -#[case "${enableval}" in -# yes) newlib_hw_fp=true ;; -# no) newlib_hw_fp=false ;; -# *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;; -# esac],[newlib_hw_fp=false]) -AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue) - -# These get added in the top-level configure.in, except in the case where -# newlib is being built natively. -LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include` -abs_newlib_basedir=`cd ${newlib_basedir} && pwd` -if test -z "${LIBC_INCLUDE_GREP}"; then - CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include" -else - CC_FOR_NEWLIB="${CC}" -fi -AC_SUBST(CC_FOR_NEWLIB) - -AC_CONFIG_SUBDIRS(libc) -AC_CONFIG_SUBDIRS(libm) - -if test -z "${with_multisubdir}"; then - have_multisubdir=no - AC_CONFIG_SUBDIRS(doc) -else - have_multisubdir=yes -fi -AM_CONDITIONAL(HAVE_DOC, test x$have_multisubdir = xno) - -# Some run-time support libraries provided by GCC (e.g. libgomp) use configure -# checks to detect certain features, e.g. availability of thread-local storage. -# The configure script generates a test program and tries to compile and link -# it. It should use target libraries and startfiles of the build tree if -# available and not random ones from the installation prefix for this -# procedure. The search directories specified by -B are a bit special, see -# for_each_path() in gcc.c of the GCC sources. First a search is performed on -# all search paths with the multilib directory appended (if desired), then a -# second search is performed on demand with the base directory only. For each -# multilib there is a "newlib" subdirectory. This directory is specified by a -# -B option for the support libraries. In order to find the newlib artifacts -# (ctr0.o, libc.a, libg.a and libm.a) they must be located in a proper multilib -# subdirectory withing the build directory. -AM_CONDITIONAL(HAVE_MULTISUBDIR, test x$have_multisubdir = xyes) - -EXTRA_DIRS= -case $host in - i[[34567]]86-pc-linux-*) - AC_CONFIG_SUBDIRS(iconvdata) - EXTRA_DIRS=iconvdata - ;; -esac -AC_SUBST(EXTRA_DIRS) - -CRT0= -CRT0_DIR= -if test "x${have_crt0}" = "xyes"; then - CRT0=crt0.o - CRT0_DIR=libc/ -fi -AM_CONDITIONAL(HAVE_CRT0, test x$have_crt0 = xyes) -AC_SUBST(CRT0) -AC_SUBST(CRT0_DIR) - -CRT1=${crt1} -CRT1_DIR= -if test -n "${crt1_dir}"; then - CRT1_DIR=${crt1_dir}/ -fi -AC_SUBST(CRT1) -AC_SUBST(CRT1_DIR) - -if test -n "${libm_machine_dir}"; then - LIBM_MACHINE_OBJECTLIST=libm/machine/${libm_machine_dir}/objectlist.awk.in -fi -AC_SUBST(LIBM_MACHINE_OBJECTLIST) - -if test -n "${machine_dir}"; then - MACHINE_OBJECTLIST=libc/machine/${machine_dir}/objectlist.awk.in -fi -AC_SUBST(MACHINE_OBJECTLIST) - -if test -n "${sys_dir}"; then - SYS_OBJECTLIST=libc/sys/${sys_dir}/objectlist.awk.in -fi -AC_SUBST(SYS_OBJECTLIST) - -if test "${have_sys_mach_dir}" = "yes"; then - SYS_MACH_OBJECTLIST=libc/sys/${sys_dir}/machine/${machine_dir}/objectlist.awk.in -fi -AC_SUBST(SYS_MACH_OBJECTLIST) - -if test -n "${posix_dir}"; then - POSIX_OBJECTLIST=libc/${posix_dir}/objectlist.awk.in -fi -AC_SUBST(POSIX_OBJECTLIST) - -if test -n "${signal_dir}"; then - SIGNAL_OBJECTLIST=libc/${signal_dir}/objectlist.awk.in -fi -AC_SUBST(SIGNAL_OBJECTLIST) - -if test -n "${syscall_dir}"; then - SYSCALL_OBJECTLIST=libc/${syscall_dir}/objectlist.awk.in -fi -AC_SUBST(SYSCALL_OBJECTLIST) - -if test -n "${unix_dir}"; then - UNIX_OBJECTLIST=libc/${unix_dir}/objectlist.awk.in -fi -AC_SUBST(UNIX_OBJECTLIST) - -if test -n "${stdio64_dir}"; then - STDIO64_OBJECTLIST=libc/${stdio64_dir}/objectlist.awk.in -fi -AC_SUBST(STDIO64_OBJECTLIST) - -# Put a plausible default for CC_FOR_BUILD in Makefile. -if test -z "$CC_FOR_BUILD"; then - CC_FOR_BUILD=gcc -fi -AC_SUBST(CC_FOR_BUILD) - -if test "${newlib_elix_level}" -gt "0"; then -AC_DEFINE_UNQUOTED(_ELIX_LEVEL,${newlib_elix_level}) -fi - -if test "${newlib_reent_check_verify}" = "yes"; then -AC_DEFINE_UNQUOTED(_REENT_CHECK_VERIFY) -fi - -if test "${newlib_io_c99_formats}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_IO_C99_FORMATS) -fi - -if test "${newlib_register_fini}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_REGISTER_FINI) -fi - -if test "${newlib_io_long_long}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_IO_LONG_LONG) -fi - -if test "${newlib_io_long_double}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_IO_LONG_DOUBLE) -fi - -if test "${newlib_io_pos_args}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_IO_POS_ARGS) -fi - -if test "${newlib_reent_small}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_REENT_SMALL) -fi - -if test "${newlib_global_stdio_streams}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_REENT_GLOBAL_STDIO_STREAMS) -fi - -if test "${newlib_mb}" = "yes"; then -AC_DEFINE_UNQUOTED(_MB_CAPABLE) -AC_DEFINE_UNQUOTED(_MB_LEN_MAX,8) -else -AC_DEFINE_UNQUOTED(_MB_LEN_MAX,1) -fi - -if test "${newlib_iconv_external_ccs}" = "yes"; then -AC_DEFINE_UNQUOTED(_ICONV_ENABLE_EXTERNAL_CCS) -fi - -AC_DEFINE(_NEWLIB_VERSION,"NEWLIB_VERSION","The newlib version in string format.") -AC_DEFINE(__NEWLIB__,NEWLIB_MAJOR_VERSION,"The newlib major version number.") -AC_DEFINE(__NEWLIB_MINOR__,NEWLIB_MINOR_VERSION,"The newlib minor version number.") -AC_DEFINE(__NEWLIB_PATCHLEVEL__,NEWLIB_PATCHLEVEL_VERSION,"The newlib patch level.") - -if test "${multilib}" = "yes"; then - multilib_arg="--enable-multilib" -else - multilib_arg= -fi - -if test "${newlib_iconv}" = "yes"; then -AC_DEFINE_UNQUOTED(_ICONV_ENABLED,1) -fi - -if test "x${newlib_iconv_external_ccs}" = "xyes"; then - if test "x${newlib_iconv}" = "x"; then - AC_MSG_ERROR(--enable-newlib-iconv-external-ccs option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it.) - fi - AC_DEFINE_UNQUOTED(_ICONV_ENABLE_EXTERNAL_CCS,1) -fi - -if test "${newlib_atexit_dynamic_alloc}" = "yes"; then -AC_DEFINE_UNQUOTED(_ATEXIT_DYNAMIC_ALLOC) -fi - -if test "${newlib_global_atexit}" = "yes"; then -AC_DEFINE_UNQUOTED(_REENT_GLOBAL_ATEXIT) -fi - -if test "${newlib_fvwrite_in_streamio}" = "yes"; then -AC_DEFINE_UNQUOTED(_FVWRITE_IN_STREAMIO) -fi - -if test "${newlib_fseek_optimization}" = "yes"; then -AC_DEFINE_UNQUOTED(_FSEEK_OPTIMIZATION) -fi - -if test "${newlib_wide_orient}" = "yes"; then -AC_DEFINE_UNQUOTED(_WIDE_ORIENT) -fi - -if test "${newlib_nano_malloc}" = "yes"; then -AC_DEFINE_UNQUOTED(_NANO_MALLOC) -fi - -if test "${newlib_unbuf_stream_opt}" = "yes"; then -AC_DEFINE_UNQUOTED(_UNBUF_STREAM_OPT) -fi - -if test "${lite_exit}" = "yes"; then -AC_DEFINE_UNQUOTED(_LITE_EXIT) -fi - -if test "${newlib_nano_formatted_io}" = "yes"; then -AC_DEFINE_UNQUOTED(_NANO_FORMATTED_IO) -fi - -if test "${newlib_retargetable_locking}" = "yes"; then -AC_DEFINE_UNQUOTED(_RETARGETABLE_LOCKING) -fi - -if test "${newlib_long_time_t}" = "yes"; then -AC_DEFINE_UNQUOTED(_WANT_USE_LONG_TIME_T) -fi - -dnl -dnl Parse --enable-newlib-iconv-encodings option argument -dnl - -if test "x${iconv_encodings}" != "x" \ - || test "x${iconv_to_encodings}" != "x" \ - || test "x${iconv_from_encodings}" != "x"; then - if test "x${newlib_iconv}" = "x"; then - AC_MSG_ERROR([--enable-newlib-iconv-encodings, --enable-newlib-iconv-from-encodings and --enable-newlib-iconv-to-encodings option can't be used if iconv library is disabled, use --enable-newlib-iconv to enable it.]) - fi - - dnl Normalize encodings names and delete commas - iconv_encodings=`echo "${iconv_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` - iconv_to_encodings=`echo "${iconv_to_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` - iconv_from_encodings=`echo "${iconv_from_encodings}" | sed -e 's/,/ /g' -e 's/-/_/g' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` - - dnl Get the list of available encodings excluding comments - dnl Join line with previous if the first character is whitespace - available_encodings=`cat "${srcdir}/libc/iconv/encoding.aliases" | sed -e '/^#.*/d'` - - dnl Check if required encodings are supported - dnl Convert aliases to names - - dnl iconv_encodings - iconv_encodings1="${iconv_encodings}" - iconv_encodings="" - for encoding in ${iconv_encodings1}; do - result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"` - if test $? != "0"; then - AC_MSG_ERROR(${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings) - fi - encoding1=`echo "${result}" | sed -e 's/\(^[[^ ]]*\).*$/\1/'` - iconv_encodings="${iconv_encodings} ${encoding1}" - done - dnl Enable appropriate option in newlib.h - for encoding in ${iconv_encodings}; do - opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) - opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) - done - - dnl iconv_to_encodings - iconv_encodings1="${iconv_to_encodings}" - iconv_to_encodings="" - for encoding in ${iconv_encodings1}; do - result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"` - if test $? != "0"; then - AC_MSG_ERROR(${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings) - fi - encoding1=`echo "${result}" | sed -e 's/\(^[[^ ]]*\).*$/\1/'` - iconv_to_encodings="${iconv_to_encodings} ${encoding1}" - done - dnl Enable appropriate option in newlib.h - for encoding in ${iconv_to_encodings}; do - opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) - done - - dnl iconv_from_encodings - iconv_encodings1="${iconv_from_encodings}" - iconv_from_encodings="" - for encoding in ${iconv_encodings1}; do - result=`echo "${available_encodings}" | grep -e "\(^\| \)${encoding}\( \|\$\)"` - if test $? != "0"; then - AC_MSG_ERROR(${encoding} is not supported - see ${srcdir}/libc/iconv/encoding.aliases file for the list of available encodings) - fi - encoding1=`echo "${result}" | sed -e 's/\(^[[^ ]]*\).*$/\1/'` - iconv_from_encodings="${iconv_from_encodings} ${encoding1}" - done - dnl Enable appropriate option in newlib.h - for encoding in ${iconv_from_encodings}; do - opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) - done -fi; - -AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support, - libc_cv_initfinit_array, [dnl -cat > conftest.c <&AS_MESSAGE_LOG_FD]) -then - if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then - libc_cv_initfinit_array=yes - else - libc_cv_initfinit_array=no - fi -else - libc_cv_initfinit_array=no -fi -rm -f conftest*]) -AC_SUBST(libc_cv_initfinit_array) -if test $libc_cv_initfinit_array = yes; then - AC_DEFINE_UNQUOTED(HAVE_INITFINI_ARRAY) -fi - -AC_CACHE_CHECK(if $CC accepts -fno-tree-loop-distribute-patterns with \ -__attribute__ ((__optimize__)), libc_cv_cc_loop_to_function, [dnl -cat > conftest.c < conftest.c < -#if defined(LDBL_MANT_DIG) - #define _HAVE_LONG_DOUBLE - #else - #error "LDBL != DBL" -#endif -long double test() { -long double ld = 0.0L; -return ld; -} -EOF -if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c - 1>&AS_MESSAGE_LOG_FD]) -then - acnewlib_cv_type_long_double=yes; -else - acnewlib_cv_type_long_double=no; -fi -rm -f conftest*]) -if test $acnewlib_cv_type_long_double = yes; then - AC_DEFINE_UNQUOTED(_HAVE_LONG_DOUBLE) -fi -AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes") - -AC_CACHE_CHECK(whether long double equals double, - newlib_cv_ldbl_eq_dbl, [dnl -cat > conftest.c < -#if DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \ - LDBL_MAX_EXP == DBL_MAX_EXP - #define _LDBL_EQ_DBL - #else - #error "LDBL != DBL" -#endif -EOF -if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c - 1>&AS_MESSAGE_LOG_FD]) -then - newlib_cv_ldbl_eq_dbl=yes; -else - newlib_cv_ldbl_eq_dbl=no; -fi -rm -f conftest*]) -if test $newlib_cv_ldbl_eq_dbl = yes; then - AC_DEFINE_UNQUOTED(_LDBL_EQ_DBL) -fi - -AC_SUBST(CFLAGS) - -AC_CONFIG_FILES([Makefile], -[if test -n "$CONFIG_FILES"; then - unset ac_file - . ${newlib_basedir}/../config-ml.in -fi], -srcdir=${srcdir} -host=${host} -with_multisubdir=${with_multisubdir} -ac_configure_args="${multilib_arg} ${ac_configure_args}" -CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -newlib_basedir=${newlib_basedir} -CC="${CC}" -LDFLAGS="${LDFLAGS}" -) -AC_OUTPUT diff --git a/newlib/doc/configure.ac b/newlib/doc/configure.ac new file mode 100644 index 0000000..28428a9 --- /dev/null +++ b/newlib/doc/configure.ac @@ -0,0 +1,43 @@ +dnl This is the newlib/doc configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([makedoc.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../..) + +NEWLIB_CONFIGURE(..) + +# Put a plausible default for CC_FOR_BUILD in Makefile. +if test -z "$CC_FOR_BUILD"; then + if test "x$cross_compiling" = "xno"; then + CC_FOR_BUILD='$(CC)' + else + CC_FOR_BUILD=gcc + fi +fi +AC_SUBST(CC_FOR_BUILD) + +# Also set EXEEXT_FOR_BUILD. +if test "x$cross_compiling" = "xno"; then + EXEEXT_FOR_BUILD='$(EXEEXT)' +else + AC_CACHE_CHECK([for build system executable suffix], newlib_cv_build_exeext, + [cat > ac_c_test.c << 'EOF' +int main() { +/* Nothing needed here */ +} +EOF + ${CC_FOR_BUILD} -o ac_c_test am_c_test.c 1>&5 2>&5 + newlib_cv_build_exeext=`echo ac_c_test.* | grep -v ac_c_test.c | sed -e s/ac_c_test//` + rm -f ac_c_test* + test x"${newlib_cv_build_exeext}" = x && newlib_cv_build_exeext=no]) + EXEEXT_FOR_BUILD="" + test x"${newlib_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${newlib_cv_build_exeext} +fi +AC_SUBST(EXEEXT_FOR_BUILD) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/doc/configure.in b/newlib/doc/configure.in deleted file mode 100644 index 28428a9..0000000 --- a/newlib/doc/configure.in +++ /dev/null @@ -1,43 +0,0 @@ -dnl This is the newlib/doc configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([makedoc.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../..) - -NEWLIB_CONFIGURE(..) - -# Put a plausible default for CC_FOR_BUILD in Makefile. -if test -z "$CC_FOR_BUILD"; then - if test "x$cross_compiling" = "xno"; then - CC_FOR_BUILD='$(CC)' - else - CC_FOR_BUILD=gcc - fi -fi -AC_SUBST(CC_FOR_BUILD) - -# Also set EXEEXT_FOR_BUILD. -if test "x$cross_compiling" = "xno"; then - EXEEXT_FOR_BUILD='$(EXEEXT)' -else - AC_CACHE_CHECK([for build system executable suffix], newlib_cv_build_exeext, - [cat > ac_c_test.c << 'EOF' -int main() { -/* Nothing needed here */ -} -EOF - ${CC_FOR_BUILD} -o ac_c_test am_c_test.c 1>&5 2>&5 - newlib_cv_build_exeext=`echo ac_c_test.* | grep -v ac_c_test.c | sed -e s/ac_c_test//` - rm -f ac_c_test* - test x"${newlib_cv_build_exeext}" = x && newlib_cv_build_exeext=no]) - EXEEXT_FOR_BUILD="" - test x"${newlib_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${newlib_cv_build_exeext} -fi -AC_SUBST(EXEEXT_FOR_BUILD) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/iconvdata/configure.ac b/newlib/iconvdata/configure.ac new file mode 100644 index 0000000..a34cc52 --- /dev/null +++ b/newlib/iconvdata/configure.ac @@ -0,0 +1,24 @@ +dnl This is the newlib/iconvdata configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([jis0201.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../..) + +NEWLIB_CONFIGURE(..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/iconvdata/configure.in b/newlib/iconvdata/configure.in deleted file mode 100644 index a34cc52..0000000 --- a/newlib/iconvdata/configure.in +++ /dev/null @@ -1,24 +0,0 @@ -dnl This is the newlib/iconvdata configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([jis0201.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../..) - -NEWLIB_CONFIGURE(..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/configure.ac b/newlib/libc/configure.ac new file mode 100644 index 0000000..9b07a79 --- /dev/null +++ b/newlib/libc/configure.ac @@ -0,0 +1,224 @@ +dnl This is the newlib/libc configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([sys.tex]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../..) + +dnl Support --enable-newlib-io-pos-args used by libc/stdio +AC_ARG_ENABLE(newlib-io-pos-args, +[ --enable-newlib-io-pos-args enable printf-family positional arg support], +[case "${enableval}" in + yes) newlib_io_pos_args=yes ;; + no) newlib_io_pos_args=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;; + esac], [newlib_io_pos_args=no])dnl + +dnl Support --enable-newlib-nano-malloc used by libc/stdlib +AC_ARG_ENABLE(newlib_nano_malloc, +[ --enable-newlib-nano-malloc Use small-footprint nano-malloc implementation], +[case "${enableval}" in + yes) newlib_nano_malloc=yes ;; + no) newlib_nano_malloc=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc) ;; + esac],[newlib_nano_malloc=]) + +dnl Support --enable-newlib-nano-formatted-io used by libc/stdio +AC_ARG_ENABLE(newlib_nano_formatted_io, +[ --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation], +[case "${enableval}" in + yes) newlib_nano_formatted_io=yes ;; + no) newlib_nano_formatted_io=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; + esac],[newlib_nano_formatted_io=no]) +AM_CONDITIONAL(NEWLIB_NANO_FORMATTED_IO, test x$newlib_nano_formatted_io = xyes) + +dnl Support --enable-retargetable-locking used by libc/sys +AC_ARG_ENABLE(newlib-retargetable-locking, +[ --enable-newlib-retargetable-locking Allow locking routines to be retargeted at link time], +[case "${enableval}" in + yes) newlib_retargetable_locking=yes ;; + no) newlib_retargetable_lock=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-retargetable-locking) ;; + esac],[newlib_retargetable_locking=no]) +AM_CONDITIONAL(NEWLIB_RETARGETABLE_LOCKING, test x$newlib_retargetable_locking = xyes) + +NEWLIB_CONFIGURE(..) + +AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_SUBDIRS(machine sys) + +CRT0= +if test "x${have_crt0}" = "xyes"; then + CRT0=crt0.o +fi +AC_SUBST(CRT0) + +dnl For each directory which we may or may not want, we define a name +dnl for the library and an automake conditional for whether we should +dnl build the library. + +LIBC_SIGNAL_LIB= +LIBC_SIGNAL_DEF= +if test -n "${signal_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_SIGNAL_LIB=${signal_dir}/lib${signal_dir}.${aext} + else + LIBC_SIGNAL_LIB=${signal_dir}/lib.${aext} + fi + LIBC_SIGNAL_DEF=${signal_dir}/stmp-def +fi +AC_SUBST(LIBC_SIGNAL_LIB) +AC_SUBST(LIBC_SIGNAL_DEF) +AM_CONDITIONAL(HAVE_SIGNAL_DIR, test x${signal_dir} != x) + +LIBC_STDIO_LIB= +LIBC_STDIO_DEF= +if test -n "${stdio_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_STDIO_LIB=${stdio_dir}/lib${stdio_dir}.${aext} + else + LIBC_STDIO_LIB=${stdio_dir}/lib.${aext} + fi + LIBC_STDIO_DEF=${stdio_dir}/stmp-def +fi +AC_SUBST(LIBC_STDIO_LIB) +AC_SUBST(LIBC_STDIO_DEF) +AM_CONDITIONAL(HAVE_STDIO_DIR, test x${stdio_dir} != x) + +LIBC_STDIO64_LIB= +LIBC_STDIO64_DEF= +if test -n "${stdio64_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_STDIO64_LIB=${stdio64_dir}/lib${stdio64_dir}.${aext} + else + LIBC_STDIO64_LIB=${stdio64_dir}/lib.${aext} + fi + LIBC_STDIO64_DEF=${stdio64_dir}/stmp-def +fi +AC_SUBST(LIBC_STDIO64_LIB) +AC_SUBST(LIBC_STDIO64_DEF) +AM_CONDITIONAL(HAVE_STDIO64_DIR, test x${stdio64_dir} != x) + +LIBC_POSIX_LIB= +LIBC_POSIX_DEF= +if test -n "${posix_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext} + else + LIBC_POSIX_LIB=${posix_dir}/lib.${aext} + fi + LIBC_POSIX_DEF=${posix_dir}/stmp-def +fi +AC_SUBST(LIBC_POSIX_LIB) +AC_SUBST(LIBC_POSIX_DEF) +AM_CONDITIONAL(HAVE_POSIX_DIR, test x${posix_dir} != x) + +LIBC_XDR_LIB= +LIBC_XDR_DEF= +if test -n "${xdr_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_XDR_LIB=${xdr_dir}/lib${xdr_dir}.${aext} + else + LIBC_XDR_LIB=${xdr_dir}/lib.${aext} + fi + LIBC_XDR_DEF=${xdr_dir}/stmp-def +fi +AC_SUBST(LIBC_XDR_LIB) +AC_SUBST(LIBC_XDR_DEF) +AM_CONDITIONAL(HAVE_XDR_DIR, test x${xdr_dir} != x) + +LIBC_SYSCALL_LIB= +if test -n "${syscall_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_SYSCALL_LIB=${syscall_dir}/lib${syscall_dir}.${aext} + else + LIBC_SYSCALL_LIB=${syscall_dir}/lib.${aext} + fi +fi +AC_SUBST(LIBC_SYSCALL_LIB) +AM_CONDITIONAL(HAVE_SYSCALL_DIR, test x${syscall_dir} != x) + +LIBC_UNIX_LIB= +if test -n "${unix_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_UNIX_LIB=${unix_dir}/lib${unix_dir}.${aext} + else + LIBC_UNIX_LIB=${unix_dir}/lib.${aext} + fi +fi +AC_SUBST(LIBC_UNIX_LIB) +AM_CONDITIONAL(HAVE_UNIX_DIR, test x${unix_dir} != x) + +LIBC_EXTRA_LIB= +LIBC_EXTRA_DEF= +extra_dir= + +AC_SUBST(LIBC_EXTRA_LIB) +AC_SUBST(LIBC_EXTRA_DEF) +AC_SUBST(extra_dir) + +dnl We always recur into sys and machine, and let them decide what to +dnl do. However, we do need to know whether they will produce a library. + +LIBC_SYS_LIB= +if test -n "${sys_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_SYS_LIB=sys/${sys_dir}/lib${sys_dir}.${aext} + else + LIBC_SYS_LIB=sys/lib.${aext} + fi +fi +AC_SUBST(LIBC_SYS_LIB) +AC_SUBST(sys_dir) + +dnl Autoconf 2.59 doesn't support the AC_TYPE_LONG_DOUBLE macro. Instead of: +dnl AC_TYPE_LONG_DOUBLE +dnl AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$ac_cv_type_long_double" = x"yes") +dnl we specify our own long double test. +AC_CACHE_CHECK([Checking long double support], [acnewlib_cv_type_long_double],[dnl +cat > conftest.c <&AS_MESSAGE_LOG_FD]) +then + acnewlib_cv_type_long_double=yes +else + acnewlib_cv_type_long_double=no +fi +rm -f conftest*]) +AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes") + +dnl iconv library will be compiled if --enable-newlib-iconv option is enabled +AM_CONDITIONAL(ENABLE_NEWLIB_ICONV, test x${newlib_iconv} != x) + +if test -n "${machine_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_MACHINE_LIB=machine/${machine_dir}/lib${machine_dir}.${aext} + else + LIBC_MACHINE_LIB=machine/lib.${aext} + fi +fi +AC_SUBST(LIBC_MACHINE_LIB) +AC_SUBST(machine_dir) +AC_SUBST(shared_machine_dir) + +AC_CONFIG_FILES([Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/Makefile xdr/Makefile]) +AC_OUTPUT diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in deleted file mode 100644 index 9b07a79..0000000 --- a/newlib/libc/configure.in +++ /dev/null @@ -1,224 +0,0 @@ -dnl This is the newlib/libc configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([sys.tex]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../..) - -dnl Support --enable-newlib-io-pos-args used by libc/stdio -AC_ARG_ENABLE(newlib-io-pos-args, -[ --enable-newlib-io-pos-args enable printf-family positional arg support], -[case "${enableval}" in - yes) newlib_io_pos_args=yes ;; - no) newlib_io_pos_args=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-io-pos-args option) ;; - esac], [newlib_io_pos_args=no])dnl - -dnl Support --enable-newlib-nano-malloc used by libc/stdlib -AC_ARG_ENABLE(newlib_nano_malloc, -[ --enable-newlib-nano-malloc Use small-footprint nano-malloc implementation], -[case "${enableval}" in - yes) newlib_nano_malloc=yes ;; - no) newlib_nano_malloc=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-malloc) ;; - esac],[newlib_nano_malloc=]) - -dnl Support --enable-newlib-nano-formatted-io used by libc/stdio -AC_ARG_ENABLE(newlib_nano_formatted_io, -[ --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation], -[case "${enableval}" in - yes) newlib_nano_formatted_io=yes ;; - no) newlib_nano_formatted_io=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; - esac],[newlib_nano_formatted_io=no]) -AM_CONDITIONAL(NEWLIB_NANO_FORMATTED_IO, test x$newlib_nano_formatted_io = xyes) - -dnl Support --enable-retargetable-locking used by libc/sys -AC_ARG_ENABLE(newlib-retargetable-locking, -[ --enable-newlib-retargetable-locking Allow locking routines to be retargeted at link time], -[case "${enableval}" in - yes) newlib_retargetable_locking=yes ;; - no) newlib_retargetable_lock=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-retargetable-locking) ;; - esac],[newlib_retargetable_locking=no]) -AM_CONDITIONAL(NEWLIB_RETARGETABLE_LOCKING, test x$newlib_retargetable_locking = xyes) - -NEWLIB_CONFIGURE(..) - -AM_CONDITIONAL(NEWLIB_NANO_MALLOC, test x$newlib_nano_malloc = xyes) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_SUBDIRS(machine sys) - -CRT0= -if test "x${have_crt0}" = "xyes"; then - CRT0=crt0.o -fi -AC_SUBST(CRT0) - -dnl For each directory which we may or may not want, we define a name -dnl for the library and an automake conditional for whether we should -dnl build the library. - -LIBC_SIGNAL_LIB= -LIBC_SIGNAL_DEF= -if test -n "${signal_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_SIGNAL_LIB=${signal_dir}/lib${signal_dir}.${aext} - else - LIBC_SIGNAL_LIB=${signal_dir}/lib.${aext} - fi - LIBC_SIGNAL_DEF=${signal_dir}/stmp-def -fi -AC_SUBST(LIBC_SIGNAL_LIB) -AC_SUBST(LIBC_SIGNAL_DEF) -AM_CONDITIONAL(HAVE_SIGNAL_DIR, test x${signal_dir} != x) - -LIBC_STDIO_LIB= -LIBC_STDIO_DEF= -if test -n "${stdio_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_STDIO_LIB=${stdio_dir}/lib${stdio_dir}.${aext} - else - LIBC_STDIO_LIB=${stdio_dir}/lib.${aext} - fi - LIBC_STDIO_DEF=${stdio_dir}/stmp-def -fi -AC_SUBST(LIBC_STDIO_LIB) -AC_SUBST(LIBC_STDIO_DEF) -AM_CONDITIONAL(HAVE_STDIO_DIR, test x${stdio_dir} != x) - -LIBC_STDIO64_LIB= -LIBC_STDIO64_DEF= -if test -n "${stdio64_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_STDIO64_LIB=${stdio64_dir}/lib${stdio64_dir}.${aext} - else - LIBC_STDIO64_LIB=${stdio64_dir}/lib.${aext} - fi - LIBC_STDIO64_DEF=${stdio64_dir}/stmp-def -fi -AC_SUBST(LIBC_STDIO64_LIB) -AC_SUBST(LIBC_STDIO64_DEF) -AM_CONDITIONAL(HAVE_STDIO64_DIR, test x${stdio64_dir} != x) - -LIBC_POSIX_LIB= -LIBC_POSIX_DEF= -if test -n "${posix_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext} - else - LIBC_POSIX_LIB=${posix_dir}/lib.${aext} - fi - LIBC_POSIX_DEF=${posix_dir}/stmp-def -fi -AC_SUBST(LIBC_POSIX_LIB) -AC_SUBST(LIBC_POSIX_DEF) -AM_CONDITIONAL(HAVE_POSIX_DIR, test x${posix_dir} != x) - -LIBC_XDR_LIB= -LIBC_XDR_DEF= -if test -n "${xdr_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_XDR_LIB=${xdr_dir}/lib${xdr_dir}.${aext} - else - LIBC_XDR_LIB=${xdr_dir}/lib.${aext} - fi - LIBC_XDR_DEF=${xdr_dir}/stmp-def -fi -AC_SUBST(LIBC_XDR_LIB) -AC_SUBST(LIBC_XDR_DEF) -AM_CONDITIONAL(HAVE_XDR_DIR, test x${xdr_dir} != x) - -LIBC_SYSCALL_LIB= -if test -n "${syscall_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_SYSCALL_LIB=${syscall_dir}/lib${syscall_dir}.${aext} - else - LIBC_SYSCALL_LIB=${syscall_dir}/lib.${aext} - fi -fi -AC_SUBST(LIBC_SYSCALL_LIB) -AM_CONDITIONAL(HAVE_SYSCALL_DIR, test x${syscall_dir} != x) - -LIBC_UNIX_LIB= -if test -n "${unix_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_UNIX_LIB=${unix_dir}/lib${unix_dir}.${aext} - else - LIBC_UNIX_LIB=${unix_dir}/lib.${aext} - fi -fi -AC_SUBST(LIBC_UNIX_LIB) -AM_CONDITIONAL(HAVE_UNIX_DIR, test x${unix_dir} != x) - -LIBC_EXTRA_LIB= -LIBC_EXTRA_DEF= -extra_dir= - -AC_SUBST(LIBC_EXTRA_LIB) -AC_SUBST(LIBC_EXTRA_DEF) -AC_SUBST(extra_dir) - -dnl We always recur into sys and machine, and let them decide what to -dnl do. However, we do need to know whether they will produce a library. - -LIBC_SYS_LIB= -if test -n "${sys_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_SYS_LIB=sys/${sys_dir}/lib${sys_dir}.${aext} - else - LIBC_SYS_LIB=sys/lib.${aext} - fi -fi -AC_SUBST(LIBC_SYS_LIB) -AC_SUBST(sys_dir) - -dnl Autoconf 2.59 doesn't support the AC_TYPE_LONG_DOUBLE macro. Instead of: -dnl AC_TYPE_LONG_DOUBLE -dnl AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$ac_cv_type_long_double" = x"yes") -dnl we specify our own long double test. -AC_CACHE_CHECK([Checking long double support], [acnewlib_cv_type_long_double],[dnl -cat > conftest.c <&AS_MESSAGE_LOG_FD]) -then - acnewlib_cv_type_long_double=yes -else - acnewlib_cv_type_long_double=no -fi -rm -f conftest*]) -AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes") - -dnl iconv library will be compiled if --enable-newlib-iconv option is enabled -AM_CONDITIONAL(ENABLE_NEWLIB_ICONV, test x${newlib_iconv} != x) - -if test -n "${machine_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBC_MACHINE_LIB=machine/${machine_dir}/lib${machine_dir}.${aext} - else - LIBC_MACHINE_LIB=machine/lib.${aext} - fi -fi -AC_SUBST(LIBC_MACHINE_LIB) -AC_SUBST(machine_dir) -AC_SUBST(shared_machine_dir) - -AC_CONFIG_FILES([Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile ssp/Makefile xdr/Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/a29k/configure.ac b/newlib/libc/machine/a29k/configure.ac new file mode 100644 index 0000000..1cd963d --- /dev/null +++ b/newlib/libc/machine/a29k/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/a29k configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/a29k/configure.in b/newlib/libc/machine/a29k/configure.in deleted file mode 100644 index 1cd963d..0000000 --- a/newlib/libc/machine/a29k/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/a29k configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/aarch64/configure.ac b/newlib/libc/machine/aarch64/configure.ac new file mode 100644 index 0000000..25415c8 --- /dev/null +++ b/newlib/libc/machine/aarch64/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/aarch64 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/aarch64/configure.in b/newlib/libc/machine/aarch64/configure.in deleted file mode 100644 index 25415c8..0000000 --- a/newlib/libc/machine/aarch64/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/aarch64 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/amdgcn/configure.ac b/newlib/libc/machine/amdgcn/configure.ac new file mode 100644 index 0000000..028e9d7 --- /dev/null +++ b/newlib/libc/machine/amdgcn/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/amdgcn configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/amdgcn/configure.in b/newlib/libc/machine/amdgcn/configure.in deleted file mode 100644 index 028e9d7..0000000 --- a/newlib/libc/machine/amdgcn/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/amdgcn configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/arc/configure.ac b/newlib/libc/machine/arc/configure.ac new file mode 100644 index 0000000..0c7c179 --- /dev/null +++ b/newlib/libc/machine/arc/configure.ac @@ -0,0 +1,13 @@ +dnl This is the newlib/libc/machine/arc configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_OUTPUT(Makefile) diff --git a/newlib/libc/machine/arc/configure.in b/newlib/libc/machine/arc/configure.in deleted file mode 100644 index 0c7c179..0000000 --- a/newlib/libc/machine/arc/configure.in +++ /dev/null @@ -1,13 +0,0 @@ -dnl This is the newlib/libc/machine/arc configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_OUTPUT(Makefile) diff --git a/newlib/libc/machine/arm/configure.ac b/newlib/libc/machine/arm/configure.ac new file mode 100644 index 0000000..833b197 --- /dev/null +++ b/newlib/libc/machine/arm/configure.ac @@ -0,0 +1,16 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_SUBST(CFLAGS) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/arm/configure.in b/newlib/libc/machine/arm/configure.in deleted file mode 100644 index 833b197..0000000 --- a/newlib/libc/machine/arm/configure.in +++ /dev/null @@ -1,16 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_SUBST(CFLAGS) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/bfin/configure.ac b/newlib/libc/machine/bfin/configure.ac new file mode 100644 index 0000000..0eb8a45 --- /dev/null +++ b/newlib/libc/machine/bfin/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/bfin configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/bfin/configure.in b/newlib/libc/machine/bfin/configure.in deleted file mode 100644 index 0eb8a45..0000000 --- a/newlib/libc/machine/bfin/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/bfin configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/configure.ac b/newlib/libc/machine/configure.ac new file mode 100644 index 0000000..38d1b2b --- /dev/null +++ b/newlib/libc/machine/configure.ac @@ -0,0 +1,91 @@ +dnl This is the newlib/libc/machine configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([d10v]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../..) + +NEWLIB_CONFIGURE(../..) + +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. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +if test -n "${machine_dir}"; then + case ${machine_dir} in + a29k) AC_CONFIG_SUBDIRS(a29k) ;; + aarch64) AC_CONFIG_SUBDIRS(aarch64) ;; + amdgcn) AC_CONFIG_SUBDIRS(amdgcn) ;; + arc) AC_CONFIG_SUBDIRS(arc) ;; + arm) AC_CONFIG_SUBDIRS(arm) ;; + bfin) AC_CONFIG_SUBDIRS(bfin) ;; + cr16) AC_CONFIG_SUBDIRS(cr16) ;; + cris) AC_CONFIG_SUBDIRS(cris) ;; + crx) AC_CONFIG_SUBDIRS(crx) ;; + csky) AC_CONFIG_SUBDIRS(csky) ;; + d10v) AC_CONFIG_SUBDIRS(d10v) ;; + d30v) AC_CONFIG_SUBDIRS(d30v) ;; + epiphany) AC_CONFIG_SUBDIRS(epiphany) ;; + fr30) AC_CONFIG_SUBDIRS(fr30) ;; + frv) AC_CONFIG_SUBDIRS(frv) ;; + ft32) AC_CONFIG_SUBDIRS(ft32) ;; + 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) ;; + lm32) AC_CONFIG_SUBDIRS(lm32) ;; + 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) ;; + mep ) AC_CONFIG_SUBDIRS(mep) ;; + microblaze ) AC_CONFIG_SUBDIRS(microblaze) ;; + mips) AC_CONFIG_SUBDIRS(mips) ;; + riscv) AC_CONFIG_SUBDIRS(riscv) ;; + mn10200) AC_CONFIG_SUBDIRS(mn10200) ;; + mn10300) AC_CONFIG_SUBDIRS(mn10300) ;; + moxie) AC_CONFIG_SUBDIRS(moxie) ;; + msp430) AC_CONFIG_SUBDIRS(msp430) ;; + mt) AC_CONFIG_SUBDIRS(mt) ;; + nds32) AC_CONFIG_SUBDIRS(nds32) ;; + necv70) AC_CONFIG_SUBDIRS(necv70) ;; + nios2) AC_CONFIG_SUBDIRS(nios2) ;; + nvptx) AC_CONFIG_SUBDIRS(nvptx) ;; + or1k) AC_CONFIG_SUBDIRS(or1k) ;; + powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; + pru) AC_CONFIG_SUBDIRS(pru) ;; + rl78) AC_CONFIG_SUBDIRS(rl78) ;; + rx) AC_CONFIG_SUBDIRS(rx) ;; + sh) AC_CONFIG_SUBDIRS(sh) ;; + sparc) AC_CONFIG_SUBDIRS(sparc) ;; + spu) AC_CONFIG_SUBDIRS(spu) ;; + tic4x) AC_CONFIG_SUBDIRS(tic4x) ;; + tic6x) AC_CONFIG_SUBDIRS(tic6x) ;; + tic80) AC_CONFIG_SUBDIRS(tic80) ;; + v850) AC_CONFIG_SUBDIRS(v850) ;; + visium) AC_CONFIG_SUBDIRS(visium) ;; + w65) AC_CONFIG_SUBDIRS(w65) ;; + x86_64) AC_CONFIG_SUBDIRS(x86_64) ;; + xc16x) AC_CONFIG_SUBDIRS(xc16x) ;; + xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;; + z8k) AC_CONFIG_SUBDIRS(z8k) ;; + esac; +fi + +AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/configure.in b/newlib/libc/machine/configure.in deleted file mode 100644 index 38d1b2b..0000000 --- a/newlib/libc/machine/configure.in +++ /dev/null @@ -1,91 +0,0 @@ -dnl This is the newlib/libc/machine configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([d10v]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../..) - -NEWLIB_CONFIGURE(../..) - -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. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -if test -n "${machine_dir}"; then - case ${machine_dir} in - a29k) AC_CONFIG_SUBDIRS(a29k) ;; - aarch64) AC_CONFIG_SUBDIRS(aarch64) ;; - amdgcn) AC_CONFIG_SUBDIRS(amdgcn) ;; - arc) AC_CONFIG_SUBDIRS(arc) ;; - arm) AC_CONFIG_SUBDIRS(arm) ;; - bfin) AC_CONFIG_SUBDIRS(bfin) ;; - cr16) AC_CONFIG_SUBDIRS(cr16) ;; - cris) AC_CONFIG_SUBDIRS(cris) ;; - crx) AC_CONFIG_SUBDIRS(crx) ;; - csky) AC_CONFIG_SUBDIRS(csky) ;; - d10v) AC_CONFIG_SUBDIRS(d10v) ;; - d30v) AC_CONFIG_SUBDIRS(d30v) ;; - epiphany) AC_CONFIG_SUBDIRS(epiphany) ;; - fr30) AC_CONFIG_SUBDIRS(fr30) ;; - frv) AC_CONFIG_SUBDIRS(frv) ;; - ft32) AC_CONFIG_SUBDIRS(ft32) ;; - 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) ;; - lm32) AC_CONFIG_SUBDIRS(lm32) ;; - 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) ;; - mep ) AC_CONFIG_SUBDIRS(mep) ;; - microblaze ) AC_CONFIG_SUBDIRS(microblaze) ;; - mips) AC_CONFIG_SUBDIRS(mips) ;; - riscv) AC_CONFIG_SUBDIRS(riscv) ;; - mn10200) AC_CONFIG_SUBDIRS(mn10200) ;; - mn10300) AC_CONFIG_SUBDIRS(mn10300) ;; - moxie) AC_CONFIG_SUBDIRS(moxie) ;; - msp430) AC_CONFIG_SUBDIRS(msp430) ;; - mt) AC_CONFIG_SUBDIRS(mt) ;; - nds32) AC_CONFIG_SUBDIRS(nds32) ;; - necv70) AC_CONFIG_SUBDIRS(necv70) ;; - nios2) AC_CONFIG_SUBDIRS(nios2) ;; - nvptx) AC_CONFIG_SUBDIRS(nvptx) ;; - or1k) AC_CONFIG_SUBDIRS(or1k) ;; - powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; - pru) AC_CONFIG_SUBDIRS(pru) ;; - rl78) AC_CONFIG_SUBDIRS(rl78) ;; - rx) AC_CONFIG_SUBDIRS(rx) ;; - sh) AC_CONFIG_SUBDIRS(sh) ;; - sparc) AC_CONFIG_SUBDIRS(sparc) ;; - spu) AC_CONFIG_SUBDIRS(spu) ;; - tic4x) AC_CONFIG_SUBDIRS(tic4x) ;; - tic6x) AC_CONFIG_SUBDIRS(tic6x) ;; - tic80) AC_CONFIG_SUBDIRS(tic80) ;; - v850) AC_CONFIG_SUBDIRS(v850) ;; - visium) AC_CONFIG_SUBDIRS(visium) ;; - w65) AC_CONFIG_SUBDIRS(w65) ;; - x86_64) AC_CONFIG_SUBDIRS(x86_64) ;; - xc16x) AC_CONFIG_SUBDIRS(xc16x) ;; - xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;; - z8k) AC_CONFIG_SUBDIRS(z8k) ;; - esac; -fi - -AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/cr16/configure.ac b/newlib/libc/machine/cr16/configure.ac new file mode 100644 index 0000000..6236338 --- /dev/null +++ b/newlib/libc/machine/cr16/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/cr16/configure.in b/newlib/libc/machine/cr16/configure.in deleted file mode 100644 index 6236338..0000000 --- a/newlib/libc/machine/cr16/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/cris/configure.ac b/newlib/libc/machine/cris/configure.ac new file mode 100644 index 0000000..422c51a --- /dev/null +++ b/newlib/libc/machine/cris/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/cris configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/cris/configure.in b/newlib/libc/machine/cris/configure.in deleted file mode 100644 index 422c51a..0000000 --- a/newlib/libc/machine/cris/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/cris configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/crx/configure.ac b/newlib/libc/machine/crx/configure.ac new file mode 100644 index 0000000..6236338 --- /dev/null +++ b/newlib/libc/machine/crx/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/crx/configure.in b/newlib/libc/machine/crx/configure.in deleted file mode 100644 index 6236338..0000000 --- a/newlib/libc/machine/crx/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/csky/configure.ac b/newlib/libc/machine/csky/configure.ac new file mode 100644 index 0000000..026f6b5 --- /dev/null +++ b/newlib/libc/machine/csky/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/csky configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/csky/configure.in b/newlib/libc/machine/csky/configure.in deleted file mode 100644 index 026f6b5..0000000 --- a/newlib/libc/machine/csky/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/csky configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/d10v/configure.ac b/newlib/libc/machine/d10v/configure.ac new file mode 100644 index 0000000..b3ff20e --- /dev/null +++ b/newlib/libc/machine/d10v/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/d10v configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/d10v/configure.in b/newlib/libc/machine/d10v/configure.in deleted file mode 100644 index b3ff20e..0000000 --- a/newlib/libc/machine/d10v/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/d10v configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/d30v/configure.ac b/newlib/libc/machine/d30v/configure.ac new file mode 100644 index 0000000..087bc55 --- /dev/null +++ b/newlib/libc/machine/d30v/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/d30v configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/d30v/configure.in b/newlib/libc/machine/d30v/configure.in deleted file mode 100644 index 087bc55..0000000 --- a/newlib/libc/machine/d30v/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/d30v configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/epiphany/configure.ac b/newlib/libc/machine/epiphany/configure.ac new file mode 100644 index 0000000..c9d85b8 --- /dev/null +++ b/newlib/libc/machine/epiphany/configure.ac @@ -0,0 +1,41 @@ +dnl This is the newlib/libc/machine/epiphany configure.in file. + +dnl Copyright (c) 2011, 2012 Adapteva, Inc. +dnl All rights reserved. + +dnl Redistribution and use in source and binary forms, with or without +dnl modification, are permitted provided that the following conditions are met: +dnl * Redistributions of source code must retain the above copyright notice, +dnl this list of conditions and the following disclaimer. +dnl * Redistributions in binary form must reproduce the above copyright +dnl notice, this list of conditions and the following disclaimer in the +dnl documentation and/or other materials provided with the distribution. +dnl * Neither the name of Adapteva nor the names of its contributors may be +dnl used to endorse or promote products derived from this software without +dnl specific prior written permission. + +dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +dnl POSSIBILITY OF SUCH DAMAGE. + +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/epiphany/configure.in b/newlib/libc/machine/epiphany/configure.in deleted file mode 100644 index c9d85b8..0000000 --- a/newlib/libc/machine/epiphany/configure.in +++ /dev/null @@ -1,41 +0,0 @@ -dnl This is the newlib/libc/machine/epiphany configure.in file. - -dnl Copyright (c) 2011, 2012 Adapteva, Inc. -dnl All rights reserved. - -dnl Redistribution and use in source and binary forms, with or without -dnl modification, are permitted provided that the following conditions are met: -dnl * Redistributions of source code must retain the above copyright notice, -dnl this list of conditions and the following disclaimer. -dnl * Redistributions in binary form must reproduce the above copyright -dnl notice, this list of conditions and the following disclaimer in the -dnl documentation and/or other materials provided with the distribution. -dnl * Neither the name of Adapteva nor the names of its contributors may be -dnl used to endorse or promote products derived from this software without -dnl specific prior written permission. - -dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -dnl POSSIBILITY OF SUCH DAMAGE. - -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/fr30/configure.ac b/newlib/libc/machine/fr30/configure.ac new file mode 100644 index 0000000..6236338 --- /dev/null +++ b/newlib/libc/machine/fr30/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/fr30/configure.in b/newlib/libc/machine/fr30/configure.in deleted file mode 100644 index 6236338..0000000 --- a/newlib/libc/machine/fr30/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/frv/configure.ac b/newlib/libc/machine/frv/configure.ac new file mode 100644 index 0000000..6236338 --- /dev/null +++ b/newlib/libc/machine/frv/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/frv/configure.in b/newlib/libc/machine/frv/configure.in deleted file mode 100644 index 6236338..0000000 --- a/newlib/libc/machine/frv/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/ft32/configure.ac b/newlib/libc/machine/ft32/configure.ac new file mode 100644 index 0000000..1a19430 --- /dev/null +++ b/newlib/libc/machine/ft32/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/ft32/configure.in b/newlib/libc/machine/ft32/configure.in deleted file mode 100644 index 1a19430..0000000 --- a/newlib/libc/machine/ft32/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/h8300/configure.ac b/newlib/libc/machine/h8300/configure.ac new file mode 100644 index 0000000..c6a268a --- /dev/null +++ b/newlib/libc/machine/h8300/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/h8300 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([memcpy.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/h8300/configure.in b/newlib/libc/machine/h8300/configure.in deleted file mode 100644 index c6a268a..0000000 --- a/newlib/libc/machine/h8300/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/h8300 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([memcpy.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/h8500/configure.ac b/newlib/libc/machine/h8500/configure.ac new file mode 100644 index 0000000..feca581 --- /dev/null +++ b/newlib/libc/machine/h8500/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/h8500 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([cmpsi.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/h8500/configure.in b/newlib/libc/machine/h8500/configure.in deleted file mode 100644 index feca581..0000000 --- a/newlib/libc/machine/h8500/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/h8500 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([cmpsi.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/hppa/configure.ac b/newlib/libc/machine/hppa/configure.ac new file mode 100644 index 0000000..c2c1c18 --- /dev/null +++ b/newlib/libc/machine/hppa/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/hppa configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([memchr.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/hppa/configure.in b/newlib/libc/machine/hppa/configure.in deleted file mode 100644 index c2c1c18..0000000 --- a/newlib/libc/machine/hppa/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/hppa configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([memchr.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/i386/configure.ac b/newlib/libc/machine/i386/configure.ac new file mode 100644 index 0000000..6ec2001 --- /dev/null +++ b/newlib/libc/machine/i386/configure.ac @@ -0,0 +1,27 @@ +dnl This is the newlib/libc/machine/i386 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +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 code must occur after +dnl NEWLIB_CONFIGURE. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AM_CONDITIONAL(MACH_ADD_SETJMP, test "x$mach_add_setjmp" = 'xtrue') + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/i386/configure.in b/newlib/libc/machine/i386/configure.in deleted file mode 100644 index 6ec2001..0000000 --- a/newlib/libc/machine/i386/configure.in +++ /dev/null @@ -1,27 +0,0 @@ -dnl This is the newlib/libc/machine/i386 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -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 code must occur after -dnl NEWLIB_CONFIGURE. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AM_CONDITIONAL(MACH_ADD_SETJMP, test "x$mach_add_setjmp" = 'xtrue') - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/i960/configure.ac b/newlib/libc/machine/i960/configure.ac new file mode 100644 index 0000000..4374946 --- /dev/null +++ b/newlib/libc/machine/i960/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/i960 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([memccpy_ca.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/i960/configure.in b/newlib/libc/machine/i960/configure.in deleted file mode 100644 index 4374946..0000000 --- a/newlib/libc/machine/i960/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/i960 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([memccpy_ca.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/iq2000/configure.ac b/newlib/libc/machine/iq2000/configure.ac new file mode 100644 index 0000000..77603f6 --- /dev/null +++ b/newlib/libc/machine/iq2000/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/iq2000 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/iq2000/configure.in b/newlib/libc/machine/iq2000/configure.in deleted file mode 100644 index 77603f6..0000000 --- a/newlib/libc/machine/iq2000/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/iq2000 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/lm32/configure.ac b/newlib/libc/machine/lm32/configure.ac new file mode 100644 index 0000000..48bf929 --- /dev/null +++ b/newlib/libc/machine/lm32/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/lm32 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/lm32/configure.in b/newlib/libc/machine/lm32/configure.in deleted file mode 100644 index 48bf929..0000000 --- a/newlib/libc/machine/lm32/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/lm32 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/m32c/configure.ac b/newlib/libc/machine/m32c/configure.ac new file mode 100644 index 0000000..ba3edfa --- /dev/null +++ b/newlib/libc/machine/m32c/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/m32r configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/m32c/configure.in b/newlib/libc/machine/m32c/configure.in deleted file mode 100644 index ba3edfa..0000000 --- a/newlib/libc/machine/m32c/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/m32r configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/m32r/configure.ac b/newlib/libc/machine/m32r/configure.ac new file mode 100644 index 0000000..ba3edfa --- /dev/null +++ b/newlib/libc/machine/m32r/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/m32r configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/m32r/configure.in b/newlib/libc/machine/m32r/configure.in deleted file mode 100644 index ba3edfa..0000000 --- a/newlib/libc/machine/m32r/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/m32r configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/m68hc11/configure.ac b/newlib/libc/machine/m68hc11/configure.ac new file mode 100644 index 0000000..f41f6bf --- /dev/null +++ b/newlib/libc/machine/m68hc11/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/m68hc11 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/m68hc11/configure.in b/newlib/libc/machine/m68hc11/configure.in deleted file mode 100644 index f41f6bf..0000000 --- a/newlib/libc/machine/m68hc11/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/m68hc11 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/m68k/configure.ac b/newlib/libc/machine/m68k/configure.ac new file mode 100644 index 0000000..6bce3d4 --- /dev/null +++ b/newlib/libc/machine/m68k/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/m68k configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/m68k/configure.in b/newlib/libc/machine/m68k/configure.in deleted file mode 100644 index 6bce3d4..0000000 --- a/newlib/libc/machine/m68k/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/m68k configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/m88k/configure.ac b/newlib/libc/machine/m88k/configure.ac new file mode 100644 index 0000000..72b0561 --- /dev/null +++ b/newlib/libc/machine/m88k/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/m88k configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/m88k/configure.in b/newlib/libc/machine/m88k/configure.in deleted file mode 100644 index 72b0561..0000000 --- a/newlib/libc/machine/m88k/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/m88k configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/mep/configure.ac b/newlib/libc/machine/mep/configure.ac new file mode 100644 index 0000000..3d20c8e --- /dev/null +++ b/newlib/libc/machine/mep/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mep configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/mep/configure.in b/newlib/libc/machine/mep/configure.in deleted file mode 100644 index 3d20c8e..0000000 --- a/newlib/libc/machine/mep/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mep configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/microblaze/configure.ac b/newlib/libc/machine/microblaze/configure.ac new file mode 100644 index 0000000..d9a1581 --- /dev/null +++ b/newlib/libc/machine/microblaze/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/microblaze configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([strcmp.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/microblaze/configure.in b/newlib/libc/machine/microblaze/configure.in deleted file mode 100644 index d9a1581..0000000 --- a/newlib/libc/machine/microblaze/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/microblaze configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([strcmp.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/mips/configure.ac b/newlib/libc/machine/mips/configure.ac new file mode 100644 index 0000000..fc4f115 --- /dev/null +++ b/newlib/libc/machine/mips/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mips configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/mips/configure.in b/newlib/libc/machine/mips/configure.in deleted file mode 100644 index fc4f115..0000000 --- a/newlib/libc/machine/mips/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mips configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/mn10200/configure.ac b/newlib/libc/machine/mn10200/configure.ac new file mode 100644 index 0000000..0898c3c --- /dev/null +++ b/newlib/libc/machine/mn10200/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mn10200 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/mn10200/configure.in b/newlib/libc/machine/mn10200/configure.in deleted file mode 100644 index 0898c3c..0000000 --- a/newlib/libc/machine/mn10200/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mn10200 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/mn10300/configure.ac b/newlib/libc/machine/mn10300/configure.ac new file mode 100644 index 0000000..67ca118 --- /dev/null +++ b/newlib/libc/machine/mn10300/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mn10300 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([memchr.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/mn10300/configure.in b/newlib/libc/machine/mn10300/configure.in deleted file mode 100644 index 67ca118..0000000 --- a/newlib/libc/machine/mn10300/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mn10300 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([memchr.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/moxie/configure.ac b/newlib/libc/machine/moxie/configure.ac new file mode 100644 index 0000000..6236338 --- /dev/null +++ b/newlib/libc/machine/moxie/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/moxie/configure.in b/newlib/libc/machine/moxie/configure.in deleted file mode 100644 index 6236338..0000000 --- a/newlib/libc/machine/moxie/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/msp430/configure.ac b/newlib/libc/machine/msp430/configure.ac new file mode 100644 index 0000000..4c0f864 --- /dev/null +++ b/newlib/libc/machine/msp430/configure.ac @@ -0,0 +1,38 @@ +# Copyright (c) 2013 Red Hat, Inc. All rights reserved. +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the BSD License. This program is distributed in the hope that +# it will be useful, but WITHOUT ANY WARRANTY expressed or implied, +# including the implied warranties of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. A copy of this license is available at +# http://www.opensource.org/licenses. Any Red Hat trademarks that are +# incorporated in the source code or documentation are not subject to +# the BSD License and may only be used or replicated with the express +# permission of Red Hat, Inc. + +dnl This is the newlib/libc/machine/msp430 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +dnl Support --enable-newlib-nano-formatted-io required by tiny-printf.c +dnl and tiny-puts.c +AC_ARG_ENABLE(newlib_nano_formatted_io, +[ --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation], +[case "${enableval}" in + yes) newlib_nano_formatted_io=yes ;; + no) newlib_nano_formatted_io=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; + esac],[newlib_nano_formatted_io=no]) +AM_CONDITIONAL(NEWLIB_NANO_FORMATTED_IO, test x$newlib_nano_formatted_io = xyes) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/msp430/configure.in b/newlib/libc/machine/msp430/configure.in deleted file mode 100644 index 4c0f864..0000000 --- a/newlib/libc/machine/msp430/configure.in +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright (c) 2013 Red Hat, Inc. All rights reserved. -# -# This copyrighted material is made available to anyone wishing to use, -# modify, copy, or redistribute it subject to the terms and conditions -# of the BSD License. This program is distributed in the hope that -# it will be useful, but WITHOUT ANY WARRANTY expressed or implied, -# including the implied warranties of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. A copy of this license is available at -# http://www.opensource.org/licenses. Any Red Hat trademarks that are -# incorporated in the source code or documentation are not subject to -# the BSD License and may only be used or replicated with the express -# permission of Red Hat, Inc. - -dnl This is the newlib/libc/machine/msp430 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -dnl Support --enable-newlib-nano-formatted-io required by tiny-printf.c -dnl and tiny-puts.c -AC_ARG_ENABLE(newlib_nano_formatted_io, -[ --enable-newlib-nano-formatted-io Use small-footprint nano-formatted-IO implementation], -[case "${enableval}" in - yes) newlib_nano_formatted_io=yes ;; - no) newlib_nano_formatted_io=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for newlib-nano-formatted-io) ;; - esac],[newlib_nano_formatted_io=no]) -AM_CONDITIONAL(NEWLIB_NANO_FORMATTED_IO, test x$newlib_nano_formatted_io = xyes) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/mt/configure.ac b/newlib/libc/machine/mt/configure.ac new file mode 100644 index 0000000..2c5506e --- /dev/null +++ b/newlib/libc/machine/mt/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mt configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/mt/configure.in b/newlib/libc/machine/mt/configure.in deleted file mode 100644 index 2c5506e..0000000 --- a/newlib/libc/machine/mt/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mt configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/nds32/configure.ac b/newlib/libc/machine/nds32/configure.ac new file mode 100644 index 0000000..7b1a073 --- /dev/null +++ b/newlib/libc/machine/nds32/configure.ac @@ -0,0 +1,26 @@ +dnl This is the newlib/libc/machine/nds32 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +dnl Use builtin macro to detect if this is for "AndeStar ISA V3m". +AC_NO_EXECUTABLES +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( +[[#ifdef __NDS32_ISA_V3M__ +warning: This is nds32_isa_v3m. +#endif +]])], + [is_nds32_isa_v3m="no"], + [is_nds32_isa_v3m="yes"]) +AM_CONDITIONAL(IS_NDS32_ISA_V3M, test "$is_nds32_isa_v3m" = "yes") + + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/nds32/configure.in b/newlib/libc/machine/nds32/configure.in deleted file mode 100644 index 7b1a073..0000000 --- a/newlib/libc/machine/nds32/configure.in +++ /dev/null @@ -1,26 +0,0 @@ -dnl This is the newlib/libc/machine/nds32 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -dnl Use builtin macro to detect if this is for "AndeStar ISA V3m". -AC_NO_EXECUTABLES -AC_COMPILE_IFELSE([AC_LANG_PROGRAM( -[[#ifdef __NDS32_ISA_V3M__ -warning: This is nds32_isa_v3m. -#endif -]])], - [is_nds32_isa_v3m="no"], - [is_nds32_isa_v3m="yes"]) -AM_CONDITIONAL(IS_NDS32_ISA_V3M, test "$is_nds32_isa_v3m" = "yes") - - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/necv70/configure.ac b/newlib/libc/machine/necv70/configure.ac new file mode 100644 index 0000000..bbdb8b4 --- /dev/null +++ b/newlib/libc/machine/necv70/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/necv70 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([fastmath.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/necv70/configure.in b/newlib/libc/machine/necv70/configure.in deleted file mode 100644 index bbdb8b4..0000000 --- a/newlib/libc/machine/necv70/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/necv70 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([fastmath.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/nios2/configure.ac b/newlib/libc/machine/nios2/configure.ac new file mode 100644 index 0000000..4d505d6 --- /dev/null +++ b/newlib/libc/machine/nios2/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/nios2 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/nios2/configure.in b/newlib/libc/machine/nios2/configure.in deleted file mode 100644 index 4d505d6..0000000 --- a/newlib/libc/machine/nios2/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/nios2 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/nvptx/configure.ac b/newlib/libc/machine/nvptx/configure.ac new file mode 100644 index 0000000..f31b655 --- /dev/null +++ b/newlib/libc/machine/nvptx/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/nvptx configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/nvptx/configure.in b/newlib/libc/machine/nvptx/configure.in deleted file mode 100644 index f31b655..0000000 --- a/newlib/libc/machine/nvptx/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/nvptx configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/or1k/configure.ac b/newlib/libc/machine/or1k/configure.ac new file mode 100644 index 0000000..528fe44 --- /dev/null +++ b/newlib/libc/machine/or1k/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/or1k configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/or1k/configure.in b/newlib/libc/machine/or1k/configure.in deleted file mode 100644 index 528fe44..0000000 --- a/newlib/libc/machine/or1k/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/or1k configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/powerpc/configure.ac b/newlib/libc/machine/powerpc/configure.ac new file mode 100644 index 0000000..f7f707a --- /dev/null +++ b/newlib/libc/machine/powerpc/configure.ac @@ -0,0 +1,25 @@ +dnl This is the newlib/libc/machine/powerpc configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +extra_objs= +case $host in + powerpc*-*altivec*) + extra_objs="lib_a-vfprintf.o lib_a-vfscanf.o lib_a-vec_malloc.o lib_a-vec_calloc.o lib_a-vec_free.o lib_a-vec_realloc.o lib_a-vec_mallocr.o lib_a-vec_callocr.o lib_a-vec_reallocr.o" + ;; + powerpc*-*spe*) + extra_objs="lib_a-atosfix16.o lib_a-atosfix32.o lib_a-atosfix64.o lib_a-atoufix16.o lib_a-atoufix32.o lib_a-atoufix64.o lib_a-simdldtoa.o lib_a-strtosfix16.o lib_a-strtosfix32.o lib_a-strtosfix64.o lib_a-strtoufix16.o lib_a-strtoufix32.o lib_a-strtoufix64.o lib_a-ufix64toa.o lib_a-vfprintf.o lib_a-vfscanf.o" + ;; +esac +AC_SUBST(extra_objs) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/powerpc/configure.in b/newlib/libc/machine/powerpc/configure.in deleted file mode 100644 index f7f707a..0000000 --- a/newlib/libc/machine/powerpc/configure.in +++ /dev/null @@ -1,25 +0,0 @@ -dnl This is the newlib/libc/machine/powerpc configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -extra_objs= -case $host in - powerpc*-*altivec*) - extra_objs="lib_a-vfprintf.o lib_a-vfscanf.o lib_a-vec_malloc.o lib_a-vec_calloc.o lib_a-vec_free.o lib_a-vec_realloc.o lib_a-vec_mallocr.o lib_a-vec_callocr.o lib_a-vec_reallocr.o" - ;; - powerpc*-*spe*) - extra_objs="lib_a-atosfix16.o lib_a-atosfix32.o lib_a-atosfix64.o lib_a-atoufix16.o lib_a-atoufix32.o lib_a-atoufix64.o lib_a-simdldtoa.o lib_a-strtosfix16.o lib_a-strtosfix32.o lib_a-strtosfix64.o lib_a-strtoufix16.o lib_a-strtoufix32.o lib_a-strtoufix64.o lib_a-ufix64toa.o lib_a-vfprintf.o lib_a-vfscanf.o" - ;; -esac -AC_SUBST(extra_objs) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/pru/configure.ac b/newlib/libc/machine/pru/configure.ac new file mode 100644 index 0000000..d6eea0e --- /dev/null +++ b/newlib/libc/machine/pru/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/pru configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/pru/configure.in b/newlib/libc/machine/pru/configure.in deleted file mode 100644 index d6eea0e..0000000 --- a/newlib/libc/machine/pru/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/pru configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/riscv/configure.ac b/newlib/libc/machine/riscv/configure.ac new file mode 100644 index 0000000..0404233 --- /dev/null +++ b/newlib/libc/machine/riscv/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mips configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([memset.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/riscv/configure.in b/newlib/libc/machine/riscv/configure.in deleted file mode 100644 index 0404233..0000000 --- a/newlib/libc/machine/riscv/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mips configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([memset.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/rl78/configure.ac b/newlib/libc/machine/rl78/configure.ac new file mode 100644 index 0000000..338a728 --- /dev/null +++ b/newlib/libc/machine/rl78/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/rl78 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/rl78/configure.in b/newlib/libc/machine/rl78/configure.in deleted file mode 100644 index 338a728..0000000 --- a/newlib/libc/machine/rl78/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/rl78 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/rx/configure.ac b/newlib/libc/machine/rx/configure.ac new file mode 100644 index 0000000..2c5506e --- /dev/null +++ b/newlib/libc/machine/rx/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/mt configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/rx/configure.in b/newlib/libc/machine/rx/configure.in deleted file mode 100644 index 2c5506e..0000000 --- a/newlib/libc/machine/rx/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/mt configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/sh/configure.ac b/newlib/libc/machine/sh/configure.ac new file mode 100644 index 0000000..0adc8d6 --- /dev/null +++ b/newlib/libc/machine/sh/configure.ac @@ -0,0 +1,23 @@ +dnl This is the newlib/libc/machine/sh configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([asm.h]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +AC_NO_EXECUTABLES + +NEWLIB_CONFIGURE(../../..) + +AC_EGREP_CPP([sh5], [ +#if __SH5__ + sh5 +#endif +], [have_sh64=yes], [have_sh64=no]) +AM_CONDITIONAL(SH64, [test $have_sh64 = yes]) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/sh/configure.in b/newlib/libc/machine/sh/configure.in deleted file mode 100644 index 0adc8d6..0000000 --- a/newlib/libc/machine/sh/configure.in +++ /dev/null @@ -1,23 +0,0 @@ -dnl This is the newlib/libc/machine/sh configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([asm.h]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -AC_NO_EXECUTABLES - -NEWLIB_CONFIGURE(../../..) - -AC_EGREP_CPP([sh5], [ -#if __SH5__ - sh5 -#endif -], [have_sh64=yes], [have_sh64=no]) -AM_CONDITIONAL(SH64, [test $have_sh64 = yes]) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/sparc/configure.ac b/newlib/libc/machine/sparc/configure.ac new file mode 100644 index 0000000..4944f3f --- /dev/null +++ b/newlib/libc/machine/sparc/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/sparc configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([shuffle.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/sparc/configure.in b/newlib/libc/machine/sparc/configure.in deleted file mode 100644 index 4944f3f..0000000 --- a/newlib/libc/machine/sparc/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/sparc configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([shuffle.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/spu/configure.ac b/newlib/libc/machine/spu/configure.ac new file mode 100644 index 0000000..a287ff5 --- /dev/null +++ b/newlib/libc/machine/spu/configure.ac @@ -0,0 +1,30 @@ +dnl This is the newlib/libc/machine/spu configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_MSG_CHECKING([whether the compiler supports __ea]) +dnl We do not use AC_COMPILE_IFELSE to support building newlib with +dnl a cross-compiler that is not (yet) able to link executables +cat > conftest.c </dev/null 2>&1; then + spu_compiler_has_ea=yes +else + spu_compiler_has_ea=no +fi +AM_CONDITIONAL(HAVE_SPU_EA, test x${spu_compiler_has_ea} != xno) +AC_MSG_RESULT($spu_compiler_has_ea) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/spu/configure.in b/newlib/libc/machine/spu/configure.in deleted file mode 100644 index a287ff5..0000000 --- a/newlib/libc/machine/spu/configure.in +++ /dev/null @@ -1,30 +0,0 @@ -dnl This is the newlib/libc/machine/spu configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_MSG_CHECKING([whether the compiler supports __ea]) -dnl We do not use AC_COMPILE_IFELSE to support building newlib with -dnl a cross-compiler that is not (yet) able to link executables -cat > conftest.c </dev/null 2>&1; then - spu_compiler_has_ea=yes -else - spu_compiler_has_ea=no -fi -AM_CONDITIONAL(HAVE_SPU_EA, test x${spu_compiler_has_ea} != xno) -AC_MSG_RESULT($spu_compiler_has_ea) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/tic4x/configure.ac b/newlib/libc/machine/tic4x/configure.ac new file mode 100644 index 0000000..4289dde --- /dev/null +++ b/newlib/libc/machine/tic4x/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/tic4x configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/tic4x/configure.in b/newlib/libc/machine/tic4x/configure.in deleted file mode 100644 index 4289dde..0000000 --- a/newlib/libc/machine/tic4x/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/tic4x configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/tic6x/configure.ac b/newlib/libc/machine/tic6x/configure.ac new file mode 100644 index 0000000..891ae54 --- /dev/null +++ b/newlib/libc/machine/tic6x/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/tic6x configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/tic6x/configure.in b/newlib/libc/machine/tic6x/configure.in deleted file mode 100644 index 891ae54..0000000 --- a/newlib/libc/machine/tic6x/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/tic6x configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/tic80/configure.ac b/newlib/libc/machine/tic80/configure.ac new file mode 100644 index 0000000..1b92dd5 --- /dev/null +++ b/newlib/libc/machine/tic80/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/tic80 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/tic80/configure.in b/newlib/libc/machine/tic80/configure.in deleted file mode 100644 index 1b92dd5..0000000 --- a/newlib/libc/machine/tic80/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/tic80 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/v850/configure.ac b/newlib/libc/machine/v850/configure.ac new file mode 100644 index 0000000..d1a5808 --- /dev/null +++ b/newlib/libc/machine/v850/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/v850 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/v850/configure.in b/newlib/libc/machine/v850/configure.in deleted file mode 100644 index d1a5808..0000000 --- a/newlib/libc/machine/v850/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/v850 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/visium/configure.ac b/newlib/libc/machine/visium/configure.ac new file mode 100644 index 0000000..808804c --- /dev/null +++ b/newlib/libc/machine/visium/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/visium configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/visium/configure.in b/newlib/libc/machine/visium/configure.in deleted file mode 100644 index 808804c..0000000 --- a/newlib/libc/machine/visium/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/visium configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/w65/configure.ac b/newlib/libc/machine/w65/configure.ac new file mode 100644 index 0000000..0a70eb3 --- /dev/null +++ b/newlib/libc/machine/w65/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/w65 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([cmpsi.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/w65/configure.in b/newlib/libc/machine/w65/configure.in deleted file mode 100644 index 0a70eb3..0000000 --- a/newlib/libc/machine/w65/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/w65 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([cmpsi.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/x86_64/configure.ac b/newlib/libc/machine/x86_64/configure.ac new file mode 100644 index 0000000..c59d4e3 --- /dev/null +++ b/newlib/libc/machine/x86_64/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/x86_64 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/x86_64/configure.in b/newlib/libc/machine/x86_64/configure.in deleted file mode 100644 index c59d4e3..0000000 --- a/newlib/libc/machine/x86_64/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/x86_64 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/xc16x/configure.ac b/newlib/libc/machine/xc16x/configure.ac new file mode 100644 index 0000000..2bc2a6b --- /dev/null +++ b/newlib/libc/machine/xc16x/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/xc16x configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/xc16x/configure.in b/newlib/libc/machine/xc16x/configure.in deleted file mode 100644 index 2bc2a6b..0000000 --- a/newlib/libc/machine/xc16x/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/xc16x configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/xscale/configure.ac b/newlib/libc/machine/xscale/configure.ac new file mode 100644 index 0000000..160f595 --- /dev/null +++ b/newlib/libc/machine/xscale/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/strongarm2 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/xscale/configure.in b/newlib/libc/machine/xscale/configure.in deleted file mode 100644 index 160f595..0000000 --- a/newlib/libc/machine/xscale/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/strongarm2 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/xstormy16/configure.ac b/newlib/libc/machine/xstormy16/configure.ac new file mode 100644 index 0000000..ce81a2a --- /dev/null +++ b/newlib/libc/machine/xstormy16/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/calmrisc16 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([setjmp.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/xstormy16/configure.in b/newlib/libc/machine/xstormy16/configure.in deleted file mode 100644 index ce81a2a..0000000 --- a/newlib/libc/machine/xstormy16/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/calmrisc16 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([setjmp.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/machine/z8k/configure.ac b/newlib/libc/machine/z8k/configure.ac new file mode 100644 index 0000000..2f8750f --- /dev/null +++ b/newlib/libc/machine/z8k/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/z8k configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([args.h]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/machine/z8k/configure.in b/newlib/libc/machine/z8k/configure.in deleted file mode 100644 index 2f8750f..0000000 --- a/newlib/libc/machine/z8k/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/z8k configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([args.h]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/a29khif/configure.ac b/newlib/libc/sys/a29khif/configure.ac new file mode 100644 index 0000000..1b09e58 --- /dev/null +++ b/newlib/libc/sys/a29khif/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/a29khif configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([_alloc.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/newlib/libc/sys/a29khif/configure.in b/newlib/libc/sys/a29khif/configure.in deleted file mode 100644 index 1b09e58..0000000 --- a/newlib/libc/sys/a29khif/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/a29khif configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([_alloc.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES(Makefile) -AC_OUTPUT diff --git a/newlib/libc/sys/amdgcn/configure.ac b/newlib/libc/sys/amdgcn/configure.ac new file mode 100644 index 0000000..74edb0a --- /dev/null +++ b/newlib/libc/sys/amdgcn/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/amdgcn configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([close.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/amdgcn/configure.in b/newlib/libc/sys/amdgcn/configure.in deleted file mode 100644 index 74edb0a..0000000 --- a/newlib/libc/sys/amdgcn/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/amdgcn configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([close.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/arm/configure.ac b/newlib/libc/sys/arm/configure.ac new file mode 100644 index 0000000..8af086e --- /dev/null +++ b/newlib/libc/sys/arm/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([trap.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/arm/configure.in b/newlib/libc/sys/arm/configure.in deleted file mode 100644 index 8af086e..0000000 --- a/newlib/libc/sys/arm/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([trap.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/configure.ac b/newlib/libc/sys/configure.ac new file mode 100644 index 0000000..a65d1e7 --- /dev/null +++ b/newlib/libc/sys/configure.ac @@ -0,0 +1,65 @@ +dnl This is the newlib/libc/sys configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([a29khif]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../..) + +NEWLIB_CONFIGURE(../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +if test -n "${sys_dir}"; then + case ${sys_dir} in + a29khif) AC_CONFIG_SUBDIRS(a29khif) ;; + amdgcn) AC_CONFIG_SUBDIRS(amdgcn) ;; + arm) AC_CONFIG_SUBDIRS(arm) ;; + d10v) AC_CONFIG_SUBDIRS(d10v) ;; + decstation) AC_CONFIG_SUBDIRS(decstation) ;; + epiphany) AC_CONFIG_SUBDIRS(epiphany) ;; + h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;; + h8500hms) AC_CONFIG_SUBDIRS(h8500hms) ;; + linux) AC_CONFIG_SUBDIRS(linux) ;; + m88kbug) AC_CONFIG_SUBDIRS(m88kbug) ;; + mmixware) AC_CONFIG_SUBDIRS(mmixware) ;; + netware) AC_CONFIG_SUBDIRS(netware) ;; + or1k) AC_CONFIG_SUBDIRS(or1k) ;; + phoenix) AC_CONFIG_SUBDIRS(phoenix) ;; + rdos) AC_CONFIG_SUBDIRS(rdos) ;; + rtems) AC_CONFIG_SUBDIRS(rtems) ;; + sh) AC_CONFIG_SUBDIRS(sh) ;; + sparc64) AC_CONFIG_SUBDIRS(sparc64) ;; + sun4) AC_CONFIG_SUBDIRS(sun4) ;; + sysmec) AC_CONFIG_SUBDIRS(sysmec) ;; + sysnec810) AC_CONFIG_SUBDIRS(sysnec810) ;; + sysnecv850) AC_CONFIG_SUBDIRS(sysnecv850) ;; + sysvi386) AC_CONFIG_SUBDIRS(sysvi386) ;; + sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;; + tic80) AC_CONFIG_SUBDIRS(tic80) ;; + tirtos) AC_CONFIG_SUBDIRS(tirtos) ;; + w65) AC_CONFIG_SUBDIRS(w65) ;; + z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;; + esac; +fi + +CRT0= +if test "x${have_crt0}" = "xyes"; then + CRT0=crt0.o +fi +AC_SUBST(CRT0) + +AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/configure.in b/newlib/libc/sys/configure.in deleted file mode 100644 index a65d1e7..0000000 --- a/newlib/libc/sys/configure.in +++ /dev/null @@ -1,65 +0,0 @@ -dnl This is the newlib/libc/sys configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([a29khif]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../..) - -NEWLIB_CONFIGURE(../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -if test -n "${sys_dir}"; then - case ${sys_dir} in - a29khif) AC_CONFIG_SUBDIRS(a29khif) ;; - amdgcn) AC_CONFIG_SUBDIRS(amdgcn) ;; - arm) AC_CONFIG_SUBDIRS(arm) ;; - d10v) AC_CONFIG_SUBDIRS(d10v) ;; - decstation) AC_CONFIG_SUBDIRS(decstation) ;; - epiphany) AC_CONFIG_SUBDIRS(epiphany) ;; - h8300hms) AC_CONFIG_SUBDIRS(h8300hms) ;; - h8500hms) AC_CONFIG_SUBDIRS(h8500hms) ;; - linux) AC_CONFIG_SUBDIRS(linux) ;; - m88kbug) AC_CONFIG_SUBDIRS(m88kbug) ;; - mmixware) AC_CONFIG_SUBDIRS(mmixware) ;; - netware) AC_CONFIG_SUBDIRS(netware) ;; - or1k) AC_CONFIG_SUBDIRS(or1k) ;; - phoenix) AC_CONFIG_SUBDIRS(phoenix) ;; - rdos) AC_CONFIG_SUBDIRS(rdos) ;; - rtems) AC_CONFIG_SUBDIRS(rtems) ;; - sh) AC_CONFIG_SUBDIRS(sh) ;; - sparc64) AC_CONFIG_SUBDIRS(sparc64) ;; - sun4) AC_CONFIG_SUBDIRS(sun4) ;; - sysmec) AC_CONFIG_SUBDIRS(sysmec) ;; - sysnec810) AC_CONFIG_SUBDIRS(sysnec810) ;; - sysnecv850) AC_CONFIG_SUBDIRS(sysnecv850) ;; - sysvi386) AC_CONFIG_SUBDIRS(sysvi386) ;; - sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;; - tic80) AC_CONFIG_SUBDIRS(tic80) ;; - tirtos) AC_CONFIG_SUBDIRS(tirtos) ;; - w65) AC_CONFIG_SUBDIRS(w65) ;; - z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;; - esac; -fi - -CRT0= -if test "x${have_crt0}" = "xyes"; then - CRT0=crt0.o -fi -AC_SUBST(CRT0) - -AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/d10v/configure.ac b/newlib/libc/sys/d10v/configure.ac new file mode 100644 index 0000000..b0afb9d --- /dev/null +++ b/newlib/libc/sys/d10v/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/d10v configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([creat.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/d10v/configure.in b/newlib/libc/sys/d10v/configure.in deleted file mode 100644 index b0afb9d..0000000 --- a/newlib/libc/sys/d10v/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/d10v configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([creat.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/decstation/configure.ac b/newlib/libc/sys/decstation/configure.ac new file mode 100644 index 0000000..446713b --- /dev/null +++ b/newlib/libc/sys/decstation/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/decstation configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([_main.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/decstation/configure.in b/newlib/libc/sys/decstation/configure.in deleted file mode 100644 index 446713b..0000000 --- a/newlib/libc/sys/decstation/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/decstation configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([_main.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/epiphany/configure.ac b/newlib/libc/sys/epiphany/configure.ac new file mode 100644 index 0000000..0e08f6e --- /dev/null +++ b/newlib/libc/sys/epiphany/configure.ac @@ -0,0 +1,41 @@ +dnl This is the newlib/libc/sys/epiphany configure.in file. + +dnl Copyright (c) 2011, Adapteva, Inc. +dnl All rights reserved. + +dnl Redistribution and use in source and binary forms, with or without +dnl modification, are permitted provided that the following conditions are met: +dnl * Redistributions of source code must retain the above copyright notice, +dnl this list of conditions and the following disclaimer. +dnl * Redistributions in binary form must reproduce the above copyright +dnl notice, this list of conditions and the following disclaimer in the +dnl documentation and/or other materials provided with the distribution. +dnl * Neither the name of Adapteva nor the names of its contributors may be +dnl used to endorse or promote products derived from this software without +dnl specific prior written permission. + +dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +dnl POSSIBILITY OF SUCH DAMAGE. + +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([e_printf.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/epiphany/configure.in b/newlib/libc/sys/epiphany/configure.in deleted file mode 100644 index 0e08f6e..0000000 --- a/newlib/libc/sys/epiphany/configure.in +++ /dev/null @@ -1,41 +0,0 @@ -dnl This is the newlib/libc/sys/epiphany configure.in file. - -dnl Copyright (c) 2011, Adapteva, Inc. -dnl All rights reserved. - -dnl Redistribution and use in source and binary forms, with or without -dnl modification, are permitted provided that the following conditions are met: -dnl * Redistributions of source code must retain the above copyright notice, -dnl this list of conditions and the following disclaimer. -dnl * Redistributions in binary form must reproduce the above copyright -dnl notice, this list of conditions and the following disclaimer in the -dnl documentation and/or other materials provided with the distribution. -dnl * Neither the name of Adapteva nor the names of its contributors may be -dnl used to endorse or promote products derived from this software without -dnl specific prior written permission. - -dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -dnl AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -dnl ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -dnl POSSIBILITY OF SUCH DAMAGE. - -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([e_printf.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/h8300hms/configure.ac b/newlib/libc/sys/h8300hms/configure.ac new file mode 100644 index 0000000..2197689 --- /dev/null +++ b/newlib/libc/sys/h8300hms/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/h8300hms configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt1.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/h8300hms/configure.in b/newlib/libc/sys/h8300hms/configure.in deleted file mode 100644 index 2197689..0000000 --- a/newlib/libc/sys/h8300hms/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/h8300hms configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt1.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/h8500hms/configure.ac b/newlib/libc/sys/h8500hms/configure.ac new file mode 100644 index 0000000..ddadfbb --- /dev/null +++ b/newlib/libc/sys/h8500hms/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/h8500hms configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([misc.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/h8500hms/configure.in b/newlib/libc/sys/h8500hms/configure.in deleted file mode 100644 index ddadfbb..0000000 --- a/newlib/libc/sys/h8500hms/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/h8500hms configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([misc.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/linux/configure.ac b/newlib/libc/sys/linux/configure.ac new file mode 100644 index 0000000..74990cd --- /dev/null +++ b/newlib/libc/sys/linux/configure.ac @@ -0,0 +1,54 @@ +dnl This is the newlib/libc/sys/linux configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([linux.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +AC_PROG_AWK +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_SUBDIRS(machine) + +if test "${newlib_multithread}" = "yes"; then +AC_CONFIG_SUBDIRS(linuxthreads) +fi + +LINUX_MACH_LIB= +if test -n "${machine_dir}"; then + if test "${use_libtool}" = "yes"; then + LINUX_MACH_LIB=machine/${machine_dir}/liblinux${machine_dir}.${aext} + else + LINUX_MACH_LIB=machine/lib.${aext} + fi +fi +AC_SUBST(LINUX_MACH_LIB) + +EXTRA_SUBDIRS= +EXTRA_SUBLIBS= + +if test "x${newlib_elix_level}" = "x1"; then +EXTRA_SUBDIRS=linuxthreads net +else +EXTRA_SUBDIRS="linuxthreads net intl iconv dl" +EXTRA_SUBLIBS="net/libnet.la intl/libintl.la iconv/libiconv.la dl/libdl.la" +fi + +AC_SUBST(EXTRA_SUBDIRS) +AC_SUBST(EXTRA_SUBLIBS) + +AC_CONFIG_FILES([Makefile intl/Makefile net/Makefile iconv/Makefile dl/Makefile cmath/Makefile argp/Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/linux/configure.in b/newlib/libc/sys/linux/configure.in deleted file mode 100644 index 74990cd..0000000 --- a/newlib/libc/sys/linux/configure.in +++ /dev/null @@ -1,54 +0,0 @@ -dnl This is the newlib/libc/sys/linux configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([linux.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -AC_PROG_AWK -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_SUBDIRS(machine) - -if test "${newlib_multithread}" = "yes"; then -AC_CONFIG_SUBDIRS(linuxthreads) -fi - -LINUX_MACH_LIB= -if test -n "${machine_dir}"; then - if test "${use_libtool}" = "yes"; then - LINUX_MACH_LIB=machine/${machine_dir}/liblinux${machine_dir}.${aext} - else - LINUX_MACH_LIB=machine/lib.${aext} - fi -fi -AC_SUBST(LINUX_MACH_LIB) - -EXTRA_SUBDIRS= -EXTRA_SUBLIBS= - -if test "x${newlib_elix_level}" = "x1"; then -EXTRA_SUBDIRS=linuxthreads net -else -EXTRA_SUBDIRS="linuxthreads net intl iconv dl" -EXTRA_SUBLIBS="net/libnet.la intl/libintl.la iconv/libiconv.la dl/libdl.la" -fi - -AC_SUBST(EXTRA_SUBDIRS) -AC_SUBST(EXTRA_SUBLIBS) - -AC_CONFIG_FILES([Makefile intl/Makefile net/Makefile iconv/Makefile dl/Makefile cmath/Makefile argp/Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/linux/linuxthreads/configure.ac b/newlib/libc/sys/linux/linuxthreads/configure.ac new file mode 100644 index 0000000..c16859b --- /dev/null +++ b/newlib/libc/sys/linux/linuxthreads/configure.ac @@ -0,0 +1,34 @@ +dnl This is the newlib/libc/sys/linux/linuxthreads configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([attr.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../..) + +NEWLIB_CONFIGURE(../../../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +AC_PROG_AWK +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +if test -n "${machine_dir}"; then + MACHINE_OBJLIST=machine/${machine_dir}/objectlist.awk.in + MACHINE_LIB=machine/${machine_dir}/lib.a +fi +AC_SUBST(MACHINE_OBJLIST) +AC_SUBST(MACHINE_LIB) + +AC_CONFIG_SUBDIRS(machine) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/linux/linuxthreads/configure.in b/newlib/libc/sys/linux/linuxthreads/configure.in deleted file mode 100644 index c16859b..0000000 --- a/newlib/libc/sys/linux/linuxthreads/configure.in +++ /dev/null @@ -1,34 +0,0 @@ -dnl This is the newlib/libc/sys/linux/linuxthreads configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([attr.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../..) - -NEWLIB_CONFIGURE(../../../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -AC_PROG_AWK -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -if test -n "${machine_dir}"; then - MACHINE_OBJLIST=machine/${machine_dir}/objectlist.awk.in - MACHINE_LIB=machine/${machine_dir}/lib.a -fi -AC_SUBST(MACHINE_OBJLIST) -AC_SUBST(MACHINE_LIB) - -AC_CONFIG_SUBDIRS(machine) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/linux/linuxthreads/machine/configure.ac b/newlib/libc/sys/linux/linuxthreads/machine/configure.ac new file mode 100644 index 0000000..70cc4f6 --- /dev/null +++ b/newlib/libc/sys/linux/linuxthreads/machine/configure.ac @@ -0,0 +1,32 @@ +dnl This is the newlib/libc/sys configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([i386]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../../..) + +NEWLIB_CONFIGURE(../../../../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +if test -n "${machine_dir}"; then + case ${machine_dir} in + i386) AC_CONFIG_SUBDIRS(i386) ;; + esac; +fi + +AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/linux/linuxthreads/machine/configure.in b/newlib/libc/sys/linux/linuxthreads/machine/configure.in deleted file mode 100644 index 70cc4f6..0000000 --- a/newlib/libc/sys/linux/linuxthreads/machine/configure.in +++ /dev/null @@ -1,32 +0,0 @@ -dnl This is the newlib/libc/sys configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([i386]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../../..) - -NEWLIB_CONFIGURE(../../../../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -if test -n "${machine_dir}"; then - case ${machine_dir} in - i386) AC_CONFIG_SUBDIRS(i386) ;; - esac; -fi - -AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac new file mode 100644 index 0000000..b937c28 --- /dev/null +++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac @@ -0,0 +1,25 @@ +dnl This is the newlib/libc/sys/linux/linuxthreads/machine/i386 configure file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([pspinlock.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../../../..) + +NEWLIB_CONFIGURE(../../../../../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +AC_PROG_AWK +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.in b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.in deleted file mode 100644 index b937c28..0000000 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.in +++ /dev/null @@ -1,25 +0,0 @@ -dnl This is the newlib/libc/sys/linux/linuxthreads/machine/i386 configure file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([pspinlock.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../../../..) - -NEWLIB_CONFIGURE(../../../../../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -AC_PROG_AWK -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/linux/machine/configure.ac b/newlib/libc/sys/linux/machine/configure.ac new file mode 100644 index 0000000..d7f05ec --- /dev/null +++ b/newlib/libc/sys/linux/machine/configure.ac @@ -0,0 +1,38 @@ +dnl This is the newlib/libc/sys configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([i386]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../..) + +NEWLIB_CONFIGURE(../../../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +if test -n "${machine_dir}"; then + case ${machine_dir} in + i386) AC_CONFIG_SUBDIRS(i386) ;; + esac; +fi + +CRT0= +if test -n "${machine_dir}"; then + CRT0=crt0.o +fi +AC_SUBST(CRT0) + +AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/linux/machine/configure.in b/newlib/libc/sys/linux/machine/configure.in deleted file mode 100644 index d7f05ec..0000000 --- a/newlib/libc/sys/linux/machine/configure.in +++ /dev/null @@ -1,38 +0,0 @@ -dnl This is the newlib/libc/sys configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([i386]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../..) - -NEWLIB_CONFIGURE(../../../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -if test -n "${machine_dir}"; then - case ${machine_dir} in - i386) AC_CONFIG_SUBDIRS(i386) ;; - esac; -fi - -CRT0= -if test -n "${machine_dir}"; then - CRT0=crt0.o -fi -AC_SUBST(CRT0) - -AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/linux/machine/i386/configure.ac b/newlib/libc/sys/linux/machine/i386/configure.ac new file mode 100644 index 0000000..f93cdca --- /dev/null +++ b/newlib/libc/sys/linux/machine/i386/configure.ac @@ -0,0 +1,25 @@ +dnl This is the newlib/libc/sys/linux/machine/i386 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt0.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../../..) + +NEWLIB_CONFIGURE(../../../../..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +AC_PROG_AWK +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/linux/machine/i386/configure.in b/newlib/libc/sys/linux/machine/i386/configure.in deleted file mode 100644 index f93cdca..0000000 --- a/newlib/libc/sys/linux/machine/i386/configure.in +++ /dev/null @@ -1,25 +0,0 @@ -dnl This is the newlib/libc/sys/linux/machine/i386 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt0.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../../..) - -NEWLIB_CONFIGURE(../../../../..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -AC_PROG_AWK -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/m88kbug/configure.ac b/newlib/libc/sys/m88kbug/configure.ac new file mode 100644 index 0000000..644eb23 --- /dev/null +++ b/newlib/libc/sys/m88kbug/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/m88kbug configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([syscalls.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/m88kbug/configure.in b/newlib/libc/sys/m88kbug/configure.in deleted file mode 100644 index 644eb23..0000000 --- a/newlib/libc/sys/m88kbug/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/m88kbug configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([syscalls.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/mmixware/configure.ac b/newlib/libc/sys/mmixware/configure.ac new file mode 100644 index 0000000..c40ad70 --- /dev/null +++ b/newlib/libc/sys/mmixware/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/mmixware configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt0.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/mmixware/configure.in b/newlib/libc/sys/mmixware/configure.in deleted file mode 100644 index c40ad70..0000000 --- a/newlib/libc/sys/mmixware/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/mmixware configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt0.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/netware/configure.ac b/newlib/libc/sys/netware/configure.ac new file mode 100644 index 0000000..4c7546b --- /dev/null +++ b/newlib/libc/sys/netware/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/netware configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([link.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/netware/configure.in b/newlib/libc/sys/netware/configure.in deleted file mode 100644 index 4c7546b..0000000 --- a/newlib/libc/sys/netware/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/netware configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([link.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/or1k/configure.ac b/newlib/libc/sys/or1k/configure.ac new file mode 100644 index 0000000..c855a8d --- /dev/null +++ b/newlib/libc/sys/or1k/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([getreent.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/or1k/configure.in b/newlib/libc/sys/or1k/configure.in deleted file mode 100644 index c855a8d..0000000 --- a/newlib/libc/sys/or1k/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([getreent.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/phoenix/configure.ac b/newlib/libc/sys/phoenix/configure.ac new file mode 100644 index 0000000..8592b7c --- /dev/null +++ b/newlib/libc/sys/phoenix/configure.ac @@ -0,0 +1,19 @@ +dnl This is the newlib/libc/sys/phoenix configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([phoenix.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_SUBDIRS(machine) + +PHOENIX_MACH_LIB=machine/lib.${aext} +AC_SUBST(PHOENIX_MACH_LIB) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/phoenix/configure.in b/newlib/libc/sys/phoenix/configure.in deleted file mode 100644 index 8592b7c..0000000 --- a/newlib/libc/sys/phoenix/configure.in +++ /dev/null @@ -1,19 +0,0 @@ -dnl This is the newlib/libc/sys/phoenix configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([phoenix.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_SUBDIRS(machine) - -PHOENIX_MACH_LIB=machine/lib.${aext} -AC_SUBST(PHOENIX_MACH_LIB) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/phoenix/machine/arm/configure.ac b/newlib/libc/sys/phoenix/machine/arm/configure.ac new file mode 100644 index 0000000..838f7c8 --- /dev/null +++ b/newlib/libc/sys/phoenix/machine/arm/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/phoenix/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt0.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../../..) + +NEWLIB_CONFIGURE(../../../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/phoenix/machine/arm/configure.in b/newlib/libc/sys/phoenix/machine/arm/configure.in deleted file mode 100644 index 838f7c8..0000000 --- a/newlib/libc/sys/phoenix/machine/arm/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/phoenix/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt0.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../../..) - -NEWLIB_CONFIGURE(../../../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/phoenix/machine/configure.ac b/newlib/libc/sys/phoenix/machine/configure.ac new file mode 100644 index 0000000..db68b6d --- /dev/null +++ b/newlib/libc/sys/phoenix/machine/configure.ac @@ -0,0 +1,31 @@ +dnl This is the newlib/libc/sys configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([arm]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../../..) + +NEWLIB_CONFIGURE(../../../..) + +if test -n "${machine_dir}"; then + case ${machine_dir} in + arm) AC_CONFIG_SUBDIRS(arm) ;; + esirisc) AC_CONFIG_SUBDIRS(esirisc) ;; + i386) AC_CONFIG_SUBDIRS(i386) ;; + powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; + esac; +fi + +CRT0= +if test -n "${machine_dir}"; then + CRT0=crt0.o +fi +AC_SUBST(CRT0) + +AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/phoenix/machine/configure.in b/newlib/libc/sys/phoenix/machine/configure.in deleted file mode 100644 index db68b6d..0000000 --- a/newlib/libc/sys/phoenix/machine/configure.in +++ /dev/null @@ -1,31 +0,0 @@ -dnl This is the newlib/libc/sys configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([arm]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../../..) - -NEWLIB_CONFIGURE(../../../..) - -if test -n "${machine_dir}"; then - case ${machine_dir} in - arm) AC_CONFIG_SUBDIRS(arm) ;; - esirisc) AC_CONFIG_SUBDIRS(esirisc) ;; - i386) AC_CONFIG_SUBDIRS(i386) ;; - powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; - esac; -fi - -CRT0= -if test -n "${machine_dir}"; then - CRT0=crt0.o -fi -AC_SUBST(CRT0) - -AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/rdos/configure.ac b/newlib/libc/sys/rdos/configure.ac new file mode 100644 index 0000000..9942999 --- /dev/null +++ b/newlib/libc/sys/rdos/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/rdos configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([close.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/rdos/configure.in b/newlib/libc/sys/rdos/configure.in deleted file mode 100644 index 9942999..0000000 --- a/newlib/libc/sys/rdos/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/rdos configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([close.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/rtems/configure.ac b/newlib/libc/sys/rtems/configure.ac new file mode 100644 index 0000000..ae0769d --- /dev/null +++ b/newlib/libc/sys/rtems/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/rtems configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([dummysys.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/rtems/configure.in b/newlib/libc/sys/rtems/configure.in deleted file mode 100644 index ae0769d..0000000 --- a/newlib/libc/sys/rtems/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/rtems configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([dummysys.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sh/configure.ac b/newlib/libc/sys/sh/configure.ac new file mode 100644 index 0000000..2369b19 --- /dev/null +++ b/newlib/libc/sys/sh/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sh configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([creat.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sh/configure.in b/newlib/libc/sys/sh/configure.in deleted file mode 100644 index 2369b19..0000000 --- a/newlib/libc/sys/sh/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sh configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([creat.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sparc64/configure.ac b/newlib/libc/sys/sparc64/configure.ac new file mode 100644 index 0000000..c1cdb58 --- /dev/null +++ b/newlib/libc/sys/sparc64/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sparc64 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([template_r.S]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sparc64/configure.in b/newlib/libc/sys/sparc64/configure.in deleted file mode 100644 index c1cdb58..0000000 --- a/newlib/libc/sys/sparc64/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sparc64 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([template_r.S]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sun4/configure.ac b/newlib/libc/sys/sun4/configure.ac new file mode 100644 index 0000000..a9b5f41 --- /dev/null +++ b/newlib/libc/sys/sun4/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sun4 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([ieee.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/newlib/libc/sys/sun4/configure.in b/newlib/libc/sys/sun4/configure.in deleted file mode 100644 index a9b5f41..0000000 --- a/newlib/libc/sys/sun4/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sun4 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([ieee.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES(Makefile) -AC_OUTPUT diff --git a/newlib/libc/sys/sysmec/configure.ac b/newlib/libc/sys/sysmec/configure.ac new file mode 100644 index 0000000..fc650e3 --- /dev/null +++ b/newlib/libc/sys/sysmec/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sysmec configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt1.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sysmec/configure.in b/newlib/libc/sys/sysmec/configure.in deleted file mode 100644 index fc650e3..0000000 --- a/newlib/libc/sys/sysmec/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sysmec configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt1.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sysnec810/configure.ac b/newlib/libc/sys/sysnec810/configure.ac new file mode 100644 index 0000000..bd92e27 --- /dev/null +++ b/newlib/libc/sys/sysnec810/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sysnec810 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([io.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sysnec810/configure.in b/newlib/libc/sys/sysnec810/configure.in deleted file mode 100644 index bd92e27..0000000 --- a/newlib/libc/sys/sysnec810/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sysnec810 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([io.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sysnecv850/configure.ac b/newlib/libc/sys/sysnecv850/configure.ac new file mode 100644 index 0000000..bb669be --- /dev/null +++ b/newlib/libc/sys/sysnecv850/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sysnecv850 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt1.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sysnecv850/configure.in b/newlib/libc/sys/sysnecv850/configure.in deleted file mode 100644 index bb669be..0000000 --- a/newlib/libc/sys/sysnecv850/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sysnecv850 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt1.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sysvi386/configure.ac b/newlib/libc/sys/sysvi386/configure.ac new file mode 100644 index 0000000..1e9665d --- /dev/null +++ b/newlib/libc/sys/sysvi386/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sysvi386 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([fps.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sysvi386/configure.in b/newlib/libc/sys/sysvi386/configure.in deleted file mode 100644 index 1e9665d..0000000 --- a/newlib/libc/sys/sysvi386/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sysvi386 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([fps.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/sysvnecv70/configure.ac b/newlib/libc/sys/sysvnecv70/configure.ac new file mode 100644 index 0000000..a165245 --- /dev/null +++ b/newlib/libc/sys/sysvnecv70/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/sysvnecv70 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([sysv60.s]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/sysvnecv70/configure.in b/newlib/libc/sys/sysvnecv70/configure.in deleted file mode 100644 index a165245..0000000 --- a/newlib/libc/sys/sysvnecv70/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/sysvnecv70 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([sysv60.s]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/tic80/configure.ac b/newlib/libc/sys/tic80/configure.ac new file mode 100644 index 0000000..18cc295 --- /dev/null +++ b/newlib/libc/sys/tic80/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/tic80 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([crt0.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/tic80/configure.in b/newlib/libc/sys/tic80/configure.in deleted file mode 100644 index 18cc295..0000000 --- a/newlib/libc/sys/tic80/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/tic80 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([crt0.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/tirtos/configure.ac b/newlib/libc/sys/tirtos/configure.ac new file mode 100644 index 0000000..461301f --- /dev/null +++ b/newlib/libc/sys/tirtos/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/tirtos configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([lock.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/tirtos/configure.in b/newlib/libc/sys/tirtos/configure.in deleted file mode 100644 index 461301f..0000000 --- a/newlib/libc/sys/tirtos/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/tirtos configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([lock.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/w65/configure.ac b/newlib/libc/sys/w65/configure.ac new file mode 100644 index 0000000..0ee045e --- /dev/null +++ b/newlib/libc/sys/w65/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/w65 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([trap.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/w65/configure.in b/newlib/libc/sys/w65/configure.in deleted file mode 100644 index 0ee045e..0000000 --- a/newlib/libc/sys/w65/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/w65 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([trap.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libc/sys/z8ksim/configure.ac b/newlib/libc/sys/z8ksim/configure.ac new file mode 100644 index 0000000..0c3ba45 --- /dev/null +++ b/newlib/libc/sys/z8ksim/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/sys/z8ksim configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([glue.c]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libc/sys/z8ksim/configure.in b/newlib/libc/sys/z8ksim/configure.in deleted file mode 100644 index 0c3ba45..0000000 --- a/newlib/libc/sys/z8ksim/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/sys/z8ksim configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([glue.c]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/configure.ac b/newlib/libm/configure.ac new file mode 100644 index 0000000..aec22bd --- /dev/null +++ b/newlib/libm/configure.ac @@ -0,0 +1,66 @@ +dnl This is the newlib/libm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([libm.texinfo]) + +AC_ARG_ENABLE(newlib_hw_fp, +[ --enable-newlib-hw-fp Turn on hardware floating point math], +[case "${enableval}" in + yes) newlib_hw_fp=true ;; + no) newlib_hw_fp=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;; + esac],[newlib_hw_fp=false]) +AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue) + +dnl Autoconf 2.59 doesn't support the AC_TYPE_LONG_DOUBLE macro. Instead of: +dnl AC_TYPE_LONG_DOUBLE +dnl AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$ac_cv_type_long_double" = x"yes") +dnl we specify our own long double test. +AC_CACHE_CHECK([Checking long double support], [acnewlib_cv_type_long_double],[dnl +cat > conftest.c <&AS_MESSAGE_LOG_FD]) +then + acnewlib_cv_type_long_double=yes +else + acnewlib_cv_type_long_double=no +fi +rm -f conftest*]) +AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes") + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../..) + +NEWLIB_CONFIGURE(..) + +dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and +dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first +dnl line of the macro which fail because appropriate LDFLAGS are not set. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_SUBDIRS(machine) + +LIBM_MACHINE_LIB= +if test -n "${libm_machine_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBM_MACHINE_LIB=machine/${libm_machine_dir}/lib${libm_machine_dir}.${aext} + else + LIBM_MACHINE_LIB=machine/lib.${aext} + fi +fi + +AC_SUBST(LIBM_MACHINE_LIB) + +AC_CONFIG_FILES([Makefile math/Makefile mathfp/Makefile common/Makefile complex/Makefile fenv/Makefile]) +AC_OUTPUT diff --git a/newlib/libm/configure.in b/newlib/libm/configure.in deleted file mode 100644 index aec22bd..0000000 --- a/newlib/libm/configure.in +++ /dev/null @@ -1,66 +0,0 @@ -dnl This is the newlib/libm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([libm.texinfo]) - -AC_ARG_ENABLE(newlib_hw_fp, -[ --enable-newlib-hw-fp Turn on hardware floating point math], -[case "${enableval}" in - yes) newlib_hw_fp=true ;; - no) newlib_hw_fp=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-newlib-hw-fp) ;; - esac],[newlib_hw_fp=false]) -AM_CONDITIONAL(NEWLIB_HW_FP, test x$newlib_hw_fp = xtrue) - -dnl Autoconf 2.59 doesn't support the AC_TYPE_LONG_DOUBLE macro. Instead of: -dnl AC_TYPE_LONG_DOUBLE -dnl AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$ac_cv_type_long_double" = x"yes") -dnl we specify our own long double test. -AC_CACHE_CHECK([Checking long double support], [acnewlib_cv_type_long_double],[dnl -cat > conftest.c <&AS_MESSAGE_LOG_FD]) -then - acnewlib_cv_type_long_double=yes -else - acnewlib_cv_type_long_double=no -fi -rm -f conftest*]) -AM_CONDITIONAL(HAVE_LONG_DOUBLE, test x"$acnewlib_cv_type_long_double" = x"yes") - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../..) - -NEWLIB_CONFIGURE(..) - -dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and -dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first -dnl line of the macro which fail because appropriate LDFLAGS are not set. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_SUBDIRS(machine) - -LIBM_MACHINE_LIB= -if test -n "${libm_machine_dir}"; then - if test "${use_libtool}" = "yes"; then - LIBM_MACHINE_LIB=machine/${libm_machine_dir}/lib${libm_machine_dir}.${aext} - else - LIBM_MACHINE_LIB=machine/lib.${aext} - fi -fi - -AC_SUBST(LIBM_MACHINE_LIB) - -AC_CONFIG_FILES([Makefile math/Makefile mathfp/Makefile common/Makefile complex/Makefile fenv/Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/aarch64/configure.ac b/newlib/libm/machine/aarch64/configure.ac new file mode 100644 index 0000000..c570522 --- /dev/null +++ b/newlib/libm/machine/aarch64/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libm/machine/aarch64 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/aarch64/configure.in b/newlib/libm/machine/aarch64/configure.in deleted file mode 100644 index c570522..0000000 --- a/newlib/libm/machine/aarch64/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libm/machine/aarch64 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/arm/configure.ac b/newlib/libm/machine/arm/configure.ac new file mode 100644 index 0000000..4a15b2f --- /dev/null +++ b/newlib/libm/machine/arm/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libm/machine/arm configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/arm/configure.in b/newlib/libm/machine/arm/configure.in deleted file mode 100644 index 4a15b2f..0000000 --- a/newlib/libm/machine/arm/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libm/machine/arm configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/configure.ac b/newlib/libm/machine/configure.ac new file mode 100644 index 0000000..e3df2f0 --- /dev/null +++ b/newlib/libm/machine/configure.ac @@ -0,0 +1,55 @@ +dnl This is the newlib/libm/machine configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([i386]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../..) + +NEWLIB_CONFIGURE(../..) + +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. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +machlib= + +if test -n "${libm_machine_dir}"; then + case ${libm_machine_dir} in + aarch64) AC_CONFIG_SUBDIRS(aarch64) ;; + arm) AC_CONFIG_SUBDIRS(arm) ;; + i386) AC_CONFIG_SUBDIRS(i386) ;; + nds32) AC_CONFIG_SUBDIRS(nds32) ;; + pru) AC_CONFIG_SUBDIRS(pru) ;; + spu) AC_CONFIG_SUBDIRS(spu) ;; + riscv) AC_CONFIG_SUBDIRS(riscv) ;; + x86_64) AC_CONFIG_SUBDIRS(x86_64) ;; + powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; + sparc) AC_CONFIG_SUBDIRS(sparc) ;; + mips) AC_CONFIG_SUBDIRS(mips) ;; + esac; + if test "${use_libtool}" = "yes"; then + machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext} + else + machlib=${libm_machine_dir}/lib.${aext} + fi +fi + +AC_SUBST(libm_machine_dir) +AC_SUBST(machlib) + +AM_CONDITIONAL(HAVE_LIBM_MACHINE_DIR, test x${libm_machine_dir} != x) +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT + + + diff --git a/newlib/libm/machine/configure.in b/newlib/libm/machine/configure.in deleted file mode 100644 index e3df2f0..0000000 --- a/newlib/libm/machine/configure.in +++ /dev/null @@ -1,55 +0,0 @@ -dnl This is the newlib/libm/machine configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([i386]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../..) - -NEWLIB_CONFIGURE(../..) - -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. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -machlib= - -if test -n "${libm_machine_dir}"; then - case ${libm_machine_dir} in - aarch64) AC_CONFIG_SUBDIRS(aarch64) ;; - arm) AC_CONFIG_SUBDIRS(arm) ;; - i386) AC_CONFIG_SUBDIRS(i386) ;; - nds32) AC_CONFIG_SUBDIRS(nds32) ;; - pru) AC_CONFIG_SUBDIRS(pru) ;; - spu) AC_CONFIG_SUBDIRS(spu) ;; - riscv) AC_CONFIG_SUBDIRS(riscv) ;; - x86_64) AC_CONFIG_SUBDIRS(x86_64) ;; - powerpc) AC_CONFIG_SUBDIRS(powerpc) ;; - sparc) AC_CONFIG_SUBDIRS(sparc) ;; - mips) AC_CONFIG_SUBDIRS(mips) ;; - esac; - if test "${use_libtool}" = "yes"; then - machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext} - else - machlib=${libm_machine_dir}/lib.${aext} - fi -fi - -AC_SUBST(libm_machine_dir) -AC_SUBST(machlib) - -AM_CONDITIONAL(HAVE_LIBM_MACHINE_DIR, test x${libm_machine_dir} != x) -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT - - - diff --git a/newlib/libm/machine/i386/configure.ac b/newlib/libm/machine/i386/configure.ac new file mode 100644 index 0000000..4a56c19 --- /dev/null +++ b/newlib/libm/machine/i386/configure.ac @@ -0,0 +1,25 @@ +dnl This is the newlib/libc/machine/i386 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([f_math.h]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +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 code must occur after +dnl NEWLIB_CONFIGURE. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/i386/configure.in b/newlib/libm/machine/i386/configure.in deleted file mode 100644 index 4a56c19..0000000 --- a/newlib/libm/machine/i386/configure.in +++ /dev/null @@ -1,25 +0,0 @@ -dnl This is the newlib/libc/machine/i386 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([f_math.h]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -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 code must occur after -dnl NEWLIB_CONFIGURE. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/mips/configure.ac b/newlib/libm/machine/mips/configure.ac new file mode 100644 index 0000000..7a22fa3 --- /dev/null +++ b/newlib/libm/machine/mips/configure.ac @@ -0,0 +1,11 @@ + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/mips/configure.in b/newlib/libm/machine/mips/configure.in deleted file mode 100644 index 7a22fa3..0000000 --- a/newlib/libm/machine/mips/configure.in +++ /dev/null @@ -1,11 +0,0 @@ - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/nds32/configure.ac b/newlib/libm/machine/nds32/configure.ac new file mode 100644 index 0000000..2b7a3c0 --- /dev/null +++ b/newlib/libm/machine/nds32/configure.ac @@ -0,0 +1,35 @@ +dnl This is the newlib/libm/machine/nds32 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + + +dnl Use builtin macro to detect if FPU extension support is on. +AC_NO_EXECUTABLES +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( +[[#if (__NDS32_EXT_FPU_SP__) +warning: Has nds32 FPU SP extension support +#endif +]])], + [has_nds32_fpu_sp="no"], + [has_nds32_fpu_sp="yes"]) +AM_CONDITIONAL(HAS_NDS32_FPU_SP, test "$has_nds32_fpu_sp" = "yes") + +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( +[[#if (__NDS32_EXT_FPU_DP__) +warning: Has nds32 FPU DP extension support +#endif +]])], + [has_nds32_fpu_dp="no"], + [has_nds32_fpu_dp="yes"]) +AM_CONDITIONAL(HAS_NDS32_FPU_DP, test "$has_nds32_fpu_dp" = "yes") + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/nds32/configure.in b/newlib/libm/machine/nds32/configure.in deleted file mode 100644 index 2b7a3c0..0000000 --- a/newlib/libm/machine/nds32/configure.in +++ /dev/null @@ -1,35 +0,0 @@ -dnl This is the newlib/libm/machine/nds32 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - - -dnl Use builtin macro to detect if FPU extension support is on. -AC_NO_EXECUTABLES -AC_COMPILE_IFELSE([AC_LANG_PROGRAM( -[[#if (__NDS32_EXT_FPU_SP__) -warning: Has nds32 FPU SP extension support -#endif -]])], - [has_nds32_fpu_sp="no"], - [has_nds32_fpu_sp="yes"]) -AM_CONDITIONAL(HAS_NDS32_FPU_SP, test "$has_nds32_fpu_sp" = "yes") - -AC_COMPILE_IFELSE([AC_LANG_PROGRAM( -[[#if (__NDS32_EXT_FPU_DP__) -warning: Has nds32 FPU DP extension support -#endif -]])], - [has_nds32_fpu_dp="no"], - [has_nds32_fpu_dp="yes"]) -AM_CONDITIONAL(HAS_NDS32_FPU_DP, test "$has_nds32_fpu_dp" = "yes") - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/powerpc/configure.ac b/newlib/libm/machine/powerpc/configure.ac new file mode 100644 index 0000000..7a22fa3 --- /dev/null +++ b/newlib/libm/machine/powerpc/configure.ac @@ -0,0 +1,11 @@ + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/powerpc/configure.in b/newlib/libm/machine/powerpc/configure.in deleted file mode 100644 index 7a22fa3..0000000 --- a/newlib/libm/machine/powerpc/configure.in +++ /dev/null @@ -1,11 +0,0 @@ - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/pru/configure.ac b/newlib/libm/machine/pru/configure.ac new file mode 100644 index 0000000..7a22fa3 --- /dev/null +++ b/newlib/libm/machine/pru/configure.ac @@ -0,0 +1,11 @@ + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/pru/configure.in b/newlib/libm/machine/pru/configure.in deleted file mode 100644 index 7a22fa3..0000000 --- a/newlib/libm/machine/pru/configure.in +++ /dev/null @@ -1,11 +0,0 @@ - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/riscv/configure.ac b/newlib/libm/machine/riscv/configure.ac new file mode 100644 index 0000000..7a22fa3 --- /dev/null +++ b/newlib/libm/machine/riscv/configure.ac @@ -0,0 +1,11 @@ + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/riscv/configure.in b/newlib/libm/machine/riscv/configure.in deleted file mode 100644 index 7a22fa3..0000000 --- a/newlib/libm/machine/riscv/configure.in +++ /dev/null @@ -1,11 +0,0 @@ - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/sparc/configure.ac b/newlib/libm/machine/sparc/configure.ac new file mode 100644 index 0000000..7a22fa3 --- /dev/null +++ b/newlib/libm/machine/sparc/configure.ac @@ -0,0 +1,11 @@ + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/sparc/configure.in b/newlib/libm/machine/sparc/configure.in deleted file mode 100644 index 7a22fa3..0000000 --- a/newlib/libm/machine/sparc/configure.in +++ /dev/null @@ -1,11 +0,0 @@ - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/spu/configure.ac b/newlib/libm/machine/spu/configure.ac new file mode 100644 index 0000000..cd8ac94 --- /dev/null +++ b/newlib/libm/machine/spu/configure.ac @@ -0,0 +1,14 @@ +dnl This is the newlib/libc/machine/spu configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/spu/configure.in b/newlib/libm/machine/spu/configure.in deleted file mode 100644 index cd8ac94..0000000 --- a/newlib/libm/machine/spu/configure.in +++ /dev/null @@ -1,14 +0,0 @@ -dnl This is the newlib/libc/machine/spu configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT diff --git a/newlib/libm/machine/x86_64/configure.ac b/newlib/libm/machine/x86_64/configure.ac new file mode 100644 index 0000000..29492a6 --- /dev/null +++ b/newlib/libm/machine/x86_64/configure.ac @@ -0,0 +1,25 @@ +dnl This is the newlib/libc/machine/x86_64 configure.in file. +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT([newlib],[NEWLIB_VERSION]) +AC_CONFIG_SRCDIR([Makefile.am]) + +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. +AC_CONFIG_AUX_DIR(../../../..) + +NEWLIB_CONFIGURE(../../..) + +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 code must occur after +dnl NEWLIB_CONFIGURE. +_LT_DECL_SED +_LT_PROG_ECHO_BACKSLASH +if test "${use_libtool}" = "yes"; then +AC_LIBTOOL_WIN32_DLL +AM_PROG_LIBTOOL +fi + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT diff --git a/newlib/libm/machine/x86_64/configure.in b/newlib/libm/machine/x86_64/configure.in deleted file mode 100644 index 29492a6..0000000 --- a/newlib/libm/machine/x86_64/configure.in +++ /dev/null @@ -1,25 +0,0 @@ -dnl This is the newlib/libc/machine/x86_64 configure.in file. -dnl Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.59) -AC_INIT([newlib],[NEWLIB_VERSION]) -AC_CONFIG_SRCDIR([Makefile.am]) - -dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -AC_CONFIG_AUX_DIR(../../../..) - -NEWLIB_CONFIGURE(../../..) - -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 code must occur after -dnl NEWLIB_CONFIGURE. -_LT_DECL_SED -_LT_PROG_ECHO_BACKSLASH -if test "${use_libtool}" = "yes"; then -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -fi - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT -- cgit v1.1