configure

This commit is contained in:
ng0
2019-07-30 08:53:34 +00:00
parent 4ab7ea5dde
commit 4682921801
+3 -3
View File
@@ -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])