configure: detect SunOS and link against required libs

pull/2219/head
Victor Julien 9 years ago
parent ef1acdfaee
commit 7847c4f8ee

@ -227,6 +227,10 @@
LUA_LIB_NAME="lua"
WINDOWS_PATH="yes"
;;
*-*-solaris*)
AC_MSG_WARN([support for Solaris/Illumos/SunOS is experimental])
LDFLAGS="${LDFLAGS} -lsocket -lnsl"
;;
*)
AC_MSG_WARN([unsupported OS this may or may not work])
;;

Loading…
Cancel
Save