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