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