-# ctype_h.m4 serial 1
-dnl Copyright (C) 2009 Free Software Foundation, Inc.
+# ctype_h.m4 serial 3
+dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl Execute this unconditionally, because CTYPE_H may be set by other
dnl modules, after this code is executed.
gl_CHECK_NEXT_HEADERS([ctype.h])
+
+ dnl Check for declarations of anything we want to poison if the
+ dnl corresponding gnulib module is not in use.
+ gl_WARN_ON_USE_PREPARE([[#include <ctype.h>
+ ]], [isblank])
])
AC_DEFUN([gl_CTYPE_MODULE_INDICATOR],
GNULIB_ISBLANK=0; AC_SUBST([GNULIB_ISBLANK])
dnl Assume proper GNU behavior unless another module says otherwise.
HAVE_ISBLANK=1; AC_SUBST([HAVE_ISBLANK])
- CTYPE_H=''; AC_SUBST([CTYPE_H])
])