aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/aclocal.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-02-06 19:46:16 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-13 00:24:20 -0500
commit136da8cd9c32379b6f4b504e62a9d1bebb36587f (patch)
tree49f369d45f477616b01033a32802c7603cf66901 /sim/erc32/aclocal.m4
parent652f80e07b267771ed0748966f042bdf3c379ac8 (diff)
downloadgdb-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/erc32/aclocal.m4')
-rw-r--r--sim/erc32/aclocal.m432
1 files changed, 13 insertions, 19 deletions
diff --git a/sim/erc32/aclocal.m4 b/sim/erc32/aclocal.m4
index e9f11c7..1c83b20 100644
--- a/sim/erc32/aclocal.m4
+++ b/sim/erc32/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])