Minor updates to readline configury
authorTom Tromey <tromey@adacore.com>
Fri, 15 Nov 2019 20:40:53 +0000 (13:40 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 15 Nov 2019 20:46:54 +0000 (13:46 -0700)
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

readline/ChangeLog
readline/Makefile.am
readline/Makefile.in
readline/configure
readline/configure.ac

index 936dc3133a3e77fea7a473d2717b6bfa9c6e6c77..d13b1e80dd17cb97157a9005ce142422a4782050 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2019-10-23  Tom Tromey  <tom@tromey.com>
 
        Move old contents to readline/ subdirectory.
index 50b10b244cd61a2431d501463c0f9119e724dcfb..67e4adc01881d13a2529e7268c7c12a2b3a9ff67 100644 (file)
@@ -15,6 +15,4 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-AUTOMAKE_OPTIONS = no-dist foreign
 SUBDIRS = readline
-ACLOCAL_AMFLAGS = -I . -I ../config
index 1c68a53bdb95fcfa24870b3b6671f8174a92a3e3..9c2071e77db0f109853d23277413c17cd969be4f 100644 (file)
@@ -245,9 +245,7 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-AUTOMAKE_OPTIONS = no-dist foreign
 SUBDIRS = readline
-ACLOCAL_AMFLAGS = -I . -I ../config
 all: all-recursive
 
 .SUFFIXES:
index 672c6a4b8d8d38b991e3b2843bc1faf906e4c80e..f049a1bfdcaeb72db8d0ba3f9dd67eb23db31976 100755 (executable)
@@ -1744,6 +1744,7 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
+
 am__api_version='1.15'
 
 # Find a good install program.  We prefer a C program (faster),
@@ -2233,15 +2234,6 @@ fi
  VERSION='UNUSED-VERSION'
 
 
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-_ACEOF
-
 # Some tools Automake needs.
 
 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
index d4ded1158f14f406e96144fabee43936f2f5fe11..fdc330421cb4fe2bf490aa98b74251da27abfde8 100644 (file)
@@ -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])
This page took 0.028514 seconds and 4 git commands to generate.