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