<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1484</id>
	<title>Nabble - Gnu - Automake</title>
	<updated>2009-12-06T01:32:16Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Automake-f1484.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Automake-f1484.html" />
	<subtitle type="html">Automake is a tool for automatically generating Makefiles compliant with the GNU Coding Standards. Gnu - Automake home is &lt;a href=&quot;http://sources.redhat.com/automake/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26663304</id>
	<title>Re: problem --enable-shared and --enable-static together</title>
	<published>2009-12-06T01:32:16Z</published>
	<updated>2009-12-06T01:32:16Z</updated>
	<author>
		<name>Andreas Otto-5</name>
	</author>
	<content type="html">Am Samstag 05 Dezember 2009 13:33:06 schrieb Ralf Wildenhues:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Andreas,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; besides answers already given:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * Andreas Otto wrote on Fri, Dec 04, 2009 at 09:41:16AM CET:
&lt;br&gt;&amp;gt; &amp;gt; as you see both *lo and *.o are created. the *.o are useless and just
&lt;br&gt;&amp;gt; &amp;gt; extend the compiling time
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Q: what can I do to avoid build static libraries ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; foo_LIBTOOLFLAGS = -tag=disable-static
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; for a target 'foo'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I use &amp;quot;../libmsgque/*.lo&amp;quot; for in-project libraray dependency to avoid to
&lt;br&gt;&amp;gt; &amp;gt; link to my own shared libraray
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sounds like you could profit from using convenience archives.
&lt;/div&gt;&lt;br&gt;from the info page:
&lt;br&gt;&lt;br&gt;&lt;br&gt;8.3.5 Libtool Convenience Libraries
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;Sometimes you want to build libtool libraries that should not be
&lt;br&gt;installed. &amp;nbsp;These are called &amp;quot;libtool convenience libraries&amp;quot; and are
&lt;br&gt;typically used to encapsulate many sublibraries, later gathered into
&lt;br&gt;one big installed library.
&lt;br&gt;&lt;br&gt;-&amp;gt; the problem is &amp;quot;not be installed&amp;quot;
&lt;br&gt;&lt;br&gt;the base library from my project is &amp;quot;libmsgque&amp;quot; and this library is
&lt;br&gt;used for the following purpose:
&lt;br&gt;&lt;br&gt;1. installed as library 
&lt;br&gt;2. used as base library for a language-extension library
&lt;br&gt;3. used as base library for some test-tools.
&lt;br&gt;&lt;br&gt;for 2+3 I don't want to link again the shared libraray of &amp;quot;libmsgque&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2. executables should build without library dependency. This mean that
&lt;br&gt;&amp;gt; &amp;gt; if configured with &amp;quot;--enable-static&amp;quot; the static object files should be
&lt;br&gt;&amp;gt; &amp;gt; used and if configureed without the shared object files should be used.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Link the program against the library with -static.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope that helps.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Ralf
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem---enable-shared-and---enable-static-together-tp26639377p26663304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26663246</id>
	<title>Re: problem --enable-shared and --enable-static together</title>
	<published>2009-12-06T01:17:21Z</published>
	<updated>2009-12-06T01:17:21Z</updated>
	<author>
		<name>Andreas Otto-5</name>
	</author>
	<content type="html">Am Samstag 05 Dezember 2009 13:33:06 schrieb Ralf Wildenhues:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Andreas,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; besides answers already given:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * Andreas Otto wrote on Fri, Dec 04, 2009 at 09:41:16AM CET:
&lt;br&gt;&amp;gt; &amp;gt; as you see both *lo and *.o are created. the *.o are useless and just
&lt;br&gt;&amp;gt; &amp;gt; extend the compiling time
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Q: what can I do to avoid build static libraries ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; foo_LIBTOOLFLAGS = -tag=disable-static
&lt;/div&gt;&lt;br&gt;Q: what is foo?
&lt;br&gt;&lt;br&gt;I try &amp;quot;tclmsgque_LIBTOOLFLAGS&amp;quot; -&amp;gt; no change
&lt;br&gt;I look into the &amp;quot;Makefile&amp;quot; and get
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;tclmsgque_la-context_tcl.lo: context_tcl.c
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile 
&lt;br&gt;$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $
&lt;br&gt;(CPPFLAGS) $(tclmsgque_la_CFLAGS) $(CFLAGS) -MT tclmsgque_la-context_tcl.lo -
&lt;br&gt;MD -MP -MF $(DEPDIR)/tclmsgque_la-context_tcl.Tpo -c -o tclmsgq
&lt;br&gt;ue_la-context_tcl.lo `test -f 'context_tcl.c' || echo 
&lt;br&gt;'$(srcdir)/'`context_tcl.c
&lt;br&gt;...
&lt;br&gt;as you see only $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) are used ????
&lt;br&gt;-&amp;gt;I'm confused
&lt;br&gt;the info page speek about
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; &amp;nbsp;If `LIBRARY_LIBTOOLFLAGS' is not defined, the global
&lt;br&gt;`AM_LIBTOOLFLAGS' variable is used instead.
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;about LIBRARY_LIBTOOLFLAGS well even the &amp;quot;LIBRARY&amp;quot; prefix does not work
&lt;br&gt;-&amp;gt;I'm more confused
&lt;br&gt;&lt;br&gt;than I try AM_LIBTOOLFLAGS
&lt;br&gt;&lt;br&gt;and get the following error...
&lt;br&gt;&lt;br&gt;/bin/sh ../../libtool --tag=CC -tag=disable-static &amp;nbsp;--mode=compile ccache gcc 
&lt;br&gt;-std=gnu99 -DHAVE_CONFIG_H -I. -I../.. &amp;nbsp; -D_DEBUG &amp;nbsp;-I./../libmsgque -
&lt;br&gt;I/home/dev1usr/ext/x86_64-suse-linux/thread/include -DUSE_TCL_STUBS &amp;nbsp;-
&lt;br&gt;DMQ_IGNORE_EXTERN -g -O3 -Wall -Wcast-align -Wstrict-prototypes -
&lt;br&gt;fvisibility=hidden -g -O2 -pthread -MT tclmsgque_la-context_tcl.lo -MD -MP -MF 
&lt;br&gt;.deps/tclmsgque_la-context_tcl.Tpo -c -o tclmsgque_la-context_tcl.lo `test -f 
&lt;br&gt;'context_tcl.c' || echo './'`context_tcl.c
&lt;br&gt;libtool: unrecognized option `-tag=disable-static'
&lt;br&gt;libtool: Try `libtool --help' for more information.
&lt;br&gt;make: *** [tclmsgque_la-context_tcl.lo] Fehler 1
&lt;br&gt;&lt;br&gt;after a look inti the info page I change &amp;quot;-tag&amp;quot; to &amp;quot;--tag&amp;quot; ..
&lt;br&gt;&lt;br&gt;next try
&lt;br&gt;&lt;br&gt;now it works ...........
&lt;br&gt;&lt;br&gt;summary:
&lt;br&gt;&lt;br&gt;change:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foo_LIBTOOLFLAGS = -tag=disable-static
&lt;br&gt;&lt;br&gt;into
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AM_LIBTOOLFLAGS = --tag=disable-static
&lt;br&gt;&lt;br&gt;than it is fine
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; for a target 'foo'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I use &amp;quot;../libmsgque/*.lo&amp;quot; for in-project libraray dependency to avoid to
&lt;br&gt;&amp;gt; &amp;gt; link to my own shared libraray
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sounds like you could profit from using convenience archives.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2. executables should build without library dependency. This mean that
&lt;br&gt;&amp;gt; &amp;gt; if configured with &amp;quot;--enable-static&amp;quot; the static object files should be
&lt;br&gt;&amp;gt; &amp;gt; used and if configureed without the shared object files should be used.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Link the program against the library with -static.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope that helps.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Ralf
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem---enable-shared-and---enable-static-together-tp26639377p26663246.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26658157</id>
	<title>Re: Remove dependency on gunzip</title>
	<published>2009-12-05T10:39:48Z</published>
	<updated>2009-12-05T10:39:48Z</updated>
	<author>
		<name>Bugzilla from ant_diaz@teleline.es</name>
	</author>
	<content type="html">Ralf Wildenhues wrote:
&lt;br&gt;&amp;gt; Yep. &amp;nbsp;I'm applying this to remove the dependency upon unlzma, gunzip,
&lt;br&gt;&amp;gt; and bunzip2, and adding you to THANKS, to the maint branch, intended
&lt;br&gt;&amp;gt; for master and branch-1.11.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Antonio.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Remove-dependency-on-gunzip-tp26027712p26658157.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26656000</id>
	<title>Re: testsuite failures when test scripts are run with zsh</title>
	<published>2009-12-05T06:09:34Z</published>
	<updated>2009-12-05T06:09:34Z</updated>
	<author>
		<name>Stefano Lattarini</name>
	</author>
	<content type="html">I have rebased my private branch against master, and also amended the
&lt;br&gt;patch a bit (to deal with the test `cscope.test', which used a
&lt;br&gt;`$MAKE 2&amp;gt;stderr' redirection that I missed). &amp;nbsp;The updated patch is 
&lt;br&gt;attached.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; Stefano
&lt;br&gt;&lt;br /&gt;From e9666da90920c1373bfe6f9cbf8aa1e4e50c2b8a Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Stefano Lattarini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26656000&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sat, 5 Dec 2009 15:03:54 +0100
&lt;br&gt;Subject: [PATCH] Testsuite: avoid Zsh-related problem with `set -x'.
&lt;br&gt;&lt;br&gt;* tests/README: Describe Zsh 4.x `set -x' a.k.a. `xtrace' issue
&lt;br&gt;and workaround with run_command.
&lt;br&gt;* tests/defs.in (run_command): New function, to be used for
&lt;br&gt;commands whose standard error needs to be captured.
&lt;br&gt;(save_shell_flags, restore_shell_flags): New functions, used in
&lt;br&gt;run_command.
&lt;br&gt;(AUTOMAKE_run): Reimplemented using run_command. Updated comment.
&lt;br&gt;(AUTOMAKE_fails): Updated comment.
&lt;br&gt;* tests/acloca14.test: Use new subroutine run_command instead
&lt;br&gt;of hand-crafted redirections of stdout and/or stderr.
&lt;br&gt;* tests/acloca17.test: Likewise.
&lt;br&gt;* tests/acloca18.test: Likewise.
&lt;br&gt;* tests/aclocal.test: Likewise.
&lt;br&gt;* tests/aclocal3.test: Likewise.
&lt;br&gt;* tests/aclocal8.test: Likewise.
&lt;br&gt;* tests/acsilent.test: Likewise.
&lt;br&gt;* tests/alpha.test: Likewise.
&lt;br&gt;* tests/ammissing.test: Likewise.
&lt;br&gt;* tests/ansi3.test: Likewise.
&lt;br&gt;* tests/ansi3b.test: Likewise.
&lt;br&gt;* tests/ccnoco3.test: Likewise.
&lt;br&gt;* tests/check8.test: Likewise.
&lt;br&gt;* tests/cond39.test: Likewise.
&lt;br&gt;* tests/cscope.test: Likewise.
&lt;br&gt;* tests/depcomp2.test: Likewise.
&lt;br&gt;* tests/depcomp4.test: Likewise.
&lt;br&gt;* tests/depend5.test: Likewise.
&lt;br&gt;* tests/depend6.test: Likewise.
&lt;br&gt;* tests/discover.test: Likewise.
&lt;br&gt;* tests/distcom3.test: Likewise.
&lt;br&gt;* tests/fn99.test: Likewise.
&lt;br&gt;* tests/fn99subdir.test: Likewise.
&lt;br&gt;* tests/gnits2.test: Likewise.
&lt;br&gt;* tests/gnits3.test: Likewise.
&lt;br&gt;* tests/help.test: Likewise.
&lt;br&gt;* tests/init.test: Likewise.
&lt;br&gt;* tests/instsh.test: Likewise.
&lt;br&gt;* tests/ldadd.test: Likewise.
&lt;br&gt;* tests/libtool7.test: Likewise.
&lt;br&gt;* tests/libtool9.test: Likewise.
&lt;br&gt;* tests/lisp3.test: Likewise.
&lt;br&gt;* tests/ltorder.test: Likewise.
&lt;br&gt;* tests/man4.test: Likewise.
&lt;br&gt;* tests/mdate.test: Likewise.
&lt;br&gt;* tests/missing3.test: Likewise.
&lt;br&gt;* tests/missing4.test: Likewise.
&lt;br&gt;* tests/missing6.test: Likewise.
&lt;br&gt;* tests/obsolete.test: Likewise.
&lt;br&gt;* tests/output-order.test: Likewise.
&lt;br&gt;* tests/pr220.test: Likewise.
&lt;br&gt;* tests/pr300-ltlib.test: Likewise.
&lt;br&gt;* tests/python11.test: Likewise.
&lt;br&gt;* tests/python4.test: Likewise.
&lt;br&gt;* tests/python5.test: Likewise.
&lt;br&gt;* tests/python6.test: Likewise.
&lt;br&gt;* tests/python7.test: Likewise.
&lt;br&gt;* tests/python8.test: Likewise.
&lt;br&gt;* tests/python9.test: Likewise.
&lt;br&gt;* tests/sanity.test: Likewise.
&lt;br&gt;* tests/subobj.test: Likewise.
&lt;br&gt;* tests/subobj9.test: Likewise.
&lt;br&gt;* tests/unused.test: Likewise.
&lt;br&gt;* tests/vars3.test: Likewise.
&lt;br&gt;* tests/version8.test: Likewise.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 68 +++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;tests/README &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 10 ++++
&lt;br&gt;&amp;nbsp;tests/acloca14.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 +-
&lt;br&gt;&amp;nbsp;tests/acloca17.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +--
&lt;br&gt;&amp;nbsp;tests/acloca18.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; 10 ++--
&lt;br&gt;&amp;nbsp;tests/aclocal.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;8 ++--
&lt;br&gt;&amp;nbsp;tests/aclocal3.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/aclocal8.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/acsilent.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 ++-
&lt;br&gt;&amp;nbsp;tests/alpha.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/ammissing.test &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/ansi3.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/ansi3b.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/ccnoco3.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;3 +-
&lt;br&gt;&amp;nbsp;tests/check8.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 +--
&lt;br&gt;&amp;nbsp;tests/cond39.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 +--
&lt;br&gt;&amp;nbsp;tests/cscope.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +--
&lt;br&gt;&amp;nbsp;tests/defs.in &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp;119 +++++++++++++++++++++++++++++++++++++++++++----
&lt;br&gt;&amp;nbsp;tests/depcomp2.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; 14 +++--
&lt;br&gt;&amp;nbsp;tests/depcomp4.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/depend5.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +--
&lt;br&gt;&amp;nbsp;tests/depend6.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/discover.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/distcom3.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/fn99.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/fn99subdir.test &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/gnits2.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;tests/gnits3.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;tests/help.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 +-
&lt;br&gt;&amp;nbsp;tests/init.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 18 ++++++--
&lt;br&gt;&amp;nbsp;tests/instsh.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/ldadd.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/libtool7.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; 23 ++++-----
&lt;br&gt;&amp;nbsp;tests/libtool9.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;9 ++--
&lt;br&gt;&amp;nbsp;tests/lisp3.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/ltorder.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/man4.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 +--
&lt;br&gt;&amp;nbsp;tests/mdate.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/missing3.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; 18 ++++----
&lt;br&gt;&amp;nbsp;tests/missing4.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;8 +--
&lt;br&gt;&amp;nbsp;tests/missing6.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 +--
&lt;br&gt;&amp;nbsp;tests/obsolete.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;tests/output-order.test | &amp;nbsp; 11 ++--
&lt;br&gt;&amp;nbsp;tests/pr220.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/pr300-ltlib.test &amp;nbsp;| &amp;nbsp; &amp;nbsp;6 +--
&lt;br&gt;&amp;nbsp;tests/python11.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +--
&lt;br&gt;&amp;nbsp;tests/python4.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/python5.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/python6.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/python7.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/python8.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/python9.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/sanity.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +--
&lt;br&gt;&amp;nbsp;tests/subobj.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/subobj9.test &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;tests/unused.test &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +-
&lt;br&gt;&amp;nbsp;tests/vars3.test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;tests/version8.test &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +-
&lt;br&gt;&amp;nbsp;58 files changed, 358 insertions(+), 219 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index a5c98fe..189d6d6 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,71 @@
&lt;br&gt;+2009-12-05 &amp;nbsp;Stefano Lattarini &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26656000&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Testsuite: avoid Zsh-related problem with `set -x'.
&lt;br&gt;+	* tests/README: Describe Zsh 4.x `set -x' a.k.a. `xtrace' issue
&lt;br&gt;+	and workaround with run_command.
&lt;br&gt;+	* tests/defs.in (run_command): New function, to be used for
&lt;br&gt;+	commands whose standard error needs to be captured.
&lt;br&gt;+	(save_shell_flags, restore_shell_flags): New functions, used in
&lt;br&gt;+	run_command.
&lt;br&gt;+	(AUTOMAKE_run): Reimplemented using run_command. Updated comment.
&lt;br&gt;+	(AUTOMAKE_fails): Updated comment.
&lt;br&gt;+	* tests/acloca14.test: Use new subroutine run_command instead
&lt;br&gt;+	of hand-crafted redirections of stdout and/or stderr.
&lt;br&gt;+	* tests/acloca17.test: Likewise.
&lt;br&gt;+	* tests/acloca18.test: Likewise.
&lt;br&gt;+	* tests/aclocal.test: Likewise.
&lt;br&gt;+	* tests/aclocal3.test: Likewise.
&lt;br&gt;+	* tests/aclocal8.test: Likewise.
&lt;br&gt;+	* tests/acsilent.test: Likewise.
&lt;br&gt;+	* tests/alpha.test: Likewise.
&lt;br&gt;+	* tests/ammissing.test: Likewise.
&lt;br&gt;+	* tests/ansi3.test: Likewise.
&lt;br&gt;+	* tests/ansi3b.test: Likewise.
&lt;br&gt;+	* tests/ccnoco3.test: Likewise.
&lt;br&gt;+	* tests/check8.test: Likewise.
&lt;br&gt;+	* tests/cond39.test: Likewise.
&lt;br&gt;+	* tests/cscope.test: Likewise.
&lt;br&gt;+	* tests/depcomp2.test: Likewise.
&lt;br&gt;+	* tests/depcomp4.test: Likewise.
&lt;br&gt;+	* tests/depend5.test: Likewise.
&lt;br&gt;+	* tests/depend6.test: Likewise.
&lt;br&gt;+	* tests/discover.test: Likewise.
&lt;br&gt;+	* tests/distcom3.test: Likewise.
&lt;br&gt;+	* tests/fn99.test: Likewise.
&lt;br&gt;+	* tests/fn99subdir.test: Likewise.
&lt;br&gt;+	* tests/gnits2.test: Likewise.
&lt;br&gt;+	* tests/gnits3.test: Likewise.
&lt;br&gt;+	* tests/help.test: Likewise.
&lt;br&gt;+	* tests/init.test: Likewise.
&lt;br&gt;+	* tests/instsh.test: Likewise.
&lt;br&gt;+	* tests/ldadd.test: Likewise.
&lt;br&gt;+	* tests/libtool7.test: Likewise.
&lt;br&gt;+	* tests/libtool9.test: Likewise.
&lt;br&gt;+	* tests/lisp3.test: Likewise.
&lt;br&gt;+	* tests/ltorder.test: Likewise.
&lt;br&gt;+	* tests/man4.test: Likewise.
&lt;br&gt;+	* tests/mdate.test: Likewise.
&lt;br&gt;+	* tests/missing3.test: Likewise.
&lt;br&gt;+	* tests/missing4.test: Likewise.
&lt;br&gt;+	* tests/missing6.test: Likewise.
&lt;br&gt;+	* tests/obsolete.test: Likewise.
&lt;br&gt;+	* tests/output-order.test: Likewise.
&lt;br&gt;+	* tests/pr220.test: Likewise.
&lt;br&gt;+	* tests/pr300-ltlib.test: Likewise.
&lt;br&gt;+	* tests/python11.test: Likewise.
&lt;br&gt;+	* tests/python4.test: Likewise.
&lt;br&gt;+	* tests/python5.test: Likewise.
&lt;br&gt;+	* tests/python6.test: Likewise.
&lt;br&gt;+	* tests/python7.test: Likewise.
&lt;br&gt;+	* tests/python8.test: Likewise.
&lt;br&gt;+	* tests/python9.test: Likewise.
&lt;br&gt;+	* tests/sanity.test: Likewise.
&lt;br&gt;+	* tests/subobj.test: Likewise.
&lt;br&gt;+	* tests/subobj9.test: Likewise.
&lt;br&gt;+	* tests/unused.test: Likewise.
&lt;br&gt;+	* tests/vars3.test: Likewise.
&lt;br&gt;+	* tests/version8.test: Likewise.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-11-28 &amp;nbsp;Jim Meyering &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26656000&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	do not put world-writable directories in distribution tarballs
&lt;br&gt;diff --git a/tests/README b/tests/README
&lt;br&gt;index d494b10..0b26211 100644
&lt;br&gt;--- a/tests/README
&lt;br&gt;+++ b/tests/README
&lt;br&gt;@@ -133,6 +133,16 @@ Do
&lt;br&gt;&amp;nbsp; &amp;nbsp;Use $sleep when you have to make sure that some file is newer
&lt;br&gt;&amp;nbsp; &amp;nbsp;than another.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp;To run a program and analyze its stderr, use the run_command function.
&lt;br&gt;+ &amp;nbsp;For example:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; run_command PROG [ARGS...]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; grep $pattern stderr
&lt;br&gt;+ &amp;nbsp;or (if you must check that nothing is written on stderr):
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; run_command PROG2 [ARGS...]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; test ! -s stderr
&lt;br&gt;+ &amp;nbsp;See section &amp;quot;File Descriptors&amp;quot; in the Autoconf manual to understand why
&lt;br&gt;+ &amp;nbsp;this can be useful, or even required.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp;Use `cat' or `grep' to display (part of) files that may be
&lt;br&gt;&amp;nbsp; &amp;nbsp;interesting for debugging, so that when a user send a verbose
&lt;br&gt;&amp;nbsp; &amp;nbsp;output we don't have to ask him for more details. &amp;nbsp;Display stderr
&lt;br&gt;diff --git a/tests/acloca14.test b/tests/acloca14.test
&lt;br&gt;index 8ddbb1a..cf9c484 100755
&lt;br&gt;--- a/tests/acloca14.test
&lt;br&gt;+++ b/tests/acloca14.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2004, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2004, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -108,5 +108,5 @@ $MAKE testdist2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Make sure aclocal diagnose missing included files with correct `file:line:'.
&lt;br&gt;&amp;nbsp;rm -f b.m4
&lt;br&gt;-$ACLOCAL 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e 1 $ACLOCAL
&lt;br&gt;&amp;nbsp;grep 'a.m4:1:.*b.m4.*does not exist' stderr
&lt;br&gt;diff --git a/tests/acloca17.test b/tests/acloca17.test
&lt;br&gt;index 884f24b..788cb9d 100755
&lt;br&gt;--- a/tests/acloca17.test
&lt;br&gt;+++ b/tests/acloca17.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2004, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2004, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -33,7 +33,5 @@ EOF
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# FIXME: We want autom4te's 'undefined required macro' warning to be fatal,
&lt;br&gt;&amp;nbsp;# but have no means to say so to aclocal. &amp;nbsp;We use WARNINGS=error instead.
&lt;br&gt;-
&lt;br&gt;-WARNINGS=error $ACLOCAL -I m4 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e 1 env WARNINGS=error $ACLOCAL -I m4
&lt;br&gt;&amp;nbsp;grep 'configure.in:4:.*UNDEFINED_MACRO' stderr
&lt;br&gt;diff --git a/tests/acloca18.test b/tests/acloca18.test
&lt;br&gt;index 22feb23..7047eea 100755
&lt;br&gt;--- a/tests/acloca18.test
&lt;br&gt;+++ b/tests/acloca18.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2005, 2006, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2005, 2006, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -86,7 +86,7 @@ grep macro23 foo
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1 -I 2'
&lt;br&gt;&amp;nbsp;rm -f foo
&lt;br&gt;-$ACLOCAL --install 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e 1 $ACLOCAL --install
&lt;br&gt;&amp;nbsp;grep AM_MACRO2 stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;ACLOCAL_TESTSUITE_FLAGS='-I 4 -I 1'
&lt;br&gt;@@ -105,9 +105,7 @@ AC_DEFUN([AM_MACRO1], [echo macro1d &amp;gt;&amp;gt; foo])
&lt;br&gt;&amp;nbsp;AC_DEFUN([AM_MACRO2], [echo macro2d &amp;gt;&amp;gt; foo])
&lt;br&gt;&amp;nbsp;EOF
&lt;br&gt;&amp;nbsp;rm -f foo
&lt;br&gt;-$ACLOCAL --diff=diff &amp;gt;output 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;-cat output
&lt;br&gt;-grep '#serial 456' output
&lt;br&gt;+run_command $ACLOCAL --diff=diff
&lt;br&gt;+grep '#serial 456' stdout
&lt;br&gt;&amp;nbsp;test ! -f 4/m1.m4
&lt;br&gt;&amp;nbsp;grep 'installing.*4/m1.m4' stderr
&lt;br&gt;diff --git a/tests/aclocal.test b/tests/aclocal.test
&lt;br&gt;index 6b87a9d..945b363 100755
&lt;br&gt;--- a/tests/aclocal.test
&lt;br&gt;+++ b/tests/aclocal.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1998, 2001, 2002, 2004, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1998, 2001, 2002, 2004, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -23,15 +23,15 @@ set -e
&lt;br&gt;&amp;nbsp;$ACLOCAL --output=fred
&lt;br&gt;&amp;nbsp;test -f fred
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL --output 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e 1 $ACLOCAL --output
&lt;br&gt;&amp;nbsp;grep 'option.*--output.*an argument' stderr
&lt;br&gt;&amp;nbsp;grep help stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL --unknown-option 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e 1 $ACLOCAL --unknown-option
&lt;br&gt;&amp;nbsp;grep 'unrecognized.*--unknown-option' stderr
&lt;br&gt;&amp;nbsp;grep help stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL --ver 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e 1 $ACLOCAL --ver
&lt;br&gt;&amp;nbsp;grep 'unrecognized.*--ver' stderr
&lt;br&gt;&amp;nbsp;grep help stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/tests/aclocal3.test b/tests/aclocal3.test
&lt;br&gt;index a550e50..34c5335 100755
&lt;br&gt;--- a/tests/aclocal3.test
&lt;br&gt;+++ b/tests/aclocal3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1998, 2002, 2004 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1998, 2002, 2004, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -27,6 +27,5 @@ AC_DEFUN([GNOME_X_CHECKS], [
&lt;br&gt;&amp;nbsp;])
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL -I macros 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command -e 1 $ACLOCAL -I macros
&lt;br&gt;&amp;nbsp;grep 'macros/gnome.m4:2:.*AM_PATH_GTK.*not found' stderr
&lt;br&gt;diff --git a/tests/aclocal8.test b/tests/aclocal8.test
&lt;br&gt;index ac10aff..4cf7d73 100755
&lt;br&gt;--- a/tests/aclocal8.test
&lt;br&gt;+++ b/tests/aclocal8.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003, 2004 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2004, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -34,9 +34,8 @@ EOF
&lt;br&gt;&amp;nbsp;echo 'AC_DEFUN([MACRO1],)' &amp;gt;m4/macro1.m4
&lt;br&gt;&amp;nbsp;echo 'AC_DEFUN([MACRO2], [AC_REQUIRE([AM_UNUSED_MACRO])])' &amp;gt;m4/macro2.m4
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL -I m4 &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;-test 0 = `wc -l &amp;lt;output`
&lt;br&gt;+run_command -m $ACLOCAL -I m4
&lt;br&gt;+test -s stdall &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;grep macro1.m4 aclocal.m4
&lt;br&gt;&amp;nbsp;grep macro2.m4 aclocal.m4 &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;diff --git a/tests/acsilent.test b/tests/acsilent.test
&lt;br&gt;index 6ac7863..e250092 100755
&lt;br&gt;--- a/tests/acsilent.test
&lt;br&gt;+++ b/tests/acsilent.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1996, 2001, 2002, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1996, 2001, 2002, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -32,5 +32,6 @@ module=[$1]
&lt;br&gt;&amp;nbsp;AC_SUBST(module)])
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL &amp;gt; output 2&amp;gt;&amp;1 || { cat output; Exit 1; }
&lt;br&gt;-test -z &amp;quot;`cat output`&amp;quot;
&lt;br&gt;+run_command -m $ACLOCAL
&lt;br&gt;+test -s stdall &amp;&amp; Exit 1
&lt;br&gt;+:
&lt;br&gt;diff --git a/tests/alpha.test b/tests/alpha.test
&lt;br&gt;index 1ee8ed6..1410b9d 100755
&lt;br&gt;--- a/tests/alpha.test
&lt;br&gt;+++ b/tests/alpha.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1998, 2001, 2002, 2003, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1998, 2001, 2002, 2003, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -62,8 +62,7 @@ $AUTOMAKE
&lt;br&gt;&amp;nbsp;./configure
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# make distdir should fail because NEWS does not mention 1.0a
&lt;br&gt;-$MAKE check 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL $MAKE check
&lt;br&gt;&amp;nbsp;grep 'NEWS not updated' stderr
&lt;br&gt;&amp;nbsp;test ! -f works
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/tests/ammissing.test b/tests/ammissing.test
&lt;br&gt;index 61d360a..42aa481 100755
&lt;br&gt;--- a/tests/ammissing.test
&lt;br&gt;+++ b/tests/ammissing.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1997, 2002, 2004 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1997, 2002, 2004, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -20,6 +20,5 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;echo AM_ZARDOZ &amp;gt;&amp;gt; configure.in
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command -e 1 $ACLOCAL
&lt;br&gt;&amp;nbsp;grep 'configure.in:.*AM_ZARDOZ.*not found' stderr
&lt;br&gt;diff --git a/tests/ansi3.test b/tests/ansi3.test
&lt;br&gt;index 2bbcaf7..95e4fc1 100755
&lt;br&gt;--- a/tests/ansi3.test
&lt;br&gt;+++ b/tests/ansi3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1998, 1999, 2001, 2002, 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1998, 1999, 2001, 2002, 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -53,8 +53,7 @@ export CFLAGS
&lt;br&gt;&amp;nbsp;# Linux boxes (Red Hat 5.1 in particular).
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;-$AUTOMAKE -a 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $AUTOMAKE -a
&lt;br&gt;&amp;nbsp;grep 'Makefile.am:1:.*ansi2knr\.c' stderr
&lt;br&gt;&amp;nbsp;CC='gcc' ./configure
&lt;br&gt;&amp;nbsp;ANSI2KNR=./ansi2knr U=_ $MAKE -e
&lt;br&gt;diff --git a/tests/ansi3b.test b/tests/ansi3b.test
&lt;br&gt;index 8f254ad..447b690 100755
&lt;br&gt;--- a/tests/ansi3b.test
&lt;br&gt;+++ b/tests/ansi3b.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1998, 1999, 2001, 2002, 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1998, 1999, 2001, 2002, 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -52,8 +52,7 @@ export CFLAGS
&lt;br&gt;&amp;nbsp;# Linux boxes (Red Hat 5.1 in particular).
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;-$AUTOMAKE -a 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $AUTOMAKE -a
&lt;br&gt;&amp;nbsp;grep 'configure.in:2:.*ansi2knr\.1' stderr
&lt;br&gt;&amp;nbsp;CC='gcc' ./configure
&lt;br&gt;&amp;nbsp;ANSI2KNR=./ansi2knr U=_ $MAKE -e
&lt;br&gt;diff --git a/tests/ccnoco3.test b/tests/ccnoco3.test
&lt;br&gt;index 2e9cd37..93731a1 100755
&lt;br&gt;--- a/tests/ccnoco3.test
&lt;br&gt;+++ b/tests/ccnoco3.test
&lt;br&gt;@@ -74,8 +74,7 @@ CC=`pwd`/../Mycomp
&lt;br&gt;&amp;nbsp;export CC
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;../configure
&lt;br&gt;-$MAKE 2&amp;gt;stderr || { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command $MAKE
&lt;br&gt;&amp;nbsp;grep 'mv.*the same file' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;Exit 0
&lt;br&gt;diff --git a/tests/check8.test b/tests/check8.test
&lt;br&gt;index 7936582..a087cb7 100755
&lt;br&gt;--- a/tests/check8.test
&lt;br&gt;+++ b/tests/check8.test
&lt;br&gt;@@ -67,10 +67,7 @@ $AUTOMAKE -a
&lt;br&gt;&amp;nbsp;unset TESTS || :
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;./configure
&lt;br&gt;-AM_COLOR_TESTS=always $MAKE -e check &amp;gt;stdout 2&amp;gt;stderr &amp;&amp;
&lt;br&gt;- &amp;nbsp;{ cat stdout; cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stdout
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL -- env AM_COLOR_TESTS=always $MAKE -e check
&lt;br&gt;&amp;nbsp;grep 'XPASS.* foo$' stdout
&lt;br&gt;&amp;nbsp;grep '^[^X]*PASS.* sub/foo$' stdout
&lt;br&gt;&amp;nbsp;grep '^[^X]*PASS.* bar' stdout
&lt;br&gt;@@ -87,8 +84,7 @@ $MAKE distclean
&lt;br&gt;&amp;nbsp;mkdir build
&lt;br&gt;&amp;nbsp;cd build
&lt;br&gt;&amp;nbsp;../configure
&lt;br&gt;-$MAKE check &amp;gt;stdout &amp;&amp; { cat stdout; Exit 1; }
&lt;br&gt;-cat stdout
&lt;br&gt;+run_command -e FAIL $MAKE check
&lt;br&gt;&amp;nbsp;# Note: we are not grepping for the space here, due to the Solaris make VPATH
&lt;br&gt;&amp;nbsp;# rewriting (if we fix that, we can still write a separate test for it).
&lt;br&gt;&amp;nbsp;grep 'XPASS.*foo$' stdout
&lt;br&gt;diff --git a/tests/cond39.test b/tests/cond39.test
&lt;br&gt;index 79eaa70..1e44866 100755
&lt;br&gt;--- a/tests/cond39.test
&lt;br&gt;+++ b/tests/cond39.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#!/bin/sh
&lt;br&gt;-# Copyright (C) 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This file is part of GNU Automake.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;@@ -82,8 +82,7 @@ $AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;./configure COND=true
&lt;br&gt;-$MAKE 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $MAKE
&lt;br&gt;&amp;nbsp;grep 'overriding commands' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;$MAKE sure-exist
&lt;br&gt;&amp;nbsp;./prog1 &amp;&amp; Exit 1
&lt;br&gt;@@ -97,8 +96,7 @@ $MAKE sure-exist
&lt;br&gt;&amp;nbsp;$MAKE distclean
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;./configure COND=false
&lt;br&gt;-$MAKE 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $MAKE
&lt;br&gt;&amp;nbsp;grep 'overriding commands' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;./prog1
&lt;br&gt;&amp;nbsp;./sub/prog2
&lt;br&gt;diff --git a/tests/cscope.test b/tests/cscope.test
&lt;br&gt;index 716cc38..8669169 100755
&lt;br&gt;--- a/tests/cscope.test
&lt;br&gt;+++ b/tests/cscope.test
&lt;br&gt;@@ -73,8 +73,7 @@ $MAKE -n cscope
&lt;br&gt;&amp;nbsp;: ${CSCOPE=cscope}
&lt;br&gt;&amp;nbsp;( $CSCOPE --version ) &amp;gt;/dev/null 2&amp;gt;&amp;1 || Exit 77
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE cscope 2&amp;gt;stderr
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command $MAKE cscope
&lt;br&gt;&amp;nbsp;grep 'cannot find file' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;test -f cscope.files
&lt;br&gt;@@ -96,8 +95,7 @@ test ! -f cscope.po.out
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;`pwd`/../configure || Exit 77
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE cscope 2&amp;gt;stderr
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command $MAKE cscope
&lt;br&gt;&amp;nbsp;grep 'cannot find file' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;$MAKE distclean
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/tests/defs.in b/tests/defs.in
&lt;br&gt;index 6eec344..530f1e0 100644
&lt;br&gt;--- a/tests/defs.in
&lt;br&gt;+++ b/tests/defs.in
&lt;br&gt;@@ -399,26 +399,127 @@ is_newest ()
&lt;br&gt;&amp;nbsp; &amp;nbsp;test -z &amp;quot;$is_newest_files&amp;quot;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+# save_shell_flags [VAR-BASENAME]
&lt;br&gt;+# -------------------------------
&lt;br&gt;+# Save current shell flags in variable VAR_saved_shell_flags
&lt;br&gt;+# (default: _saved_shell_flags)
&lt;br&gt;+save_shell_flags ()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;eval &amp;quot;${1}_saved_shell_flags=\$-&amp;quot;;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+# restore_shell_flags [VAR]
&lt;br&gt;+# -------------------------
&lt;br&gt;+# Restore shell flags saved in variable VAR_saved_shell_flags
&lt;br&gt;+# (default: _saved_shell_flags)
&lt;br&gt;+restore_shell_flags ()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;eval set -\${&amp;quot;${1}_saved_shell_flags&amp;quot;}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+# run_command [-e STATUS] [-m] [--] COMMAND [ARGUMENTS..]
&lt;br&gt;+# -------------------------------------------------------
&lt;br&gt;+# Run the given COMMAND with ARGUMENTS, and cause the test to FAIL if
&lt;br&gt;+# COMMAND does not exit with STATUS (more details are given below).
&lt;br&gt;+# Also, save standard output and standard error from COMMAND, by default
&lt;br&gt;+# respectively in files `stdout' and `stderr' (in the current directory),
&lt;br&gt;+# or together in the file `stdall' (in the current directory) if the `-m'
&lt;br&gt;+# option is given.
&lt;br&gt;+# If STATUS is numeric, the exit value of COMMAND must match it exactly.
&lt;br&gt;+# If STATUS is &amp;quot;FAIL&amp;quot; or &amp;quot;FAILURE&amp;quot;, then any exit value of COMMAND *but 0*
&lt;br&gt;+# is acceptable. &amp;nbsp;If STATUS is &amp;quot;IGNORE&amp;quot; or &amp;quot;IGNORED&amp;quot;, any exit value of
&lt;br&gt;+# COMMAND is acceptable, and run_command returns with success regardless
&lt;br&gt;+# of that value. &amp;nbsp;Finally, if STATUS is &amp;quot;RETURN&amp;quot;, any exit value of COMMAND
&lt;br&gt;+# is acceptable, *and* such exit value is returned by run_command.
&lt;br&gt;+# Default STATUS is `0'.
&lt;br&gt;+run_command ()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp;save_shell_flags 'run_command'
&lt;br&gt;+ &amp;nbsp;set +x # xtrace verbosity temporarly disabled in this function
&lt;br&gt;+ &amp;nbsp;run_exitcode_expected=0
&lt;br&gt;+ &amp;nbsp;run_mix_stdout_and_stderr=no
&lt;br&gt;+ &amp;nbsp;while test $# -gt 0; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case $1 in
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;-e) run_exitcode_expected=$2; shift;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;-m) run_mix_stdout_and_stderr=yes;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;--) shift; break;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;-?) echo &amp;quot;run_commmand: invalid switch \`$1'&amp;quot; &amp;gt;&amp;2; Exit 99;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; *) break;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;esac
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;shift
&lt;br&gt;+ &amp;nbsp;done
&lt;br&gt;+ &amp;nbsp;case $# in
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;0) echo &amp;quot;run_command: missing COMMAND argument&amp;quot; &amp;gt;&amp;2; Exit 99;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;*) run_cmd=$1; shift;;
&lt;br&gt;+ &amp;nbsp;esac
&lt;br&gt;+ &amp;nbsp;if test x&amp;quot;$run_mix_stdout_and_stderr&amp;quot; = x&amp;quot;yes&amp;quot;; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;run_evald_cmd='&amp;quot;$run_cmd&amp;quot; ${1+&amp;quot;$@&amp;quot;} &amp;gt;stdall 2&amp;gt;&amp;1'
&lt;br&gt;+ &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;run_evald_cmd='&amp;quot;$run_cmd&amp;quot; ${1+&amp;quot;$@&amp;quot;} &amp;gt;stdout 2&amp;gt;stderr'
&lt;br&gt;+ &amp;nbsp;fi
&lt;br&gt;+ &amp;nbsp;# NOTE: do not use the apparently simpler construct:
&lt;br&gt;+ &amp;nbsp;# &amp;nbsp; if eval &amp;quot;$run_evald_cmd&amp;quot;; then
&lt;br&gt;+ &amp;nbsp;# &amp;nbsp; &amp;nbsp; run_exitcode_got=0
&lt;br&gt;+ &amp;nbsp;# &amp;nbsp; else
&lt;br&gt;+ &amp;nbsp;# &amp;nbsp; &amp;nbsp; run_exitcode_got=$?
&lt;br&gt;+ &amp;nbsp;# &amp;nbsp; fi
&lt;br&gt;+ &amp;nbsp;# as FreeBSD /bin/sh chokes on it when `set -e' is on.
&lt;br&gt;+ &amp;nbsp;if (eval &amp;quot;exec $run_evald_cmd&amp;quot;); then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;run_exitcode_got=0
&lt;br&gt;+ &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;run_exitcode_got=$?
&lt;br&gt;+ &amp;nbsp;fi
&lt;br&gt;+ &amp;nbsp;if test x&amp;quot;$run_mix_stdout_and_stderr&amp;quot; = x&amp;quot;yes&amp;quot;; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;set -x
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;cat stdall
&lt;br&gt;+ else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;set -x
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;cat stderr &amp;gt;&amp;2
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;cat stdout
&lt;br&gt;+ &amp;nbsp;fi
&lt;br&gt;+ &amp;nbsp;# Apparently, the `set +x' with redirected stderr is executed in a
&lt;br&gt;+ &amp;nbsp;# subshell by Solaris Sh, so repeat it without redirection.
&lt;br&gt;+ &amp;nbsp;{ set +x; } 2&amp;gt;/dev/null; set +x
&lt;br&gt;+ &amp;nbsp;case $run_exitcode_expected in
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;RETURN|return)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;restore_shell_flags 'run_command'
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;return $run_exitcode_got &amp;nbsp;# RETURN POINT HERE
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;IGNORE|ignore|IGNORED|ignored|$run_exitcode_got)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;run_ok=yes
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;FAIL|fail|FAILURE|failure)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if test $run_exitcode_got -gt 0; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run_ok=yes
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run_ok=no
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;fi
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;*)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;run_ok=no
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;;;
&lt;br&gt;+ &amp;nbsp;esac
&lt;br&gt;+ &amp;nbsp;echo &amp;quot;run_command: exit status $run_exitcode_got (expecting&amp;quot; \
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;$run_exitcode_expected)&amp;quot;
&lt;br&gt;+ &amp;nbsp;restore_shell_flags 'run_command'
&lt;br&gt;+ &amp;nbsp;test x&amp;quot;$run_ok&amp;quot; = x&amp;quot;yes&amp;quot; || Exit 1
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# AUTOMAKE_run status [options...]
&lt;br&gt;&amp;nbsp;# --------------------------------
&lt;br&gt;-# Run Automake with OPTIONS, and fail if automake
&lt;br&gt;+# Run Automake with OPTIONS, and cause the test to FAIL if automake
&lt;br&gt;&amp;nbsp;# does not exit with STATUS.
&lt;br&gt;&amp;nbsp;AUTOMAKE_run ()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp;expected_exitcode=$1
&lt;br&gt;+ &amp;nbsp;am_run_expected_exitcode=$1
&lt;br&gt;&amp;nbsp; &amp;nbsp;shift
&lt;br&gt;- &amp;nbsp;exitcode=0
&lt;br&gt;- &amp;nbsp;$AUTOMAKE ${1+&amp;quot;$@&amp;quot;} &amp;gt;stdout 2&amp;gt;stderr || exitcode=$?
&lt;br&gt;- &amp;nbsp;cat stderr &amp;gt;&amp;2
&lt;br&gt;- &amp;nbsp;cat stdout
&lt;br&gt;- &amp;nbsp;test $exitcode = $expected_exitcode || Exit 1
&lt;br&gt;+ &amp;nbsp;run_command -e $am_run_expected_exitcode -- $AUTOMAKE ${1+&amp;quot;$@&amp;quot;}
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# AUTOMAKE_fails [options...]
&lt;br&gt;&amp;nbsp;# ---------------------------
&lt;br&gt;-# Run Automake with OPTIONS, and fail if automake
&lt;br&gt;-# does not exit with STATUS.
&lt;br&gt;+# Run Automake with OPTIONS, and cuse the test to FAIL if automake
&lt;br&gt;+# does not exit with status 1.
&lt;br&gt;&amp;nbsp;AUTOMAKE_fails ()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp;AUTOMAKE_run 1 ${1+&amp;quot;$@&amp;quot;}
&lt;br&gt;diff --git a/tests/depcomp2.test b/tests/depcomp2.test
&lt;br&gt;index 4653c90..0daf2f0 100755
&lt;br&gt;--- a/tests/depcomp2.test
&lt;br&gt;+++ b/tests/depcomp2.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2001, 2002 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2001, 2002, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -20,6 +20,8 @@
&lt;br&gt;&amp;nbsp;required=gcc
&lt;br&gt;&amp;nbsp;. ./defs || Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+set -e
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;cat &amp;gt; configure.in &amp;lt;&amp;lt; 'END'
&lt;br&gt;&amp;nbsp;AC_INIT(subdir/foo.c)
&lt;br&gt;&amp;nbsp;AM_INIT_AUTOMAKE(nonesuch, nonesuch)
&lt;br&gt;@@ -45,8 +47,8 @@ END
&lt;br&gt;&amp;nbsp;CFLAGS=
&lt;br&gt;&amp;nbsp;export CFLAGS
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL || Exit 1
&lt;br&gt;-$AUTOMAKE --add-missing || Exit 1
&lt;br&gt;-$AUTOCONF || Exit 1
&lt;br&gt;-./configure CC='gcc' 2&amp;gt;error.log
&lt;br&gt;-test -z &amp;quot;`cat error.log`&amp;quot;
&lt;br&gt;+$ACLOCAL
&lt;br&gt;+$AUTOMAKE --add-missing
&lt;br&gt;+$AUTOCONF
&lt;br&gt;+run_command ./configure CC='gcc'
&lt;br&gt;+test ! -s stderr
&lt;br&gt;diff --git a/tests/depcomp4.test b/tests/depcomp4.test
&lt;br&gt;index 7d22894..70cbd57 100755
&lt;br&gt;--- a/tests/depcomp4.test
&lt;br&gt;+++ b/tests/depcomp4.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -51,7 +51,6 @@ $AUTOMAKE -a
&lt;br&gt;&amp;nbsp;grep am_cv_CC_dependencies_compiler_type configure
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;./configure am_cv_CC_dependencies_compiler_type=makedepend
&lt;br&gt;-$MAKE &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;-grep 'unknown directive' output &amp;&amp; Exit 1
&lt;br&gt;+run_command -m $MAKE
&lt;br&gt;+grep 'unknown directive' stdall &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;$MAKE grepdeps
&lt;br&gt;diff --git a/tests/depend5.test b/tests/depend5.test
&lt;br&gt;index 0d9be3b..52e4169 100755
&lt;br&gt;--- a/tests/depend5.test
&lt;br&gt;+++ b/tests/depend5.test
&lt;br&gt;@@ -65,10 +65,7 @@ for arg in Makefile \
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;quot;--file=$name&amp;quot;
&lt;br&gt;&amp;nbsp;do
&lt;br&gt;&amp;nbsp; &amp;nbsp;rm -rf .deps _deps
&lt;br&gt;- &amp;nbsp;./config.status &amp;quot;$arg&amp;quot; depfiles &amp;gt;stdout 2&amp;gt;stderr ||
&lt;br&gt;- &amp;nbsp; &amp;nbsp;{ cat stdout; cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;- &amp;nbsp;cat stdout
&lt;br&gt;- &amp;nbsp;cat stderr &amp;gt;&amp;2
&lt;br&gt;+ &amp;nbsp;run_command ./config.status &amp;quot;$arg&amp;quot; depfiles
&lt;br&gt;&amp;nbsp; &amp;nbsp;grep '[Nn]o such file' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;if test -n &amp;quot;$depdir&amp;quot;; then
&lt;br&gt;diff --git a/tests/depend6.test b/tests/depend6.test
&lt;br&gt;index de2adf9..5ce2208 100755
&lt;br&gt;--- a/tests/depend6.test
&lt;br&gt;+++ b/tests/depend6.test
&lt;br&gt;@@ -39,9 +39,6 @@ END
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOMAKE
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;-./configure --disable-dependency-tracking 2&amp;gt;stderr || {
&lt;br&gt;- &amp;nbsp;stat=$?; cat stderr &amp;gt;&amp;2; Exit $stat;
&lt;br&gt;-}
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;-grep shift stderr &amp;&amp; Exit 1
&lt;br&gt;+run_command ./configure --disable-dependency-tracking
&lt;br&gt;+grep 'shift' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;diff --git a/tests/discover.test b/tests/discover.test
&lt;br&gt;index 36293f7..c62f1b4 100755
&lt;br&gt;--- a/tests/discover.test
&lt;br&gt;+++ b/tests/discover.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1996, 1997, 2000, 2001, 2002 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1996, 1997, 2000, 2001, 2002, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -34,5 +34,6 @@ END
&lt;br&gt;&amp;nbsp;: &amp;gt; fsusage.c
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL || Exit 1
&lt;br&gt;-$AUTOMAKE 2&amp;gt;&amp;1 | $FGREP fsusage.c || Exit 1
&lt;br&gt;+run_command -e IGNORE -m $AUTOMAKE
&lt;br&gt;+$FGREP fsusage.c stdall || Exit 1
&lt;br&gt;&amp;nbsp;Exit 0
&lt;br&gt;diff --git a/tests/distcom3.test b/tests/distcom3.test
&lt;br&gt;index 04bf365..fdcc31a 100755
&lt;br&gt;--- a/tests/distcom3.test
&lt;br&gt;+++ b/tests/distcom3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2001, 2002, 2003, 2004, 2006 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2001, 2002, 2003, 2004, 2006, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -34,9 +34,8 @@ END
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Should not warn about missing README, since it is a target.
&lt;br&gt;-$AUTOMAKE --add-missing --gnu &amp;gt;stdout 2&amp;gt;&amp;1
&lt;br&gt;-cat stdout
&lt;br&gt;-grep README stdout &amp;&amp; Exit 1
&lt;br&gt;+run_command -m $AUTOMAKE --add-missing --gnu
&lt;br&gt;+grep README stdall &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;sed -n -e '/^DIST_COMMON =.*\\$/ {
&lt;br&gt;&amp;nbsp; &amp;nbsp; :loop
&lt;br&gt;diff --git a/tests/fn99.test b/tests/fn99.test
&lt;br&gt;index 982a989..611c767 100755
&lt;br&gt;--- a/tests/fn99.test
&lt;br&gt;+++ b/tests/fn99.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2004, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2004, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -47,8 +47,7 @@ do
&lt;br&gt;&amp;nbsp; &amp;nbsp;touch x
&lt;br&gt;&amp;nbsp;done) || Exit 77
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE dist 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL $MAKE dist
&lt;br&gt;&amp;nbsp;grep 'filenames are too long' stderr
&lt;br&gt;&amp;nbsp;test 2 = `grep 12345678 stderr | wc -l`
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;diff --git a/tests/fn99subdir.test b/tests/fn99subdir.test
&lt;br&gt;index 465f2af..7055e85 100755
&lt;br&gt;--- a/tests/fn99subdir.test
&lt;br&gt;+++ b/tests/fn99subdir.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2006, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2006, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -73,8 +73,7 @@ do
&lt;br&gt;&amp;nbsp; &amp;nbsp;touch x
&lt;br&gt;&amp;nbsp;done)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE dist 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL $MAKE dist
&lt;br&gt;&amp;nbsp;grep 'filenames are too long' stderr
&lt;br&gt;&amp;nbsp;test 1 = `grep 12345678 stderr | wc -l`
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;diff --git a/tests/gnits2.test b/tests/gnits2.test
&lt;br&gt;index 4c5d54f..a85b096 100755
&lt;br&gt;--- a/tests/gnits2.test
&lt;br&gt;+++ b/tests/gnits2.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2002, 2003, 2004, 2007 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2002, 2003, 2004, 2007, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -105,6 +105,6 @@ cd build
&lt;br&gt;&amp;nbsp;../configure &amp;quot;--prefix=`pwd`/../inst-dir&amp;quot; --program-prefix=p
&lt;br&gt;&amp;nbsp;$MAKE all
&lt;br&gt;&amp;nbsp;$MAKE test-install
&lt;br&gt;-$MAKE -k installcheck 2&amp;gt;stderr || : # Never trust the exit status of make -k.
&lt;br&gt;-cat stderr
&lt;br&gt;+# Never trust the exit status of make -k.
&lt;br&gt;+run_command -e IGNORE $MAKE -k installcheck
&lt;br&gt;&amp;nbsp;$MAKE grep-stderr
&lt;br&gt;diff --git a/tests/gnits3.test b/tests/gnits3.test
&lt;br&gt;index 7a08fb8..4d90684 100755
&lt;br&gt;--- a/tests/gnits3.test
&lt;br&gt;+++ b/tests/gnits3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2002, 2007 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2002, 2007, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -83,8 +83,8 @@ cd build
&lt;br&gt;&amp;nbsp;../configure &amp;quot;--prefix=`pwd`/../inst-dir&amp;quot; --program-prefix=p
&lt;br&gt;&amp;nbsp;$MAKE
&lt;br&gt;&amp;nbsp;$MAKE install
&lt;br&gt;-$MAKE -k installcheck 2&amp;gt;stderr || : # Never trust the exit status of make -k.
&lt;br&gt;-cat stderr
&lt;br&gt;+# Never trust the exit status of make -k.
&lt;br&gt;+run_command -e IGNORE $MAKE -k installcheck
&lt;br&gt;&amp;nbsp;$MAKE grep-stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Make sure there is no more error when all targets are exempted.
&lt;br&gt;diff --git a/tests/help.test b/tests/help.test
&lt;br&gt;index d4d7110..cae8967 100755
&lt;br&gt;--- a/tests/help.test
&lt;br&gt;+++ b/tests/help.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -32,7 +32,7 @@ $AUTOMAKE --version
&lt;br&gt;&amp;nbsp;$AUTOMAKE --help
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# aclocal and automake cannot work without configure.ac or configure.in
&lt;br&gt;-$ACLOCAL 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e 1 $ACLOCAL
&lt;br&gt;&amp;nbsp;grep configure.ac stderr
&lt;br&gt;&amp;nbsp;grep configure.in stderr
&lt;br&gt;&amp;nbsp;AUTOMAKE_fails
&lt;br&gt;diff --git a/tests/init.test b/tests/init.test
&lt;br&gt;index 38ec681..b6a7375 100755
&lt;br&gt;--- a/tests/init.test
&lt;br&gt;+++ b/tests/init.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2006, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2006, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -27,7 +27,17 @@ AM_INIT_AUTOMAKE
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# The error message should mension AC_INIT, not AC_PACKAGE_VERSION.
&lt;br&gt;-($ACLOCAL &amp;&amp; $AUTOCONF) 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+if run_command -e RETURN $ACLOCAL; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;success=yes
&lt;br&gt;+else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;success=no
&lt;br&gt;+fi
&lt;br&gt;+if test x&amp;quot;$success&amp;quot; != x&amp;quot;no&amp;quot;; then
&lt;br&gt;+ &amp;nbsp;mv stderr stder1
&lt;br&gt;+ &amp;nbsp;run_command -e RETURN $AUTOCONF || success=no
&lt;br&gt;+ &amp;nbsp;cat stderr &amp;gt;&amp;gt;stder1
&lt;br&gt;+ &amp;nbsp;mv -f stder1 stderr
&lt;br&gt;+fi
&lt;br&gt;+test x&amp;quot;$success&amp;quot; = x&amp;quot;no&amp;quot; || Exit 1
&lt;br&gt;&amp;nbsp;grep AC_PACKAGE_VERSION stderr &amp;&amp; Exit 1
&lt;br&gt;-grep AC_INIT stderr
&lt;br&gt;+grep AC_INIT stderr || Exit 1
&lt;br&gt;diff --git a/tests/instsh.test b/tests/instsh.test
&lt;br&gt;index 61f5f9e..fe3d485 100755
&lt;br&gt;--- a/tests/instsh.test
&lt;br&gt;+++ b/tests/instsh.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1996, 1999, 2001, 2002, 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1996, 1999, 2001, 2002, 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -32,10 +32,9 @@ mv Makefile.am configure.in frob/
&lt;br&gt;&amp;nbsp;cd frob
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;-$AUTOMAKE --add-missing &amp;gt; output 2&amp;gt;&amp;1
&lt;br&gt;+run_command -m $AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Only one `/' should appear in the output.
&lt;br&gt;-cat output
&lt;br&gt;-grep '/.*/' output &amp;&amp; Exit 1
&lt;br&gt;+grep '/.*/' stdall &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;test -f install-sh
&lt;br&gt;diff --git a/tests/ldadd.test b/tests/ldadd.test
&lt;br&gt;index 005f9d8..0a9907d 100755
&lt;br&gt;--- a/tests/ldadd.test
&lt;br&gt;+++ b/tests/ldadd.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1997, 1999, 2000, 2001, 2002 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1997, 1999, 2000, 2001, 2002, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -39,5 +39,6 @@ END
&lt;br&gt;&amp;nbsp;: &amp;gt; q.c
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL || Exit 1
&lt;br&gt;-$AUTOMAKE 2&amp;gt;&amp;1 | grep LDADD || Exit 1
&lt;br&gt;+run_command -e 1 -m $AUTOMAKE
&lt;br&gt;+grep LDADD stdall || Exit 1
&lt;br&gt;&amp;nbsp;Exit 0
&lt;br&gt;diff --git a/tests/libtool7.test b/tests/libtool7.test
&lt;br&gt;index a2f912f..f8706d9 100755
&lt;br&gt;--- a/tests/libtool7.test
&lt;br&gt;+++ b/tests/libtool7.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003, 2004, 2007 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2004, 2007, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -82,19 +82,16 @@ $AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing --copy
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;./configure &amp;quot;--prefix=`pwd`/_inst&amp;quot;
&lt;br&gt;-env LIBTOOLFLAGS=--silent $MAKE print &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;-grep '1BEG: libmod1.la mod2.la :END1' output
&lt;br&gt;-grep '2BEG: mod2.la :END2' output
&lt;br&gt;-grep '3BEG: .*silent.*silent.* :END3' output
&lt;br&gt;+run_command -m env LIBTOOLFLAGS=--silent $MAKE print
&lt;br&gt;+grep '1BEG: libmod1.la mod2.la :END1' stdall
&lt;br&gt;+grep '2BEG: mod2.la :END2' stdall
&lt;br&gt;+grep '3BEG: .*silent.*silent.* :END3' stdall
&lt;br&gt;&amp;nbsp;test 2 -le `grep mod2_la_LIBTOOLFLAGS Makefile | wc -l`
&lt;br&gt;&amp;nbsp;$MAKE
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-env LIBTOOLFLAGS=--silent $MAKE install &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;-grep 'silent.*silent.*prg' output
&lt;br&gt;-grep 'silent.*silent.*libmod1' output
&lt;br&gt;+run_command -m env LIBTOOLFLAGS=--silent $MAKE install
&lt;br&gt;+grep 'silent.*silent.*prg' stdall
&lt;br&gt;+grep 'silent.*silent.*libmod1' stdall
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-env LIBTOOLFLAGS=--silent $MAKE uninstall &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;-grep 'silent.*silent.*libmod1' output
&lt;br&gt;+run_command -m env LIBTOOLFLAGS=--silent $MAKE uninstall
&lt;br&gt;+grep 'silent.*silent.*libmod1' stdall
&lt;br&gt;diff --git a/tests/libtool9.test b/tests/libtool9.test
&lt;br&gt;index c0d9688..94e617b 100755
&lt;br&gt;--- a/tests/libtool9.test
&lt;br&gt;+++ b/tests/libtool9.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2005 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2005, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -88,10 +88,11 @@ $AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing --copy
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;./configure
&lt;br&gt;-env LDFLAGS=ldflags AM_LDFLAGS=am_ldflags libmod1_la_LDFLAGS=lm1_la_ldflags \
&lt;br&gt;+run_command -m env \
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;LDFLAGS=ldflags AM_LDFLAGS=am_ldflags libmod1_la_LDFLAGS=lm1_la_ldflags \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;CFLAGS=cflags AM_CFLAGS=am_cflags prg2_CFLAGS=prg2_cflags \
&lt;br&gt;- &amp;nbsp; &amp;nbsp;$MAKE -e print &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;$MAKE -e print
&lt;br&gt;+mv stdall output
&lt;br&gt;&amp;nbsp;grep '1BEG: libmod1.la mod2.la :END1' output
&lt;br&gt;&amp;nbsp;grep '2BEG: mod2.la :END2' output
&lt;br&gt;&amp;nbsp;grep '3BEG:.* am_cflags cflags .*lm1_la_ldflags ldflags.* :END3' output
&lt;br&gt;diff --git a/tests/lisp3.test b/tests/lisp3.test
&lt;br&gt;index 809d491..086173d 100755
&lt;br&gt;--- a/tests/lisp3.test
&lt;br&gt;+++ b/tests/lisp3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -61,9 +61,8 @@ test -f am-one.elc
&lt;br&gt;&amp;nbsp;unique=0a3346e2af8a689b85002b53df09142a
&lt;br&gt;&amp;nbsp;$sleep
&lt;br&gt;&amp;nbsp;echo &amp;quot;(message \&amp;quot;$unique\&amp;quot;)(provide 'am-three)&amp;quot; &amp;gt; am-three.el
&lt;br&gt;-$MAKE &amp;gt;output 2&amp;gt;&amp;1
&lt;br&gt;-cat output
&lt;br&gt;-grep $unique output
&lt;br&gt;+run_command -m $MAKE
&lt;br&gt;+grep $unique stdall
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# It should also work for VPATH-builds.
&lt;br&gt;&amp;nbsp;$MAKE distcheck
&lt;br&gt;diff --git a/tests/ltorder.test b/tests/ltorder.test
&lt;br&gt;index 0f69211..1e6a03a 100755
&lt;br&gt;--- a/tests/ltorder.test
&lt;br&gt;+++ b/tests/ltorder.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#!/bin/sh
&lt;br&gt;-# Copyright (C) 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -53,8 +53,7 @@ $AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;./configure &amp;quot;--prefix=`pwd`/inst&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$MAKE
&lt;br&gt;-$MAKE install 2&amp;gt;stderr || { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command $MAKE install
&lt;br&gt;&amp;nbsp;grep 'has not been installed' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$MAKE uninstall
&lt;br&gt;diff --git a/tests/man4.test b/tests/man4.test
&lt;br&gt;index aa86a9e..7424c72 100755
&lt;br&gt;--- a/tests/man4.test
&lt;br&gt;+++ b/tests/man4.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -88,11 +88,9 @@ mkdir build
&lt;br&gt;&amp;nbsp;cd build
&lt;br&gt;&amp;nbsp;../configure
&lt;br&gt;&amp;nbsp;$MAKE
&lt;br&gt;-$MAKE dist 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL $MAKE dist
&lt;br&gt;&amp;nbsp;grep 'install help2man' stderr
&lt;br&gt;-$MAKE distcheck 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL $MAKE distcheck
&lt;br&gt;&amp;nbsp;grep 'install help2man' stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;rm -f ../help2man
&lt;br&gt;diff --git a/tests/mdate.test b/tests/mdate.test
&lt;br&gt;index 704b393..e63bff9 100755
&lt;br&gt;--- a/tests/mdate.test
&lt;br&gt;+++ b/tests/mdate.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#!/bin/sh
&lt;br&gt;-# Copyright (C) 1996, 1997, 2001, 2002 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1996, 1997, 2001, 2002, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -31,4 +31,5 @@ END
&lt;br&gt;&amp;nbsp;: &amp;gt; texinfo.tex
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL || Exit 1
&lt;br&gt;-$AUTOMAKE 2&amp;gt;&amp;1 &amp;gt; /dev/null | grep 'required file.*mdate-sh'
&lt;br&gt;+run_command -e IGNORED $AUTOMAKE
&lt;br&gt;+grep 'required file.*mdate-sh' stderr
&lt;br&gt;diff --git a/tests/missing3.test b/tests/missing3.test
&lt;br&gt;index 07ef779..9b48368 100755
&lt;br&gt;--- a/tests/missing3.test
&lt;br&gt;+++ b/tests/missing3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2004, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2004, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -22,24 +22,24 @@ set -e
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# b7cb8259 assumed not to exist.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./missing b7cb8259 --version 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e FAIL ./missing b7cb8259 --version
&lt;br&gt;&amp;nbsp;grep . stderr &amp;&amp; Exit 1
&lt;br&gt;-./missing b7cb8259 --grep 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e FAIL ./missing b7cb8259 --grep
&lt;br&gt;&amp;nbsp;grep WARNING stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./missing --run b7cb8259 --version &amp;&amp; Exit 1
&lt;br&gt;-./missing --run b7cb8259 --grep 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e FAIL ./missing --run b7cb8259 --version
&lt;br&gt;+run_command -e FAIL ./missing --run b7cb8259 --grep
&lt;br&gt;&amp;nbsp;grep WARNING stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# missing itself it known to exist :)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./missing ./missing --version 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e FAIL ./missing ./missing --version
&lt;br&gt;&amp;nbsp;grep . stderr &amp;&amp; Exit 1
&lt;br&gt;-./missing ./missing --grep 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e FAIL ./missing ./missing --grep
&lt;br&gt;&amp;nbsp;grep WARNING stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./missing --run ./missing --version 2&amp;gt;stderr
&lt;br&gt;+run_command ./missing --run ./missing --version
&lt;br&gt;&amp;nbsp;grep . stderr &amp;&amp; Exit 1
&lt;br&gt;-./missing --run ./missing --grep 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;+run_command -e FAIL ./missing --run ./missing --grep
&lt;br&gt;&amp;nbsp;grep WARNING stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;grep Unknown stderr
&lt;br&gt;diff --git a/tests/missing4.test b/tests/missing4.test
&lt;br&gt;index 1015828..c6c3b7e 100755
&lt;br&gt;--- a/tests/missing4.test
&lt;br&gt;+++ b/tests/missing4.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2006, 2007, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2006, 2007, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -36,13 +36,11 @@ cmp aclocal.m4 aclocal.tmp &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;mv aclocal.tmp aclocal.m4
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $MAKE
&lt;br&gt;&amp;nbsp;grep 'You have another version of autoconf' stderr
&lt;br&gt;&amp;nbsp;grep -c 'aclocal.m4:.*this file was generated for' stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $MAKE
&lt;br&gt;&amp;nbsp;grep 'You have another version of autoconf' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;grep 'aclocal.m4:.*this file was generated for' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/tests/missing6.test b/tests/missing6.test
&lt;br&gt;index b63a0d1..bf6df2d 100755
&lt;br&gt;--- a/tests/missing6.test
&lt;br&gt;+++ b/tests/missing6.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -31,7 +31,7 @@ rm -f configure.in
&lt;br&gt;&amp;nbsp;touch Makefile.am
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;-$AUTOCONF 2&amp;gt;stderr
&lt;br&gt;+run_command $AUTOCONF
&lt;br&gt;&amp;nbsp;grep 'You have another version of autoconf' stderr
&lt;br&gt;&amp;nbsp;grep 'aclocal.m4:.*this file was generated for' stderr
&lt;br&gt;&amp;nbsp;$AUTOMAKE
&lt;br&gt;@@ -43,8 +43,7 @@ cmp configure.ac configure.tmp &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;mv configure.tmp configure.ac
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $MAKE
&lt;br&gt;&amp;nbsp;grep 'You have another version of autoconf' stderr
&lt;br&gt;&amp;nbsp;grep 'aclocal.m4:.*this file was generated for autoconf 9999a' stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/tests/obsolete.test b/tests/obsolete.test
&lt;br&gt;index e6601c9..daae69c 100755
&lt;br&gt;--- a/tests/obsolete.test
&lt;br&gt;+++ b/tests/obsolete.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1996, 2001, 2002, 2007, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1996, 2001, 2002, 2007, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -27,7 +27,7 @@ END
&lt;br&gt;&amp;nbsp;$PERL -ne '/AU_DEFUN\(\[(\w+)\]/ &amp;&amp; print &amp;quot;$1\n&amp;quot;' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;$testsrcdir/../m4/obsolete.m4&amp;quot; &amp;gt;&amp;gt; obs
&lt;br&gt;&amp;nbsp;cat obs &amp;gt;&amp;gt; configure.in
&lt;br&gt;-$PERL -ne 'chomp; print &amp;quot;grep $_ stderr || Exit 1\n&amp;quot;; ' obs &amp;gt; obs.1
&lt;br&gt;+$PERL -ne 'chomp; print &amp;quot;grep $_ stdall || Exit 1\n&amp;quot;; ' obs &amp;gt; obs.1
&lt;br&gt;&amp;nbsp;$PERL -ne 'chomp; print &amp;quot;grep $_ configure.in &amp;&amp; Exit 1\n&amp;quot;; ' obs &amp;gt; obs.2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Sanity check. &amp;nbsp;Make sure we have added something to configure.in.
&lt;br&gt;@@ -36,7 +36,7 @@ test `cat configure.in | wc -l` -gt 1 || Exit 1
&lt;br&gt;&amp;nbsp;$ACLOCAL || Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Expect Autoconf to complain about each of the macros in obs.
&lt;br&gt;-$AUTOCONF -Wobsolete &amp;gt;stderr 2&amp;gt;&amp;1
&lt;br&gt;+run_command -m $AUTOCONF -Wobsolete
&lt;br&gt;&amp;nbsp;. ./obs.1
&lt;br&gt;&amp;nbsp;# Make sure Autoupdate remove each of these macros.
&lt;br&gt;&amp;nbsp;$AUTOUPDATE || Exit 1
&lt;br&gt;diff --git a/tests/output-order.test b/tests/output-order.test
&lt;br&gt;index 856baa2..852c194 100755
&lt;br&gt;--- a/tests/output-order.test
&lt;br&gt;+++ b/tests/output-order.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -43,13 +43,12 @@ END
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;rm -f missing install-sh
&lt;br&gt;-$AUTOMAKE --add-missing --copy 2&amp;gt;stderr
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command $AUTOMAKE --add-missing --copy
&lt;br&gt;+mv stderr stder0
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;for i in 1 2 3 4 5 6; do
&lt;br&gt;&amp;nbsp; &amp;nbsp;rm -f missing install-sh INSTALL COPYING
&lt;br&gt;+ &amp;nbsp;run_command -e IGNORE $AUTOMAKE --add-missing --copy
&lt;br&gt;&amp;nbsp; &amp;nbsp;# The grep prevents a Heisenbug with the HP-UX shell and VERBOSE=yes.
&lt;br&gt;- &amp;nbsp;$AUTOMAKE --add-missing --copy 2&amp;gt;&amp;1 &amp;gt;/dev/null |
&lt;br&gt;- &amp;nbsp;grep -v /dev/null |
&lt;br&gt;- &amp;nbsp;diff - stderr
&lt;br&gt;+ &amp;nbsp;grep -v /dev/null stder0 | diff - stderr
&lt;br&gt;&amp;nbsp;done
&lt;br&gt;diff --git a/tests/pr220.test b/tests/pr220.test
&lt;br&gt;index 25e1f0e..6644d28 100755
&lt;br&gt;--- a/tests/pr220.test
&lt;br&gt;+++ b/tests/pr220.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2001, 2002, 2004, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2001, 2002, 2004, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -55,6 +55,5 @@ $AUTOMAKE -a
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;cd build
&lt;br&gt;&amp;nbsp;# configure should fail since we've done something invalid.
&lt;br&gt;-../configure 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAIL ../configure
&lt;br&gt;&amp;nbsp;grep NEVER_TRUE stderr
&lt;br&gt;diff --git a/tests/pr300-ltlib.test b/tests/pr300-ltlib.test
&lt;br&gt;index 01814a9..7ed0a2f 100755
&lt;br&gt;--- a/tests/pr300-ltlib.test
&lt;br&gt;+++ b/tests/pr300-ltlib.test
&lt;br&gt;@@ -48,8 +48,7 @@ $ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --copy --add-missing
&lt;br&gt;&amp;nbsp;./configure --prefix &amp;quot;`pwd`/inst&amp;quot;
&lt;br&gt;-$MAKE V=1 &amp;gt;stdout
&lt;br&gt;-cat stdout
&lt;br&gt;+run_command $MAKE V=1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;grep 'liba.la .*-rpath .*lib' stdout
&lt;br&gt;&amp;nbsp;grep 'liba.la .*-rpath .*lib/subdir' stdout &amp;&amp; Exit 1
&lt;br&gt;@@ -58,8 +57,7 @@ grep 'libb.la .*-rpath .*lib/subdir' stdout
&lt;br&gt;&amp;nbsp;test -f subdir/liba.la
&lt;br&gt;&amp;nbsp;test -f subdir/libb.la
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$MAKE install 2&amp;gt;stderr
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command $MAKE install
&lt;br&gt;&amp;nbsp;grep 'remember.*--finish' stderr &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;test -f inst/lib/liba.la
&lt;br&gt;diff --git a/tests/python11.test b/tests/python11.test
&lt;br&gt;index 0f15f37..920de88 100755
&lt;br&gt;--- a/tests/python11.test
&lt;br&gt;+++ b/tests/python11.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2004, 2006, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2004, 2006, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -35,9 +35,7 @@ EOF
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./configure &amp;gt;stdout 2&amp;gt;stderr &amp;&amp; { cat stdout; cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stdout
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAILURE ./configure
&lt;br&gt;&amp;nbsp;grep 'checking for IShouldNotExist1' stdout
&lt;br&gt;&amp;nbsp;grep 'checking for IShouldNotExist2' stdout
&lt;br&gt;&amp;nbsp;grep 'no suitable Python interpreter found' stderr
&lt;br&gt;diff --git a/tests/python4.test b/tests/python4.test
&lt;br&gt;index 11bb3ed..3ff44af 100755
&lt;br&gt;--- a/tests/python4.test
&lt;br&gt;+++ b/tests/python4.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -33,6 +33,5 @@ $AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Simulate no Python
&lt;br&gt;-./configure PYTHON=: 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAILURE ./configure PYTHON=:
&lt;br&gt;&amp;nbsp;grep 'no suitable Python interpreter found' stderr
&lt;br&gt;diff --git a/tests/python5.test b/tests/python5.test
&lt;br&gt;index 86f5863..5695876 100755
&lt;br&gt;--- a/tests/python5.test
&lt;br&gt;+++ b/tests/python5.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -34,6 +34,5 @@ $ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./configure 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e FAILURE ./configure
&lt;br&gt;&amp;nbsp;grep 'no suitable Python interpreter found' stderr
&lt;br&gt;diff --git a/tests/python6.test b/tests/python6.test
&lt;br&gt;index eb4fb4d..ed60e03 100755
&lt;br&gt;--- a/tests/python6.test
&lt;br&gt;+++ b/tests/python6.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -34,6 +34,5 @@ $AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Simulate no Python
&lt;br&gt;-./configure PYTHON=: 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command ./configure PYTHON=:
&lt;br&gt;&amp;nbsp;grep 'GREP ME:' stderr
&lt;br&gt;diff --git a/tests/python7.test b/tests/python7.test
&lt;br&gt;index 62c1a1b..eb6a4dc 100755
&lt;br&gt;--- a/tests/python7.test
&lt;br&gt;+++ b/tests/python7.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -34,6 +34,5 @@ $ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./configure 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command ./configure
&lt;br&gt;&amp;nbsp;grep 'GREP ME:' stderr
&lt;br&gt;diff --git a/tests/python8.test b/tests/python8.test
&lt;br&gt;index a50af22..5f100ab 100755
&lt;br&gt;--- a/tests/python8.test
&lt;br&gt;+++ b/tests/python8.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -32,6 +32,5 @@ $ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./configure 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command ./configure
&lt;br&gt;&amp;nbsp;grep 'GREP ME' stderr
&lt;br&gt;diff --git a/tests/python9.test b/tests/python9.test
&lt;br&gt;index 9b23deb..c0fa7a5 100755
&lt;br&gt;--- a/tests/python9.test
&lt;br&gt;+++ b/tests/python9.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2003 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2003, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -33,6 +33,5 @@ $ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-./configure 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command ./configure
&lt;br&gt;&amp;nbsp;grep 'GREP ME' stderr
&lt;br&gt;diff --git a/tests/sanity.test b/tests/sanity.test
&lt;br&gt;index 1c96c78..1296381 100755
&lt;br&gt;--- a/tests/sanity.test
&lt;br&gt;+++ b/tests/sanity.test
&lt;br&gt;@@ -36,14 +36,12 @@ cp ../install-sh ../missing .
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;$AUTOMAKE
&lt;br&gt;-./configure 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command -e FAILURE ./configure
&lt;br&gt;&amp;nbsp;grep 'unsafe absolute working directory' stderr
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;cd ..
&lt;br&gt;&amp;nbsp;mkdir build
&lt;br&gt;&amp;nbsp;cd build
&lt;br&gt;-../unsafe$/configure 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command -e FAILURE ../unsafe$/configure
&lt;br&gt;&amp;nbsp;grep 'unsafe srcdir' stderr
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;diff --git a/tests/subobj.test b/tests/subobj.test
&lt;br&gt;index df297f4..9d7882d 100755
&lt;br&gt;--- a/tests/subobj.test
&lt;br&gt;+++ b/tests/subobj.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1999, 2001, 2002, 2004 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1999, 2001, 2002, 2004, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -32,8 +32,7 @@ wish_SOURCES = generic/a.c generic/b.c
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;-$AUTOMAKE --add-missing 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $AUTOMAKE --add-missing
&lt;br&gt;&amp;nbsp;# Make sure compile is installed, and that Automake says so.
&lt;br&gt;&amp;nbsp;grep 'install.*compile' stderr
&lt;br&gt;&amp;nbsp;test -f compile
&lt;br&gt;diff --git a/tests/subobj9.test b/tests/subobj9.test
&lt;br&gt;index 99fe6e8..1f68721 100755
&lt;br&gt;--- a/tests/subobj9.test
&lt;br&gt;+++ b/tests/subobj9.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2002, 2004, 2005 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2002, 2004, 2005, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -74,8 +74,8 @@ if test -n &amp;quot;`./libtool --help | grep tag=TAG`&amp;quot;; then
&lt;br&gt;&amp;nbsp;fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$MAKE
&lt;br&gt;-$MAKE distcheck 2&amp;gt;&amp;1 | tee out
&lt;br&gt;+run_command -m $MAKE distcheck
&lt;br&gt;&amp;nbsp;# GNU Make used to complain that the Makefile contained two rules
&lt;br&gt;&amp;nbsp;# for `src/.dirstamp' and `.//src/.dirstamp'.
&lt;br&gt;-grep 'overriding commands' out &amp;&amp; Exit 1
&lt;br&gt;+grep 'overriding commands' stdall &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;diff --git a/tests/unused.test b/tests/unused.test
&lt;br&gt;index a5b4da6..68d5613 100755
&lt;br&gt;--- a/tests/unused.test
&lt;br&gt;+++ b/tests/unused.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 1998, 2002, 2003, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 1998, 2002, 2003, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -29,5 +29,5 @@ AC_DEFUN([MACRO_1_2], echo 12)
&lt;br&gt;&amp;nbsp;AC_DEFUN([MACRO_1_2_3], echo 123)
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL 2&amp;gt; stderr || { cat stderr &amp;gt;&amp;2; Exit 1; }
&lt;br&gt;-test -z &amp;quot;`cat stderr`&amp;quot;
&lt;br&gt;+run_command $ACLOCAL
&lt;br&gt;+test ! -s stderr
&lt;br&gt;diff --git a/tests/vars3.test b/tests/vars3.test
&lt;br&gt;index 3d10a90..9f11262 100755
&lt;br&gt;--- a/tests/vars3.test
&lt;br&gt;+++ b/tests/vars3.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2002 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2002, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -38,8 +38,7 @@ EOF
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;# Make sure this warning is print in the `portability' category.
&lt;br&gt;-$AUTOMAKE --warnings=no-error,none,portability 2&amp;gt;stderr
&lt;br&gt;-cat stderr
&lt;br&gt;+run_command $AUTOMAKE --warnings=no-error,none,portability
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Lines number are printed in error message.
&lt;br&gt;&amp;nbsp;# Use them to make sure errors are diagnosed against the right lines.
&lt;br&gt;diff --git a/tests/version8.test b/tests/version8.test
&lt;br&gt;index 91b11a0..ffe4a3e 100755
&lt;br&gt;--- a/tests/version8.test
&lt;br&gt;+++ b/tests/version8.test
&lt;br&gt;@@ -1,5 +1,5 @@
&lt;br&gt;&amp;nbsp;#! /bin/sh
&lt;br&gt;-# Copyright (C) 2005, 2008 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;+# Copyright (C) 2005, 2008, 2009 &amp;nbsp;Free Software Foundation, Inc.
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;&amp;nbsp;# it under the terms of the GNU General Public License as published by
&lt;br&gt;@@ -20,6 +20,5 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;set -e
&lt;br&gt;&amp;nbsp;echo 'AM_AUTOMAKE_VERSION([1.9])' &amp;gt;&amp;gt;configure.in
&lt;br&gt;-$ACLOCAL 2&amp;gt;stderr &amp;&amp; { cat stderr &amp;gt;&amp;2; Exit 0; }
&lt;br&gt;-cat stderr &amp;gt;&amp;2
&lt;br&gt;+run_command -e 1 $ACLOCAL
&lt;br&gt;&amp;nbsp;$FGREP 'AM_INIT_AUTOMAKE([1.9])' stderr
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-testsuite-failures-when-test-scripts-are-run-with-zsh-tp25810723p26656000.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655820</id>
	<title>Re: Remove dependency on gunzip</title>
	<published>2009-12-05T05:50:56Z</published>
	<updated>2009-12-05T05:50:56Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello Antonio,
&lt;br&gt;&lt;br&gt;sorry for the delay.
&lt;br&gt;&lt;br&gt;* Antonio Diaz Diaz wrote on Fri, Oct 30, 2009 at 09:09:47PM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ralf Wildenhues wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;As gunzip is a link to gzip, the only difference between using
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;quot;gunzip&amp;quot; and &amp;quot;gzip -d&amp;quot; is that the former adds a gratuitous
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;dependency on the gunzip name.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Well, from the user's perspective, who never needs 'make dist', your
&lt;br&gt;&amp;gt; &amp;gt;patch adds a gratuitous dependency on the gzip name, no?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; distcheck depends on dist, so no, my patch does not add any
&lt;br&gt;&amp;gt; dependency for anybody.
&lt;/div&gt;&lt;br&gt;Well, distcheck is a target for the maintainer/developer though, not
&lt;br&gt;usually for the end-user. &amp;nbsp;But your point is taken anyway, for
&lt;br&gt;compression programs where the compressor is equally likely to be
&lt;br&gt;present on a system (typically, for all the free ones).
&lt;br&gt;&lt;br&gt;&amp;gt; Using the same name (gzip) for compressing
&lt;br&gt;&amp;gt; and decompressing the tarball only reduces the total number of
&lt;br&gt;&amp;gt; dependencies.
&lt;br&gt;&lt;br&gt;Yes, that is true.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt;Don't get me wrong. &amp;nbsp;If there is a distinct advantage to doing this
&lt;br&gt;&amp;gt; &amp;gt;move, then we should probably do it, but it's a NEWS-worthy change, and
&lt;br&gt;&amp;gt; &amp;gt;it should be done for all compressors for which the same reasoning
&lt;br&gt;&amp;gt; &amp;gt;holds.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I agree it should be done for all the gzip-like compressors. In fact
&lt;br&gt;&amp;gt; it is already done for xz:
&lt;br&gt;&lt;br&gt;Yep. &amp;nbsp;I'm applying this to remove the dependency upon unlzma, gunzip,
&lt;br&gt;and bunzip2, and adding you to THANKS, to the maint branch, intended
&lt;br&gt;for master and branch-1.11.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;2009-12-05 &amp;nbsp;Antonio Diaz Diaz &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655820&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ant_diaz@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replace unlzma, gunzip, bunzip2 with pack tool -d invocation.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * lib/am/distdir.am (distcheck): Use lzma -d, gzip -d, bzip2 -d,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instead of the respective un$tool invocation, to avoid depending
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on another tool.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * THANKS: Update.
&lt;br&gt;&lt;br&gt;diff --git a/lib/am/distdir.am b/lib/am/distdir.am
&lt;br&gt;index dcaed5e..ec4d5e5 100644
&lt;br&gt;--- a/lib/am/distdir.am
&lt;br&gt;+++ b/lib/am/distdir.am
&lt;br&gt;@@ -424,17 +424,17 @@ endif %?SUBDIRS%
&lt;br&gt;&amp;nbsp;distcheck: dist
&lt;br&gt;&amp;nbsp;	case '$(DIST_ARCHIVES)' in \
&lt;br&gt;&amp;nbsp;	*.tar.gz*) \
&lt;br&gt;-	 &amp;nbsp;GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
&lt;br&gt;+	 &amp;nbsp;GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.bz2*) \
&lt;br&gt;-	 &amp;nbsp;bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
&lt;br&gt;+	 &amp;nbsp;bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.lzma*) \
&lt;br&gt;-	 &amp;nbsp;unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
&lt;br&gt;+	 &amp;nbsp;lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.xz*) \
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;xz -dc $(distdir).tar.xz | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.Z*) \
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.shar.gz*) \
&lt;br&gt;-	 &amp;nbsp;GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
&lt;br&gt;+	 &amp;nbsp;GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
&lt;br&gt;&amp;nbsp;	*.zip*) \
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;unzip $(distdir).zip ;;\
&lt;br&gt;&amp;nbsp;	esac
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Remove-dependency-on-gunzip-tp26655820p26655820.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655823</id>
	<title>Re: Remove dependency on gunzip</title>
	<published>2009-12-05T05:50:56Z</published>
	<updated>2009-12-05T05:50:56Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello Antonio,
