$OpenBSD: patch-configure_ac,v 1.4 2017/09/25 12:41:07 sthen Exp $

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -962,7 +962,7 @@ case "$ac_cv_func_recvmsg" in
 	    compiled=no
 	    for ntp_cv_struct_iovec_help in '0' '1'; do
 		AC_COMPILE_IFELSE(
-		    [AC_LANG_PROGRAM(
+		    [AC_LANG_SOURCE(
 			[[
 			    #ifdef HAVE_SYS_TYPES_H
 			    # include <sys/types.h>
@@ -973,8 +973,7 @@ case "$ac_cv_func_recvmsg" in
 			    #if $ntp_cv_struct_iovec_help
 			    # include <sys/uio.h>
 			    #endif
-			]],
-			[[
+
 			    void foo(void) {
 				ssize_t x;
 				int s = 0;
