diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-02-06 22:51:30 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-21 02:20:19 -0500 |
commit | 760b3e8bc9ab6e292debab7758a403fe611d302b (patch) | |
tree | 151033c1708874d9da979e8c7e92c8aca9b08925 /sim/iq2000 | |
parent | 89753bbf8102edc2aa4262a4d43f1a71a10e34f3 (diff) | |
download | gdb-760b3e8bc9ab6e292debab7758a403fe611d302b.zip gdb-760b3e8bc9ab6e292debab7758a403fe611d302b.tar.gz gdb-760b3e8bc9ab6e292debab7758a403fe611d302b.tar.bz2 |
sim: common: split up acinclude.m4 into individual m4 files
This file is quite large and is getting unmanageable. Split it apart
to follow aclocal best practices by putting one-macro-per-file. There
shouldn't be any real functional changes here as can be seen in the
configure script regens.
Diffstat (limited to 'sim/iq2000')
-rw-r--r-- | sim/iq2000/ChangeLog | 5 | ||||
-rw-r--r-- | sim/iq2000/aclocal.m4 | 13 | ||||
-rwxr-xr-x | sim/iq2000/configure | 23 | ||||
-rw-r--r-- | sim/iq2000/configure.ac | 2 |
4 files changed, 35 insertions, 8 deletions
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index c9cf7d1..569226d 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,8 @@ +2021-02-21 Mike Frysinger <vapier@gentoo.org> + + * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. + * aclocal.m4, configure: Regenerate. + 2021-02-13 Mike Frysinger <vapier@gentoo.org> * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. diff --git a/sim/iq2000/aclocal.m4 b/sim/iq2000/aclocal.m4 index 1c83b20..155b726 100644 --- a/sim/iq2000/aclocal.m4 +++ b/sim/iq2000/aclocal.m4 @@ -98,6 +98,18 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) +m4_include([../m4/sim_ac_common.m4]) +m4_include([../m4/sim_ac_option_alignment.m4]) +m4_include([../m4/sim_ac_option_assert.m4]) +m4_include([../m4/sim_ac_option_cgen_maint.m4]) +m4_include([../m4/sim_ac_option_default_model.m4]) +m4_include([../m4/sim_ac_option_endian.m4]) +m4_include([../m4/sim_ac_option_environment.m4]) +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_option_warnings.m4]) +m4_include([../m4/sim_ac_output.m4]) m4_include([../../config/acx.m4]) m4_include([../../config/depstand.m4]) m4_include([../../config/gettext-sister.m4]) @@ -110,4 +122,3 @@ m4_include([../../ltoptions.m4]) m4_include([../../ltsugar.m4]) m4_include([../../ltversion.m4]) m4_include([../../lt~obsolete.m4]) -m4_include([../common/acinclude.m4]) diff --git a/sim/iq2000/configure b/sim/iq2000/configure index bf7d321..213800d 100755 --- a/sim/iq2000/configure +++ b/sim/iq2000/configure @@ -631,6 +631,9 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +sim_reserved_bits +sim_float +sim_bitsize cgen_breaks cgen cgendir @@ -750,16 +753,13 @@ PATH_SEPARATOR SHELL WERROR_CFLAGS WARN_CFLAGS -sim_reserved_bits +sim_scache sim_inline sim_hw sim_hw_objs sim_hw_cflags -sim_default_model -sim_scache -sim_float sim_endian -sim_bitsize +sim_default_model sim_alignment' ac_subst_files='' ac_user_opts=' @@ -11805,7 +11805,6 @@ _ACEOF - wire_endian="BIG" default_endian="" # Check whether --enable-sim-endian was given. @@ -12186,6 +12185,18 @@ ac_config_commands="$ac_config_commands Makefile" ac_config_commands="$ac_config_commands stamp-h" + + + + + + + + + + + + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure diff --git a/sim/iq2000/configure.ac b/sim/iq2000/configure.ac index d8db34e..1a5dcfb 100644 --- a/sim/iq2000/configure.ac +++ b/sim/iq2000/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(Makefile.in) -AC_CONFIG_MACRO_DIRS([../common ../.. ../../config]) +AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config]) SIM_AC_COMMON |