Solaris needs -lsocket and -lnsl and does not support gethostbyname2()
With these changes we build and work on solaris
This commit is contained in:
@@ -15,9 +15,13 @@ fi
|
||||
|
||||
case `uname` in
|
||||
Linux*)
|
||||
AC_DEFINE(HAVE_GETHOSTBYNAME2,1,[Whether we have gethostbyname2 or not])
|
||||
;;
|
||||
AIX*)
|
||||
;;
|
||||
SunOS)
|
||||
LIBS="$LIBS -lsocket -lnsl"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user