blob: 5a506fc4b58c4bb9ee762d31bb5d00611d388069 [file] [log] [blame]
Andrew Geissler4ed12e12020-06-05 18:00:41 -05001# nls.m4 serial 6 (gettext-0.20.2)
2dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019-2020 Free
3dnl Software Foundation, Inc.
Andrew Geissler82c905d2020-04-13 13:39:40 -05004dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved.
7dnl
8dnl This file can be used in projects which are not available under
Andrew Geissler4ed12e12020-06-05 18:00:41 -05009dnl the GNU General Public License or the GNU Lesser General Public
Andrew Geissler82c905d2020-04-13 13:39:40 -050010dnl License but which still want to provide support for the GNU gettext
11dnl functionality.
12dnl Please note that the actual code of the GNU gettext library is covered
Andrew Geissler4ed12e12020-06-05 18:00:41 -050013dnl by the GNU Lesser General Public License, and the rest of the GNU
Andrew Geissler82c905d2020-04-13 13:39:40 -050014dnl gettext package is covered by the GNU General Public License.
15dnl They are *not* in the public domain.
16
17dnl Authors:
18dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
19dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
20
21AC_PREREQ([2.50])
22
23AC_DEFUN([AM_NLS],
24[
25 AC_MSG_CHECKING([whether NLS is requested])
26 dnl Default is enabled NLS
27 AC_ARG_ENABLE([nls],
28 [ --disable-nls do not use Native Language Support],
29 USE_NLS=$enableval, USE_NLS=yes)
30 AC_MSG_RESULT([$USE_NLS])
31 AC_SUBST([USE_NLS])
32])