Re: adding subdirectories

2005-03-11 Thread Baurjan Ismagulov
On Thu, Mar 10, 2005 at 12:26:36AM +0100, Alexandre Duret-Lutz wrote: > Baurjan> Is there a way to specify that binaries should depend > Baurjan> on the libraries they are linked with (i.e., that a > Baurjan> general LDADD implies general DEPENDENCIES or > Baurjan> generates the respective depe

AC_DEFINE_DIR in autoconf (was: Re: SYSCONFDIR: config.h vs. AM_CFLAGS)

2005-03-09 Thread Baurjan Ismagulov
[Taking the discussion to the autoconf list.] On Mon, Mar 07, 2005 at 09:57:31AM -0400, Leonardo Boiko wrote: > Isn't config.h created at configure time? AFAIK directory installation > variables should only be defined at make time. See > ``info Autoconf "Installation Directory Variables"''. I ha

Re: adding subdirectories

2005-03-09 Thread Baurjan Ismagulov
On Mon, Mar 07, 2005 at 02:27:25PM +0100, Nicolas Joly wrote: > > AUTOMAKE_OPTIONS = dejagnu > > bin_PROGRAMS = zzz > > noinst_PROGRAMS = test1 test2 test3 > > noinst_LTLIBRARIES = libzzz.la > > zzz_SOURCES = zzz.c > > libzzz_la_SOURCES = a/a.c b/b.c > > AM_CFLAGS = -g -Wall -std=c99 -I$(top_srcdir

Re: adding subdirectories

2005-03-09 Thread Baurjan Ismagulov
On Mon, Mar 07, 2005 at 02:27:25PM +0100, Nicolas Joly wrote: > > 2. More importantly, I can't build the project any more: make > >immediately dives into testsuite/, files under which require > >libzzz.la, which is going to be built later. If I "make libzzz.la > >all", everything works

Re: Automake and libltdl

2004-10-06 Thread Baurjan Ismagulov
On Wed, Oct 06, 2004 at 09:19:25PM +0200, Ralf Wildenhues wrote: > Why don't you just use > path/to/configure CFLAGS=-ggdb3 > ? * It needs to be documented. * I've got a feeling it's going to reach less potential backtrace reporters / occasional bug fixers than --enable-debug (I personally

Re: AM_CFLAGS in the project root?

2004-06-18 Thread Baurjan Ismagulov
Hello, Alexandre! On Fri, Jun 18, 2004 at 08:18:33PM +0200, Alexandre Duret-Lutz wrote: > AC_SUBST([AM_CFLAGS], [value]) Thank you, this works! I did read about AC_SUBST, but haven't thought about using it that way. With kind regards, Baurjan.

AM_CFLAGS in the project root?

2004-06-18 Thread Baurjan Ismagulov
Hello, I have a project with two subdirectories. I want to override standard CFLAGS. I can do this by defining AM_CFLAGS in each subdirectory. This works. However, I want to have it in one place. So I've tried to define this variable in the root directory instead of subdirectories, but in this cas