summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-30 08:53:34 +0000
committerng0 <ng0@n0.is>2019-07-30 08:53:34 +0000
commit46829218013f6dcb9de3f3ec432f8978e541ea38 (patch)
treeed207b1fabc4fcdd3210bcc509b1bd15a94653c6
parent4ab7ea5dde2339b28ebf3de1fc6a663beebf4f62 (diff)
configure
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index ac323baa..8e4f4a9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -651,11 +651,11 @@ AC_CHECK_FUNCS([writev])
# check MSG_MORE defined
AC_MSG_CHECKING([whether MSG_MORE is defined])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <sys/socket.h>
-return MSG_MORE;
- ])],
+]],[[return MSG_MORE;]]
+ )],
[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_MSG_MORE, [1], [have MSG_MORE])