commit 4aeab8d849b5b30720724da6f337c27c917e99bc
parent 7c735289338a3cd9bfd7afa4131153a9d113b7ea
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 22 Dec 2020 01:23:31 +0300
configure: minor fixes
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -857,9 +857,7 @@ AM_CONDITIONAL([HAVE_LISTEN_SHUTDOWN], [test "x$mhd_cv_host_shtdwn_trgr_select"
# SENDMSG. Should we check for SCM_RIGHTS instead?
# https://lists.x.org/archives/xorg-devel/2013-November/038687.html
-AC_MSG_CHECKING([whether sendmsg is available])
-AC_SEARCH_LIBS(sendmsg, socket, AC_DEFINE([HAVE_SENDMSG],1,[Define if your platform supports sendmsg]))
-AC_MSG_CHECKING([whether writev is available])
+AC_SEARCH_LIBS([sendmsg], [socket], [AC_DEFINE([HAVE_SENDMSG],[1],[Define if your platform supports sendmsg])])
AC_CHECK_FUNCS([writev])
# set GCC options