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.

Smart Installation

2003-03-26 Thread Oleg Kravtsov
Hi all, I have the following directory tree: dir1 |_configure.ac |_Makefile.am |_file1.c |_dir2 |_Makefile.am |_file2.c I need to install file1 and file2 as: prefix/bin |_dir1 |_file1 |_dir2 |_file2 As a variant Makefile.am(