autoconf
[Top][All Lists]
Advanced

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

Re: How to specify srcdir?


From: Eric Blake
Subject: Re: How to specify srcdir?
Date: Sat, 06 Sep 2008 14:06:10 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

-----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             address@hidden
-----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 <address@hidden>
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 <address@hidden>
---
 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  <address@hidden>
 
+       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
address@hidden  But if you are using Autoconf in isolation, then
+supporting @code{VPATH} requires the following in your
address@hidden:
 
 @example
 srcdir = @@srcdir@@
-- 
1.6.0


reply via email to

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