Blame m4/sys_uio_h.m4

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