[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: Thu, 13 Mar 2014 17:33:22 +0100

On 13.03.2014 17:22, Stefan Sperling wrote:
> On Thu, Mar 13, 2014 at 04:16:17PM -0000, stsp_at_apache.org wrote:
>> Author: stsp
>> Date: Thu Mar 13 16:16:16 2014
>> New Revision: 1577223
>>
>> URL: http://svn.apache.org/r1577223
>> Log:
>> Add libintl link flags to SVN_INTL_LIBS on *nix builds.
>>
>> The SVN_INTL_LIBS variable was referred to but never defined.
>>
>> * Makefile.in: Define SVN_INTL_LIBS.
>>
>> * configure.ac: Set SVN_INTL_LIBS to the linker flags required
>> to link to libintl and export the value of SVN_INTL_LIBS
>> to the Makefile.
> A side-effect of this change is that -lintl now appears in
> both SVN_INTL_LIBS and LIBS. It is in LIBS because AC_SEARCH_LIBS
> insits on putting it there.
>
> Do we care enough to somehow work around that? Or do we just live
> with potential redundant -lintl linker flags?

We should try to reset LIBS during AC_SEARCH_LIBS for gettext & co.
IIRC, we do something similar for SQLite.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-03-13 17:34:11 CET

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