diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-02-06 19:46:16 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-13 00:24:20 -0500 |
commit | 136da8cd9c32379b6f4b504e62a9d1bebb36587f (patch) | |
tree | 49f369d45f477616b01033a32802c7603cf66901 /sim/mn10300/aclocal.m4 | |
parent | 652f80e07b267771ed0748966f042bdf3c379ac8 (diff) | |
download | gdb-136da8cd9c32379b6f4b504e62a9d1bebb36587f.zip gdb-136da8cd9c32379b6f4b504e62a9d1bebb36587f.tar.gz gdb-136da8cd9c32379b6f4b504e62a9d1bebb36587f.tar.bz2 |
sim: switch to AC_CONFIG_MACRO_DIRS
Rather than hand maintain m4 includes in various autotool files,
use AC_CONFIG_MACRO_DIRS to declare the relevant search paths.
This simplifies the code, makes it more robust, and cleans out
unused logic from configure.
Diffstat (limited to 'sim/mn10300/aclocal.m4')
-rw-r--r-- | sim/mn10300/aclocal.m4 | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/sim/mn10300/aclocal.m4 b/sim/mn10300/aclocal.m4 index e9f11c7..1c83b20 100644 --- a/sim/mn10300/aclocal.m4 +++ b/sim/mn10300/aclocal.m4 @@ -45,25 +45,6 @@ AC_CONFIG_COMMANDS_PRE( Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 2003-2017 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -AC_DEFUN([AM_SET_LEADING_DOT], -[rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null -AC_SUBST([am__leading_dot])]) - # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering @@ -117,3 +98,16 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) +m4_include([../../config/acx.m4]) +m4_include([../../config/depstand.m4]) +m4_include([../../config/gettext-sister.m4]) +m4_include([../../config/lead-dot.m4]) +m4_include([../../config/override.m4]) +m4_include([../../config/plugins.m4]) +m4_include([../../config/zlib.m4]) +m4_include([../../libtool.m4]) +m4_include([../../ltoptions.m4]) +m4_include([../../ltsugar.m4]) +m4_include([../../ltversion.m4]) +m4_include([../../lt~obsolete.m4]) +m4_include([../common/acinclude.m4]) |