Blame m4/sys_uio_h.m4

Packit 8f70b4
# sys_uio_h.m4 serial 1
Packit 8f70b4
dnl Copyright (C) 2011-2018 Free Software Foundation, Inc.
Packit 8f70b4
dnl This file is free software; the Free Software Foundation
Packit 8f70b4
dnl gives unlimited permission to copy and/or distribute it,
Packit 8f70b4
dnl with or without modifications, as long as this notice is preserved.
Packit 8f70b4
Packit 8f70b4
AC_DEFUN([gl_HEADER_SYS_UIO],
Packit 8f70b4
[
Packit 8f70b4
  AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS])
Packit 8f70b4
  dnl <sys/uio.h> is always overridden, because of GNULIB_POSIXCHECK.
Packit 8f70b4
  gl_CHECK_NEXT_HEADERS([sys/uio.h])
Packit 8f70b4
  if test $ac_cv_header_sys_uio_h = yes; then
Packit 8f70b4
    HAVE_SYS_UIO_H=1
Packit 8f70b4
  else
Packit 8f70b4
    HAVE_SYS_UIO_H=0
Packit 8f70b4
  fi
Packit 8f70b4
  AC_SUBST([HAVE_SYS_UIO_H])
Packit 8f70b4
])
Packit 8f70b4
Packit 8f70b4
AC_DEFUN([gl_SYS_UIO_MODULE_INDICATOR],
Packit 8f70b4
[
Packit 8f70b4
  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
Packit 8f70b4
  AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS])
Packit 8f70b4
  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
Packit 8f70b4
  dnl Define it also as a C macro, for the benefit of the unit tests.
Packit 8f70b4
  gl_MODULE_INDICATOR_FOR_TESTS([$1])
Packit 8f70b4
])
Packit 8f70b4
Packit 8f70b4
AC_DEFUN([gl_SYS_UIO_H_DEFAULTS],
Packit 8f70b4
[
Packit 8f70b4
])