&lt;br&gt;&lt;br&gt;sorry for the delay.
&lt;br&gt;&lt;br&gt;* Antonio Diaz Diaz wrote on Fri, Oct 30, 2009 at 09:09:47PM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ralf Wildenhues wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;As gunzip is a link to gzip, the only difference between using
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;quot;gunzip&amp;quot; and &amp;quot;gzip -d&amp;quot; is that the former adds a gratuitous
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;dependency on the gunzip name.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Well, from the user's perspective, who never needs 'make dist', your
&lt;br&gt;&amp;gt; &amp;gt;patch adds a gratuitous dependency on the gzip name, no?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; distcheck depends on dist, so no, my patch does not add any
&lt;br&gt;&amp;gt; dependency for anybody.
&lt;/div&gt;&lt;br&gt;Well, distcheck is a target for the maintainer/developer though, not
&lt;br&gt;usually for the end-user. &amp;nbsp;But your point is taken anyway, for
&lt;br&gt;compression programs where the compressor is equally likely to be
&lt;br&gt;present on a system (typically, for all the free ones).
&lt;br&gt;&lt;br&gt;&amp;gt; Using the same name (gzip) for compressing
&lt;br&gt;&amp;gt; and decompressing the tarball only reduces the total number of
&lt;br&gt;&amp;gt; dependencies.
&lt;br&gt;&lt;br&gt;Yes, that is true.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt;Don't get me wrong. &amp;nbsp;If there is a distinct advantage to doing this
&lt;br&gt;&amp;gt; &amp;gt;move, then we should probably do it, but it's a NEWS-worthy change, and
&lt;br&gt;&amp;gt; &amp;gt;it should be done for all compressors for which the same reasoning
&lt;br&gt;&amp;gt; &amp;gt;holds.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I agree it should be done for all the gzip-like compressors. In fact
&lt;br&gt;&amp;gt; it is already done for xz:
&lt;br&gt;&lt;br&gt;Yep. &amp;nbsp;I'm applying this to remove the dependency upon unlzma, gunzip,
&lt;br&gt;and bunzip2, and adding you to THANKS, to the maint branch, intended
&lt;br&gt;for master and branch-1.11.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;2009-12-05 &amp;nbsp;Antonio Diaz Diaz &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655823&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ant_diaz@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Replace unlzma, gunzip, bunzip2 with pack tool -d invocation.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * lib/am/distdir.am (distcheck): Use lzma -d, gzip -d, bzip2 -d,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instead of the respective un$tool invocation, to avoid depending
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on another tool.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * THANKS: Update.
&lt;br&gt;&lt;br&gt;diff --git a/lib/am/distdir.am b/lib/am/distdir.am
&lt;br&gt;index dcaed5e..ec4d5e5 100644
&lt;br&gt;--- a/lib/am/distdir.am
&lt;br&gt;+++ b/lib/am/distdir.am
&lt;br&gt;@@ -424,17 +424,17 @@ endif %?SUBDIRS%
&lt;br&gt;&amp;nbsp;distcheck: dist
&lt;br&gt;&amp;nbsp;	case '$(DIST_ARCHIVES)' in \
&lt;br&gt;&amp;nbsp;	*.tar.gz*) \
&lt;br&gt;-	 &amp;nbsp;GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
&lt;br&gt;+	 &amp;nbsp;GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.bz2*) \
&lt;br&gt;-	 &amp;nbsp;bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
&lt;br&gt;+	 &amp;nbsp;bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.lzma*) \
&lt;br&gt;-	 &amp;nbsp;unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
&lt;br&gt;+	 &amp;nbsp;lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.xz*) \
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;xz -dc $(distdir).tar.xz | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.tar.Z*) \
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
&lt;br&gt;&amp;nbsp;	*.shar.gz*) \
&lt;br&gt;-	 &amp;nbsp;GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
&lt;br&gt;+	 &amp;nbsp;GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
&lt;br&gt;&amp;nbsp;	*.zip*) \
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;unzip $(distdir).zip ;;\
&lt;br&gt;&amp;nbsp;	esac
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Remove-dependency-on-gunzip-tp26027712p26655823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655750</id>
	<title>Use $DJDIR rather than $DJGPP to detect running on DJGPP.</title>
	<published>2009-12-05T05:42:49Z</published>
	<updated>2009-12-05T05:42:49Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">I'm applying this patch to maint, in accordance with similar changes to
