145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org# nls.m4 serial 3 (gettext-0.15)
245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl This file is free software; the Free Software Foundation
445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl gives unlimited permission to copy and/or distribute it,
545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl with or without modifications, as long as this notice is preserved.
645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl
745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl This file can can be used in projects which are not available under
845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl the GNU General Public License or the GNU Library General Public
945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl License but which still want to provide support for the GNU gettext
1045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl functionality.
1145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl Please note that the actual code of the GNU gettext library is covered
1245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl by the GNU Library General Public License, and the rest of the GNU
1345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl gettext package package is covered by the GNU General Public License.
1445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl They are *not* in the public domain.
1545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
1645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl Authors:
1745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
1845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgdnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
1945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
2045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgAC_PREREQ(2.50)
2145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org
2245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.orgAC_DEFUN([AM_NLS],
2345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[
2445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org  AC_MSG_CHECKING([whether NLS is requested])
2545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org  dnl Default is enabled NLS
2645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org  AC_ARG_ENABLE(nls,
2745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org    [  --disable-nls           do not use Native Language Support],
2845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org    USE_NLS=$enableval, USE_NLS=yes)
2945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org  AC_MSG_RESULT($USE_NLS)
3045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org  AC_SUBST(USE_NLS)
3145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org])
32