Re: header file from yacc doesn't go to a distribution (automake 1.11)

2010-08-01 Thread Ralf Wildenhues
Hi Юрий, * Юрий Пухальский wrote on Wed, Jul 28, 2010 at 03:38:11PM CEST: In the documentation it's stated that The intermediate files generated by yacc (or lex) will be included in any distribution that is made. That way the user doesn't need to have yacc or lex. But albeit the .c files are

Re: pr-msvc-support merge

2010-08-01 Thread Ralf Wildenhues
Hi Peter, * Peter Rosin wrote on Wed, Jun 23, 2010 at 08:08:08AM CEST: +2010-06-23 Peter Rosin p...@lysator.liu.se + + Wrap some MSVC options in the compile script. + * lib/compile: MSVC supports naming the output file, the option + is just not called -o, so transform -o

Re: New auxiliary archive script

2010-08-01 Thread Ralf Wildenhues
Hi Peter, * Peter Rosin wrote on Sun, Aug 01, 2010 at 06:54:57PM CEST: Now we need a something similar for the MS archiver (lib.exe) Right. As it happens, binutils ar does not work as well as lib, MSVC sometimes has problems with the archives produced by ar. I know that I have stated

Re: call for help/crazy idea: nmake support

2010-08-01 Thread 'Ralf Wildenhues'
* David Byron wrote on Sat, Jul 31, 2010 at 10:41:29PM CEST: If someone is running autotools (or even a generated configure script) on windows, I think we can assume they've either got cygwin or msys which implies access to make. OK, so what if they are not actually running configure (or would

Re: call for help/crazy idea: nmake support

2010-08-01 Thread 'Ralf Wildenhues'
* David Byron wrote on Sun, Aug 01, 2010 at 07:25:16PM CEST: On Saturday, July 31, 2010, Ralf Wildenhues wrote: OK, so what if they are not actually running configure (or would not actually need to)? Presumably automake could produce a ready nmake file (or forbid, a vcproj) in at least

Recursive targets for the user

2010-08-01 Thread Ralf Wildenhues
Somebody suggested to me (was that you, Ludo?) that Automake should really allow the user to easily add recursive targets. This is fairly trivial to implement, the biggest complication is name calling. So, here's the deal: currently, Automake has RECURSIVE_TARGETS RECURSIVE_CLEAN_TARGETS

easier nonrecursive makefiles

2010-08-01 Thread Ralf Wildenhues
Ludovic (and others?) suggested a different approach for easier file name handling in nonrecursive makefile setups: provide GNU make-like substitution functions, such as addprefix. They could be expanded at automake run time to still produce portable makefiles. I'm torn between this and my

Re: Intermittent test failures

2010-07-31 Thread Ralf Wildenhues
Hi Ludovic, * Ludovic Courtès wrote on Tue, Jul 27, 2010 at 11:08:39AM CEST: FYI the Automake test suite currently fails on Hydra. The build at http://hydra.nixos.org/build/502179 has 5 failures; the one at http://hydra.nixos.org/build/502171 has 2 failures, etc. thanks again for the report.

AX_MPI/ACX_MPI and packages using only the MPI compiler wrappers

2010-07-31 Thread Ralf Wildenhues
a7ed24ccfb253faec3ecfec3abdfdc89d0c460a5 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Sat, 31 Jul 2010 17:46:48 +0200 Subject: [PATCH] Fix recommendation for compiling everything with MPI. * m4/ax_mpi.m4: Fix typos when compiling everything with MPI. Update description to include

Add more hints for debugging make rules.

