Ignore:
Timestamp:
Jan 29, 2014 10:08:28 AM (10 years ago)
Author:
nanang
Message:

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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r4701 r4721  
    114114AC_CHECK_LIB(socket,puts) 
    115115AC_CHECK_LIB(rt,puts) 
    116 AC_CHECK_LIB(nsl,puts) 
    117116AC_CHECK_LIB(m,sin) 
    118117AC_CHECK_LIB(uuid,uuid_generate) 
    119118AC_CHECK_LIB(uuid,uuid_generate,[ac_has_uuid_lib=1]) 
     119AC_SEARCH_LIBS(gethostbyname,nsl) 
    120120 
    121121AC_MSG_RESULT([Setting PJ_M_NAME to $target_cpu]) 
Note: See TracChangeset for help on using the changeset viewer.