|
Packit |
33f14e |
# ctype_h.m4 serial 6
|
|
Packit |
33f14e |
dnl Copyright (C) 2009-2017 Free Software Foundation, Inc.
|
|
Packit |
33f14e |
dnl This file is free software; the Free Software Foundation
|
|
Packit |
33f14e |
dnl gives unlimited permission to copy and/or distribute it,
|
|
Packit |
33f14e |
dnl with or without modifications, as long as this notice is preserved.
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
AC_DEFUN([gl_CTYPE_H],
|
|
Packit |
33f14e |
[
|
|
Packit |
33f14e |
AC_REQUIRE([gl_CTYPE_H_DEFAULTS])
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
dnl <ctype.h> is always overridden, because of GNULIB_POSIXCHECK.
|
|
Packit |
33f14e |
gl_NEXT_HEADERS([ctype.h])
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
dnl Check for declarations of anything we want to poison if the
|
|
Packit |
33f14e |
dnl corresponding gnulib module is not in use.
|
|
Packit |
33f14e |
gl_WARN_ON_USE_PREPARE([[#include <ctype.h>
|
|
Packit |
33f14e |
]], [isblank])
|
|
Packit |
33f14e |
])
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
AC_DEFUN([gl_CTYPE_MODULE_INDICATOR],
|
|
Packit |
33f14e |
[
|
|
Packit |
33f14e |
dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
|
|
Packit |
33f14e |
AC_REQUIRE([gl_CTYPE_H_DEFAULTS])
|
|
Packit |
33f14e |
gl_MODULE_INDICATOR_SET_VARIABLE([$1])
|
|
Packit |
33f14e |
])
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
AC_DEFUN([gl_CTYPE_H_DEFAULTS],
|
|
Packit |
33f14e |
[
|
|
Packit |
33f14e |
GNULIB_ISBLANK=0; AC_SUBST([GNULIB_ISBLANK])
|
|
Packit |
33f14e |
dnl Assume proper GNU behavior unless another module says otherwise.
|
|
Packit |
33f14e |
HAVE_ISBLANK=1; AC_SUBST([HAVE_ISBLANK])
|
|
Packit |
33f14e |
])
|