2010-07-31 Thread Ralf Wildenhues
Committing the doc update below to maint, for master and branch-1.11. Also, I'm adding you to THANKS, Ludo and Andy, hoping that you'll be providing more help in the near future anyway. ;-) Thanks, Ralf Add more hints for debugging make rules. * doc/automake.texi (Debugging Make

Re: aclocal directory not found error

2010-07-29 Thread Ralf Wildenhues
* Mike Frysinger wrote on Thu, Jul 29, 2010 at 07:52:41AM CEST: On Thursday, July 29, 2010 01:40:24 Ralf Wildenhues wrote: * Behdad Esfahbod wrote on Thu, Jul 29, 2010 at 03:20:37AM CEST: So this tiny issue has been bugging me for years. Thought I report. Can you please make aclocal

Re: Document current policy for development with git.

2010-07-29 Thread Ralf Wildenhues
Hi Stefano, Eric, thanks for the review! * Stefano Lattarini wrote on Tue, Jul 27, 2010 at 10:34:32PM CEST: At Tuesday 27 July 2010, Ralf Wildenhues wrote: +* The git tree currently carries a number of branches: master for the + current development, and release branches named branch-X.Y

Re: aclocal directory not found error

2010-07-28 Thread Ralf Wildenhues
Hi Behdad, * Behdad Esfahbod wrote on Thu, Jul 29, 2010 at 03:20:37AM CEST: So this tiny issue has been bugging me for years. Thought I report. Can you please make aclocal silently ignore include directories that do not exist? It bothers me that on a new system when I set my env vars to

Re: mtime of installed files

2010-07-27 Thread Ralf Wildenhues
Hi Ludo, * Ludovic Courtès wrote on Tue, Jul 27, 2010 at 10:18:39AM CEST: Ralf Wildenhues writes: guile_install_ccacheDATA = install-ccacheDATA $(guile_install_ccacheDATA): install-modDATA For the record, this was fixed along these lines. The auto-compile mtime checks were also

Coverage: bogus option to AM_INIT_AUTOMAKE.

2010-07-27 Thread Ralf Wildenhues
I'm adding this trivial coverage addition to maint. Cheers, Ralf Coverage: bogus option to AM_INIT_AUTOMAKE. * tests/init2.test: New test. * tests/Makefile.am: Update. diff --git a/tests/Makefile.am b/tests/Makefile.am index 568be8a..4fc4d15 100644 --- a/tests/Makefile.am +++

Fix AM_COND_IF for gone-invalid condition shell expression.

2010-07-27 Thread Ralf Wildenhues
Fixing this kind of nasty (silent wrong-code) bug, for maint. Hope AM_COND_IF hasn't seen a lot of uses this way yet. Cheers, Ralf Fix AM_COND_IF for gone-invalid condition shell expression. * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE variable, rather than

Document current policy for development with git.

2010-07-27 Thread Ralf Wildenhues
Hi Stefano, all, I've rewritten the HACKING section on development with git a bit to better reflect what I currently think is a good way to go on. Patch for maint. Comments appreciated. FYI, I am waiting for regenerating the in-tree files with Autoconf 2.67 until the official tarballs have

Re: trivial typo

2010-07-27 Thread Ralf Wildenhues
Hi Patrick, * Patrick Welche wrote on Sat, Jul 10, 2010 at 06:48:30PM CEST: -Script are not distributed by default; as we have just seen, those +Scripts are not distributed by default; as we have just seen, those Thanks! Committed to my maint branch, will be pushed out within the next couple

Re: build and installation names

2010-07-27 Thread Ralf Wildenhues
Hello Wesley, * Wesley Smith wrote on Sun, Jul 25, 2010 at 08:35:34PM CEST: I'm trying to setup a Makefile.am such that the lib and modules I build get installed in the following way: /usr/local/lib/liblua5.1-mymodule.so.0.0.0 /usr/local/lib/liblua5.1-mymodule.so.0

Re: build and installation names

2010-07-27 Thread Ralf Wildenhues
* Wesley Smith wrote on Wed, Jul 28, 2010 at 03:01:30AM CEST: Thanks for all the help. I'll address the paths in later refinements, but for now, I'd like to understand why the error is happening in this particular instance. That is fine. Please send the --debug output that I requested in my

Re: [PATCH] Fixed typo in ChangeLog (2010-06-06, Stefano Lattarini)

2010-07-26 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sun, Jul 25, 2010 at 11:27:16PM CEST: Very simple ChangeLog fix. OK to apply to maint? you can just go ahead and apply these kinds of things as obvious. Thanks, Ralf From 7e1cbc9a026b4a52f78ac28c4ca5853ee8c8bfa6 Mon Sep 17 00:00:00 2001 From:

Re: [RFC] Refactoring maintainer checks (use perl, add whitelisting)

2010-07-26 Thread Ralf Wildenhues
Hello Stefano, * Stefano Lattarini wrote on Mon, Jul 26, 2010 at 01:58:08PM CEST: This patch substitutes (almost) all the sed/grep maintainer syntax checks in `Makefile.am' with a new perl script `maintcheck.pl'. Why? Honest question. perl regex isn't necessarily more readable than sed, in

Re: [PATCH] Remove a race condition from test cond5.test.

2010-07-21 Thread Ralf Wildenhues
combo of wrapper script(s) and temporary file(s). Necessity of this fix suggested by Ralf Wildenhues. --- a/tests/cond5.test +++ b/tests/cond5.test @@ -44,25 +44,42 @@ END # The bug is that automake hangs. So we give it an appropriate grace # time, then kill it if necessary. -$ACLOCAL

Re: [PATCH] Modernize and improve test scripts `subdir*.test'.

2010-07-21 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sat, Jun 19, 2010 at 10:15:58PM CEST: Modernize and improve test scripts `subdir*.test'. * tests/subdir.test: Enable `errexit' shell flag, and related changes. Use the `configure.in' stub created by `./defs', rather than writing one from scratch. *

Re: [PATCH] Modernize, improve and/or extend tests `colon*.test.

2010-07-21 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Fri, Jun 18, 2010 at 01:25:20PM CEST: At Thursday 17 June 2010, Ralf Wildenhues wrote: Thanks, most of this is uncontroversial, but a couple of things I don't understand: --- a/tests/colon3.test +++ b/tests/colon3.test [CUT

Re: [PATCH] Modernize and improve test scripts `dist*.test'.

2010-07-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jul 21, 2010 at 09:47:43PM CEST: At Wednesday 21 July 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sat, Jun 19, 2010 at 09:34:34PM CEST: Yet another testsuite-tweaking patch. OK for maint with nits below addressed. Modernize

Re: [PATCH] Modernize and improve test scripts `subdir*.test'.

2010-07-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jul 21, 2010 at 11:28:17PM CEST: Attached are the amended patch (against maint) and the temporary patch I squashed in the old one (which FYI was against master). OK to apply? OK for maint, with nits addressed. Thanks, Ralf --- a/tests/subdir5.test +++

Re: [PATCH] Modernize and improve test scripts `dist*.test'.

2010-07-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jul 21, 2010 at 11:48:24PM CEST: I'll still wait to push, since I'd like to have some more committs in maint before merging it in master. Agreed? OK. Ralf

unit-testing Automake (was: [PATCH] Modernize, improve and/or extend tests `colon*.test.)

2010-07-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jul 22, 2010 at 01:04:03AM CEST: At Wednesday 21 July 2010, Ralf Wildenhues wrote: Well, this is a common dilemma in testing: should the tester be allowed to use insider information or not? [...] Getting the right balance here is the most non-automatic

Re: mtime of installed files

2010-07-20 Thread Ralf Wildenhues
Hi Ludovic, * Ludovic Courtès wrote on Tue, Jul 20, 2010 at 06:28:46PM CEST: Background: Guile 1.9/2.0 has an auto-compilation feature whereby if a source file has no corresponding object file in the search path, or if the object file is older than the source file, then the source file is

Re: object order from makefile.am

2010-07-18 Thread Ralf Wildenhues
Hello, * D Haley wrote on Sun, Jul 18, 2010 at 11:11:45PM CEST: I have got autotools working for my project under windows and mac, no problem; however I am trying to use it under Msys on windows. I have a problem where the following command wont work: g++ -g -lfoo -lbar -o myfoo.exe

Re: [QUESTION] Pushing patches.

2010-07-15 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Thu, Jul 15, 2010 at 12:26:57PM CEST: [ git-merge-changelog ] However, there is a problem w.r.t. the Automake policy of keeping multiple ChangeLog entries with same author and date lumped togheter. In fact, git-merge-changelog seems to separate them

Re: [PATCH] Work around a bug in Solaris make's file-inclusion mechanism.

2010-07-15 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jul 15, 2010 at 09:38:28PM CEST: At Saturday 15 May 2010, Stefano Lattarini wrote: [From a thread in bug-autom...@gnu.org] [http://comments.gmane.org/gmane.comp.sysutils.automake.bugs/4893] Hello Ralf. I went ahead and wrote a patch to apply your

Re: [PATCH + QUESTION] Improve and extend tests `man*.test'.

2010-07-12 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Mon, Jul 12, 2010 at 06:04:17PM CEST: * tests/man7.test: New test, extracted from old man4.test, which checks for a bug in maintainer-clean w.r.t. generated manpages. Passes with GNU make and Solaris make, fails with BSD make. it passes for me with

Re: css for html output of texi documentation

2010-07-12 Thread Ralf Wildenhues
Hello Martin, * Martin Kalbfuß wrote on Mon, Jul 12, 2010 at 12:34:50PM CEST: I have written some documentation using textinfo. I have an css files to customize the html output. But I don't know how to tell automake to use the css file for the creation of the html pages. Is this possible?

Re: how to use $^ automatic variable with prerequisites built on target-specific variable ?

2010-07-10 Thread Ralf Wildenhues
Hello Axel, * Axel wrote on Fri, Jul 09, 2010 at 11:32:45AM CEST: I m using a target with prerequisites based on target-specific variable, but it seems that the $^ doesn't work and is empty in this use-case : prereq: touch prereq test: FILE = prereq test: $(FILE) echo

Re: [PATCH 0/6] Lex, Yacc and explicit declarations of dependencies.

2010-07-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Mon, Jul 05, 2010 at 01:36:03PM CEST: I rebased the patch series against master to resolve some (really minor) conflicts; and since I was at it, I updated the ChangeLog to tell that the bug addressed by this series affects also Solaris 10

Re: [PATCH] Improve declaration of dependencies in the testsuite.

2010-07-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Fri, Jul 02, 2010 at 12:22:39AM CEST: Ralf Wildenhues wrote: I wonder why I can't use gmake --assume-old=defs check RECHECK_LOGS= to work around this, though. Must be due to the make recursions. This seems to work: gmake --assume-old=defs

where to base patch series off of (was: [PATCH 0/6] Lex, Yacc and explicit declarations of dependencies.)

2010-07-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Tue, Jul 06, 2010 at 11:36:26AM CEST: At Tuesday 06 July 2010, Ralf Wildenhues wrote: Please give me another week to review the series; OK; but note that this message wasn't meant to hurry you: if this change goes in automake, it's not gonna need

Re: [PATCH 14/14] Make sure all tests needing gzip require it explicitly.

2010-07-04 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Fri, Jul 02, 2010 at 05:23:36PM CEST: OK, this should have really been the first patch in the series, so let's review it first. but I didn't think of it until the series was almost finished, and at that point I dind't want to risk a rebase with a lot

Re: pushing patches

2010-07-04 Thread Ralf Wildenhues
, Ralf Wildenhues wrote: Speaking of OK to apply, would you prefer pushing approved patches yourself? If yes, please apply as project member on http://savannah.gnu.org/project/memberlist.php?group=automake Done. so I can set the write bit for you. Done. Welcome aboard! You should

Re: Using bash scripts as tests for 'make check'

2010-07-04 Thread Ralf Wildenhues
Hello Sam, * Sam Silla wrote on Sun, Jul 04, 2010 at 01:42:38AM CEST: On 7/3/10 6:52 PM, Sam Silla wrote: TEST: simple_test Looks like a typo; should it be TESTS = simple_test? Sorry I typed up the Makefile.am here, it was correct originally. So the problem still remains for me. So,

Re: checking for optional dependencies

2010-06-29 Thread Ralf Wildenhues
Hi Wesley, * Wesley Smith wrote on Tue, Jun 29, 2010 at 02:52:38PM CEST: I'm looking for some sample code on how to best check for an optional dependencies (like gstreamer or some other lib) and set a compilation flag like -DMYLIB_HAVE_GSTREAMER. I'm not exactly which one of these functions

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-28 Thread Ralf Wildenhues
* Daily, Jeff A wrote on Fri, Jun 25, 2010 at 08:32:46PM CEST: I think if we want dependency tracking as a side-effect, then the user must list their sources in a dependent order (which only they would know). This is what I've had to do in my projects. The downside is that -j can't be used

Re: $(DEPDIR)

2010-06-28 Thread Ralf Wildenhues
* Bruce Korb wrote on Sun, Jun 27, 2010 at 12:56:02AM CEST: On Sat, Jun 26, 2010 at 12:19 PM, Ralf Wildenhues wrote: * Bruce Korb wrote on Sat, Jun 26, 2010 at 06:30:29PM CEST: I've fiddled my playtime tool autogen to emit dependency info: stamp-opts : $(AUTOGEN_opts_SList

Re: [PATCH] Tests: remove useless repetitions of `foreign' automake option.

2010-06-26 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jun 26, 2010 at 01:40:49PM CEST: At Saturday 26 June 2010, Ralf Wildenhues wrote: or is that always just used in order to save on generating the GNU-specific files? This should be the real reason, yes (and is also the reason why --foreign is appended

Re: [PATCH] Fix bugs in test script silent5.test.

2010-06-26 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jun 26, 2010 at 02:15:18PM CEST: + Fix typo-related bug in test script silent5.test. + * tests/silent5.test: Use $EGREP, not $GREP (which is not even + defined). Thanks.

Clean up @var handling in the manual.

2010-06-26 Thread Ralf Wildenhues
Similarly to a recent patch for Libtool, this cleans up the Automake manual use of @var. IMHO, the lower-casing really helps the PDF rendering, making metasyntactic variables much easier to detect. Tested make info pdf html, glossed over, committed to maint. Cheers, Ralf Clean up @var

Update program --help output to match current GCS.

2010-06-26 Thread Ralf Wildenhues
Similar to a recent patch against Libtool, this gets program behavior updated to match GCS. The autoconf.texi change doesn't actually make the bug reporting address be set from configure.ac, but a factored one is still better than repetitions. Committed to maint. Cheers, Ralf Update

Re: $(DEPDIR)

2010-06-26 Thread Ralf Wildenhues
Hi Bruce, * Bruce Korb wrote on Sat, Jun 26, 2010 at 06:30:29PM CEST: I've fiddled my playtime tool autogen to emit dependency info: AUTOGEN_opts_TList := \ opts.h \ opts.c AUTOGEN_opts_SList := \ opts.def \ /old-home/bkorb/ag/ag/autoopts/options.tpl \

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-25 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Thu, Jun 24, 2010 at 08:04:34PM CEST: Fortran modules are another matter. From what I have understood so far: Fortran files may define modules and use other modules. In the most general case, one Fortran source file can define an arbitrary set of modules, and use

Re: Selective inclusion of files to distribution

2010-06-24 Thread Ralf Wildenhues
Hello Stathis, * Stathis Kamperis wrote on Thu, Jun 24, 2010 at 10:15:22PM CEST: VPATH = ../ LDADD = -lm AM_CFLAGS = -std=c99 -Wall -W bin_PROGRAMS = ulp ulp_SOURCES = main.c gen.c ulp.c subr_random.c When I type 'make' everything goes fine. 'subr_random.c' is picked up in ../ Automake

Re: [PATCH 0/2] Bugfix w.r.t. $(AM_LFLAGS)/$(LFLAGS) and $(AM_YFLAGS)/$(YFLAGS) precedence.

2010-06-22 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Jun 22, 2010 at 01:15:04PM CEST: At Monday 21 June 2010, Ralf Wildenhues wrote: I'm falling more and more behind on patches, it seems. In this last period, it seems quite the opposite to me :-) Thanks for your work! You've done most of the actual work

Re: Defining dependencies in Automake

2010-06-22 Thread Ralf Wildenhues
Hello Sam, first off, please don't multi-post to both autoconf and automake lists. Thank you. * Sam Silla wrote on Tue, Jun 22, 2010 at 05:41:24PM CEST: I have a Makefile.am file right now that looks like this: lib_LIBRARIES = foo.a foo_a_SOURCES = bar.F90 baz.F90 However, bar.F90

Re: Why no dependency tracking with preprocessed Fortran?

2010-06-22 Thread Ralf Wildenhues
Hello Jeff, * Daily, Jeff A wrote on Wed, Apr 14, 2010 at 11:36:54PM CEST: Why doesn't automake have dependency tracking for preprocessed Fortran? Because nobody has implemented it yet. Wouldn't the following work? Note that there is a space before include so that automake doesn't process

Re: [PATCH 0/2] Bugfix w.r.t. $(AM_LFLAGS)/$(LFLAGS) and $(AM_YFLAGS)/$(YFLAGS) precedence.

2010-06-21 Thread Ralf Wildenhues
Hi Stefano, I'm falling more and more behind on patches, it seems. * Stefano Lattarini wrote on Sat, May 01, 2010 at 10:33:46AM CEST: The Automake manual states in: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html (and the good sense dictates) that all

Re: [PATCH] New test: distributed broken symlinks cause failure.

2010-06-21 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sun, Jun 20, 2010 at 10:27:26PM CEST: At Sunday 20 June 2010, Ralf Wildenhues wrote: The test doesn't look safe for MinGW. Its 'ln -s' is emulated by 'cp -p' which, from looking at the test, will cause a failure not a skip. Why? The test

Re: [PATCH 1/3] Refactor and extend tests on cscope functionality.

2010-06-21 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sat, Jun 19, 2010 at 05:04:22PM CEST: * tests/cscope.test: Improve and normalize generation and names of source files. Do not use hackish, belated SKIPs anymore. Slighty extend existing tests. (configure.in): Do not call macro `AM_PROG_GCJ' anymore.

Re: [PATCH] Fix code for requiring gfortran and g77 in tests.

2010-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Jun 20, 2010 at 11:07:01PM CEST: At Sunday 20 June 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, Jun 13, 2010 at 10:03:33PM CEST: Another improvements to 'tests/defs', factored out from my on-going refactoring of test scripts setup

Re: pr-msvc-support merge

2010-06-21 Thread Ralf Wildenhues
* Peter Rosin wrote on Mon, Jun 21, 2010 at 10:07:19AM CEST: I have now run the test-suite once without the patch and once with the patch. There was only one difference (that seem totally unrelated). When I run that test by itself it behaves the same both with and without the patch so I'll

Re: [PATCH] Modernize, improve and extend tests `suffix*.test'.

2010-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jun 19, 2010 at 10:47:10PM CEST: Yet another testsuite-tweaking patch (the last one for today). Modernize, improve and extend tests `suffix*.test'. * tests/suffix3.test: Enable `errexit' shell flag, and related changes. * tests/suffix4.test: Likewise. *

Re: [PATCH] New test: distributed broken symlinks cause failure.

2010-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jun 19, 2010 at 09:53:17PM CEST: I ping this again, since I'm pretty sure it has fallen off your radar. I say so because, since the last ping, you have applied (or at least commented) much bigger and potentially more invasive patches of mine, but not this

Re: shared object and Makefile.am

2010-06-19 Thread Ralf Wildenhues
Hello Wesley, * Wesley Smith wrote on Sat, Jun 19, 2010 at 02:40:53PM CEST: I'm trying to use autotools to compile shared object Lua modules. The way these modules are named differs from the typical .so conventions because they're not actually libs one links against but are instead loaded by

Re: shared object and Makefile.am

2010-06-19 Thread Ralf Wildenhues
* Wesley Smith wrote on Sat, Jun 19, 2010 at 03:02:26PM CEST: Also, one more follow up questions ... how can I have autotools not put things in the .libs hidden dir but in the source dir itself? You can't; that's by intention: in order to use uninstalled libraries and modules, you typically

Re: make distcheck is not using the specified compiler

2010-06-19 Thread Ralf Wildenhues
* Peter Rosin wrote on Sat, Jun 19, 2010 at 09:54:22PM CEST: The configure script has the following (admittedly boilerplate) text in its --help output: Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See

Re: pr-msvc-support merge

2010-06-18 Thread Ralf Wildenhues
* Peter Rosin wrote on Wed, Jun 16, 2010 at 10:30:22PM CEST: Den 2010-06-16 20:57 skrev Ralf Wildenhues: This explanation of yours lends itself nicely to a testsuite addition that exercises the 'compile' script (no need to go through Autoconf or Automake indirections), as in cp $testsrcdir

Re: [PATCH] New tests on obsoleted usages of automake/autoconf macros.

2010-06-17 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sat, Jun 12, 2010 at 11:31:57PM CEST: New tests on obsoleted usages of automake/autoconf macros (as AC_INIT, AM_INIT_AUTOMAKE and AC_OUTPUT). I have some detail questions about these tests, below. Thanks for working on them! Cheers, Ralf ---

Re: pr-msvc-support merge

2010-06-16 Thread Ralf Wildenhues
Hello Peter, let's cut the libtool list from replies, ok? * Peter Rosin wrote on Wed, Jun 16, 2010 at 02:30:47PM CEST: Den 2010-06-14 22:40 skrev Ralf Wildenhues: * Peter Rosin wrote on Mon, Jun 14, 2010 at 09:35:45AM CEST: Running the tests are still an outright pain though, but I will try

Re: [PATCHES] Minor cleanup and/or cosmetic patches for the testsuite.

2010-06-13 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jun 12, 2010 at 08:35:56PM CEST: At Saturday 12 June 2010, Stefano Lattarini wrote: At Saturday 12 June 2010, Ralf Wildenhues wrote: patch 4 is not, because it will do the wrong thing with, say, AUTOUPDATE='autoupdate --verbose'. You're righ

Re: [PATCH] Enable `errexit' shell flag in various tests (again).

2010-06-12 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Fri, Jun 11, 2010 at 05:30:57PM CEST: Enable `errexit' shell flag in various tests. * tests/backsl.test: Enable the `errexit' shell flag, and related changes. * tests/backsl2.test: Likewise. * tests/block.test: Likewise. * tests/canon2.test:

Re: [PATCH] Modernize, improve and/or fix tests `pluseq*.test.

2010-06-12 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Fri, Jun 11, 2010 at 05:35:58PM CEST: Modernize, improve and/or fix tests `pluseq*.test. * tests/pluseq5.test: Append to configure.in using cat with an here-doc, not using echo. * tests/pluseq10.test: Make sure that the captured output of `make'

Re: [PATCHES] Minor cleanup and/or cosmetic patches for the testsuite.

2010-06-12 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sat, Jun 12, 2010 at 07:16:02PM CEST: Here I present four simple patches that were originally part of my patch series on the refactoring of 'tests/defs'. But they are mostly indipendent from that series, which (by the way) is already growing way

Re: [PATCH] Minor improvements in bootstrap script.

2010-06-10 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Thu, Jun 10, 2010 at 03:15:39PM CEST: Well, after having read your considerations, I'm no more OK with the patch myself; maybe I'll amend it later, to keep just the spacing and comsetic changes, and adding a comment about the reason we can't assume

Re: [PATCH] Minor improvements in bootstrap script.

2010-06-10 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 10, 2010 at 08:48:51PM CEST: At Thursday 10 June 2010, Ralf Wildenhues wrote: Yes. The changes are ok if you split the patch into one purely without semantic changes, and the rest (so that we don't need to revert the former when the latter turns out

Re: nodist_BUILT_SOURCES?

2010-06-10 Thread Ralf Wildenhues
Hello Monty, first of all, let's ditch the cross-post, this is an Automake question (and the interested readers read both lists anyway). * Monty Taylor wrote on Thu, Jun 10, 2010 at 07:42:13PM CEST: How would I accomplish something like what's in the subject? I have a source file that wants to

Re: [PATCH] Make test `ammissing.test' stricter.

2010-06-09 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Jun 06, 2010 at 09:30:36PM CEST: * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly. Enable `errexit' shell flag. Thanks! For maint.

Re: [PATCH] Modernize, improve and/or fix various test scripts.

2010-06-09 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sat, May 08, 2010 at 01:46:46AM CEST: This seems huge, but most changes are trivial and/or similar. And having all these tweakings packed in a big lump should make their reviewing easier IMHO (at least, it shouldn't make it more difficult).

Re: [NITPICKING] Automake manual: missing release stats for 1.10.3 and 1.11.1

2010-06-08 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Tue, Jun 08, 2010 at 06:47:54PM CEST: The automake manual, as build from latest git *master branch*, misses release stats for the bugfix-releases 1.10.3 and 1.11.1 (see chapter 28 History, section 3 Release Statistics). Is this intentional, or the

Re: [BIKESHEDDING PATCH] Generated tests are now just a thin layer around other tests.

2010-06-07 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Jun 06, 2010 at 10:00:23PM CEST: At Sunday 06 June 2010, Ralf Wildenhues wrote: The patch is still not right, so I'm not pushing it. A generated test foo-p.test now needs to depend upon foo.test, this is not reflected in the makefile. Right

Re: how to change $(CC) for just some targets

2010-06-07 Thread Ralf Wildenhues
* Brian J. Murrell wrote on Mon, Jun 07, 2010 at 09:51:25PM CEST: I was just surprised that I could set CFLAGS and LDFLAGS and additional linker arguments on a per target basis but not specify a compiler and/or linker on a per target basis. Would this be something difficult to add or

Re: [PATCH 0/9] Extend and improve tests on Automake's silent-mode

2010-06-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sun, Apr 25, 2010 at 11:53:43PM CEST: Here I (re)propose a series of patches to improve and extend the tests on Automake's silent-mode. Thanks. This series is an extension/improvement over my previous patch series [PATCH 0/5] Modularize testing of

Update AUTHORS.

2010-06-06 Thread Ralf Wildenhues
I guess it was about time I added this. Cheers, Ralf * AUTHORS: Update. diff --git a/AUTHORS b/AUTHORS index f1cd414..e63f8b7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,3 +15,7 @@ Alexandre Oliva Alexandre Duret-Lutz Major overhaul of everything. Maintenance since 2002. + +Ralf

Re: [PATCH] Enable `errexit' shell flag in all tests cxx*.test.

2010-06-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Apr 27, 2010 at 12:40:44PM CEST: Here is another simple patch which ought to make the use of the `errexit' shell flag in the testsuite more consistent. Enable `errexit' shell flag in all tests cxx*.test. * tests/cxx.test: Add call to `set -e'. Related

Re: [PATCH] Enable `errexit' shell flag in some test scripts.

2010-06-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Thu, May 06, 2010 at 01:45:10PM CEST: Enable the `errexit' shell flag in another bunch of test scripts. No relevant semantic change should be introduced by the patch, except for the test `discover.test', which has been made slighty stricter w.r.t.

Re: [PATCH] Improve tests link*.test (enable `set -e').

2010-06-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, May 08, 2010 at 02:29:13AM CEST: * tests/link_c_cxx.test: Enable `errexit shell flag, and related changes. Also, do not create useless source files. * tests/link_dist.test: Likewise. * tests/link_f90_only.test: Likewise. * tests/link_f_only.test: Likewise.

Re: [BIKESHEDDING PATCH] Generated tests are now just a thin layer around other tests.

2010-06-06 Thread Ralf Wildenhues
inclusion, by using ... ($am_defs_included): ... this new variable. ($srcdir): Do not compute, but simply define to `...@abs_srcdir@' as substituted by configure. Report, suggestions and first fix by Ralf Wildenhues, final patch by Stefano Lattarini. diff --git

Re: [PATCH] Enable `errexit' shell flag in some test scripts.

2010-06-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, May 06, 2010 at 01:45:10PM CEST: No relevant semantic change should be introduced by the patch, except for the test `discover.test', which has been made slighty stricter w.r.t. the exit status of Automake (a non-zero exit status is expected) and the

Re: [BIKESHEDDING PATCH] Generated tests are now just a thin layer around other tests.

2010-06-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Jun 06, 2010 at 07:13:48PM CEST: At Sunday 06 June 2010, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Thu, Jun 03, 2010 at 02:07:19PM CEST: What about the attached new try? It just complicates the generated tests a little bit, but this is a more

Re: [BIKESHEDDING PATCH] Generated tests are now just a thin layer around other tests.

2010-06-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Jun 06, 2010 at 07:50:57PM CEST: At Sunday 06 June 2010, Ralf Wildenhues wrote: Thanks, and sorry for not having rerun the complete testsuite before pushing the original patch. Well, I should say sorry for not having tested the patch thoroughly

Re: how to change $(CC) for just some targets

2010-06-06 Thread Ralf Wildenhues
Hello Brian, * Brian J. Murrell wrote on Thu, Jun 03, 2010 at 08:10:26PM CEST: I have a Makefile.am with a number of targets in it. Some of those targets need $(CC) and/or $(LD) to be reassigned to a particular value while others are fine with the default (or could be explicitly assigned gcc

Re: Equivalent to pkglispdir?

2010-06-06 Thread Ralf Wildenhues
Hi Tim, * Tim Landscheidt wrote on Sun, Jun 06, 2010 at 09:15:58PM CEST: Along the lines of pkg..., it would be really nice if this could be achieved by using pkglisp_LISP instead of lisp_LISP, but automake complains about pkglispdir being not defined (and indeed the manual doesn't say

Re: ‘libunistring’ module errors

2010-06-05 Thread Ralf Wildenhues
[ adding bug-automake ] Hi Bruno, * Bruno Haible wrote on Thu, Jun 03, 2010 at 02:01:29PM CEST: The reason is that 'aclocal' has generated an aclocal.m4 file that does not include m4/libunistring.m4. I thought that 'aclocal' was using autom4te with --trace options, implying that any

Re: internal error in aclocal

2010-06-03 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Thu, Jun 03, 2010 at 12:32:01PM CEST: The 'aclocal' program asked me to report this. I'm using automake 1.11.1, autoconf 2.65, m4 1.4.14. aclocal: aclocal: ## Internal Error ## aclocal: aclocal: Final $ should be

Re: [BIKESHEDDING PATCH] Generated tests are now just a thin layer around other tests.

2010-06-03 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sun, May 23, 2010 at 05:51:15PM CEST: Here it is my attempt to a patch. Thanks. This seems to work ok, but this: +# Protect against attempted multiple inclusions of this file. +# This might be especially useful in generated test scripts. +echo 'echo

Re: AC_LIBOBJ with file in subdirectory does not work

2010-05-26 Thread Ralf Wildenhues
gettext-tools/libgettextpo/ChangeLog: 2010-05-26 Ralf Wildenhues ralf.wildenh...@gmx.de * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects. (libgettextpo_la_CPPFLAGS): New variable, to force renamed objects. diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools

Re: make maintainer-check

2010-05-26 Thread Ralf Wildenhues
Hello Lorenzo, * Lorenzo Bettini wrote on Wed, May 26, 2010 at 03:38:43PM CEST: does automake already provide mechanisms for a 'make maintainer-check'? No. Of course I can implement this manually and possibly with some if in a Makefile.am, but I was wondering whether there's already some

Re: AC_LIBOBJ with file in subdirectory does not work

2010-05-25 Thread Ralf Wildenhues
* Bruno Haible wrote on Wed, May 26, 2010 at 12:11:45AM CEST: I see a few possible alternative ways out: - Automake requires subdir-objects if you put slashes into $LIBOBJS, There are cases where the developer does not want 'subdir-objects'. I'm having the problem with AC_LIBOBJ in the

Re: [PATCH] Typofix in ChangeLog entry (2010-04-11, Stefano Lattarini)

2010-05-23 Thread Ralf Wildenhues
Hi Stefano, apologies for letting the patch backlog grow so large. I guess I better tick off patches dealt with, that may make tracking things easier. * Stefano Lattarini wrote on Sat, May 08, 2010 at 03:23:30AM CEST: Do not leave an empty line between change's summary and details of changes

Re: [PATCH] Fixed uncorrectly ordered ChangeLog entries.

2010-05-23 Thread Ralf Wildenhues
. - -2010-04-25 Ralf Wildenhues ralf.wildenh...@gmx.de - testsuite: ensure verbose printing of captured output. * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test, tests/fort2.test, tests/help.test, tests/missing3.test, tests/missing6.test: Print captured stdout

Re: [PATCH] Fix conflnk3.test to work with Solaris/Heirloom Sh.

2010-05-23 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, May 06, 2010 at 07:53:41PM CEST: From d294e89fcdbfc7b5abf92ee9031647460eec490d Mon Sep 17 00:00:00 2001 From: Stefano Lattarini stefano.lattar...@gmail.com Date: Thu, 6 May 2010 18:12:25 +0200 Subject: [PATCH] Fix conflnk3.test to work with Solaris/Heirloom

<    4   5   6   7   8   9   10   11   12   13   >