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 #include -return MSG_MORE; - ])], +]],[[return MSG_MORE;]] + )], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_MSG_MORE, [1], [have MSG_MORE])