Re: solaris libpq threaded build fails - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: solaris libpq threaded build fails
Date
Msg-id 496DF066.60109@gmx.net
Whole thread Raw
In response to Re: solaris libpq threaded build fails  (Andrew Chernow <ac@esilo.com>)
Responses Re: solaris libpq threaded build fails  (Andrew Chernow <ac@esilo.com>)
List pgsql-hackers
Andrew Chernow wrote:
> The problem with the current check is its only an AC_CHECK_FUNCS.  We 
> need an AC_SEARCH_LIBS first so the proper -llibrary is appended to 
> LIBS, which is used by AC_CHECK_FUNCS.
> 
> AC_SEARCH_LIBS(gethostbyname_r, c nsl)

Just don't put "c" in there.  You usually don't want an explicit -lc to 
appear in your link commands.



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1403)
Next
From: Andrew Chernow
Date:
Subject: Re: solaris libpq threaded build fails