Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
[gnulib.git] / m4 / localcharset.m4
1 # localcharset.m4 serial 2
2 dnl Copyright (C) 2002 Free Software Foundation, Inc.
3 dnl This file is free software, distributed under the terms of the GNU
4 dnl General Public License.  As a special exception to the GNU General
5 dnl Public License, this file may be distributed as part of a program
6 dnl that contains a configuration script generated by Autoconf, under
7 dnl the same distribution terms as the rest of that program.
8
9 AC_DEFUN([gl_LOCALCHARSET],
10 [
11   dnl Prerequisites of lib/localcharset.c.
12   AC_CHECK_HEADERS_ONCE(stddef.h stdlib.h string.h)
13   AC_REQUIRE([AM_LANGINFO_CODESET])
14   AC_CHECK_FUNCS_ONCE(setlocale)
15
16   dnl Prerequisites of the lib/Makefile.am snippet.
17   AC_REQUIRE([AC_CANONICAL_HOST])
18   AC_REQUIRE([gl_GLIBC21])
19 ])