&lt;br&gt;Autoconf done a few weeks ago. &amp;nbsp;I haven't actually tried to build and
&lt;br&gt;test git Automake on DJGPP, but $DJGPP is set in the environment even
&lt;br&gt;under my MinGW/MSYS and this caused bootstrap to fail.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Use $DJDIR rather than $DJGPP to detect running on DJGPP.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; * automake.in (Language): Use $ENV{'DJDIR'} for the
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ENV{'SHELL'} override.
&lt;br&gt;&amp;nbsp; &amp;nbsp; * bootstrap: Use $DJDIR for setting BOOTSTRAP_SHELL, to fix
&lt;br&gt;&amp;nbsp; &amp;nbsp; bootstrapping under MinGW when $DJGPP has been set.
&lt;br&gt;&lt;br&gt;diff --git a/automake.in b/automake.in
&lt;br&gt;index 871c98e..e934c5f 100755
&lt;br&gt;--- a/automake.in
&lt;br&gt;+++ b/automake.in
&lt;br&gt;@@ -41,7 +41,7 @@ BEGIN
&lt;br&gt;&amp;nbsp; &amp;nbsp;# it turns up other systems need the same thing. &amp;nbsp;After all,
&lt;br&gt;&amp;nbsp; &amp;nbsp;# if SHELL is used, ./configure's SHELL is always better than
&lt;br&gt;&amp;nbsp; &amp;nbsp;# the user's SHELL (which may be something like tcsh).
&lt;br&gt;- &amp;nbsp;$ENV{'SHELL'} = '@SHELL@' if exists $ENV{'DJGPP'};
&lt;br&gt;+ &amp;nbsp;$ENV{'SHELL'} = '@SHELL@' if exists $ENV{'DJDIR'};
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;use Automake::Struct;
&lt;br&gt;diff --git a/bootstrap b/bootstrap
&lt;br&gt;index fff40d5..2a86345 100755
&lt;br&gt;--- a/bootstrap
&lt;br&gt;+++ b/bootstrap
&lt;br&gt;@@ -61,7 +61,7 @@ PERL_THREADS=0
&lt;br&gt;&amp;nbsp;# Override SHELL. &amp;nbsp;This is required on DJGPP so that Perl's system()
&lt;br&gt;&amp;nbsp;# uses bash, not COMMAND.COM which doesn't quote arguments properly.
&lt;br&gt;&amp;nbsp;# It's not used otherwise.
&lt;br&gt;-if test -n &amp;quot;$DJGPP&amp;quot;; then
&lt;br&gt;+if test -n &amp;quot;$DJDIR&amp;quot;; then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;BOOTSTRAP_SHELL=/dev/env/DJDIR/bin/bash.exe
&lt;br&gt;&amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;BOOTSTRAP_SHELL=/bin/sh
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Use-%24DJDIR-rather-than-%24DJGPP-to-detect-running-on-DJGPP.-tp26655750p26655750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655723</id>
	<title>Fix requirements of silent8.test.</title>
	<published>2009-12-05T05:39:57Z</published>
	<updated>2009-12-05T05:39:57Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">I'm applying this obvious fix to the jk-silent branch and merging to
