automake -a

Marc Glisse marc.glisse at
Sat Sep 21 10:53:44 CEST 2013


on a machine with more recent autotools, they complain that for instance 
our "missing" script is too old. It seems that it would be easiest to do 
what the comment in .bootstrap says, remove those files from the 
repository and use automake -a to make sure we have a consistent version 
of everything (no -f so it doesn't override our specific INSTALL, 
config.guess, etc).

So I would like to apply the following:

remove: doc/mdate-sh doc/texinfo.tex install-sh missing ylwrap

--- a/.bootstrap	Sat Sep 21 01:48:10 2013 +0200
+++ b/.bootstrap	Sat Sep 21 10:42:52 2013 +0200
@@ -1,14 +1,9 @@
  #! /bin/sh

-# FIXME: Use automake -a? Then we could remove various
-# automake-supplied files from the repository.
  # We need to remove the "cache", else things are not regenerated properly
  rm -rf autom4te.cache

-# Stick to automake-1.8, since later versions require the ylwrap
-# script.
-aclocal && libtoolize && autoconf && autoheader && automake
+aclocal && libtoolize && autoconf && autoheader && automake -a

  cat >doc/version.texi <<EOF
  @set UPDATED 19 January 2038

I am getting a few errors in the testsuite on shell at the moment (the
same that appear in the GMP testresults page) so I'll wait until that
settles a bit.

With recent autotools, we still get plenty of messages: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') warning: source file 'cxx/' is in a subdirectory, but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
cxx/ warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
demos/ warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
[... repeated for all directories]

But I guess those can wait.


Marc Glisse

More information about the gmp-devel mailing list