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