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 @@ -973,8 +973,7 @@ case "$ac_cv_func_recvmsg" in #if $ntp_cv_struct_iovec_help # include #endif - ]], - [[ + void foo(void) { ssize_t x; int s = 0;