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