Re: gnulib-tool: support for LDFLAGS, LIBDEPS and LTLIBDEPS

2006-09-11 Thread Bruno Haible
Ralf Wildenhues wrote: > Are there usage cases where someone links a program or library with > libtool, and this uses a libgnu.a rather than a libgnu.la? Not yet. But why should I introduce an artificial limitation? Bruno

Re: gnulib-tool: support for LDFLAGS, LIBDEPS and LTLIBDEPS

2006-09-10 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Sat, Sep 09, 2006 at 09:02:29PM CEST: > > Nice suggestion. I implemented it through the patch below. When you build > a libgnu without libtool, you now have a predefined Makefile variable > LIBGNU_LIBDEPS and a predefined Makefile variable LIBGNU_LTLIBDEPS ava

Re: gnulib-tool: support for LDFLAGS, LIBDEPS and LTLIBDEPS

2006-09-09 Thread Bruno Haible
Ralf Wildenhues wrote: > *_LDFLAGS are for libtool libraries and programs, but not for static > libraries. Ah, right, I forgot about this. Sorry. > I recommend that if libgnu.a needs symbols from other libraries, then it > should provide a macro $(LIBGNULIB) or so, that programs can use to link >

Re: gnulib-tool: support for LDFLAGS

2006-09-08 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Fri, Sep 08, 2006 at 08:36:54AM CEST: > I recommend that if libgnu.a needs symbols from other libraries, then it > should provide a macro $(LIBGNULIB) or so, that programs can use to link > against, and that it should then contain those additional libraries. > This way, i

Re: gnulib-tool: support for LDFLAGS

2006-09-07 Thread Ralf Wildenhues
* Paul Eggert wrote on Fri, Sep 08, 2006 at 08:21:39AM CEST: > > OK to revert the patch? I'm not sure why it was needed; the Automake > 1.9.6 documentation talks about maude_LDFLAGS only for programs, not > for libraries. *_LDFLAGS are for libtool libraries and programs, but not for static libra

Re: gnulib-tool: support for LDFLAGS

2006-09-07 Thread Paul Eggert
The patch causes CVS coreutils bootstrap to emit worrisome warnings, as follows: ./bootstrap: automake --add-missing --copy --force-missing ... lib/gnulib.mk:19: variable `libcoreutils_a_LDFLAGS' is defined but no program

gnulib-tool: support for LDFLAGS

2006-09-06 Thread Bruno Haible
This initializes lib..._LDFLAGS, so that it can be augmented later. 2006-09-05 Bruno Haible <[EMAIL PROTECTED]> * gnulib-tool (func_emit_lib_Makefile_am): Initialize also lib_..._LDFLAGS. *** gnulib-tool.bak 2006-09-06 01:46:53.0 +0200 --- gnulib-tool 2006-09-06 02