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