aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 01:40:33 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 23:06:01 -0400
commit7e3941ac0619431d51a9643e20cb0e0720502101 (patch)
tree05a2ae5bf74afa8b363ce18713e0fcc427bfbbc6 /gdb/configure.ac
parent57a922a59801a9e7684f9661a65fa2ed5833d65d (diff)
downloadgdb-7e3941ac0619431d51a9643e20cb0e0720502101.zip
gdb-7e3941ac0619431d51a9643e20cb0e0720502101.tar.gz
gdb-7e3941ac0619431d51a9643e20cb0e0720502101.tar.bz2
gdb/gdbserver: switch to AC_CONFIG_MACRO_DIRS
These dirs don't use automake, so use AC_CONFIG_MACRO_DIRS to specify ../config as a search dir for m4 macros. This allows removal of a lot of hand-written m4_include's from acinclude.m4 files, and simplifies use of `aclocal` or `autoreconf` as manual -I is not needed.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 68cf84d..67aa628 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -18,9 +18,8 @@ dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl Process this file with autoconf to produce a configure script.
-m4_include(../config/debuginfod.m4)
-
AC_INIT
+AC_CONFIG_MACRO_DIRS([../config])
AC_CONFIG_SRCDIR([main.c])
AC_CONFIG_HEADERS(config.h:config.in, [echo > stamp-h])
AM_MAINTAINER_MODE