[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 14 Mar 2014 12:17:54 +0000

Stefan Sperling <stsp_at_elego.de> writes:

> One possible solution to this problem is to make sure that SVN_INTL_LIBS
> is always defined, either to an empty string, or to the appropriate
> linke flags (e.g. "-lintl", or "-lintl -liconv").
> This is what I want to achieve.

The docs for AC_SEARCH_LIB say you can check the variable
ac_cv_search_bindtextdomian to determine whether a library was needed
but it might be simpler to simply do an AC_LINKIFELSE to see if it works
with no library and AC_CHECK_LIB for -lintl if it fails.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-03-14 13:18:41 CET

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