From 17414be78d49c9a7651f11a4ab390b28672645ef Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Wed, 29 Jan 2014 10:08:28 +0000 Subject: Misc (re #1630): Modified configure script to only include libnsl if needed, e.g: on Solaris networking functions are in libnsl (thanks Jeremy Laine for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4721 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aconfigure.ac') diff --git a/aconfigure.ac b/aconfigure.ac index 20467f2c..1a137b6e 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -113,10 +113,10 @@ AC_CHECK_LIB(ole32,puts) AC_CHECK_LIB(winmm,puts) AC_CHECK_LIB(socket,puts) AC_CHECK_LIB(rt,puts) -AC_CHECK_LIB(nsl,puts) AC_CHECK_LIB(m,sin) AC_CHECK_LIB(uuid,uuid_generate) AC_CHECK_LIB(uuid,uuid_generate,[ac_has_uuid_lib=1]) +AC_SEARCH_LIBS(gethostbyname,nsl) AC_MSG_RESULT([Setting PJ_M_NAME to $target_cpu]) AC_DEFINE_UNQUOTED(PJ_M_NAME,["$target_cpu"]) -- cgit v1.2.3