Re: A target_os conditionally applied -lfoo switch

2002-11-14 Thread Earnie Boyd
Ralf Corsepius wrote: Am Mit, 2002-11-13 um 19.08 schrieb Earnie Boyd: I need to add a library specific to a target_os. I've tried several possible techniques and can't get cooperation from the tools. What I want is something similar to: target_os := @target_os@ ifeq ($(target_os),mingw32)

Re: bootstrap prob

2002-11-14 Thread Patrick Welche
On Thu, Nov 14, 2002 at 11:48:27AM +0100, Alexandre Duret-Lutz wrote: > >>> "Patrick" == Patrick Welche <[EMAIL PROTECTED]> writes: > > Patrick> With cvs code from now: > Patrick> % sh bootstrap > Patrick> Bareword "am__installdirs" not allowed while "strict subs" in use at >./automake.tmp lin

Re: Disabling dependency tracking - how?

2002-11-14 Thread Alexandre Duret-Lutz
>>> "miki" == miki shapiro <[EMAIL PROTECTED]> writes: [...] miki> Also, I looked inside this autogenerated rule (in miki> .deps/cppfilename.Po) , for some reason automake sticks miki> all 40 header files in the rule. Why? So that cppfilename.o gets recompiled if any of these files change. Th

Re: bootstrap prob

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Patrick" == Patrick Welche <[EMAIL PROTECTED]> writes: [...] Patrick> Bareword "am__installdirs" not allowed while "strict Patrick> subs" in use at ./automake.tmp line 4742. BEGIN not Patrick> safe after errors--compilation aborted at Patrick> ./automake.tmp line 7682. >> Which versio

missing fi for compilation to .obj

2002-11-14 Thread Eric Blake
This patch comes from a problem reported to jikes. I'm using the cygwin version of automake, which recently upgraded to automake 1.7.1 (from automake 1.6). After regenerating Makefile.in, the makefile now has this line: @am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'

Re: Linking in C++ mode

2002-11-14 Thread John Levon
On Thu, Nov 14, 2002 at 12:40:29PM +0100, Alexandre Duret-Lutz wrote: > You can override the LINK command on a per-program basis: > > foo_LINK = $(CXX) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ Works a treat. Thanks a lot. regards john -- Khendon's Law: If the same point is made t

Re: missing fi for compilation to .obj

2002-11-14 Thread Tom Tromey
> "Eric" == Eric Blake <[EMAIL PROTECTED]> writes: Eric> I don't have the automake sources in front of me, but the file to Eric> patch gets installed as /usr/share/automake/am/depend2.am. Eric> 2002-11-14 Eric Blake <[EMAIL PROTECTED]> Eric> * am/depend2.am: Add missing fi in c.obj rule.

Re: LEX & YACC support

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Alexandros" == Alexandros Karypidis <[EMAIL PROTECTED]> writes: Alexandros> Hi all, Alexandros> I am unsatisfied with the "Makefile.am" I have Alexandros> built, due to the fact that whenever I change my Alexandros> bison file to add a %token, I have to run make Alexandros> TWICE to get

Re: Linking in C++ mode

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: [...] Ralf> 2. Finding a way to convince automake to using "g++" to link a you Ralf> program. Ralf> Automake guesses upon the linker by using file name extensions. Your Ralf> "main" is called "*.c", so it tries to use "gcc" instead of

Re: problem with variables

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Roger" == Roger D Vargas <[EMAIL PROTECTED]> writes: [...] Roger> The problem with details is that i have asked here a Roger> couple of times, the first time i included my scripts Roger> and my message is still awaiting for approval. Nobody has the time to moderate the list. If your ma

Re: bootstrap prob

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Patrick" == Patrick Welche <[EMAIL PROTECTED]> writes: [...] Patrick> That was quick! Now it has gone past am__include, but is failing at: Patrick> % ./automake Patrick> Can't locate object method "TIEHASH" via package "Tie::RefHash::Nestable" at ./automake line 512. [Nestable is new i

