*** empty log message ***
[arla.git] / cf / type-iovec.m4
blobd2256c9bafa4b201a2136fd91ab8ccdcf4491772
1 dnl
2 dnl $Id$
3 dnl
5 dnl
6 dnl Check for struct iovec
7 dnl
9 AC_DEFUN([AC_TYPE_IOVEC], [
11 AC_CACHE_CHECK(for struct iovec, ac_cv_struct_iovec, [
12 AC_EGREP_HEADER(
13 changequote(, )dnl
14 struct[         ]*iovec,
15 changequote([,])dnl
16 sys/uio.h,
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])