sim: unify toolchain probing logic
Move these options up to the common dir so we only test & export them once across all ports.
This commit is contained in:
parent
c30420d82a
commit
d3562f83a7
@ -1,3 +1,9 @@
|
||||
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* arch-subdir.mk.in: Move toolchain vars from common/Make-common.in.
|
||||
* m4/sim_ac_common.m4: Delete SIM_AC_TOOLCHAIN call. Require
|
||||
AC_PROG_CC and AC_PROG_INSTALL.
|
||||
|
||||
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* arch-subdir.mk.in (zlibdir): New variable.
|
||||
|
1
sim/aarch64/aclocal.m4
vendored
1
sim/aarch64/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/aarch64/configure
vendored
1387
sim/aarch64/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -17,6 +17,29 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
host_alias = @host_alias@
|
||||
target_alias = @target_alias@
|
||||
program_transform_name = @program_transform_name@
|
||||
|
||||
EXEEXT = @EXEEXT@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
CC = @CC@
|
||||
C_DIALECT = @C_DIALECT@
|
||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
AR = @AR@
|
||||
AR_FLAGS = rc
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
zlibdir = @zlibdir@
|
||||
@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
|
||||
COMMON_LIBS = @LIBS@
|
||||
|
1
sim/arm/aclocal.m4
vendored
1
sim/arm/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/arm/configure
vendored
1387
sim/arm/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/avr/aclocal.m4
vendored
1
sim/avr/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/avr/configure
vendored
1387
sim/avr/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/bfin/aclocal.m4
vendored
1
sim/bfin/aclocal.m4
vendored
@ -108,4 +108,3 @@ m4_include([../m4/sim_ac_option_default_model.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1386
sim/bfin/configure
vendored
1386
sim/bfin/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/bpf/aclocal.m4
vendored
1
sim/bpf/aclocal.m4
vendored
@ -110,4 +110,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/bpf/configure
vendored
1387
sim/bpf/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,7 @@
|
||||
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* Make-common.in: Move toolchain vars to ../arch-subdir.mk.in.
|
||||
|
||||
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* Make-common.in (lt_cv_dlopen_libs): Delete.
|
||||
|
@ -52,9 +52,6 @@ include ../arch-subdir.mk
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
host_alias = @host_alias@
|
||||
target_alias = @target_alias@
|
||||
program_transform_name = @program_transform_name@
|
||||
bindir = @bindir@
|
||||
|
||||
libdir = @libdir@
|
||||
@ -70,22 +67,8 @@ includedir = @includedir@
|
||||
# This can be referenced by the gettext configuration code.
|
||||
top_builddir = ..
|
||||
|
||||
EXEEXT = @EXEEXT@
|
||||
SHELL = @SHELL@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
CC = @CC@
|
||||
C_DIALECT = @C_DIALECT@
|
||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
SIM_BITSIZE = @sim_bitsize@
|
||||
SIM_DEFAULT_MODEL = @sim_default_model@
|
||||
SIM_FLOAT = @sim_float@
|
||||
@ -98,11 +81,6 @@ SIM_SCACHE = @sim_scache@
|
||||
SIM_WARN_CFLAGS = $(WARN_CFLAGS)
|
||||
SIM_WERROR_CFLAGS = $(WERROR_CFLAGS)
|
||||
|
||||
AR = @AR@
|
||||
AR_FLAGS = rc
|
||||
RANLIB = @RANLIB@
|
||||
MAKEINFO = makeinfo
|
||||
|
||||
# Dependency tracking information.
|
||||
DEPMODE = @CCDEPMODE@
|
||||
DEPDIR = @DEPDIR@
|
||||
|
1
sim/cr16/aclocal.m4
vendored
1
sim/cr16/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/cr16/configure
vendored
1387
sim/cr16/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/cris/aclocal.m4
vendored
1
sim/cris/aclocal.m4
vendored
@ -109,4 +109,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/cris/configure
vendored
1387
sim/cris/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/d10v/aclocal.m4
vendored
1
sim/d10v/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/d10v/configure
vendored
1387
sim/d10v/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/erc32/aclocal.m4
vendored
1
sim/erc32/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1757
sim/erc32/configure
vendored
1757
sim/erc32/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/example-synacor/aclocal.m4
vendored
1
sim/example-synacor/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/example-synacor/configure
vendored
1387
sim/example-synacor/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/frv/aclocal.m4
vendored
1
sim/frv/aclocal.m4
vendored
@ -109,4 +109,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/frv/configure
vendored
1387
sim/frv/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/ft32/aclocal.m4
vendored
1
sim/ft32/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/ft32/configure
vendored
1387
sim/ft32/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/h8300/aclocal.m4
vendored
1
sim/h8300/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/h8300/configure
vendored
1387
sim/h8300/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/iq2000/aclocal.m4
vendored
1
sim/iq2000/aclocal.m4
vendored
@ -109,4 +109,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/iq2000/configure
vendored
1387
sim/iq2000/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/lm32/aclocal.m4
vendored
1
sim/lm32/aclocal.m4
vendored
@ -109,4 +109,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/lm32/configure
vendored
1387
sim/lm32/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/m32c/aclocal.m4
vendored
1
sim/m32c/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/m32c/configure
vendored
1387
sim/m32c/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/m32r/aclocal.m4
vendored
1
sim/m32r/aclocal.m4
vendored
@ -109,4 +109,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/m32r/configure
vendored
1387
sim/m32r/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -21,9 +21,9 @@ dnl
|
||||
dnl See README-HACKING for more details.
|
||||
AC_DEFUN([SIM_AC_COMMON],
|
||||
[dnl
|
||||
SIM_AC_TOOLCHAIN
|
||||
|
||||
# Dependency checking.
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([AC_PROG_INSTALL])
|
||||
ZW_CREATE_DEPDIR
|
||||
ZW_PROG_COMPILER_DEPENDENCIES([CC])
|
||||
|
||||
|
1
sim/m68hc11/aclocal.m4
vendored
1
sim/m68hc11/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/m68hc11/configure
vendored
1387
sim/m68hc11/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/mcore/aclocal.m4
vendored
1
sim/mcore/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/mcore/configure
vendored
1387
sim/mcore/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/microblaze/aclocal.m4
vendored
1
sim/microblaze/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/microblaze/configure
vendored
1387
sim/microblaze/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/mips/aclocal.m4
vendored
1
sim/mips/aclocal.m4
vendored
@ -109,4 +109,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_reserved_bits.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/mips/configure
vendored
1387
sim/mips/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/mn10300/aclocal.m4
vendored
1
sim/mn10300/aclocal.m4
vendored
@ -108,4 +108,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_reserved_bits.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/mn10300/configure
vendored
1387
sim/mn10300/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/moxie/aclocal.m4
vendored
1
sim/moxie/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/moxie/configure
vendored
1387
sim/moxie/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/msp430/aclocal.m4
vendored
1
sim/msp430/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/msp430/configure
vendored
1387
sim/msp430/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/or1k/aclocal.m4
vendored
1
sim/or1k/aclocal.m4
vendored
@ -110,4 +110,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_scache.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/or1k/configure
vendored
1387
sim/or1k/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,9 @@
|
||||
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* Makefile.in: Delete toolchain vars.
|
||||
* configure.ac: Likewise.
|
||||
* configure: Regenerate.
|
||||
|
||||
2021-06-19 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* Makefile.in (LIBS): Add $(COMMON_LIBS).
|
||||
|
@ -31,9 +31,6 @@ include ../arch-subdir.mk
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
host_alias = @host_alias@
|
||||
target_alias = @target_alias@
|
||||
program_transform_name = @program_transform_name@
|
||||
bindir = @bindir@
|
||||
libdir = @libdir@
|
||||
tooldir = $(libdir)/$(target_alias)
|
||||
@ -56,22 +53,10 @@ includedir = @includedir@
|
||||
# This can be referenced by the gettext configuration code.
|
||||
top_builddir = ..
|
||||
|
||||
EXEEXT = @EXEEXT@
|
||||
SHELL = /bin/sh
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
AR = @AR@
|
||||
AR_FLAGS = rc
|
||||
CC = @CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
|
||||
BISON = bison
|
||||
MAKEINFO = makeinfo
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
INLINE_CFLAGS = @sim_inline@
|
||||
SMP_CFLAGS = @sim_smp@
|
||||
@ -104,7 +89,6 @@ STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN
|
||||
NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS)
|
||||
BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(INCLUDES) $(WARNING_CFLAGS)
|
||||
|
||||
LDFLAGS_FOR_BUILD =
|
||||
LIBS = $(COMMON_LIBS) @LIBS@
|
||||
|
||||
COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS)
|
||||
|
261
sim/ppc/configure
vendored
261
sim/ppc/configure
vendored
@ -654,25 +654,9 @@ sim_opcode
|
||||
sim_config
|
||||
sim_line_nr
|
||||
sim_warnings
|
||||
RANLIB
|
||||
AR
|
||||
CFLAGS_FOR_BUILD
|
||||
CC_FOR_BUILD
|
||||
EGREP
|
||||
GREP
|
||||
CPP
|
||||
target_os
|
||||
target_vendor
|
||||
target_cpu
|
||||
target
|
||||
host_os
|
||||
host_vendor
|
||||
host_cpu
|
||||
host
|
||||
build_os
|
||||
build_vendor
|
||||
build_cpu
|
||||
build
|
||||
CATOBJEXT
|
||||
GENCAT
|
||||
INSTOBJEXT
|
||||
@ -1366,16 +1350,6 @@ Fine tuning of the installation directories:
|
||||
_ACEOF
|
||||
|
||||
cat <<\_ACEOF
|
||||
|
||||
Program names:
|
||||
--program-prefix=PREFIX prepend PREFIX to installed program names
|
||||
--program-suffix=SUFFIX append SUFFIX to installed program names
|
||||
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
||||
|
||||
System types:
|
||||
--build=BUILD configure for building on BUILD [guessed]
|
||||
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
||||
--target=TARGET configure for building compilers for TARGET [HOST]
|
||||
_ACEOF
|
||||
fi
|
||||
|
||||
@ -2969,14 +2943,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC_FOR_BUILD='$(CC)'
|
||||
else
|
||||
CC_FOR_BUILD=gcc
|
||||
fi
|
||||
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
||||
|
||||
ALL_LINGUAS=
|
||||
# If we haven't got the data from the intl directory,
|
||||
# assume NLS is disabled.
|
||||
@ -3686,128 +3652,6 @@ else
|
||||
fi
|
||||
|
||||
|
||||
# Make sure we can run config.sub.
|
||||
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
||||
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
||||
$as_echo_n "checking build system type... " >&6; }
|
||||
if ${ac_cv_build+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_build_alias=$build_alias
|
||||
test "x$ac_build_alias" = x &&
|
||||
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
||||
test "x$ac_build_alias" = x &&
|
||||
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
||||
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
||||
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
||||
$as_echo "$ac_cv_build" >&6; }
|
||||
case $ac_cv_build in
|
||||
*-*-*) ;;
|
||||
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
||||
esac
|
||||
build=$ac_cv_build
|
||||
ac_save_IFS=$IFS; IFS='-'
|
||||
set x $ac_cv_build
|
||||
shift
|
||||
build_cpu=$1
|
||||
build_vendor=$2
|
||||
shift; shift
|
||||
# Remember, the first character of IFS is used to create $*,
|
||||
# except with old shells:
|
||||
build_os=$*
|
||||
IFS=$ac_save_IFS
|
||||
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
||||
$as_echo_n "checking host system type... " >&6; }
|
||||
if ${ac_cv_host+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test "x$host_alias" = x; then
|
||||
ac_cv_host=$ac_cv_build
|
||||
else
|
||||
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
||||
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
||||
$as_echo "$ac_cv_host" >&6; }
|
||||
case $ac_cv_host in
|
||||
*-*-*) ;;
|
||||
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
||||
esac
|
||||
host=$ac_cv_host
|
||||
ac_save_IFS=$IFS; IFS='-'
|
||||
set x $ac_cv_host
|
||||
shift
|
||||
host_cpu=$1
|
||||
host_vendor=$2
|
||||
shift; shift
|
||||
# Remember, the first character of IFS is used to create $*,
|
||||
# except with old shells:
|
||||
host_os=$*
|
||||
IFS=$ac_save_IFS
|
||||
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
||||
$as_echo_n "checking target system type... " >&6; }
|
||||
if ${ac_cv_target+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test "x$target_alias" = x; then
|
||||
ac_cv_target=$ac_cv_host
|
||||
else
|
||||
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
||||
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
||||
$as_echo "$ac_cv_target" >&6; }
|
||||
case $ac_cv_target in
|
||||
*-*-*) ;;
|
||||
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
||||
esac
|
||||
target=$ac_cv_target
|
||||
ac_save_IFS=$IFS; IFS='-'
|
||||
set x $ac_cv_target
|
||||
shift
|
||||
target_cpu=$1
|
||||
target_vendor=$2
|
||||
shift; shift
|
||||
# Remember, the first character of IFS is used to create $*,
|
||||
# except with old shells:
|
||||
target_os=$*
|
||||
IFS=$ac_save_IFS
|
||||
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
||||
|
||||
|
||||
# The aliases save the names the user supplied, while $host etc.
|
||||
# will get canonicalized.
|
||||
test -n "$target_alias" &&
|
||||
test "$program_prefix$program_suffix$program_transform_name" = \
|
||||
NONENONEs,x,x, &&
|
||||
program_prefix=${target_alias}-
|
||||
|
||||
test "$program_prefix" != NONE &&
|
||||
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
||||
# Use a double $ so make ignores it.
|
||||
test "$program_suffix" != NONE &&
|
||||
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
||||
# Double any \ or $.
|
||||
# By default was `s,x,x', remove it if useless.
|
||||
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
||||
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
||||
|
||||
|
||||
case ${host} in
|
||||
*mingw32*)
|
||||
|
||||
@ -4511,7 +4355,13 @@ else
|
||||
*) realsrcdir=../${srcdir};;
|
||||
esac
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
|
||||
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC_FOR_BUILD='$(CC)'
|
||||
else
|
||||
CC_FOR_BUILD=gcc
|
||||
fi
|
||||
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD-${CFLAGS}}" \
|
||||
LDFLAGS="${LDFLAGS_FOR_BUILD}" \
|
||||
${realsrcdir}/configure \
|
||||
--enable-languages=${enable_languages-all} \
|
||||
@ -4525,103 +4375,6 @@ fi
|
||||
|
||||
|
||||
|
||||
AR=${AR-ar}
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if ${ac_cv_prog_RANLIB+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$RANLIB"; then
|
||||
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
||||
else
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
RANLIB=$ac_cv_prog_RANLIB
|
||||
if test -n "$RANLIB"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
||||
$as_echo "$RANLIB" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
if test -z "$ac_cv_prog_RANLIB"; then
|
||||
ac_ct_RANLIB=$RANLIB
|
||||
# Extract the first word of "ranlib", so it can be a program name with args.
|
||||
set dummy ranlib; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$ac_ct_RANLIB"; then
|
||||
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
||||
else
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
||||
if test -n "$ac_ct_RANLIB"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
||||
$as_echo "$ac_ct_RANLIB" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
if test "x$ac_ct_RANLIB" = x; then
|
||||
RANLIB=":"
|
||||
else
|
||||
case $cross_compiling:$ac_tool_warned in
|
||||
yes:)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
||||
ac_tool_warned=yes ;;
|
||||
esac
|
||||
RANLIB=$ac_ct_RANLIB
|
||||
fi
|
||||
else
|
||||
RANLIB="$ac_cv_prog_RANLIB"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -5,14 +5,6 @@ AC_CONFIG_MACRO_DIRS([../.. ../../config])
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_CC
|
||||
|
||||
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC_FOR_BUILD='$(CC)'
|
||||
else
|
||||
CC_FOR_BUILD=gcc
|
||||
fi
|
||||
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
|
||||
|
||||
dnl We don't use gettext, but bfd does. So we do the appropriate checks
|
||||
dnl to see if there are intl libraries we should link against.
|
||||
ALL_LINGUAS=
|
||||
@ -503,9 +495,6 @@ if test x"$silent" != x"yes" && test x"$sim_xor_endian" != x""; then
|
||||
fi],[sim_xor_endian=""])dnl
|
||||
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
case ${host} in
|
||||
*mingw32*)
|
||||
AC_DEFINE(USE_WIN32API, 1,
|
||||
@ -679,7 +668,13 @@ else
|
||||
*) realsrcdir=../${srcdir};;
|
||||
esac
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
|
||||
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
CC_FOR_BUILD='$(CC)'
|
||||
else
|
||||
CC_FOR_BUILD=gcc
|
||||
fi
|
||||
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD-${CFLAGS}}" \
|
||||
LDFLAGS="${LDFLAGS_FOR_BUILD}" \
|
||||
${realsrcdir}/configure \
|
||||
--enable-languages=${enable_languages-all} \
|
||||
@ -690,12 +685,6 @@ else
|
||||
rm -rf $tempdir
|
||||
fi
|
||||
|
||||
AC_SUBST(CC_FOR_BUILD)
|
||||
AC_SUBST(CFLAGS_FOR_BUILD)
|
||||
AC_SUBST(CFLAGS)
|
||||
AR=${AR-ar}
|
||||
AC_SUBST(AR)
|
||||
AC_PROG_RANLIB
|
||||
AC_SUBST(sim_warnings)
|
||||
AC_SUBST(sim_line_nr)
|
||||
AC_SUBST(sim_config)
|
||||
|
1
sim/pru/aclocal.m4
vendored
1
sim/pru/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/pru/configure
vendored
1387
sim/pru/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/riscv/aclocal.m4
vendored
1
sim/riscv/aclocal.m4
vendored
@ -108,4 +108,3 @@ m4_include([../m4/sim_ac_option_default_model.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/riscv/configure
vendored
1387
sim/riscv/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/rl78/aclocal.m4
vendored
1
sim/rl78/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/rl78/configure
vendored
1387
sim/rl78/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/rx/aclocal.m4
vendored
1
sim/rx/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/rx/configure
vendored
1387
sim/rx/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/sh/aclocal.m4
vendored
1
sim/sh/aclocal.m4
vendored
@ -106,4 +106,3 @@ m4_include([../m4/sim_ac_common.m4])
|
||||
m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/sh/configure
vendored
1387
sim/sh/configure
vendored
File diff suppressed because it is too large
Load Diff
1
sim/v850/aclocal.m4
vendored
1
sim/v850/aclocal.m4
vendored
@ -108,4 +108,3 @@ m4_include([../m4/sim_ac_option_hardware.m4])
|
||||
m4_include([../m4/sim_ac_option_inline.m4])
|
||||
m4_include([../m4/sim_ac_option_reserved_bits.m4])
|
||||
m4_include([../m4/sim_ac_output.m4])
|
||||
m4_include([../m4/sim_ac_toolchain.m4])
|
||||
|
1387
sim/v850/configure
vendored
1387
sim/v850/configure
vendored
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user