SWIG and Python support of Automake

2002-11-14 Thread Sebastian Huber
Hello, SWIG generates a Python module for me. This works fine with Automake 1.7 except that a 'make distcheck' fails: No files given to ../config/py-compile make[2]: *** [install-nodist_pythonPYTHON] Error 1 I suppose this is because the generated Python file is in the build directory and not i

Re: bootstrap prob

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Patrick" == Patrick Welche <[EMAIL PROTECTED]> writes: Patrick> With cvs code from now: Patrick> % sh bootstrap Patrick> Bareword "am__installdirs" not allowed while "strict subs" in use at ./automake.tmp line 4742. Patrick> BEGIN not safe after errors--compilation aborted at ./automake.

Re: bootstrap prob

2002-11-14 Thread Patrick Welche
On Thu, Nov 14, 2002 at 05:32:49PM +0100, Alexandre Duret-Lutz wrote: > > Patrick> v5.6.0, and you guessed right: everything passes/works > Patrick> happily on a perl v5.8.0rc2 machine. > > Thanks! Here is what I've found in the Perl 5.6.1 changelog: That was quick! Now it has gone past am__i

Re: A target_os conditionally applied -lfoo switch

2002-11-14 Thread Bruce Korb
Ralf Corsepius wrote: > > Am Mit, 2002-11-13 um 19.08 schrieb Earnie Boyd: > > I need to add a library specific to a target_os. I've tried several > > possible techniques and can't get cooperation from the tools. > > > > What I want is something similar to: > > > > target_os := @target_os@ > > >

Re: getting a locally built library

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes: Bruce> David Bacher wrote: [...] >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen \ >> -export-dynamic -lguile *.o -L/sw/lib -lguile -lm \ >> -L../autoopts/.libs -lopts -ldl >> ld: Undefined symbols: >> _aopts_alloc

Re: getting a locally built library

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes: Bruce> Alexandre Duret-Lutz wrote: >> >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen \ >> >> -export-dynamic -lguile *.o -L/sw/lib -lguile -lm \ >> >> -L../autoopts/.libs -lopts -ldl >> >> ld: Undefined symbols: >> >

Re: getting a locally built library

2002-11-14 Thread David Bacher
On Thursday, November 14, 2002, at 08:39 AM, Alexandre Duret-Lutz wrote: David, could you explain where `-L../autoopts/.libs -lopts' comes from? Sure. Here are my original libtool link and compiler link commands: /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen autogen-opts.o

Re: getting a locally built library

2002-11-14 Thread Bruce Korb
Alexandre Duret-Lutz wrote: > >> /bin/sh ../libtool --mode=link gcc -g -O2 -L/sw/lib -o autogen \ > >> -export-dynamic -lguile *.o -L/sw/lib -lguile -lm \ > >> -L../autoopts/.libs -lopts -ldl > >> ld: Undefined symbols: > >> _aopts_alloc > >> _aopts_realloc > >> _aopts_strdup > >> make[1

Autoconf 2.55 is released!

2002-11-14 Thread Akim Demaille
The Autoconf team -- Akim, Alexandre, Jim, Paul, and Tom -- is happy to annonce the birth of Autoconf 2.55. Download, compile, install, torture, and enjoy! - Why should I upgrade from 2.54? A few bug fixes, improved portability, no known incompatibility with 2.54 and 2.55, forthcoming Gettex

Re: ccache and autotools

2002-11-14 Thread Alexandre Duret-Lutz
>>> "Jean-Eric" == Jean-Eric Cuendet <[EMAIL PROTECTED]> writes: [...] Jean-Eric> In fact, ccache tells in logfile that -MT is not supported. Jean-Eric> What does -MT do? Dependency tracking, see the GCC 3.x manual. Jean-Eric> And why dows autoconf use it? Can we not use it safely? Automake