From: Dmitry Kurochkin Date: Mon, 22 Aug 2011 18:19:13 +0000 (+0400) Subject: Add configure check for shm_open(3) in librt. X-Git-Tag: take08~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad2ecae31e51a8dd4c347af3141c5650bb14b38f;p=thirdparty%2Fsquid.git Add configure check for shm_open(3) in librt. This is needed for Linux when building with minimal configuration. --- diff --git a/configure.ac b/configure.ac index e18540af74..a9cdd23279 100644 --- a/configure.ac +++ b/configure.ac @@ -2564,6 +2564,7 @@ AC_SEARCH_LIBS([bind],[socket]) AC_SEARCH_LIBS([opcom_stack_trace],[opcom_stack]) AC_SEARCH_LIBS([strlcpy], [bsd]) AC_SEARCH_LIBS([yp_match], [nsl nss_nis nss_nisplus]) +AC_SEARCH_LIBS([shm_open], [rt]) dnl Check for Winsock only on MinGW, on Cygwin we must use emulated BSD socket API if test "x$squid_host_os" = "xmingw" ; then SQUID_CHECK_WINSOCK_LIB