From dd8e81fd3af653a30b6e776c5dc32a34a8434112 Mon Sep 17 00:00:00 2001 From: Tony Arkles Date: Fri, 12 Oct 2012 04:16:33 +0000 Subject: [PATCH] Add check to see if the socket library is required This is necessary to get Skytools to build successfully on SmartOS, where you have to explicitly add -lsocket when using socket calls. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 510d1921..7a25478a 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,8 @@ AC_CONFIG_SRCDIR(python/londiste.py) AC_CONFIG_HEADER(lib/usual/config.h) AC_PREREQ([2.59]) +AC_SEARCH_LIBS([send,recv],[socket],[],[],[]) + dnl Find Python interpreter AC_ARG_WITH(python, [ --with-python=PYTHON name of the Python executable (default: python)], [ AC_MSG_CHECKING(for python) -- 2.39.5