commit 46829218013f6dcb9de3f3ec432f8978e541ea38
parent 4ab7ea5dde2339b28ebf3de1fc6a663beebf4f62
Author: ng0 <ng0@n0.is>
Date: Tue, 30 Jul 2019 08:53:34 +0000
configure
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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])