aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-29 18:38:04 +0000
committerng0 <ng0@n0.is>2019-07-29 18:38:04 +0000
commit379da4ce093bdc957b53b563aa1ae0c7c37c19ac (patch)
treef4b7683bda0c6b2c047eb34de836f0831971b76b
parent02a9ae28d64498266869b49b042905946df7ce66 (diff)
downloadlibmicrohttpd-379da4ce093bdc957b53b563aa1ae0c7c37c19ac.tar.gz
libmicrohttpd-379da4ce093bdc957b53b563aa1ae0c7c37c19ac.zip
configure.ac: define a check for HAVE_SENDMSG
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 61b0c6f1..5b7a8114 100644
--- a/configure.ac
+++ b/configure.ac
@@ -642,6 +642,10 @@ AM_CONDITIONAL(USE_MS_LIB_TOOL, [test "x$ac_cv_use_ms_lib_tool" = "xyes"])
642MHD_CHECK_SOCKET_SHUTDOWN_TRIGGER([AC_DEFINE([HAVE_LISTEN_SHUTDOWN],[1],[can use shutdown on listen sockets])]) 642MHD_CHECK_SOCKET_SHUTDOWN_TRIGGER([AC_DEFINE([HAVE_LISTEN_SHUTDOWN],[1],[can use shutdown on listen sockets])])
643AM_CONDITIONAL([HAVE_LISTEN_SHUTDOWN], [test "x$mhd_cv_host_shtdwn_trgr_select" = "xyes"]) 643AM_CONDITIONAL([HAVE_LISTEN_SHUTDOWN], [test "x$mhd_cv_host_shtdwn_trgr_select" = "xyes"])
644 644
645# SENDMSG. Should we check for SCM_RIGHTS instead?
646# https://lists.x.org/archives/xorg-devel/2013-November/038687.html
647AC_SEARCH_LIBS(sendmsg, socket, AC_DEFINE([HAVE_SENDMSG],1,[Define if your platform supports sendmsg]))
648
645# set GCC options 649# set GCC options
646# use '-fno-strict-aliasing', but only if the compiler 650# use '-fno-strict-aliasing', but only if the compiler
647# and linker can take it 651# and linker can take it