Blame build/m4/nls.m4

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