automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: include only in cvs-automake?


From: Gary V. Vaughan
Subject: Re: include only in cvs-automake?
Date: Thu, 8 Feb 2001 22:28:47 +0000
User-agent: Mutt/1.3.12i

On Wed, Feb 07, 2001 at 11:32:43AM -0700, Tom Tromey wrote:
> >>>>> "Per" == Per Bothner <address@hidden> writes:
> 
> Per> The Autotools book, the automake-1.4 manual, and the
> Per> automake-1.4/NEWS all imply that "include" is part of automake
> Per> 1.4.  So how come it doesn't work, but when I try automake from
> Per> cvs it does work?
> 
> Maybe it is a bug in the book.  It's hard to remember 1.4 :-(

Wow.  I almost sent a message to say that I had definitely used
`include' in some old (circa-1997) projects.  But I dug out the code,
and it seems I was relying on make's own include implementation.  I am
still using automake-1.4 (so that I can be certain that the upcoming
libtool releases will work correctly with it) and had never noticed
this before... 

Tom, would you commit an errata to the autobook pages to describe this
bug please?

FYI, I attach the macro I dug out, which allows you to add this to
your Makefile.am:

  @MAKEINCLUDE@ @address@hidden(top_builddir)/config/address@hidden@

This works with the `include file' and `.include "file"' syntaxes.

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

Attachment: make.m4
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]