-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ralf Wildenhues on 9/4/2008 12:52 PM: >>> In bin/Makefile.am you want: >>> >>> foo_SOURCES = foo.c >>> >>> H >> This contradicts with the autoconf manual (see the page 28, chapter 4.8.4, >> "Build Directories") > > No it doesn't. The Autoconf manual, however, doesn't in all places > assume that you use Automake in conjunction with Autoconf. To help avoid confusion, I'm committing the following. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@xxxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjC4rEACgkQ84KuGfSFAYAJuQCgpJ1UVg17h/9JqWb7iWZyNfOp aMIAn3dhaErQFyb8E6hxZDJ9oiF4VqtF =R7Yd -----END PGP SIGNATURE-----
>From 9e9aa529b19e7e1360970374e298ede5e50c39f5 Mon Sep 17 00:00:00 2001 From: Eric Blake <ebb9@xxxxxxx> Date: Sat, 6 Sep 2008 14:05:09 -0600 Subject: [PATCH] Mention that Automake already supports VPATH. * doc/autoconf.texi (Build Directories): Details in this section only apply to users avoiding automake. * THANKS: Update. Reported by Matej Tyc. Signed-off-by: Eric Blake <ebb9@xxxxxxx> --- ChangeLog | 6 ++++++ THANKS | 1 + doc/autoconf.texi | 7 +++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ad89f7..35ec73c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-09-06 Eric Blake <ebb9@xxxxxxx> + Mention that Automake already supports VPATH. + * doc/autoconf.texi (Build Directories): Details in this section + only apply to users avoiding automake. + * THANKS: Update. + Reported by Matej Tyc. + Relax tone when warning about cross-compiler names. * lib/autoconf/programs.m4 (_AC_TOOL_WARN): Support cross-compiles with poorly named tools; the issue has been reported too many diff --git a/THANKS b/THANKS index afdd697..f1e2b04 100644 --- a/THANKS +++ b/THANKS diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 97f09d7..f3f4b7d 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -2896,8 +2896,11 @@ Build Directories @command{make} programs do not support @code{VPATH}; when using them, the source code must be in the same directory as the object files. -To support @code{VPATH}, each @file{Makefile.in} should contain two -lines that look like: +If you are using @acronym{GNU} Automake, the remaining details in this +section are already covered for you, based on the contents of your +@file{Makefile.am}. But if you are using Autoconf in isolation, then +supporting @code{VPATH} requires the following in your +@file{Makefile.in}: @example srcdir = @@srcdir@@ -- 1.6.0
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf