Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Esben> Did you notice the LEX hack ? Am I right about automake Esben> currently lacking support for multiple lexers in one binary? Esben> (although the docs clearly states that it is supported) Lars> I haven't tried the lex support in Auto

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Lars J. Aas
On Wed, Apr 04, 2001 at 02:06:17PM +0200, Esben Haabendal Soerensen wrote: : "Lars J. Aas" <[EMAIL PROTECTED]> writes: : > The below Makefile.am gets rid of the warnings. : : Ah, that makes sense (while the warning message did not so much). : Works nicely also, thanks! You're welcome. : Did you

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Esben Haabendal Soerensen
"Lars J. Aas" <[EMAIL PROTECTED]> writes: > Automake doesn't know about mutually exclusive conditionals (they are > controlled from the configure script, so anything can happen), so you > should rewrite the Makefile.am to something Automake will be more > comfortable with - knowing that a variabl

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Lars J. Aas
On Wed, Apr 04, 2001 at 01:40:26PM +0200, Esben Haabendal Soerensen wrote: : I attach the configure.in and src/Makefile.am here. Automake doesn't know about mutually exclusive conditionals (they are controlled from the configure script, so anything can happen), so you should rewrite the Makefile.

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Esben Haabendal Soerensen
"Lars J. Aas" <[EMAIL PROTECTED]> writes: > Then there's probably something weird with your setup of the conditionals. > I'll have to see configure.in and the offending Makefile.am to be able to > assist any further. No problem. The problem is with the PC/SC Lite package from the M.U.S.C.L.E. p

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Lars J. Aas
On Wed, Apr 04, 2001 at 12:16:35PM +0200, Esben Haabendal Soerensen wrote: : "Lars J. Aas" <[EMAIL PROTECTED]> writes: : > I'm not able to reproduce this behaviour, but I'm using CVS : > Automake. Which version are you using? : : I get the behaviour both with automake 1.4 and CVS version (from t

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Esben Haabendal Soerensen
"Lars J. Aas" <[EMAIL PROTECTED]> writes: > I'm not able to reproduce this behaviour, but I'm using CVS > Automake. Which version are you using? I get the behaviour both with automake 1.4 and CVS version (from today). > Anyways, Automake has been known to not be happy about user > variables co

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Lars J. Aas
On Wed, Apr 04, 2001 at 10:31:56AM +0200, Esben Haabendal Soerensen wrote: : "Lars J. Aas" <[EMAIL PROTECTED]> writes: : : > Use an AM_CONDITIONAL instead. : : Thanks, I now have everything working by using AM_CONDITIONAL. I even : got some more understanding of how everything works at the same

Re: Problem with EXTRA_*_SOURCES

2001-04-04 Thread Esben Haabendal Soerensen
"Lars J. Aas" <[EMAIL PROTECTED]> writes: > Use an AM_CONDITIONAL instead. Thanks, I now have everything working by using AM_CONDITIONAL. I even got some more understanding of how everything works at the same time :) Everything works, but... I get a lot (102) warnings like these when I run s

Re: Problem with EXTRA_*_SOURCES

2001-04-02 Thread Lars J. Aas
On Mon, Apr 02, 2001 at 11:07:23PM +0200, Esben Haabendal Soerensen wrote: : In Makefile.am: : : lib_LTLIBRARIES = foobar.la : foobar_la_SOURCES = foo.c @BAR_SOURCE@ : EXTRA_foobar_la_SOURCES = bar_linux.c bar_freebsd.c Use an AM_CONDITIONAL instead. if USE_LINUXSOURCES BARSOURCE = bar_linux.c

Problem with EXTRA_*_SOURCES

2001-04-02 Thread Esben Haabendal Soerensen
Hi I am trying port a project's build system to automake, and this project has a library which links objects from different source files depending on the platform. Let's say we have two platforms, linux and freebsd. In Makefile.am: lib_LTLIBRARIES = foobar.la foobar_la_SOURCES = foo.c @BAR_SO