Blame m4/nls.m4

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