6 dnl Check for struct iovec
9 AC_DEFUN([AC_TYPE_IOVEC], [
11 AC_CACHE_CHECK(for struct iovec, ac_cv_struct_iovec, [
17 ac_cv_struct_iovec=yes,
18 ac_cv_struct_iovec=no)
20 if test "$ac_cv_struct_iovec" = "yes"; then
21 AC_DEFINE(HAVE_STRUCT_IOVEC, 1, [define if you have struct iovec])