summaryrefslogtreecommitdiffstats
path: root/gl/m4/localcharset.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/localcharset.m4')
-rw-r--r--gl/m4/localcharset.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/gl/m4/localcharset.m4 b/gl/m4/localcharset.m4
new file mode 100644
index 00000000..b2b77338
--- /dev/null
+++ b/gl/m4/localcharset.m4
@@ -0,0 +1,16 @@
1# localcharset.m4 serial 5
2dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7AC_DEFUN([gl_LOCALCHARSET],
8[
9 dnl Prerequisites of lib/localcharset.c.
10 AC_REQUIRE([AM_LANGINFO_CODESET])
11 AC_CHECK_DECLS_ONCE(getc_unlocked)
12
13 dnl Prerequisites of the lib/Makefile.am snippet.
14 AC_REQUIRE([AC_CANONICAL_HOST])
15 AC_REQUIRE([gl_GLIBC21])
16])