diff --git a/configure.ac b/configure.ac index 4d6e263c..ac323baa 100644 --- a/configure.ac +++ b/configure.ac @@ -650,15 +650,11 @@ AC_MSG_CHECKING([whether writev is available]) AC_CHECK_FUNCS([writev]) # check MSG_MORE defined -AC_MSG_CHECKING([whether MSG_MORE defined]) +AC_MSG_CHECKING([whether MSG_MORE is defined]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ #include #include - -int main(int argc, char **argv) -{ - return MSG_MORE; -} +return MSG_MORE; ])], [ AC_MSG_RESULT(yes)