Re: automake with defines

2001-12-20 Thread Marko Mlinar
> >>> "Marko" == Marko Mlinar <[EMAIL PROTECTED]> writes: > [...] > Marko> The problem is, each test should be compiled with different defines > [...] > Marko> Basically I would need something like prog_CFLAGS. > > I think something like this should work: > > TESTS = foo bar ... > EXTRA_PROGRAMS

building same source with different flags

2001-12-20 Thread Ted Irons
Am using autoconf-2.5.2, automake-1.4b, libtool-1.4b on an ix86 box run running Suse Linux with kernel-2.4.6. My Makefile.am contains the following snippets: libhrnet_la_SOURCES = \ ascbin.cc \ allocate.cc \ fileio.cc \ forward.cc \ initall.

Re: Subdirectory builds

2001-12-20 Thread Geoff Quelch
Many thanks, yes, aclocal helped. I admit to reading that section a number of times, but not appreciating it until now. - Original Message - From: "Alexandre Duret-Lutz" <[EMAIL PROTECTED]> To: "Geoff Quelch" <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 12:49 PM Subject: Re: Subd

Re: Subdirectory builds

2001-12-20 Thread Alexandre Duret-Lutz
>>> "G" == G E Quelch <[EMAIL PROTECTED]> writes: G> I am having trouble constructing the files needed by autoconf and/or G> automake to construct a sub directory build environment. My main G> directory has no source, but several subdirectories have. G> I have the following configure.in: G

Re: automake with defines

2001-12-20 Thread Alexandre Duret-Lutz
>>> "Marko" == Marko Mlinar <[EMAIL PROTECTED]> writes: [...] Marko> The problem is, each test should be compiled with different defines [...] Marko> Basically I would need something like prog_CFLAGS. I think something like this should work: TESTS = foo bar ... EXTRA_PROGRAMS = foo bar ... foo

automake with defines

2001-12-20 Thread Marko Mlinar
Hi! I am trying to make automated testbench using autoconf & automake. The problem is, each test should be compiled with different defines (e.g. using -D commandline parameter to gcc). Is it possible to do this? I was not able to find this in the manual. Basically I would need something like pr