Blame m4/nls.m4

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