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.


--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to