aboutsummaryrefslogtreecommitdiff
path: root/readline/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-11-15 13:40:53 -0700
committerTom Tromey <tromey@adacore.com>2019-11-15 13:46:54 -0700
commitbb69c5018be23daa67a28fa83cb692f41d34c89e (patch)
treebc340cef950ad4d83a494a9977f31a09726d9fdb /readline/configure.ac
parent53fea9c7e6d4993088016a16be56098fd819cebc (diff)
downloadgdb-bb69c5018be23daa67a28fa83cb692f41d34c89e.zip
gdb-bb69c5018be23daa67a28fa83cb692f41d34c89e.tar.gz
gdb-bb69c5018be23daa67a28fa83cb692f41d34c89e.tar.bz2
Minor updates to readline configury
Christian's recent patches to gnulib made me realize that readline should be changed to use AC_CONFIG_MACRO_DIRS (ACLOCAL_AMFLAGS is deprecated) and that it can put the automake options into configure.ac. I also added no-define to the automake options. This doesn't matter much (we don't generate a config.h here), but gnulib does it, and it does make configure slightly smaller. readline/ChangeLog 2019-11-15 Tom Tromey <tromey@adacore.com> * configure, Makefile.in: Rebuild. * configure.ac: Use AC_CONFIG_MACRO_DIRS. Pass options to AM_INIT_AUTOMAKE. * Makefile.am (AUTOMAKE_OPTIONS, ACLOCAL_AMFLAGS): Remove. Change-Id: If421599cc9dd9c4c3c37b9b439ab2c22c01742ed
Diffstat (limited to 'readline/configure.ac')
-rw-r--r--readline/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/readline/configure.ac b/readline/configure.ac
index d4ded11..fdc3304 100644
--- a/readline/configure.ac
+++ b/readline/configure.ac
@@ -21,7 +21,8 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT([readline], [UNUSED-VERSION])
AC_CONFIG_SRCDIR([readline/readline.c])
AC_CONFIG_AUX_DIR(..)
-AM_INIT_AUTOMAKE
+AC_CONFIG_MACRO_DIRS([../config])
+AM_INIT_AUTOMAKE([no-define no-dist foreign])
AM_MAINTAINER_MODE
AC_CONFIG_SUBDIRS([readline])