[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: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 14 Mar 2014 23:06:31 +0100

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.

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.
Received on 2014-03-14 23:07:12 CET

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