bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] split AC_LIB_LINKFLAGS_BODY for multi-library packages


From: Bruno Haible
Subject: Re: [PATCH] split AC_LIB_LINKFLAGS_BODY for multi-library packages
Date: Thu, 13 Mar 2008 03:43:27 +0100
User-agent: KMail/1.5.4

Sam Steingold wrote:
> >    AC_LIB_FROMPACKAGE(avcall, ffcall)
> >    AC_LIB_FROMPACKAGE(vacall, ffcall)
> 
> you mean
> AC_LIB_FROMPACKAGE(avcall, libffcall)
> right?

Right. Now that the package 'ffcall' has been renamed to 'libffcall', the
second argument of AC_LIB_FROMPACKAGE should be [libffcall]. It results in a
configure option --with-libffcall-prefix, exactly as one would expect.

> > *** m4/lib-link.m4.orig     2008-03-12 05:46:15.000000000 +0100
> > --- m4/lib-link.m4  2008-03-12 05:44:50.000000000 +0100
> 
> this adds extra 8 blank lines to each configure which uses
> AC_LIB_LINKFLAGS.
> intentional?

Not intentional, but harmless. Years ago I carefully added 'dnl' at the
end of some lines inside autoconf macros, to avoid the blank lines in the
output. But it made the macros less readable, and - worse - in some situations
it caused shell syntax errors in the generated configure files. So I now
don't care about a few blank lines in 'configure' any more.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]