Blame m4/sys_uio_h.m4

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