[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: -lintl in SVN_INTL_LIBS and LIBS

From: Branko Čibej <brane_at_wandisco.com>
Date: Sat, 15 Mar 2014 09:56:17 +0100

On 14.03.2014 23:06, Stefan Sperling wrote:
> On Fri, Mar 14, 2014 at 10:47:28PM +0100, Branko Čibej wrote:
>> And of course you can't tweak the generator to ignore symbols that are
>> not expanded, is that what you're saying? :)
> Indeed, we cannot.

No comment ...

> I'm generating pc.in files from build.conf to avoid having to
> maintain duplicate dependency information for pkg-config support.
>
> So we first generate .pc.in files from build.conf. At this stage,
> we parse build.conf to see which variables could be expanded.
> If we see $(SVN_INTL_LIBS) we put @SVN_INTL_LIBS@ in the pc.in file.
> This part is what this discussion is about. And it is the only part
> we can write code for.
>
> Later we generate .pc files from .pc.in files using a pre-defined
> autotools macro we don't control. It's done like this:
> AC_CONFIG_FILES([${pc_file}])
> This happens at the end of the configure script. At this stage we
> perform substitutions of the form @SVN_INTL_LIBS@ -> -lsomething
> depending on what the configure script found.

It's really simple: given the nature of our build system, you'll have to
try harder. I suggest generating the final .pc files during 'make
install' -- or a separate make target that 'make install' depends on --
not during configure time.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-03-15 09:56:59 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.