build: Fix typo s/HAVE_DONTWAIT/HAVE_MSG_DONTWAIT

Introduced in #9921.

Thanks to Pavol Rusnak for spotting this one.
This commit is contained in:
Wladimir J. van der Laan 2017-03-16 17:37:24 +01:00
parent 8b789d8141
commit 5073100f27

View file

@ -562,7 +562,7 @@ dnl Check for MSG_DONTWAIT
AC_MSG_CHECKING(for MSG_DONTWAIT) AC_MSG_CHECKING(for MSG_DONTWAIT)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]],
[[ int f = MSG_DONTWAIT; ]])], [[ int f = MSG_DONTWAIT; ]])],
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_DONTWAIT, 1,[Define this symbol if you have MSG_DONTWAIT]) ], [ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MSG_DONTWAIT, 1,[Define this symbol if you have MSG_DONTWAIT]) ],
[ AC_MSG_RESULT(no)] [ AC_MSG_RESULT(no)]
) )