diff options
Diffstat (limited to 'gl/m4/isascii.m4')
-rw-r--r-- | gl/m4/isascii.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gl/m4/isascii.m4 b/gl/m4/isascii.m4 new file mode 100644 index 0000000000..70b77e2e51 --- /dev/null +++ b/gl/m4/isascii.m4 @@ -0,0 +1,19 @@ +# isascii.m4 serial 1 +dnl Copyright (C) 2005 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. + +AC_DEFUN([gl_FUNC_ISASCII], +[ + AC_LIBSOURCES([isascii.h, isascii.c]) + + dnl Persuade glibc <ctype.h> to declare isascii(). + AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REPLACE_FUNCS(isascii) + AC_CHECK_DECLS_ONCE(isascii) +]) + +# Prerequisites of lib/isascii.h. +AC_DEFUN([gl_PREREQ_ISASCII], [:]) |