|
Packit |
8f70b4 |
# nls.m4 serial 5 (gettext-0.18)
|
|
Packit |
8f70b4 |
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software
|
|
Packit |
8f70b4 |
dnl Foundation, Inc.
|
|
Packit |
8f70b4 |
dnl This file is free software; the Free Software Foundation
|
|
Packit |
8f70b4 |
dnl gives unlimited permission to copy and/or distribute it,
|
|
Packit |
8f70b4 |
dnl with or without modifications, as long as this notice is preserved.
|
|
Packit |
8f70b4 |
dnl
|
|
Packit |
8f70b4 |
dnl This file can be used in projects which are not available under
|
|
Packit |
8f70b4 |
dnl the GNU General Public License or the GNU Library General Public
|
|
Packit |
8f70b4 |
dnl License but which still want to provide support for the GNU gettext
|
|
Packit |
8f70b4 |
dnl functionality.
|
|
Packit |
8f70b4 |
dnl Please note that the actual code of the GNU gettext library is covered
|
|
Packit |
8f70b4 |
dnl by the GNU Library General Public License, and the rest of the GNU
|
|
Packit |
8f70b4 |
dnl gettext package is covered by the GNU General Public License.
|
|
Packit |
8f70b4 |
dnl They are *not* in the public domain.
|
|
Packit |
8f70b4 |
|
|
Packit |
8f70b4 |
dnl Authors:
|
|
Packit |
8f70b4 |
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
|
|
Packit |
8f70b4 |
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
|
|
Packit |
8f70b4 |
|
|
Packit |
8f70b4 |
AC_PREREQ([2.50])
|
|
Packit |
8f70b4 |
|
|
Packit |
8f70b4 |
AC_DEFUN([AM_NLS],
|
|
Packit |
8f70b4 |
[
|
|
Packit |
8f70b4 |
AC_MSG_CHECKING([whether NLS is requested])
|
|
Packit |
8f70b4 |
dnl Default is enabled NLS
|
|
Packit |
8f70b4 |
AC_ARG_ENABLE([nls],
|
|
Packit |
8f70b4 |
[ --disable-nls do not use Native Language Support],
|
|
Packit |
8f70b4 |
USE_NLS=$enableval, USE_NLS=yes)
|
|
Packit |
8f70b4 |
AC_MSG_RESULT([$USE_NLS])
|
|
Packit |
8f70b4 |
AC_SUBST([USE_NLS])
|
|
Packit |
8f70b4 |
])
|