blob: a185a4fde7cb745420edc6c51b6e49bfebee8546 [file] [edit]
# isalpha_l.m4
# serial 1
dnl Copyright (C) 2009-2026 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 This file is offered as-is, without any warranty.
AC_DEFUN([gl_FUNC_ISALPHA_L],
[
AC_REQUIRE([gl_CTYPE_H_DEFAULTS])
dnl Persuade glibc <ctype.h> to declare isalpha_l().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
AC_CHECK_FUNCS_ONCE([isalpha_l])
if test $ac_cv_func_isalpha_l = no; then
HAVE_ISALPHA_L=0
fi
dnl Prerequisites of lib/isalpha_l.c.
AC_REQUIRE([gt_FUNC_USELOCALE])
])