Blame m4/nls.m4

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