]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add configure check for shm_open(3) in librt.
authorDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Mon, 22 Aug 2011 18:19:13 +0000 (22:19 +0400)
committerDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Mon, 22 Aug 2011 18:19:13 +0000 (22:19 +0400)
This is needed for Linux when building with minimal configuration.

configure.ac

index e18540af74204760042f7d3e42baf08375187b0f..a9cdd23279c5996396aee808e4955addfc87a5e7 100644 (file)
@@ -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