From 7847c4f8eeee65b81ada71d7245005ac6319b157 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 5 Sep 2016 10:16:30 +0200 Subject: [PATCH] configure: detect SunOS and link against required libs --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 55c02f7c21..2437f58671 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) ;;