Re: Conditional modules and libraries.

2003-03-27 Thread Bill Moseley
On Thu, 27 Mar 2003, Alexandre Duret-Lutz wrote: > Bill> But then when it builds the $(LIBXML2_OBJS) the flags are > Bill> missing - which is the only time I really need them! ;). > > LIBXML2_OBJS should be set to libswishindex_la-parser.lo, not parser.lo. > parser.lo is compiled with the defau

Re: Conditional modules and libraries.

2003-03-27 Thread Alexandre Duret-Lutz
>>> "Bill" == Bill Moseley <[EMAIL PROTECTED]> writes: [...] Bill> noinst_LTLIBRARIES = libswishindex.la Bill> libswishindex_la_LIBADD = sw_expat/libswexpat.la $(LIBXML2_OBJS) Bill> libswishindex_la_LDFLAGS = $(LIBXML2_LIB) Bill> libswishindex_la_CPPFLAGS = $(LIBXML2_CFLAGS) Bill> libswis

AC_REPLACE_FUNCS (was: Conditional modules and libraries.)

2003-03-26 Thread Bill Moseley
Along the same lines as conditinal linking, what would be the recommended way to do AC_REPLACE_FUNCS() when building multiple libraries? For example: AC_REPLACE_FUNCS(vsnprintf mkstemp) but vsnprintf needs to be added to one library, and mkstemp to another, so I can't use $(LTLIBOBJS) on both

Re: Conditional modules and libraries.

2003-03-26 Thread Bill Moseley
On Wed, 26 Mar 2003, Alexandre Duret-Lutz wrote: > My answer applies to Automake 1.7.x. Well, that helps. automake (GNU automake) 1.7.3 Here's my Bootstrap: aclocal -I config \ && libtoolize --force --copy \ && autoheader \ && automake --add-missing --copy --foreign \ && autoconf \ && rm

Re: Conditional modules and libraries.

2003-03-26 Thread Alexandre Duret-Lutz
>>> "Bill" == Bill Moseley <[EMAIL PROTECTED]> writes: [...] Bill> BTW -- automake 1.4-p4 autoconf 2.57. [...] Bill> I tried that before, and fell back to AM_CPPFLAGS. Bill> Perhaps I'm missing the point: My answer applies to Automake 1.7.x. [...] -- Alexandre Duret-Lutz

Re: Conditional modules and libraries.

2003-03-26 Thread Bill Moseley
On Wed, 26 Mar 2003, Alexandre Duret-Lutz wrote: > [mfu2: [EMAIL PROTECTED] Ok, although sending mail to [EMAIL PROTECTED] doesn't indicated that I'm confirmed.[see below] Thanks for all the references. That helps. And thank you very much for responding. BTW -- automake 1.4-p4 autoconf 2.57.