diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-02-06 19:24:29 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-13 00:15:11 -0500 |
commit | adeab0c5b33fd5f4959fa9a079a5b558f0088ba3 (patch) | |
tree | f0e1e771e70ec144700d8ff292154234e2b4bb5a /binutils/aclocal.m4 | |
parent | ceda7cf7f715ff62bfd9caeaa3f1b1ef9fdd4ecf (diff) | |
download | gdb-adeab0c5b33fd5f4959fa9a079a5b558f0088ba3.zip gdb-adeab0c5b33fd5f4959fa9a079a5b558f0088ba3.tar.gz gdb-adeab0c5b33fd5f4959fa9a079a5b558f0088ba3.tar.bz2 |
config/debuginfod: do not include pkg.m4 directly
Any code using AC_DEBUGINFOD from this dir is using -I../config when
running aclocal, so an explicit include on pkg.m4 is unnecessary:
aclocal will find the pkg.m4 in this dir just as easily. This is
seen in the only two dirs that use AC_DEBUGINFOD (binutils & gdb)
as their aclocal.m4 already has m4_include on config m4 files.
The include as written only works if aclocal is run on a dir that is
at the same level of config/. Any other depth will fail.
./
|-- config/
|-- binutils/ # works
|-- gdb/ # works
`-- sim/ # works
`-- <port>/ # fails
It fails even if AC_DEBUGINFOD itself isn't used:
sim/bfin/ $ aclocal -I../../config
aclocal-1.15: error: ../../config/debuginfod.m4:8: file '../config/pkg.m4' does not exist
Diffstat (limited to 'binutils/aclocal.m4')
-rw-r--r-- | binutils/aclocal.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/aclocal.m4 b/binutils/aclocal.m4 index 8eca8cf..e6b490a 100644 --- a/binutils/aclocal.m4 +++ b/binutils/aclocal.m4 @@ -1201,6 +1201,7 @@ m4_include([../config/lib-link.m4]) m4_include([../config/lib-prefix.m4]) m4_include([../config/nls.m4]) m4_include([../config/override.m4]) +m4_include([../config/pkg.m4]) m4_include([../config/plugins.m4]) m4_include([../config/po.m4]) m4_include([../config/progtest.m4]) |