[Patch] remove temp file in sanity check

2001-04-27 Thread Peter Eisentraut
2001-04-27 Peter Eisentraut <[EMAIL PROTECTED]> * m4/sanity.m4: Remove the temp file before possible error exits. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter Index: m4/sanity.m4 === RCS

Re: Rep:how to build a program with external sources ?

2001-04-27 Thread Alexandre Oliva
On Apr 27, 2001, <[EMAIL PROTECTED]> wrote: > test_md5_SOURCES = test_md5.c profile_md5.c > test_md5_LDADD = md5.o How about: test_md5_SOURCES = test_md5.c provfile_md5.c nodist_test_md5_SOURCES = md5.c # requires CVS automake md5.c: $(LN_S) /path/to/md5.c md5.c -- Alexandre Oli

Re: crosscompiled .exe (Re: crosscompiling dll linux->mingw32)

2001-04-27 Thread Alexandre Oliva
On Apr 26, 2001, Guido Draheim <[EMAIL PROTECTED]> wrote: > Guido Draheim wrote: >> >> from that I'd say libtool knows that CC has created a pfe.exe but >> the automake-rules/vardefs expect a builddir/pfe.exe too. A copy >> of builddir' pfe to pfe.exe does indeed work. Huh? Even though it's a

Re: 98-no-depend2.patch

2001-04-27 Thread Akim Demaille
| I tried to do that as smoothly as I could, which explains why there | are so many small (?) patches. | | Index: ChangeLog | from Akim Demaille <[EMAIL PROTECTED]> | * automake.in (&depend2): Remove, merged in... | (&handle_languages): here. I'm stuck. I tried to produce the

Rep:how to build a program with external sources ?

2001-04-27 Thread glafage
I finally found a solution, (thanks to sample from Automake doc) but I don't know if it's the best, here is my Makefile.am INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/../../global_libs/extern/md5 bin_PROGRAMS = test_md5 test_md5_SOURCES = test_md5.c profile_md5.c test_md5_LDADD = md5.o md5.o

Re: 105-merge-specflags-tests.patch

2001-04-27 Thread Akim Demaille
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Tom> Ok. But why bother? I forgot to say that when related tests are grouped it is much easier to see if all the cases are covered (typically when there is a Cartesian product of possibilities).

Re: 105-merge-specflags-tests.patch

2001-04-27 Thread Akim Demaille
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> * tests/specflags4.test, tests/specflags5.test: Remove, merged Akim> into... * tests/specflags3.test: here. Tom> Ok. But why bother? There are several motivations for my mergi

Re: 95-libs-var-am.patch

2001-04-27 Thread Akim Demaille
| > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: | Akim> * automake.in (&read_am_file, &file_contents_internal): Don't | Akim> define macros when `FALSE', to avoid errors on doubly defined | Akim> variables but under condition `FALSE'. In order to allow... | Akim> (&am_install_var): W

how to build a program with external sources ?

2001-04-27 Thread glafage
Hi, I'm starting to use automake/autoconf at work, converting a project that is beginning to be too large for Makefiles. I've read the book "Gnu Autoconf automake and libtool" written by Gary V. Vaughan, Ben Elliston, Tom Tromey and Ian Lance Taylor, and I the following problem: in a directory

Re: Automake::Struct II

2001-04-27 Thread Akim Demaille
> "Russ" == Russ Allbery <[EMAIL PROTECTED]> writes: Russ> Yeah, you pretty much need an Automake directory like that. Russ> You'll find it a lot easier when you add additional modules Russ> later, too. (You may want to consider putting it down a level, Russ> like modules/Automake instead of