&lt;br&gt;master. &amp;nbsp;(I'll be pushing all of this out later today, I guess.)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix requirements of silent8.test.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; * tests/silent8.test: Require makeinfo --html, tex, texi2dvi -o,
&lt;br&gt;&amp;nbsp; &amp;nbsp; dvips.
&lt;br&gt;&lt;br&gt;diff --git a/tests/silent8.test b/tests/silent8.test
&lt;br&gt;index 88f0821..2546775 100755
&lt;br&gt;--- a/tests/silent8.test
&lt;br&gt;+++ b/tests/silent8.test
&lt;br&gt;@@ -16,6 +16,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# Check texinfo rules in silent-rules mode.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+required='makeinfo-html tex texi2dvi-o dvips'
&lt;br&gt;&amp;nbsp;. ./defs
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;set -e
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fix-requirements-of-silent8.test.-tp26655723p26655723.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655553</id>
	<title>Re: [Mingw-users] perl symlink oddity</title>
	<published>2009-12-05T05:17:42Z</published>
	<updated>2009-12-05T05:17:42Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">[ adding automake-patches; please remove (subscription-only) mingw-users
&lt;br&gt;&amp;nbsp; from replies unless it is on-topic there; this is
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://thread.gmane.org/gmane.comp.gnu.mingw.user/31574&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.gnu.mingw.user/31574&lt;/a&gt;&amp;gt; ]
&lt;br&gt;&lt;br&gt;* Ralf Wildenhues wrote on Fri, Dec 04, 2009 at 07:43:42AM CET:
&lt;br&gt;&amp;gt; * Charles Wilson wrote on Fri, Dec 04, 2009 at 05:38:21AM CET:
&lt;br&gt;&amp;gt; &amp;gt; There's a lot of stuff related to symlinks that is just not going to
&lt;br&gt;&amp;gt; &amp;gt; work as expected on MSYS.
&lt;br&gt;&lt;br&gt;&amp;gt; That's ok with me. &amp;nbsp;All I would think is that symlink should return a
&lt;br&gt;&amp;gt; failure status if it could not create the target file, either due to the
&lt;br&gt;&amp;gt; dirname part of the target file does not exist as a directory, or due to
&lt;br&gt;&amp;gt; the source file not existing.
&lt;br&gt;&lt;br&gt;I'm queuing this for the Automake maint branch, for master and
&lt;br&gt;branch-1.11.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Do not rely on Perl symlink status, for MSYS perl.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; * automake.in (require_file_internal): Ensure presence of
&lt;br&gt;&amp;nbsp; &amp;nbsp; symlink target file; MSYS perl symlink doesn't return an error
&lt;br&gt;&amp;nbsp; &amp;nbsp; status when the file could not be created (copied, on this
&lt;br&gt;&amp;nbsp; &amp;nbsp; system). &amp;nbsp;Fixes symlink.test failure.
&lt;br&gt;&lt;br&gt;diff --git a/automake.in b/automake.in
&lt;br&gt;index e7f2cac..871c98e 100755
&lt;br&gt;--- a/automake.in
&lt;br&gt;+++ b/automake.in
&lt;br&gt;@@ -7838,7 +7838,8 @@ sub require_file_internal ($$$@)
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp; &amp;nbsp;unlink ($fullfile) if -f $fullfile;
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($symlink_exists &amp;&amp; ! $copy_missing)
&lt;br&gt;&amp;nbsp;			{
&lt;br&gt;-			 &amp;nbsp;if (! symlink (&amp;quot;$libdir/$file&amp;quot;, $fullfile))
&lt;br&gt;+			 &amp;nbsp;if (! symlink (&amp;quot;$libdir/$file&amp;quot;, $fullfile)
&lt;br&gt;+			 &amp;nbsp; &amp;nbsp; &amp;nbsp;|| ! -e $fullfile)
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp;$suppress = 0;
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp; &amp;nbsp;$trailer = &amp;quot;; error while making link: $!&amp;quot;;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--Mingw-users--perl-symlink-oddity-tp26655553p26655553.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655240</id>
	<title>Re: problem --enable-shared and --enable-static together</title>
	<published>2009-12-05T04:33:06Z</published>
	<updated>2009-12-05T04:33:06Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello Andreas,
&lt;br&gt;&lt;br&gt;besides answers already given:
&lt;br&gt;&lt;br&gt;* Andreas Otto wrote on Fri, Dec 04, 2009 at 09:41:16AM CET:
&lt;br&gt;&amp;gt; as you see both *lo and *.o are created. the *.o are useless and just
&lt;br&gt;&amp;gt; extend the compiling time
&lt;br&gt;&lt;br&gt;&amp;gt; Q: what can I do to avoid build static libraries ...
&lt;br&gt;&lt;br&gt;foo_LIBTOOLFLAGS = -tag=disable-static
&lt;br&gt;&lt;br&gt;for a target 'foo'.
&lt;br&gt;&lt;br&gt;&amp;gt; I use &amp;quot;../libmsgque/*.lo&amp;quot; for in-project libraray dependency to avoid to
&lt;br&gt;&amp;gt; link to my own shared libraray
&lt;br&gt;&lt;br&gt;Sounds like you could profit from using convenience archives.
&lt;br&gt;&lt;br&gt;&amp;gt; 2. executables should build without library dependency. This mean that
&lt;br&gt;&amp;gt; if configured with &amp;quot;--enable-static&amp;quot; the static object files should be used
&lt;br&gt;&amp;gt; and if configureed without the shared object files should be used.
&lt;br&gt;&lt;br&gt;Link the program against the library with -static.
&lt;br&gt;&lt;br&gt;Hope that helps.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem---enable-shared-and---enable-static-together-tp26639377p26655240.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655148</id>
	<title>Re: testsuite: fixed spurious failure in vala4.test (w.r.t. Solaris sh)</title>
	<published>2009-12-05T04:17:50Z</published>
	<updated>2009-12-05T04:17:50Z</updated>
	<author>
		<name>Stefano Lattarini</name>
	</author>
	<content type="html">At Saturday 05 December 2009, Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655148&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;wrote:
&lt;br&gt;&amp;gt; I've shortened the patch somewhat and adjusted the log entry
&lt;br&gt;&amp;gt; somewhat, hope you don't mind.
&lt;br&gt;No, it's OK. &amp;nbsp;I wrote the extended description of the bug mostly to
&lt;br&gt;show that the patch weren't just papering over a not-understood
&lt;br&gt;problem. &amp;nbsp;In fact, I prefer your shorter description (after all, it's
&lt;br&gt;just a comment in a test script). &amp;nbsp;Moreover, I see that you have
&lt;br&gt;already proposed a patch on the autoconf list, which I agree is
&lt;br&gt;the best route to take.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; &amp;nbsp; Stefano
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/testsuite%3A-fixed-spurious-failure-in-vala4.test-%28w.r.t.-Solaris-sh%29-tp25844509p26655148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655093</id>
	<title>Re: testsuite: fixed spurious failure in vala4.test (w.r.t. Solaris sh)</title>
	<published>2009-12-05T04:02:58Z</published>
	<updated>2009-12-05T04:02:58Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">[ adding autoconf-patches; this is
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://thread.gmane.org/gmane.comp.sysutils.automake.patches/3698&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.sysutils.automake.patches/3698&lt;/a&gt;&amp;gt; ]
&lt;br&gt;&lt;br&gt;Proposed patch for Autoconf. &amp;nbsp;OK?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;commit 4f89a570c7ccb07237d4a698a4e60db507880be0
&lt;br&gt;Author: Stefano Lattarini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655093&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: &amp;nbsp; Sat Dec 5 12:56:30 2009 +0100
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Document Solaris/Heirloom sh set -e issue with command substitutions.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; * doc/autoconf.texi (Limitations of Builtins): Fix typos `set -d'
&lt;br&gt;&amp;nbsp; &amp;nbsp; in previous example. &amp;nbsp;Document failure to honor &amp;&amp; lists with set -e
&lt;br&gt;&amp;nbsp; &amp;nbsp; and a command substitution in the failing command.
&lt;br&gt;&amp;nbsp; &amp;nbsp; Report and initial patch by Stefano Lattarini against Automake.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; Signed-off-by: Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655093&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index e03604d..1c0c612 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,12 @@
&lt;br&gt;+2009-12-05 &amp;nbsp;Stefano Lattarini &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655093&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;Ralf Wildenhues &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655093&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Document Solaris/Heirloom sh set -e issue with command substitutions.
&lt;br&gt;+	* doc/autoconf.texi (Limitations of Builtins): Fix typos `set -d'
&lt;br&gt;+	in previous example. &amp;nbsp;Document failure to honor &amp;&amp; lists with set -e
&lt;br&gt;+	and a command substitution in the failing command.
&lt;br&gt;+	Report and initial patch by Stefano Lattarini against Automake.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-12-04 &amp;nbsp;Eric Blake &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655093&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ebb9@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	Warn if using unnamed diversion.
&lt;br&gt;diff --git a/doc/autoconf.texi b/doc/autoconf.texi
&lt;br&gt;index 7d2c72e..b25f165 100644
&lt;br&gt;--- a/doc/autoconf.texi
&lt;br&gt;+++ b/doc/autoconf.texi
&lt;br&gt;@@ -16794,12 +16794,21 @@ Limitations of Builtins
&lt;br&gt;&amp;nbsp;Solaris @command{/bin/sh} cannot be ignored, even with @samp{||}.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;@example
&lt;br&gt;-$ @kbd{/bin/sh -c 'set -d; foo=`false` || echo foo; echo bar'}
&lt;br&gt;-$ @kbd{bash -c 'set -d; foo=`false` || echo foo; echo bar'}
&lt;br&gt;+$ @kbd{/bin/sh -c 'set -e; foo=`false` || echo foo; echo bar'}
&lt;br&gt;+$ @kbd{bash -c 'set -e; foo=`false` || echo foo; echo bar'}
&lt;br&gt;&amp;nbsp;foo
&lt;br&gt;&amp;nbsp;bar
&lt;br&gt;&amp;nbsp;@end example
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+@noindent
&lt;br&gt;+Moreover, a command substitution, successful or not, causes this shell to
&lt;br&gt;+exit from a failing outer command even in presence of an @samp{&amp;&amp;} list:
&lt;br&gt;+
&lt;br&gt;+@example
&lt;br&gt;+$ @kbd{/bin/sh -c 'set -e; false `true` || echo did not exit'}
&lt;br&gt;+$
&lt;br&gt;+@end example
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;Portable scripts should not use @samp{set -e} if @command{trap} is used
&lt;br&gt;&amp;nbsp;to install an exit handler. &amp;nbsp;This is because Tru64/OSF 5.1 @command{sh}
&lt;br&gt;&amp;nbsp;sometimes enters the trap handler with the exit status of the command
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/testsuite%3A-fixed-spurious-failure-in-vala4.test-%28w.r.t.-Solaris-sh%29-tp25844509p26655093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26655078</id>
	<title>Re: testsuite: fixed spurious failure in vala4.test (w.r.t. Solaris sh)</title>
	<published>2009-12-05T03:47:34Z</published>
	<updated>2009-12-05T03:47:34Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">I've shortened the patch somewhat and adjusted the log entry somewhat,
&lt;br&gt;hope you don't mind. &amp;nbsp;I've queued this for maint.
&lt;br&gt;&lt;br&gt;(I would have queued the mode patches for maint as well, but they caused
&lt;br&gt;a conflict there, and I didn't figure porting was that important.)
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;commit cce60a543d55a27b4a0424c580b58a4fd53ec1be
&lt;br&gt;Author: Stefano Lattarini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655078&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: &amp;nbsp; Fri Dec 4 15:47:23 2009 +0100
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Avoid Solaris sh `set -e' bug in vala4.test.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; * tests/vala4.test: New variable $cwd, holding the full path of the
&lt;br&gt;&amp;nbsp; &amp;nbsp; current directory. &amp;nbsp;Use it instead of `pwd` command substitution,
&lt;br&gt;&amp;nbsp; &amp;nbsp; to avoid Heirloom/Solaris Sh bug with `set -e'.
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; Signed-off-by: Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655078&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index ca526c8..c970922 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,11 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;Stefano Lattarini &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655078&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;Ralf Wildenhues &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655078&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Avoid Solaris sh `set -e' bug in vala4.test.
&lt;br&gt;+	* tests/vala4.test: New variable $cwd, holding the full path of the
&lt;br&gt;+	current directory. &amp;nbsp;Use it instead of `pwd` command substitution,
&lt;br&gt;+	to avoid Heirloom/Solaris Sh bug with `set -e'.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-11-28 &amp;nbsp;Jim Meyering &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26655078&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	do not put world-writable directories in distribution tarballs
&lt;br&gt;diff --git a/tests/vala4.test b/tests/vala4.test
&lt;br&gt;index 4301d45..7a15ebe 100755
&lt;br&gt;--- a/tests/vala4.test
&lt;br&gt;+++ b/tests/vala4.test
&lt;br&gt;@@ -43,19 +43,24 @@ exit 0
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;chmod +x valac
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+cwd=`pwd`
&lt;br&gt;+
&lt;br&gt;+# Use $cwd instead of `pwd` in the &amp;&amp; list below to avoid a bug in
&lt;br&gt;+# the way Solaris/Heirloom Sh handles `set -e'.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;libtoolize
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOMAKE -a
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;-./configure &amp;quot;VALAC=`pwd`/valac&amp;quot;
&lt;br&gt;+./configure &amp;quot;VALAC=$cwd/valac&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([9999.9])/' &amp;lt; configure.in &amp;gt;t
&lt;br&gt;&amp;nbsp;mv -f t configure.in
&lt;br&gt;&amp;nbsp;$AUTOCONF --force
&lt;br&gt;-./configure &amp;quot;VALAC=`pwd`/valac&amp;quot; &amp;&amp; Exit 1
&lt;br&gt;+./configure &amp;quot;VALAC=$cwd/valac&amp;quot; &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([1.2.3])/' &amp;lt; configure.in &amp;gt;t
&lt;br&gt;&amp;nbsp;mv -f t configure.in
&lt;br&gt;&amp;nbsp;$AUTOCONF --force
&lt;br&gt;-./configure &amp;quot;VALAC=`pwd`/valac&amp;quot;
&lt;br&gt;+./configure &amp;quot;VALAC=$cwd/valac&amp;quot;
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/testsuite%3A-fixed-spurious-failure-in-vala4.test-%28w.r.t.-Solaris-sh%29-tp25844509p26655078.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654733</id>
	<title>Re: testsuite: fixed spurious failure in vala4.test (w.r.t. Solaris sh)</title>
	<published>2009-12-05T03:15:38Z</published>
	<updated>2009-12-05T03:15:38Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hi Stefano,
&lt;br&gt;&lt;br&gt;thanks for working on this more.
&lt;br&gt;&lt;br&gt;* Stefano Lattarini wrote on Fri, Dec 04, 2009 at 05:22:32PM CET:
&lt;br&gt;&amp;gt; I think I found the bug in heirloom-sh which was triggering the 
&lt;br&gt;&amp;gt; spurious failure (it's related with `set -e', as you guessed). &amp;nbsp;I also 
&lt;br&gt;&amp;gt; found a simple workaround for it (caching the result of `pwd` command 
&lt;br&gt;&amp;gt; substitution in a shell variable $cwd), which by the way also provided 
&lt;br&gt;&amp;gt; a tiny optimization (two fewer forks).
&lt;br&gt;&lt;br&gt;&amp;gt; Subject: [PATCH] Intertwined optimization and bugfix in vala4.test
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; * tests/vala4.test: New variable $cwd, holding the full path of the
&lt;br&gt;&amp;gt; current directory. &amp;nbsp;Use it instead of `pwd` command substitution.
&lt;br&gt;&amp;gt; Document how a bug of Heirloom/Solaris Sh caused a spurious failure
&lt;br&gt;&amp;gt; of this test script, and how our use of &amp;quot;$cwd&amp;quot; rather than &amp;quot;`pwd`&amp;quot;
&lt;br&gt;&amp;gt; offers a workaround.
&lt;br&gt;&lt;br&gt;The workaround looks ok to me, but I must confess that I still don't
&lt;br&gt;really understand the bug in a way that allows me to avoid it in similar
&lt;br&gt;but not identical other situations in the future.
&lt;br&gt;&lt;br&gt;The Shell Portability section of the Autoconf manual (which is where a
&lt;br&gt;detailed description of this issue belongs, not in a comment hidden in
&lt;br&gt;some Automake test that we'll never care to look at again) documents
&lt;br&gt;this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;When `set -e' is in effect, a failed command substitution in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Solaris `/bin/sh' cannot be ignored, even with `||'.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ /bin/sh -c 'set -e; foo=`false` || echo foo; echo bar'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ bash -c 'set -e; foo=`false` || echo foo; echo bar'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bar
&lt;br&gt;&lt;br&gt;which seems related (never mind that there are typos in the manual that
&lt;br&gt;use 'set -d' rather than 'set -e'; let's fix that as well). &amp;nbsp;But in the
&lt;br&gt;above case, you can work around the failure by putting the || inside the
&lt;br&gt;command substitution:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set -e; foo=`false || echo foo`; echo bar
&lt;br&gt;&lt;br&gt;But then, the example in vala.test doesn't have the failure inside the
&lt;br&gt;command substitution, so it's different. &amp;nbsp;So my next hypothesis was that
&lt;br&gt;the shell somehow replaces the exit status from the outer command with
&lt;br&gt;that of the command substitution. &amp;nbsp;But that's also not the case, as
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set -e; true `false` &amp;&amp; exit 0
&lt;br&gt;&lt;br&gt;exits as well (which it shouldn't in that case).
&lt;br&gt;&lt;br&gt;So, can we find a concise textual description of the bug?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/testsuite%3A-fixed-spurious-failure-in-vala4.test-%28w.r.t.-Solaris-sh%29-tp25844509p26654733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26654626</id>
	<title>Re: [PATCHES] Remove useless executable bits from two files</title>
	<published>2009-12-05T02:57:57Z</published>
	<updated>2009-12-05T02:57:57Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hi Stefano,
&lt;br&gt;&lt;br&gt;* Stefano Lattarini wrote on Fri, Dec 04, 2009 at 08:50:46PM CET:
&lt;br&gt;&amp;gt; I noticed that at least two files in the automake tree have the 
&lt;br&gt;&amp;gt; executable bit on, without really needing it:
&lt;br&gt;&amp;gt; &amp;nbsp; - the committed file `automake.in' (note that the similar file
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; `aclocal.in' is not executable)
&lt;br&gt;&amp;gt; &amp;nbsp; - the generated file `lib/Automake/Config.pm'
&lt;br&gt;&lt;br&gt;Agreed. &amp;nbsp;I've queued both patches for master.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHES--Remove-useless-executable-bits-from-two-files-tp26648242p26654626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26649881</id>
	<title>Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef</title>
	<published>2009-12-04T14:00:33Z</published>
	<updated>2009-12-04T14:00:33Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Ralf Wildenhues wrote:
&lt;br&gt;...
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My hypothesis as to what's going on:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The first configure run causes no sanity sleep second because ls -Lt
&lt;br&gt;&amp;gt; makes use of subsecond stamps. &amp;nbsp;The second aclocal produces an
&lt;br&gt;&amp;gt; aclocal.m4 file still within the same second as the first configure was
&lt;br&gt;&amp;gt; produced. &amp;nbsp;The second autoconf invokes autom4te, which is perl, which
&lt;br&gt;&amp;gt; only uses one-second granularity(?), thus does not see that aclocal.m4
&lt;br&gt;&amp;gt; is newer than configure, thus uses the cached output. &amp;nbsp;Boing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Let's see if your data confirms this. &amp;nbsp;I just tried out my Cygwin
&lt;br&gt;&amp;gt; install:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; tool &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sub-second?
&lt;br&gt;&amp;gt; -----------------------------
&lt;br&gt;&amp;gt; file system &amp;nbsp; &amp;nbsp; &amp;nbsp; yes
&lt;br&gt;&amp;gt; perl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;no
&lt;br&gt;&amp;gt; shell test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;no
&lt;br&gt;&amp;gt; /usr/bin/test &amp;nbsp; &amp;nbsp; yes
&lt;br&gt;&amp;gt; ls &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&amp;gt; make &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&amp;gt; touch -r &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;/div&gt;&lt;br&gt;Hi Ralf,
&lt;br&gt;&lt;br&gt;I haven't looked into the portability constraints yet, but
&lt;br&gt;the stat replacement from Perl's Time::HiRes module might help:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $ touch k; rm k;
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ perl -le 'use Time::HiRes qw(stat); $t=(stat &amp;quot;.&amp;quot;)[9]; print $t'
&lt;br&gt;&amp;nbsp; &amp;nbsp; 1259963881.12454
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ touch k; rm k;
&lt;br&gt;&amp;nbsp; &amp;nbsp; $ perl -le 'use Time::HiRes qw(stat); $t=(stat &amp;quot;.&amp;quot;)[9]; print $t'
&lt;br&gt;&amp;nbsp; &amp;nbsp; 1259963881.22454
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I think we either need to reintroduce the 'sleep 1' in the build sanity
&lt;br&gt;&amp;gt; check, or some other way to ensure that a file newly created by
&lt;br&gt;&amp;gt; configure has a time stamp with a strictly larger integer part than the
&lt;br&gt;&amp;gt; time stamp of the configure script. &amp;nbsp;Any ideas of what the most portable
&lt;br&gt;&amp;gt; way to achieve this could be?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We may be able to get by with something like spawning off a
&lt;br&gt;&amp;gt; &amp;nbsp; ( sleep 1 ) &amp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; early in the configure script, and ensuring that it has completed before
&lt;br&gt;&amp;gt; we get to config.status creation. &amp;nbsp;I'm a bit afraid of introducing
&lt;br&gt;&amp;gt; 'kill' into configure scripts, however. &amp;nbsp;Any less dangerous ideas?
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Implementing-notrans_man_MANS-tp15601856p26649881.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26648315</id>
	<title>Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef</title>
	<published>2009-12-04T11:56:07Z</published>
	<updated>2009-12-04T11:56:07Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Thanks for the detailed feedback, Peter. &amp;nbsp;Jim, this is
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://thread.gmane.org/gmane.comp.sysutils.automake.patches/3638/focus=3747&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.sysutils.automake.patches/3638/focus=3747&lt;/a&gt;&amp;gt;,
&lt;br&gt;and I'm a bit out of ideas; see at the very end.
&lt;br&gt;&lt;br&gt;* Peter Breitenlohner wrote on Fri, Dec 04, 2009 at 01:04:09PM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 2 Dec 2009, Ralf Wildenhues wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;--- a/tests/aclocal9.test
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;+++ b/tests/aclocal9.test
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;@@ -42,6 +42,8 @@ $AUTOCONF
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; grep macro11 foo
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; grep macro21 foo
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;+sleep 1
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;+
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; $ACLOCAL -I m4_2 -I m4_1
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; $AUTOCONF
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; ./configure
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;I don't yet understand why this should be necessary.
&lt;/div&gt;&lt;br&gt;&amp;gt; almost certainly this has to do with the rounding/truncation of sub-second
&lt;br&gt;&amp;gt; timestamps, possibly handled in a different way by Autotools and GNU Make
&lt;br&gt;&amp;gt; 3.81.
&lt;br&gt;&lt;br&gt;Well, this test never calls 'make', so that shouldn't be involved.
&lt;br&gt;However, you're probably right in that this is about some tool using
&lt;br&gt;subsecond time stamps and another not doing so. &amp;nbsp;So let's find out
&lt;br&gt;what does what:
&lt;br&gt;&lt;br&gt;One involved tool is perl:
&lt;br&gt;&amp;nbsp; perl -e 'use File::stat; print (stat(&amp;quot;README&amp;quot;)-&amp;gt;mtime . &amp;quot;\n&amp;quot;);'
&lt;br&gt;&lt;br&gt;Another is the shell/test, and ls: Create two files with same-second
&lt;br&gt;but different sub-second time stamps (try until this succeeds):
&lt;br&gt;&lt;br&gt;&amp;nbsp; echo stamp &amp;gt; file1
&lt;br&gt;&amp;nbsp; echo stamp &amp;gt; file2
&lt;br&gt;&amp;nbsp; ls -l --full-time file?
&lt;br&gt;&lt;br&gt;then test 'test' and 'ls':
&lt;br&gt;&lt;br&gt;&amp;nbsp; if test file2 -nt file1; then echo &amp;quot;shell test uses sub-second&amp;quot;; fi
&lt;br&gt;&amp;nbsp; if /usr/bin/test file2 -nt file1; then echo &amp;quot;/usr/bin/test uses sub-second&amp;quot;; fi
&lt;br&gt;&amp;nbsp; set X `ls -Lt file1 file2`
&lt;br&gt;&amp;nbsp; if test $3 = file1; then echo &amp;quot;ls uses sub-second&amp;quot;; fi
&lt;br&gt;&lt;br&gt;For completeness let's also test 'make':
&lt;br&gt;&amp;nbsp; echo 'file1: file2; echo &amp;quot;make uses sub-second&amp;quot;' &amp;gt; Makefile
&lt;br&gt;&amp;nbsp; make
&lt;br&gt;&lt;br&gt;and whether 'touch -r' can generate sub-second stamps:
&lt;br&gt;&amp;nbsp; : &amp;gt; foo
&lt;br&gt;&amp;nbsp; touch -r foo bar
&lt;br&gt;&amp;nbsp; ls -l --full-time foo bar
&lt;br&gt;&lt;br&gt;&amp;gt; To fit into my infrastructure I did:
&lt;br&gt;&amp;gt; &amp;nbsp;cd test
&lt;br&gt;&amp;gt; &amp;nbsp;make TESTS='aclocal9.test' check
&lt;br&gt;&amp;gt; but that should be equivalent.
&lt;br&gt;&lt;br&gt;Yes, that's fine.
&lt;br&gt;&lt;br&gt;&amp;gt; The third attempt failed; the files you asked for are attached, together
&lt;br&gt;&amp;gt; with the output from &amp;quot;ls -lrt --fu aclocal9.dir&amp;quot;.
&lt;br&gt;&lt;br&gt;The output proves that aclocal did update aclocal.m4:
&lt;br&gt;&lt;br&gt;&amp;gt; + tail aclocal.m4
&lt;br&gt;[...]
&lt;br&gt;&amp;gt; m4_include([m4_1/somedefs.m4])
&lt;br&gt;&amp;gt; + autoconf
&lt;br&gt;[...]
&lt;br&gt;&amp;gt; + tail aclocal.m4
&lt;br&gt;[...]
&lt;br&gt;&amp;gt; m4_include([m4_1/somedefs.m4])
&lt;br&gt;&amp;gt; m4_include([m4_2/somedefs.m4])
&lt;br&gt;&amp;gt; + autoconf
&lt;br&gt;&lt;br&gt;&amp;gt; Output from &amp;quot;ls -lrt --fu aclocal9.dir&amp;quot;:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; total 192
&lt;br&gt;[...]
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; drwxr-xr-x 2 peb THEORY &amp;nbsp; &amp;nbsp; 8 2009-12-04 11:57:00.509038757 +0100 m4_2
&lt;br&gt;&amp;gt; drwxr-xr-x 2 peb THEORY &amp;nbsp; &amp;nbsp; 8 2009-12-04 11:57:00.509038757 +0100 m4_1
&lt;br&gt;&amp;gt; -rw-r--r-- 1 peb THEORY &amp;nbsp; &amp;nbsp;86 2009-12-04 11:57:00.509038757 +0100 configure.in
&lt;br&gt;&amp;gt; -rw-r--r-- 1 peb THEORY 15948 2009-12-04 11:57:00.882197557 +0100 aclocal-log-1
&lt;br&gt;&amp;gt; -rwxr-xr-x 1 peb THEORY 66329 2009-12-04 11:57:01.118709661 +0100 configure
&lt;br&gt;&amp;gt; drwxr-xr-x 2 peb THEORY &amp;nbsp;4096 2009-12-04 11:57:01.505099509 +0100 autom4te.cache
&lt;br&gt;&amp;gt; -rw-r--r-- 1 peb THEORY 15993 2009-12-04 11:57:01.525161570 +0100 aclocal-log-2
&lt;br&gt;&amp;gt; -rw-r--r-- 1 peb THEORY 22331 2009-12-04 11:57:01.529182308 +0100 aclocal.m4
&lt;br&gt;&amp;gt; -rw-r--r-- 1 peb THEORY &amp;nbsp; &amp;nbsp;16 2009-12-04 11:57:01.739640973 +0100 foo
&lt;br&gt;&amp;gt; -rw-r--r-- 1 peb THEORY &amp;nbsp;4931 2009-12-04 11:57:01.759754356 +0100 config.log
&lt;/div&gt;&lt;br&gt;This shows that the second &amp;quot;autoconf&amp;quot; did not update configure. &amp;nbsp;Can you
&lt;br&gt;post, for this same build, also
&lt;br&gt;&amp;nbsp; ls -lrt --fu autom4te.cache
&lt;br&gt;&lt;br&gt;please? &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;My hypothesis as to what's going on:
&lt;br&gt;&lt;br&gt;The first configure run causes no sanity sleep second because ls -Lt
&lt;br&gt;makes use of subsecond stamps. &amp;nbsp;The second aclocal produces an
&lt;br&gt;aclocal.m4 file still within the same second as the first configure was
&lt;br&gt;produced. &amp;nbsp;The second autoconf invokes autom4te, which is perl, which
&lt;br&gt;only uses one-second granularity(?), thus does not see that aclocal.m4
&lt;br&gt;is newer than configure, thus uses the cached output. &amp;nbsp;Boing.
&lt;br&gt;&lt;br&gt;Let's see if your data confirms this. &amp;nbsp;I just tried out my Cygwin
&lt;br&gt;install:
&lt;br&gt;&lt;br&gt;tool &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sub-second?
&lt;br&gt;-----------------------------
&lt;br&gt;file system &amp;nbsp; &amp;nbsp; &amp;nbsp; yes
&lt;br&gt;perl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;no
&lt;br&gt;shell test &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;no
&lt;br&gt;/usr/bin/test &amp;nbsp; &amp;nbsp; yes
&lt;br&gt;ls &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;make &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;touch -r &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;yes
&lt;br&gt;&lt;br&gt;Ugh. &amp;nbsp;If Cygwin weren't so slow, it would fall prey to this issue, too.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I think we either need to reintroduce the 'sleep 1' in the build sanity
&lt;br&gt;check, or some other way to ensure that a file newly created by
&lt;br&gt;configure has a time stamp with a strictly larger integer part than the
&lt;br&gt;time stamp of the configure script. &amp;nbsp;Any ideas of what the most portable
&lt;br&gt;way to achieve this could be?
&lt;br&gt;&lt;br&gt;We may be able to get by with something like spawning off a
&lt;br&gt;&amp;nbsp; ( sleep 1 ) &amp;
&lt;br&gt;&lt;br&gt;early in the configure script, and ensuring that it has completed before
&lt;br&gt;we get to config.status creation. &amp;nbsp;I'm a bit afraid of introducing
&lt;br&gt;'kill' into configure scripts, however. &amp;nbsp;Any less dangerous ideas?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Implementing-notrans_man_MANS-tp15601856p26648315.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26648242</id>
	<title>[PATCHES] Remove useless executable bits from two files</title>
	<published>2009-12-04T11:50:46Z</published>
	<updated>2009-12-04T11:50:46Z</updated>
	<author>
		<name>Stefano Lattarini</name>
	</author>
	<content type="html">Hello automakers.
&lt;br&gt;&lt;br&gt;I noticed that at least two files in the automake tree have the 
&lt;br&gt;executable bit on, without really needing it:
&lt;br&gt;&amp;nbsp; - the committed file `automake.in' (note that the similar file
&lt;br&gt;&amp;nbsp; &amp;nbsp; `aclocal.in' is not executable)
&lt;br&gt;&amp;nbsp; - the generated file `lib/Automake/Config.pm'
&lt;br&gt;&lt;br&gt;The two very simple attached patches correct these glitches.
&lt;br&gt;&lt;br&gt;This is admittedly nitpicking, but I think that the fewer warts the 
&lt;br&gt;better. I hope you'll agree with me.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Stefano
&lt;br&gt;&lt;br /&gt;From a5393aff1a019ab270b2096a12c2ac0cdd66872e Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Stefano Lattarini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648242&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 4 Dec 2009 18:40:50 +0100
&lt;br&gt;Subject: [PATCH] Don't make the generated Automake's Config.pm executable.
&lt;br&gt;&lt;br&gt;* lib/Automake/Makefile.am (Config.pm): Don't make the generated
&lt;br&gt;`Config.pm' file executable.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;6 ++++++
&lt;br&gt;&amp;nbsp;lib/Automake/Makefile.am | &amp;nbsp; &amp;nbsp;1 -
&lt;br&gt;&amp;nbsp;lib/Automake/Makefile.in | &amp;nbsp; &amp;nbsp;1 -
&lt;br&gt;&amp;nbsp;3 files changed, 6 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index 2fe0566..93c9dec 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,9 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;Stefano Lattarini &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648242&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Don't make the generated Automake's Config.pm executable.
&lt;br&gt;+	* lib/Automake/Makefile.am (Config.pm): Don't make the generated
&lt;br&gt;+	`Config.pm' file executable.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-10-18 &amp;nbsp;Ralf Wildenhues &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648242&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	Simplify Variable::_check_ambiguous_condition.
&lt;br&gt;diff --git a/lib/Automake/Makefile.am b/lib/Automake/Makefile.am
&lt;br&gt;index b4f5fbd..ff5b950 100644
&lt;br&gt;--- a/lib/Automake/Makefile.am
&lt;br&gt;+++ b/lib/Automake/Makefile.am
&lt;br&gt;@@ -64,7 +64,6 @@ do_subst = in=`echo $@ | sed 's/\.[^.]*$$//'`; sed \
&lt;br&gt;&amp;nbsp;Config.pm: Config.in Makefile
&lt;br&gt;&amp;nbsp;	$(AM_V_GEN)rm -f Config.tmp Config.pm
&lt;br&gt;&amp;nbsp;	$(AM_V_at)$(do_subst) $(srcdir)/Config.in &amp;gt;Config.tmp
&lt;br&gt;-	$(AM_V_at)chmod +x Config.tmp
&lt;br&gt;&amp;nbsp;	$(AM_V_at)chmod a-w Config.tmp
&lt;br&gt;&amp;nbsp;	$(AM_V_at)mv -f Config.tmp Config.pm
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff --git a/lib/Automake/Makefile.in b/lib/Automake/Makefile.in
&lt;br&gt;index 8f4ec8a..cace114 100644
&lt;br&gt;--- a/lib/Automake/Makefile.in
&lt;br&gt;+++ b/lib/Automake/Makefile.in
&lt;br&gt;@@ -661,7 +661,6 @@ uninstall-am: uninstall-dist_perllibDATA uninstall-nodist_perllibDATA
&lt;br&gt;&amp;nbsp;Config.pm: Config.in Makefile
&lt;br&gt;&amp;nbsp;	$(AM_V_GEN)rm -f Config.tmp Config.pm
&lt;br&gt;&amp;nbsp;	$(AM_V_at)$(do_subst) $(srcdir)/Config.in &amp;gt;Config.tmp
&lt;br&gt;-	$(AM_V_at)chmod +x Config.tmp
&lt;br&gt;&amp;nbsp;	$(AM_V_at)chmod a-w Config.tmp
&lt;br&gt;&amp;nbsp;	$(AM_V_at)mv -f Config.tmp Config.pm
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;br /&gt;From 1c0066821e5e1ec07da6a43d1ec0405d2de522db Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Stefano Lattarini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648242&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 4 Dec 2009 18:15:57 +0100
&lt;br&gt;Subject: [PATCH] Remove executable bit from automake.in
&lt;br&gt;&lt;br&gt;File `automake.in' is not meant to be executed (only to be
&lt;br&gt;preprocessed into `automake'), so don't leave it executable.
&lt;br&gt;&lt;br&gt;* automake.in: Remove executable bit.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 ++++++
&lt;br&gt;&amp;nbsp;1 files changed, 6 insertions(+), 0 deletions(-)
&lt;br&gt;&amp;nbsp;mode change 100755 =&amp;gt; 100644 automake.in
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index 2fe0566..40a9c23 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,9 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;Stefano Lattarini &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648242&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	File `automake.in' is not meant to be executed (only to be
&lt;br&gt;+	preprocessed into `automake'), so don't leave it executable.
&lt;br&gt;+	* automake.in: Remove executable bit.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-10-18 &amp;nbsp;Ralf Wildenhues &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26648242&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	Simplify Variable::_check_ambiguous_condition.
&lt;br&gt;diff --git a/automake.in b/automake.in
&lt;br&gt;old mode 100755
&lt;br&gt;new mode 100644
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCHES--Remove-useless-executable-bits-from-two-files-tp26648242p26648242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26646676</id>
	<title>Re: problem --enable-shared and --enable-static together</title>
	<published>2009-12-04T09:50:48Z</published>
	<updated>2009-12-04T09:50:48Z</updated>
	<author>
		<name>Philipp Thomas</name>
	</author>
	<content type="html">* Andreas Otto (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aotto1968@...&lt;/a&gt;) [20091204 09:45]:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 1. I have libraries which are only useful as &amp;quot;shared&amp;quot; libraries. this
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;libraries are language extension used to dl-open by an programming
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;language.
&lt;br&gt;&lt;br&gt;If they are to be dl-opened they aren't shared libraries but rather a form
&lt;br&gt;of plugins (i.e. versioning doesn't make much sense) so using LTLIBRARIES
&lt;br&gt;without further modifications is wrong. See '(automake.info.gz)Libtool Modules'
&lt;br&gt;for further info.
&lt;br&gt;&lt;br&gt;Philipp
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem---enable-shared-and---enable-static-together-tp26639377p26646676.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645041</id>
	<title>Re: testsuite: fixed spurious failure in vala4.test (w.r.t. Solaris sh)</title>
	<published>2009-12-04T08:22:32Z</published>
	<updated>2009-12-04T08:22:32Z</updated>
	<author>
		<name>Stefano Lattarini</name>
	</author>
	<content type="html">At Sunday 11 October 2009, Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645041&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Stefano Lattarini wrote on Sun, Oct 11, 2009 at 05:49:20PM CEST:
&lt;br&gt;&amp;gt; &amp;gt; While trying to run the automake test scripts with the &amp;quot;Heirloom
&lt;br&gt;&amp;gt; &amp;gt; sh&amp;quot; (&lt;a href=&quot;http://heirloom.sourceforge.net/sh.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://heirloom.sourceforge.net/sh.html&lt;/a&gt;, which should be
&lt;br&gt;&amp;gt; &amp;gt; quite similar to the Solaris/OpenSolaris shell), I ran into a
&lt;br&gt;&amp;gt; &amp;gt; spurious failure in test `vala4.test'. &amp;nbsp;I still don't understand
&lt;br&gt;&amp;gt; &amp;gt; the real cause of the failure (whose log is allegated), but I
&lt;br&gt;&amp;gt; &amp;gt; managed to fix it with a quick and dirty patch, which is
&lt;br&gt;&amp;gt; &amp;gt; attached.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for looking into this. &amp;nbsp;I prefer not to paper over any bugs
&lt;br&gt;&amp;gt; &amp;nbsp;that we don't understand, though.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you are willing to look into this more, it's got to do with 'set
&lt;br&gt;&amp;gt; &amp;nbsp;-e'.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;I think I found the bug in heirloom-sh which was triggering the 
&lt;/div&gt;spurious failure (it's related with `set -e', as you guessed). &amp;nbsp;I also 
&lt;br&gt;found a simple workaround for it (caching the result of `pwd` command 
&lt;br&gt;substitution in a shell variable $cwd), which by the way also provided 
&lt;br&gt;a tiny optimization (two fewer forks).
&lt;br&gt;&lt;br&gt;I also added a comment in the test script, containing a quite extended 
&lt;br&gt;description of the bug (so that a future developer will know that the 
&lt;br&gt;$cwd &amp;quot;optimization&amp;quot; isn't just an optimization).
&lt;br&gt;&lt;br&gt;A patch is attached.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Stefano
&lt;br&gt;&lt;br /&gt;From 780ca4e4346c57916bd497f12aa7e58a33e7c5e8 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Stefano Lattarini &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645041&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 4 Dec 2009 15:47:23 +0100
&lt;br&gt;Subject: [PATCH] Intertwined optimization and bugfix in vala4.test
&lt;br&gt;&lt;br&gt;* tests/vala4.test: New variable $cwd, holding the full path of the
&lt;br&gt;current directory. &amp;nbsp;Use it instead of `pwd` command substitution.
&lt;br&gt;Document how a bug of Heirloom/Solaris Sh caused a spurious failure
&lt;br&gt;of this test script, and how our use of &amp;quot;$cwd&amp;quot; rather than &amp;quot;`pwd`&amp;quot;
&lt;br&gt;offers a workaround.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;ChangeLog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;9 +++++++++
&lt;br&gt;&amp;nbsp;tests/vala4.test | &amp;nbsp; 36 +++++++++++++++++++++++++++++++++---
&lt;br&gt;&amp;nbsp;2 files changed, 42 insertions(+), 3 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/ChangeLog b/ChangeLog
&lt;br&gt;index 2fe0566..3199d03 100644
&lt;br&gt;--- a/ChangeLog
&lt;br&gt;+++ b/ChangeLog
&lt;br&gt;@@ -1,3 +1,12 @@
&lt;br&gt;+2009-12-04 &amp;nbsp;Stefano Lattarini &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645041&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefano.lattarini@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	Intertwined optimization and bugfix in testcase vala4.test.
&lt;br&gt;+	* tests/vala4.test: New variable $cwd, holding the full path of the
&lt;br&gt;+	current directory. &amp;nbsp;Use it instead of `pwd` command substitution.
&lt;br&gt;+	Document how a bug of Heirloom/Solaris Sh caused a spurious failure
&lt;br&gt;+	of this test script, and how our use of &amp;quot;$cwd&amp;quot; rather than &amp;quot;`pwd`&amp;quot;
&lt;br&gt;+	offers a workaround.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;2009-10-18 &amp;nbsp;Ralf Wildenhues &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645041&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	Simplify Variable::_check_ambiguous_condition.
&lt;br&gt;diff --git a/tests/vala4.test b/tests/vala4.test
&lt;br&gt;index 4301d45..d8e58eb 100755
&lt;br&gt;--- a/tests/vala4.test
&lt;br&gt;+++ b/tests/vala4.test
&lt;br&gt;@@ -43,19 +43,49 @@ exit 0
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&amp;nbsp;chmod +x valac
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+cwd=`pwd`
&lt;br&gt;+
&lt;br&gt;+#
&lt;br&gt;+# Note that the previous assignment doesn't provide just an optimization,
&lt;br&gt;+# but helps us to prevent a bug in the way Solaris/Heirloom Sh handles
&lt;br&gt;+# `set -e'.
&lt;br&gt;+#
&lt;br&gt;+# The bug can be reproduced as follows:
&lt;br&gt;+#
&lt;br&gt;+# &amp;nbsp;$ cat &amp;gt;foo.sh &amp;lt;&amp;lt;__EOF__
&lt;br&gt;+# &amp;nbsp;set -e
&lt;br&gt;+# &amp;nbsp;false &amp;&amp; exit 0
&lt;br&gt;+# &amp;nbsp;echo ALIVE
&lt;br&gt;+# &amp;nbsp;false `true` &amp;&amp; exit 0
&lt;br&gt;+# &amp;nbsp;echo STILL ALIVE
&lt;br&gt;+# &amp;nbsp;__EOF__
&lt;br&gt;+# &amp;nbsp;$ sh foo.sh; echo $? # sh can be e.g. bash, ksh, zsh
&lt;br&gt;+# &amp;nbsp;ALIVE
&lt;br&gt;+# &amp;nbsp;STILL ALIVE
&lt;br&gt;+# &amp;nbsp;0
&lt;br&gt;+# &amp;nbsp;$ heirloom-sh foo.sh; echo $?
&lt;br&gt;+# &amp;nbsp;ALIVE
&lt;br&gt;+# &amp;nbsp;1
&lt;br&gt;+#
&lt;br&gt;+# That bug had already bitten us in practice, when (below) we used:
&lt;br&gt;+# &amp;nbsp; ./configure &amp;quot;VALAC=`pwd`/valac&amp;quot; &amp;&amp; Exit 1
&lt;br&gt;+# instead of the current:
&lt;br&gt;+# &amp;nbsp; ./configure &amp;quot;VALAC=$cwd/valac&amp;quot; &amp;&amp; Exit 1
&lt;br&gt;+#
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;libtoolize
&lt;br&gt;&amp;nbsp;$ACLOCAL
&lt;br&gt;&amp;nbsp;$AUTOMAKE -a
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;-./configure &amp;quot;VALAC=`pwd`/valac&amp;quot;
&lt;br&gt;+./configure &amp;quot;VALAC=$cwd/valac&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([9999.9])/' &amp;lt; configure.in &amp;gt;t
&lt;br&gt;&amp;nbsp;mv -f t configure.in
&lt;br&gt;&amp;nbsp;$AUTOCONF --force
&lt;br&gt;-./configure &amp;quot;VALAC=`pwd`/valac&amp;quot; &amp;&amp; Exit 1
&lt;br&gt;+./configure &amp;quot;VALAC=$cwd/valac&amp;quot; &amp;&amp; Exit 1
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;sed 's/AM_PROG_VALAC.*/AM_PROG_VALAC([1.2.3])/' &amp;lt; configure.in &amp;gt;t
&lt;br&gt;&amp;nbsp;mv -f t configure.in
&lt;br&gt;&amp;nbsp;$AUTOCONF --force
&lt;br&gt;-./configure &amp;quot;VALAC=`pwd`/valac&amp;quot;
&lt;br&gt;+./configure &amp;quot;VALAC=$cwd/valac&amp;quot;
&lt;br&gt;&amp;nbsp;:
&lt;br&gt;-- 
&lt;br&gt;1.6.5
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/testsuite%3A-fixed-spurious-failure-in-vala4.test-%28w.r.t.-Solaris-sh%29-tp25844509p26645041.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26644577</id>
	<title>Re: problem --enable-shared and --enable-static together</title>
	<published>2009-12-04T07:53:34Z</published>
	<updated>2009-12-04T07:53:34Z</updated>
	<author>
		<name>Bob Friesenhahn</name>
	</author>
	<content type="html">On Fri, 4 Dec 2009, Andreas Otto wrote:
&lt;br&gt;&amp;gt; $(TCL_CFLAGS) $(AM_CFLAGS) -DMQ_IGNORE_EXTERN
&lt;br&gt;&amp;gt; tclmsgque_la_LIBADD = ../libmsgque/*.lo
&lt;br&gt;&lt;br&gt;The above line is wrong. &amp;nbsp;You should refer to tclmsgque.la rather than 
&lt;br&gt;'*.lo'. &amp;nbsp;Wildcard specifications do not belong in an Automake 
&lt;br&gt;makefile.
&lt;br&gt;&lt;br&gt;&amp;gt; as you see both *lo and *.o are created. the *.o are useless and just
&lt;br&gt;&amp;gt; extend the compiling time
&lt;br&gt;&lt;br&gt;The .lo files are necessary in order to satisfy makefile dependency 
&lt;br&gt;logic. &amp;nbsp;When shared libraries are supported, the object files are 
&lt;br&gt;built as PIC (when necessary/supported) even if they appear in a 
&lt;br&gt;static archive file.
&lt;br&gt;&lt;br&gt;&amp;gt; I use &amp;quot;../libmsgque/*.lo&amp;quot; for in-project libraray dependency to avoid to
&lt;br&gt;&amp;gt; link to my own shared libraray
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Q: what can I do to avoid build static libraries ...
&lt;br&gt;&lt;br&gt;You have the option to re-do your makefiles to use a non-recursive 
&lt;br&gt;build. &amp;nbsp;This allows the dependencies to be fully known to one makefile 
&lt;br&gt;and makes it possible to avoid using libtool convenience libraries. 
&lt;br&gt;Creating libtool convenience libraries for the sole purpose of being 
&lt;br&gt;able to refer to the object files in a different directory is 
&lt;br&gt;wasteful, even though its a common usage.
&lt;br&gt;&lt;br&gt;Bob
&lt;br&gt;--
&lt;br&gt;Bob Friesenhahn
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26644577&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bfriesen@...&lt;/a&gt;, &lt;a href=&quot;http://www.simplesystems.org/users/bfriesen/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.simplesystems.org/users/bfriesen/&lt;/a&gt;&lt;br&gt;GraphicsMagick Maintainer, &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.GraphicsMagick.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.GraphicsMagick.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem---enable-shared-and---enable-static-together-tp26639377p26644577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26641692</id>
	<title>Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef</title>
	<published>2009-12-04T04:10:51Z</published>
	<updated>2009-12-04T04:10:51Z</updated>
	<author>
		<name>Peter Breitenlohner</name>
	</author>
	<content type="html">On Fri, 4 Dec 2009, Peter Breitenlohner wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On Wed, 2 Dec 2009, Ralf Wildenhues wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which Autoconf version do you use?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2.65 as required for the ObjC++ patch.
&lt;br&gt;&lt;br&gt;running with perl-5.10.0.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Peter Breitenlohner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26641692&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peb@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Implementing-notrans_man_MANS-tp15601856p26641692.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26641619</id>
	<title>Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef</title>
	<published>2009-12-04T04:04:09Z</published>
	<updated>2009-12-04T04:04:09Z</updated>
	<author>
		<name>Peter Breitenlohner</name>
	</author>
	<content type="html">On Wed, 2 Dec 2009, Ralf Wildenhues wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; We'll deal with each such failure one by one. &amp;nbsp;I would like to find and
&lt;br&gt;&amp;gt; understand any bugs that might be lurking here, and not paper over them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --- a/tests/aclocal9.test
&lt;br&gt;&amp;gt;&amp;gt; +++ b/tests/aclocal9.test
&lt;br&gt;&amp;gt;&amp;gt; @@ -42,6 +42,8 @@ $AUTOCONF
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;grep macro11 foo
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;grep macro21 foo
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; +sleep 1
&lt;br&gt;&amp;gt;&amp;gt; +
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;$ACLOCAL -I m4_2 -I m4_1
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;./configure
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't yet understand why this should be necessary.
&lt;/div&gt;&lt;/div&gt;Hi Ralf,
&lt;br&gt;&lt;br&gt;almost certainly this has to do with the rounding/truncation of sub-second
&lt;br&gt;timestamps, possibly handled in a different way by Autotools and GNU Make
&lt;br&gt;3.81.
&lt;br&gt;&lt;br&gt;&amp;gt; So, off to find out where my hypothesis goes wrong.
&lt;br&gt;&amp;gt; Can you apply this diff, run the test as
&lt;br&gt;&amp;gt; &amp;nbsp;cd tests
&lt;br&gt;&amp;gt; &amp;nbsp;$srcdir/aclocal9.test
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; repeatedly until it fails for you, then send the two aclocal-log-?
&lt;br&gt;&amp;gt; files as well as the test output? &amp;nbsp;Thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which Autoconf version do you use?
&lt;br&gt;&lt;br&gt;2.65 as required for the ObjC++ patch.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --- a/tests/aclocal9.test
&lt;br&gt;&amp;gt; +++ b/tests/aclocal9.test
&lt;br&gt;&amp;gt; @@ -36,13 +36,15 @@ cat &amp;gt;m4_2/somedefs.m4 &amp;lt;&amp;lt;EOF
&lt;br&gt;&amp;gt; AC_DEFUN([MACRO1], [echo macro12 &amp;gt; foo])
&lt;br&gt;&amp;gt; EOF
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -$ACLOCAL -I m4_1 -I m4_2
&lt;br&gt;&amp;gt; +$ACLOCAL -I m4_1 -I m4_2 --verbose 2&amp;gt; aclocal-log-1
&lt;br&gt;&amp;gt; +tail aclocal.m4
&lt;br&gt;&amp;gt; $AUTOCONF
&lt;br&gt;&amp;gt; ./configure
&lt;br&gt;&amp;gt; grep macro11 foo
&lt;br&gt;&amp;gt; grep macro21 foo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -$ACLOCAL -I m4_2 -I m4_1
&lt;br&gt;&amp;gt; +$ACLOCAL -I m4_2 -I m4_1 --verbose 2&amp;gt; aclocal-log-2
&lt;br&gt;&amp;gt; +tail aclocal.m4
&lt;br&gt;&amp;gt; $AUTOCONF
&lt;br&gt;&amp;gt; ./configure
&lt;br&gt;&amp;gt; grep macro12 foo
&lt;/div&gt;&lt;/div&gt;To fit into my infrastructure I did:
&lt;br&gt;&amp;nbsp; cd test
&lt;br&gt;&amp;nbsp; make TESTS='aclocal9.test' check
&lt;br&gt;but that should be equivalent.
&lt;br&gt;&lt;br&gt;The third attempt failed; the files you asked for are attached, together
&lt;br&gt;with the output from &amp;quot;ls -lrt --fu aclocal9.dir&amp;quot;.
&lt;br&gt;&lt;br&gt;In case you need more info please let me know.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Peter&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;==============================================
&lt;br&gt;&amp;nbsp; &amp;nbsp;GNU Automake 1.11a: tests/test-suite.log &amp;nbsp; 
&lt;br&gt;==============================================
&lt;br&gt;&lt;br&gt;1 of 1 test failed. &amp;nbsp;
&lt;br&gt;&lt;br&gt;.. contents:: :depth: 2
&lt;br&gt;&lt;br&gt;&lt;br&gt;FAIL: aclocal9.test (exit: 1)
&lt;br&gt;=============================
&lt;br&gt;&lt;br&gt;/.th/thsrc/archive/gnu/automake/automake-git-build-linux-gnu/tests:/bin:/opt/TeX/bin:/home/pcl321/peb/bin/Linux:/home/pcl321/peb/bin:/usr/local/bin:/usr/local/X11R6/bin:/usr/local/tex/bin:/usr/local/java/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:/usr/local/condor/bin:/usr/local/condor/sbin:/usr/local/openmpi/bin:/opt/Absoft/bin:/opt/Adobe/bin:/opt/ITT/bin:/opt/Intel/bin:/opt/KDE/bin:/opt/KDE/sbin:/opt/Maplesoft/bin:/opt/MathWorks/bin:/opt/Mozilla/bin:/opt/OpenOffice/bin:/opt/PGI/bin:/opt/TeX/bin:/opt/UPS/bin:/opt/UPS/sbin:/opt/Wolfram/bin:/opt/Wolfram/sbin:/usr/afs/bin:/usr/afs/sbin:/usr/heimdal/bin:/usr/heimdal/sbin:.
&lt;br&gt;=== Running test ../../automake-git/tests/aclocal9.test
&lt;br&gt;++ pwd
&lt;br&gt;/.th/thsrc/archive/gnu/automake/automake-git-build-linux-gnu/tests/aclocal9.dir
&lt;br&gt;+ set -e
&lt;br&gt;+ cat
&lt;br&gt;+ mkdir m4_1 m4_2
&lt;br&gt;+ cat
&lt;br&gt;+ cat
&lt;br&gt;+ aclocal-1.11a -Werror -I m4_1 -I m4_2 --verbose
&lt;br&gt;+ tail aclocal.m4
&lt;br&gt;done
&lt;br&gt;rm -rf conftest.dir
&lt;br&gt;&lt;br&gt;AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
&lt;br&gt;AC_MSG_RESULT([$am_cv_prog_tar_$1])])
&lt;br&gt;AC_SUBST([am__tar])
&lt;br&gt;AC_SUBST([am__untar])
&lt;br&gt;]) # _AM_PROG_TAR
&lt;br&gt;&lt;br&gt;m4_include([m4_1/somedefs.m4])
&lt;br&gt;+ autoconf
&lt;br&gt;+ ./configure
&lt;br&gt;checking for a BSD-compatible install... /bin/install -c
&lt;br&gt;checking whether build environment is sane... yes
&lt;br&gt;checking for a thread-safe mkdir -p... /bin/mkdir -p
&lt;br&gt;checking for gawk... gawk
&lt;br&gt;checking whether make sets $(MAKE)... yes
&lt;br&gt;+ grep macro11 foo
&lt;br&gt;macro11
&lt;br&gt;+ grep macro21 foo
&lt;br&gt;macro21
&lt;br&gt;+ aclocal-1.11a -Werror -I m4_2 -I m4_1 --verbose
&lt;br&gt;+ tail aclocal.m4
&lt;br&gt;rm -rf conftest.dir
&lt;br&gt;&lt;br&gt;AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
&lt;br&gt;AC_MSG_RESULT([$am_cv_prog_tar_$1])])
&lt;br&gt;AC_SUBST([am__tar])
&lt;br&gt;AC_SUBST([am__untar])
&lt;br&gt;]) # _AM_PROG_TAR
&lt;br&gt;&lt;br&gt;m4_include([m4_1/somedefs.m4])
&lt;br&gt;m4_include([m4_2/somedefs.m4])
&lt;br&gt;+ autoconf
&lt;br&gt;+ ./configure
&lt;br&gt;checking for a BSD-compatible install... /bin/install -c
&lt;br&gt;checking whether build environment is sane... yes
&lt;br&gt;checking for a thread-safe mkdir -p... /bin/mkdir -p
&lt;br&gt;checking for gawk... gawk
&lt;br&gt;checking whether make sets $(MAKE)... yes
&lt;br&gt;+ grep macro12 foo
&lt;br&gt;+ exit_status=1
&lt;br&gt;+ set +e
&lt;br&gt;+ cd /.th/thsrc/archive/gnu/automake/automake-git-build-linux-gnu/tests
&lt;br&gt;+ case $exit_status,$keep_testdirs in
&lt;br&gt;+ test 0 '!=' 0
&lt;br&gt;+ echo 'aclocal9: exit 1'
&lt;br&gt;aclocal9: exit 1
&lt;br&gt;+ exit 1
&lt;br&gt;&lt;br /&gt;Output from &amp;quot;ls -lrt --fu aclocal9.dir&amp;quot;:
&lt;br&gt;&lt;br&gt;total 192
&lt;br&gt;-rwxr-xr-x 1 peb THEORY 11419 2009-12-04 11:57:00.504967137 +0100 missing
&lt;br&gt;-rwxr-xr-x 1 peb THEORY 13663 2009-12-04 11:57:00.504967137 +0100 install-sh
&lt;br&gt;-rwxr-xr-x 1 peb THEORY 18615 2009-12-04 11:57:00.504967137 +0100 depcomp
&lt;br&gt;drwxr-xr-x 2 peb THEORY &amp;nbsp; &amp;nbsp; 8 2009-12-04 11:57:00.509038757 +0100 m4_2
&lt;br&gt;drwxr-xr-x 2 peb THEORY &amp;nbsp; &amp;nbsp; 8 2009-12-04 11:57:00.509038757 +0100 m4_1
&lt;br&gt;-rw-r--r-- 1 peb THEORY &amp;nbsp; &amp;nbsp;86 2009-12-04 11:57:00.509038757 +0100 configure.in
&lt;br&gt;-rw-r--r-- 1 peb THEORY 15948 2009-12-04 11:57:00.882197557 +0100 aclocal-log-1
&lt;br&gt;-rwxr-xr-x 1 peb THEORY 66329 2009-12-04 11:57:01.118709661 +0100 configure
&lt;br&gt;drwxr-xr-x 2 peb THEORY &amp;nbsp;4096 2009-12-04 11:57:01.505099509 +0100 autom4te.cache
&lt;br&gt;-rw-r--r-- 1 peb THEORY 15993 2009-12-04 11:57:01.525161570 +0100 aclocal-log-2
&lt;br&gt;-rw-r--r-- 1 peb THEORY 22331 2009-12-04 11:57:01.529182308 +0100 aclocal.m4
&lt;br&gt;-rw-r--r-- 1 peb THEORY &amp;nbsp; &amp;nbsp;16 2009-12-04 11:57:01.739640973 +0100 foo
&lt;br&gt;-rw-r--r-- 1 peb THEORY &amp;nbsp;4931 2009-12-04 11:57:01.759754356 +0100 config.log
&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;aclocal-log-1&lt;/strong&gt; (21K) &lt;a href=&quot;http://old.nabble.com/attachment/26641619/0/aclocal-log-1&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;aclocal-log-2&lt;/strong&gt; (21K) &lt;a href=&quot;http://old.nabble.com/attachment/26641619/1/aclocal-log-2&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Implementing-notrans_man_MANS-tp15601856p26641619.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26639377</id>
	<title>problem --enable-shared and --enable-static together</title>
	<published>2009-12-04T00:41:16Z</published>
	<updated>2009-12-04T00:41:16Z</updated>
	<author>
		<name>Andreas Otto-5</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp; I have a project using together the both statements from above to configure.
&lt;br&gt;&amp;nbsp; This project hase many different parts includig many shared libraries
&lt;br&gt;&amp;nbsp; and executables.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Now the problem.
&lt;br&gt;&lt;br&gt;&amp;nbsp; 1. I have libraries which are only useful as &amp;quot;shared&amp;quot; libraries. this
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;libraries are language extension used to dl-open by an programming
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;language.
&lt;br&gt;&lt;br&gt;&amp;nbsp; these libraries should &amp;quot;not&amp;quot; build the &amp;quot;static&amp;quot; object files
&lt;br&gt;&lt;br&gt;example:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;lt;
&lt;br&gt;pkglib_LTLIBRARIES = tclmsgque.la
&lt;br&gt;&lt;br&gt;tclmsgque_la_SOURCES = &amp;nbsp;context_tcl.c &amp;nbsp;misc_tcl.c &amp;nbsp;msgque_tcl.c read_tcl.c 
&lt;br&gt;send_tcl.c \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; config_tcl.c service_tcl.c msgque_tcl.h slave_tcl.c 
&lt;br&gt;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MqBufferS_tcl.c error_tcl.c
&lt;br&gt;&lt;br&gt;# use this if you want to include the libmsgque files into the tclmsgque 
&lt;br&gt;libraray
&lt;br&gt;tclmsgque_la_CFLAGS = -I$(srcdir)/../libmsgque $(TCL_INCLUDE_SPEC) 
&lt;br&gt;$(TCL_CFLAGS) $(AM_CFLAGS) -DMQ_IGNORE_EXTERN
&lt;br&gt;tclmsgque_la_LIBADD = ../libmsgque/*.lo
&lt;br&gt;&lt;br&gt;tclmsgque_la_LDFLAGS = -shared -module -avoid-version -no-undefined 
&lt;br&gt;$(TCL_LIBADD)
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;&lt;br&gt;the following object files are created
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; 1000 &amp;nbsp;4. Dez 09:27 tclmsgque.la
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;323 &amp;nbsp;4. Dez 09:27 tclmsgque_la-config_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users 154528 &amp;nbsp;4. Dez 09:27 tclmsgque_la-config_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;326 &amp;nbsp;4. Dez 09:27 tclmsgque_la-context_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users 120656 &amp;nbsp;4. Dez 09:27 tclmsgque_la-context_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;320 &amp;nbsp;4. Dez 09:27 tclmsgque_la-error_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp;96240 &amp;nbsp;4. Dez 09:27 tclmsgque_la-error_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;317 &amp;nbsp;4. Dez 09:27 tclmsgque_la-misc_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp;94800 &amp;nbsp;4. Dez 09:27 tclmsgque_la-misc_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;332 &amp;nbsp;4. Dez 09:27 tclmsgque_la-MqBufferS_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp;97688 &amp;nbsp;4. Dez 09:27 tclmsgque_la-MqBufferS_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;323 &amp;nbsp;4. Dez 09:27 tclmsgque_la-msgque_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users 103328 &amp;nbsp;4. Dez 09:27 tclmsgque_la-msgque_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;317 &amp;nbsp;4. Dez 09:27 tclmsgque_la-read_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users 113008 &amp;nbsp;4. Dez 09:27 tclmsgque_la-read_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;317 &amp;nbsp;4. Dez 09:27 tclmsgque_la-send_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users 122192 &amp;nbsp;4. Dez 09:27 tclmsgque_la-send_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;326 &amp;nbsp;4. Dez 09:27 tclmsgque_la-service_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp;88400 &amp;nbsp;4. Dez 09:27 tclmsgque_la-service_tcl.o
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp; &amp;nbsp;320 &amp;nbsp;4. Dez 09:27 tclmsgque_la-slave_tcl.lo
&lt;br&gt;-rw-rw-r-- &amp;nbsp;1 dev1usr users &amp;nbsp;93392 &amp;nbsp;4. Dez 09:27 tclmsgque_la-slave_tcl.o
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;&lt;br&gt;as you see both *lo and *.o are created. the *.o are useless and just
&lt;br&gt;extend the compiling time
&lt;br&gt;&lt;br&gt;I use &amp;quot;../libmsgque/*.lo&amp;quot; for in-project libraray dependency to avoid to
&lt;br&gt;link to my own shared libraray
&lt;br&gt;&lt;br&gt;Q: what can I do to avoid build static libraries ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;2. executables should build without library dependency. This mean that
&lt;br&gt;if configured with &amp;quot;--enable-static&amp;quot; the static object files should be used
&lt;br&gt;and if configureed without the shared object files should be used.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;brain_SOURCES = brain.c
&lt;br&gt;brain_CFLAGS = -I../theLink/libmsgque -I$(BRAIN_HOME)/include -
&lt;br&gt;DMQ_LINK_WITH_LIBRARY_OBJECT_FILES
&lt;br&gt;&lt;br&gt;if HAS_STATIC
&lt;br&gt;LIBMSQUE = ../theLink/libmsgque/*.o
&lt;br&gt;else
&lt;br&gt;LIBMSQUE = ../theLink/libmsgque/*.lo
&lt;br&gt;endif
&lt;br&gt;&lt;br&gt;brain_LDADD = -lz -lbz2 -lrt -lm -lc $(LIBMSQUE) 
&lt;br&gt;$(BRAIN_HOME)/lib/libtokyocabinet.a
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;&lt;br&gt;I need a HELPER called HAS_STATIC defined in configure.in with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;AM_CONDITIONAL([HAS_STATIC], [test &amp;quot;$enable_static&amp;quot; = &amp;quot;yes&amp;quot;])
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;&lt;br&gt;Q: Is this OK or is something better is possible ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;mfg
&lt;br&gt;&lt;br&gt;&amp;nbsp; Andreas Otto
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem---enable-shared-and---enable-static-together-tp26639377p26639377.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26623254</id>
	<title>Re: ifdef in Makefile.am</title>
	<published>2009-12-03T01:38:36Z</published>
	<updated>2009-12-03T01:38:36Z</updated>
	<author>
		<name>Alfred M. Szmidt</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp;I basicall want to do in a Makefile.am
&lt;br&gt;&amp;nbsp; &amp;nbsp;ifdef automake version &amp;gt; 1.4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;AM_LDFLAGS=...
&lt;br&gt;&amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;LDFLAGS=...
&lt;br&gt;&amp;nbsp; &amp;nbsp;endif
&lt;br&gt;&amp;nbsp; &amp;nbsp;Because am version == 1.4 does not like
&lt;br&gt;&amp;nbsp; &amp;nbsp;some newer automake macros and I am moving a big project over
&lt;br&gt;&amp;nbsp; &amp;nbsp;to am 1.10. I need the 2 versions to coexist for a while
&lt;br&gt;&amp;nbsp; &amp;nbsp;until I have moved everything over.
&lt;br&gt;&amp;nbsp; &amp;nbsp;How can I do this? Tried lots of variants but no luck.
&lt;br&gt;&lt;br&gt;Create a branch for this, or simply migrate everything to automake
&lt;br&gt;1.10+ without supporting 1.4, since it is not worth the effort to do
&lt;br&gt;so.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ifdef-in-Makefile.am-tp26618886p26623254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26621773</id>
	<title>Re: ifdef in Makefile.am</title>
	<published>2009-12-02T22:52:25Z</published>
	<updated>2009-12-02T22:52:25Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello Joakim,
&lt;br&gt;&lt;br&gt;* Joakim Tjernlund wrote on Wed, Dec 02, 2009 at 11:59:11PM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I basicall want to do in a Makefile.am
&lt;br&gt;&amp;gt; ifdef automake version &amp;gt; 1.4
&lt;br&gt;&amp;gt; &amp;nbsp; AM_LDFLAGS=...
&lt;br&gt;&amp;gt; else
&lt;br&gt;&amp;gt; &amp;nbsp; LDFLAGS=...
&lt;br&gt;&amp;gt; endif
&lt;br&gt;&amp;gt; Because am version == 1.4 does not like
&lt;br&gt;&amp;gt; some newer automake macros and I am moving a big project over
&lt;br&gt;&amp;gt; to am 1.10. I need the 2 versions to coexist for a while
&lt;br&gt;&amp;gt; until I have moved everything over.
&lt;br&gt;&amp;gt; How can I do this? Tried lots of variants but no luck.
&lt;/div&gt;&lt;br&gt;I'm afraid it's only possible by exploiting an undocumented internal
&lt;br&gt;detail, namely that the Automake API version is stored in the
&lt;br&gt;$am__api_version variable.
&lt;br&gt;&lt;br&gt;With that you create a conditional:
&lt;br&gt;&amp;nbsp; AM_CONDITIONAL([NEWER_THAN_AUTOMAKE_1_4],
&lt;br&gt;&amp;nbsp; &amp;nbsp; [case $am__api_version in 0* | 1.[0-4]*) false;; *) true;; esac])
&lt;br&gt;&lt;br&gt;and then you can use that conditional in Makefile.am:
&lt;br&gt;&amp;nbsp; if NEWER_THAN_AUTOMAKE_1_4
&lt;br&gt;&amp;nbsp; AM_LDFLAGS=...
&lt;br&gt;&amp;nbsp; else
&lt;br&gt;&amp;nbsp; LDFLAGS=...
&lt;br&gt;&amp;nbsp; fi
&lt;br&gt;&lt;br&gt;HTH. &amp;nbsp;Untested.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ifdef-in-Makefile.am-tp26618886p26621773.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618886</id>
	<title>ifdef in Makefile.am</title>
	<published>2009-12-02T14:59:11Z</published>
	<updated>2009-12-02T14:59:11Z</updated>
	<author>
		<name>Joakim Tjernlund-2</name>
	</author>
	<content type="html">&lt;br&gt;I basicall want to do in a Makefile.am
&lt;br&gt;ifdef automake version &amp;gt; 1.4
&lt;br&gt;&amp;nbsp; AM_LDFLAGS=...
&lt;br&gt;else
&lt;br&gt;&amp;nbsp; LDFLAGS=...
&lt;br&gt;endif
&lt;br&gt;Because am version == 1.4 does not like
&lt;br&gt;some newer automake macros and I am moving a big project over
&lt;br&gt;to am 1.10. I need the 2 versions to coexist for a while
&lt;br&gt;until I have moved everything over.
&lt;br&gt;How can I do this? Tried lots of variants but no luck.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Jocke
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ifdef-in-Makefile.am-tp26618886p26618886.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618526</id>
	<title>Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef</title>
	<published>2009-12-02T14:01:00Z</published>
	<updated>2009-12-02T14:01:00Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">Hello Peter,
&lt;br&gt;&lt;br&gt;thanks for the report and patch.
&lt;br&gt;&lt;br&gt;* Peter Breitenlohner wrote on Tue, Nov 24, 2009 at 10:44:31AM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; as I mentioned a few weeks ago, I get a few FAILs when runnig 'make check'
&lt;br&gt;&amp;gt; on the current Automake-git. &amp;nbsp;Looking into the three tests I concluded that
&lt;br&gt;&amp;gt; it must be a timing problem. &amp;nbsp;Running ten times just these three tests I
&lt;br&gt;&amp;gt; got:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; aclocal9: 6 FAIL + 4 PASS
&lt;br&gt;&amp;gt; acloca10: 10 FAIL
&lt;br&gt;&amp;gt; nodef: 8 FAIL + 2 PASS
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; after applying the attached patch I got 10 PASSes for each test.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The patch introduces a delay between successive invocations of aclocal.
&lt;br&gt;&amp;gt; Probably using 'aclocal -f' would have the same effect, but a delay --
&lt;br&gt;&amp;gt; undesirable as it might be -- seems to be closer to a typical use case.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW: There may be additional test suffering from the same problem.
&lt;/div&gt;&lt;br&gt;We'll deal with each such failure one by one. &amp;nbsp;I would like to find and
&lt;br&gt;understand any bugs that might be lurking here, and not paper over them.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --- a/tests/aclocal9.test
&lt;br&gt;&amp;gt; +++ b/tests/aclocal9.test
&lt;br&gt;&amp;gt; @@ -42,6 +42,8 @@ $AUTOCONF
&lt;br&gt;&amp;gt; &amp;nbsp;grep macro11 foo
&lt;br&gt;&amp;gt; &amp;nbsp;grep macro21 foo
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +sleep 1
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;$ACLOCAL -I m4_2 -I m4_1
&lt;br&gt;&amp;gt; &amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;gt; &amp;nbsp;./configure
&lt;/div&gt;&lt;br&gt;I don't yet understand why this should be necessary. &amp;nbsp;The sequence
&lt;br&gt;here looks like this, where aclocal.m4 contents depend upon aclocal
&lt;br&gt;argument order:
&lt;br&gt;&lt;br&gt;&amp;nbsp; $ACLOCAL -I m4_1 -I m4_2
&lt;br&gt;&amp;nbsp; $AUTOCONF
&lt;br&gt;&amp;nbsp; ./configure
&lt;br&gt;&amp;nbsp; [...]
&lt;br&gt;&lt;br&gt;&amp;nbsp; $ACLOCAL -I m4_2 -I m4_1
&lt;br&gt;&amp;nbsp; $AUTOCONF
&lt;br&gt;&lt;br&gt;The sanity check in configure ensures that files generated by configure
&lt;br&gt;are (strictly) newer than configure. &amp;nbsp;configure itself is at least as
&lt;br&gt;new as the first version of aclocal.m4. &amp;nbsp;The second aclocal must
&lt;br&gt;generate a new output file, because its contents have changed. &amp;nbsp;That
&lt;br&gt;aclocal.m4 file is then strictly newer than configure, thus the second
&lt;br&gt;autoconf must update configure.
&lt;br&gt;&lt;br&gt;So, off to find out where my hypothesis goes wrong.
&lt;br&gt;Can you apply this diff, run the test as
&lt;br&gt;&amp;nbsp; cd tests
&lt;br&gt;&amp;nbsp; $srcdir/aclocal9.test
&lt;br&gt;&lt;br&gt;repeatedly until it fails for you, then send the two aclocal-log-?
&lt;br&gt;files as well as the test output? &amp;nbsp;Thanks.
&lt;br&gt;&lt;br&gt;Which Autoconf version do you use?
&lt;br&gt;&lt;br&gt;--- a/tests/aclocal9.test
&lt;br&gt;+++ b/tests/aclocal9.test
&lt;br&gt;@@ -36,13 +36,15 @@ cat &amp;gt;m4_2/somedefs.m4 &amp;lt;&amp;lt;EOF
&lt;br&gt;&amp;nbsp;AC_DEFUN([MACRO1], [echo macro12 &amp;gt; foo])
&lt;br&gt;&amp;nbsp;EOF
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL -I m4_1 -I m4_2
&lt;br&gt;+$ACLOCAL -I m4_1 -I m4_2 --verbose 2&amp;gt; aclocal-log-1
&lt;br&gt;+tail aclocal.m4
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;./configure
&lt;br&gt;&amp;nbsp;grep macro11 foo
&lt;br&gt;&amp;nbsp;grep macro21 foo
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-$ACLOCAL -I m4_2 -I m4_1
&lt;br&gt;+$ACLOCAL -I m4_2 -I m4_1 --verbose 2&amp;gt; aclocal-log-2
&lt;br&gt;+tail aclocal.m4
&lt;br&gt;&amp;nbsp;$AUTOCONF
&lt;br&gt;&amp;nbsp;./configure
&lt;br&gt;&amp;nbsp;grep macro12 foo
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --- a/tests/nodef.test
&lt;br&gt;&amp;gt; +++ b/tests/nodef.test
&lt;br&gt;&amp;gt; @@ -45,6 +45,8 @@ grep 'DEFS.*-DVERSION=\\&amp;quot;UnIqUe' output
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;# Then, check that PACKAGE and VERSION are not output if requested.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; +sleep 1
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; &amp;nbsp;cat &amp;gt; configure.in &amp;lt;&amp;lt; 'END'
&lt;br&gt;&amp;gt; &amp;nbsp;AC_INIT
&lt;br&gt;&amp;gt; &amp;nbsp;AM_INIT_AUTOMAKE([UnIqUe_PaCkAgE], [UnIqUe_VeRsIoN], [no])
&lt;/div&gt;&lt;br&gt;I don't understand why this sleep should be necessary. &amp;nbsp;When the first
&lt;br&gt;configure is run, either it sleeps, or configure is older than the
&lt;br&gt;current time, which means that configure.in is also older than the
&lt;br&gt;current time. &amp;nbsp;That in turn means the update of configure.in must result
&lt;br&gt;in a newer timestamp. &amp;nbsp;So the sleep should not be necessary here either.
&lt;br&gt;&lt;br&gt;I haven't looked in detail at acloca10.test, but assume that a similar
&lt;br&gt;reasoning as for aclocal9.test should hold.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Implementing-notrans_man_MANS-tp15601856p26618526.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26599765</id>
	<title>Re: convenience library dependencies (was: 1.11 doesn't add sources with nonstandard suffixes when making a binary)</title>
	<published>2009-12-01T13:56:36Z</published>
	<updated>2009-12-01T13:56:36Z</updated>
	<author>
		<name>Jack Kelly-3</name>
	</author>
	<content type="html">2009/12/2 Юрий Пухальский &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26599765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aikipooh@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Aye, that was what i thought. Jack misled me:)
&lt;br&gt;&lt;br&gt;Sorry. I must've got mixed up and thought you were building _PROGRAMS
&lt;br&gt;and not _LIBRARIES. I've used noinst_LIBRARIES before when building a
&lt;br&gt;program.
&lt;br&gt;&lt;br&gt;-- Jack
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/1.11-doesn%27t-add-sources-with-nonstandard-suffixes-when-making-a--binary-tp26535091p26599765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26598928</id>
	<title>Re: convenience library dependencies (was: 1.11 doesn't add sources with nonstandard suffixes when making a binary)</title>
	<published>2009-12-01T12:55:52Z</published>
	<updated>2009-12-01T12:55:52Z</updated>
	<author>
		<name>Юрий Пухальский</name>
	</author>
	<content type="html">Aye, that was what i thought. Jack misled me:)
&lt;br&gt;&lt;br&gt;So i resume what we have started with. There is currently no easy
&lt;br&gt;method to use .pc.lo rule with intermediate files' removal. And if i
&lt;br&gt;leave them hanging i have to put into every Makefile a line adding
&lt;br&gt;them to CLEANFILES. Which is as
&lt;br&gt;ugly...
&lt;br&gt;&lt;br&gt;2009/12/1 Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26598928&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Юрий Пухальский wrote on Mon, Nov 30, 2009 at 10:39:27PM CET:
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/1 Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26598928&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; * Юрий Пухальский wrote on Mon, Nov 30, 2009 at 09:15:23AM CET:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I've tried using oldstyle libraries, to no avail... It has made a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; library like this (last lines of &amp;quot;ar t&amp;quot; output):
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; foo.o
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; libbar.a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I don't follow the conversation, but the output looks bogus; so:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; can you please submit a small example Makefile.am that shows the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; problem?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've tried to use the library as i would have done with LTLIBRARIES,
&lt;br&gt;&amp;gt;&amp;gt; but apparently it doesn't support it (and from what i remember it
&lt;br&gt;&amp;gt;&amp;gt; didn't)
&lt;br&gt;&amp;gt;&amp;gt; Here's a small example from scratch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks.  This is the relevant part:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --- Makefile.am ---
&lt;br&gt;&amp;gt;&amp;gt; noinst_LIBRARIES=libfoo.a libbar.a
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; libfoo_a_SOURCES=foo.c
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; libbar_a_SOURCES=bar.c
&lt;br&gt;&amp;gt;&amp;gt; libbar_a_LIBADD=libfoo.a
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That doesn't work.  You can use LIBADD only with libtool libraries.
&lt;br&gt;&amp;gt; It should work with libtool convenience archives (noinst_LTLIBRARIES),
&lt;br&gt;&amp;gt; however (in case you use libtool):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  noinst_LTLIBRARIES=libfoo.la libbar.la
&lt;br&gt;&amp;gt;  libfoo_la_SOURCES=foo.c
&lt;br&gt;&amp;gt;  libbar_la_SOURCES=bar.c
&lt;br&gt;&amp;gt;  libbar_la_LIBADD=libfoo.la
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Ralf
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;«The good thing about standards is there are so many to choose from.»
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/1.11-doesn%27t-add-sources-with-nonstandard-suffixes-when-making-a--binary-tp26535091p26598928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26596763</id>
	<title>convenience library dependencies (was: 1.11 doesn't add sources with nonstandard suffixes when making a binary)</title>
	<published>2009-12-01T10:31:00Z</published>
	<updated>2009-12-01T10:31:00Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">* Юрий Пухальский wrote on Mon, Nov 30, 2009 at 10:39:27PM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/12/1 Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26596763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt; * Юрий Пухальский wrote on Mon, Nov 30, 2009 at 09:15:23AM CET:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I've tried using oldstyle libraries, to no avail... It has made a
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; library like this (last lines of &amp;quot;ar t&amp;quot; output):
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; foo.o
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; libbar.a
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I don't follow the conversation, but the output looks bogus; so:
&lt;br&gt;&amp;gt; &amp;gt; can you please submit a small example Makefile.am that shows the
&lt;br&gt;&amp;gt; &amp;gt; problem?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've tried to use the library as i would have done with LTLIBRARIES,
&lt;br&gt;&amp;gt; but apparently it doesn't support it (and from what i remember it
&lt;br&gt;&amp;gt; didn't)
&lt;br&gt;&amp;gt; Here's a small example from scratch.
&lt;/div&gt;&lt;br&gt;Thanks. &amp;nbsp;This is the relevant part:
&lt;br&gt;&lt;br&gt;&amp;gt; --- Makefile.am ---
&lt;br&gt;&amp;gt; noinst_LIBRARIES=libfoo.a libbar.a
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; libfoo_a_SOURCES=foo.c
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; libbar_a_SOURCES=bar.c
&lt;br&gt;&amp;gt; libbar_a_LIBADD=libfoo.a
&lt;br&gt;&lt;br&gt;That doesn't work. &amp;nbsp;You can use LIBADD only with libtool libraries.
&lt;br&gt;It should work with libtool convenience archives (noinst_LTLIBRARIES),
&lt;br&gt;however (in case you use libtool):
&lt;br&gt;&lt;br&gt;&amp;nbsp; noinst_LTLIBRARIES=libfoo.la libbar.la
&lt;br&gt;&amp;nbsp; libfoo_la_SOURCES=foo.c
&lt;br&gt;&amp;nbsp; libbar_la_SOURCES=bar.c
&lt;br&gt;&amp;nbsp; libbar_la_LIBADD=libfoo.la
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/1.11-doesn%27t-add-sources-with-nonstandard-suffixes-when-making-a--binary-tp26535091p26596763.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26588140</id>
	<title>Re: Win32 compile option</title>
	<published>2009-12-01T00:16:17Z</published>
	<updated>2009-12-01T00:16:17Z</updated>
	<author>
		<name>Alberto Luaces</name>
	</author>
	<content type="html">Hi Ken,
&lt;br&gt;&lt;br&gt;Ken Perl writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have AM_PATH_GTK_2_0(1.3.5) in configure.ac and
&lt;br&gt;&amp;gt; app_CPPFLAGS = @GTK_CFLAGS@
&lt;br&gt;&amp;gt; app_LDADD = @GTK_LIBS@
&lt;br&gt;&amp;gt; in Makefile.am
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the above works fine on Linux and compiles crossly a simple win32
&lt;br&gt;&amp;gt; version on Linux, if I'd transfer one -mwindows compile-link option
&lt;br&gt;&amp;gt; when cross-compiling, what do you suggest to add?
&lt;/div&gt;&lt;br&gt;I don't fully understand your question, but if you are asking which of
&lt;br&gt;the user or the build system writer should be setting the -mwindows
&lt;br&gt;flag, I would advise to peruse the source of other programs dealing with
&lt;br&gt;the same problem, like the Gimp, for example.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;Alberto
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---General-f1485.html&quot; embed=&quot;fixTarget[1485]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Win32-compile-option-tp26576060p26588140.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26582415</id>
	<title>Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary</title>
	<published>2009-11-30T13:39:27Z</published>
	<updated>2009-11-30T13:39:27Z</updated>
	<author>
		<name>Юрий Пухальский</name>
	</author>
	<content type="html">Good night, Ralf!
&lt;br&gt;&lt;br&gt;I've tried to use the library as i would have done with LTLIBRARIES,
&lt;br&gt;but apparently it doesn't support it (and from what i remember it
&lt;br&gt;didn't)
&lt;br&gt;Here's a small example from scratch.
&lt;br&gt;&lt;br&gt;2009/12/1 Ralf Wildenhues &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582415&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Ralf.Wildenhues@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * Юрий Пухальский wrote on Mon, Nov 30, 2009 at 09:15:23AM CET:
&lt;br&gt;&amp;gt;&amp;gt; 2009/11/28 Jack Kelly &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582415&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;endgame.dos@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; 2009/11/28 Юрий Пухальский &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582415&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aikipooh@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; My bad. I meant noinst_LIBRARIES, so you make a libcommon.a instead of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; libcommon.la. This goes into LDADD as with libtool convenience
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; libraries.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I haven't checked it, but does it support library dependencies like
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; .la? This i use extensively.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Yes, you can. See
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.gnu.org/software/hello/manual/automake/A-Library.html#A-Library&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/hello/manual/automake/A-Library.html#A-Library&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've tried using oldstyle libraries, to no avail... It has made a
&lt;br&gt;&amp;gt;&amp;gt; library like this (last lines of &amp;quot;ar t&amp;quot; output):
&lt;br&gt;&amp;gt;&amp;gt; foo.o
&lt;br&gt;&amp;gt;&amp;gt; libbar.a
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't follow the conversation, but the output looks bogus; so:
&lt;br&gt;&amp;gt; can you please submit a small example Makefile.am that shows the
&lt;br&gt;&amp;gt; problem?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Ralf
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;«The good thing about standards is there are so many to choose from.»
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;foo-1.0.tar.gz&lt;/strong&gt; (106K) &lt;a href=&quot;http://old.nabble.com/attachment/26582415/0/foo-1.0.tar.gz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/1.11-doesn%27t-add-sources-with-nonstandard-suffixes-when-making-a--binary-tp26535091p26582415.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26582113</id>
	<title>Re: 1.11 doesn't add sources with nonstandard suffixes when making a binary</title>
	<published>2009-11-30T13:06:37Z</published>
	<updated>2009-11-30T13:06:37Z</updated>
	<author>
		<name>Ralf Wildenhues</name>
	</author>
	<content type="html">* Юрий Пухальский wrote on Mon, Nov 30, 2009 at 09:15:23AM CET:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/28 Jack Kelly &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;endgame.dos@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt; 2009/11/28 Юрий Пухальский &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26582113&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aikipooh@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; My bad. I meant noinst_LIBRARIES, so you make a libcommon.a instead of
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; libcommon.la. This goes into LDADD as with libtool convenience
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; libraries.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I haven't checked it, but does it support library dependencies like
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; .la? This i use extensively.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes, you can. See
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.gnu.org/software/hello/manual/automake/A-Library.html#A-Library&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/hello/manual/automake/A-Library.html#A-Library&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&amp;gt; I've tried using oldstyle libraries, to no avail... It has made a
&lt;br&gt;&amp;gt; library like this (last lines of &amp;quot;ar t&amp;quot; output):
&lt;br&gt;&amp;gt; foo.o
&lt;br&gt;&amp;gt; libbar.a
&lt;br&gt;&lt;br&gt;I don't follow the conversation, but the output looks bogus; so:
&lt;br&gt;can you please submit a small example Makefile.am that shows the
&lt;br&gt;problem?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Bugs-f1486.html&quot; embed=&quot;fixTarget[1486]&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gnu - Automake - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/1.11-doesn%27t-add-sources-with-nonstandard-suffixes-when-making-a--binary-tp26535091p26582113.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26576073</id>
	<title>Re: [PATCH] do not put world-writable directories in distribution	tarballs</title>
	<published>2009-11-30T07:00:59Z</published>
	<updated>2009-11-30T07:00:59Z</updated>
	<author>
		<name>Eric Blake</name>
	</author>
	<content type="html">Jim Meyering &amp;lt;jim &amp;lt;at&amp;gt; meyering.net&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/18993/focus=11176&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/18993/focus=11176&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; please consider the patch below.
&lt;br&gt;&amp;gt; Without it, a root-run invocation of gnu tar (without --no-same-permissions)
&lt;br&gt;&amp;gt; to unpack a tarball created by &amp;quot;make dist&amp;quot; (this affects any automake-using
&lt;br&gt;&amp;gt; project) will result in all directories being world-writable.
&lt;br&gt;&lt;br&gt;What's wrong with group-writable? &amp;nbsp;Remember, a bug report was raised against 
&lt;br&gt;autoconf for preventing group-writable directories.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Eric Blake
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Automake---Patches-f1487.html&quot; embed=&quot;fixTarget[1487]&quot; target=&quot;_top&quot; &gt;Gnu - Automake - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--do-not-put-world-writable-directories-in-distribution-tarballs-tp26556708p26576073.html" />
</entry>

</feed>
