Re: solaris libpq threaded build fails

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Chernow <ac(at)esilo(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: solaris libpq threaded build fails
Date: 2009-01-14 14:02:14
Message-ID: 496DF066.60109@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2009-01-14 14:13:54 Re: solaris libpq threaded build fails
Previous Message Louis-David Mitterrand 2009-01-14 14:01:35 Re: inconsistency in aliasing