1*4882a593SmuzhiyunFrom c320799c941d42a9b7e351805359694ea3b36d2d Mon Sep 17 00:00:00 2001 2*4882a593SmuzhiyunFrom: Khem Raj <raj.khem@gmail.com> 3*4882a593SmuzhiyunDate: Sun, 5 Apr 2015 09:08:38 -0700 4*4882a593SmuzhiyunSubject: [PATCH] nls.m4: Take it from gettext-0.15 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunIt otherwise expects gettext to provide it. Lets go independent 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunSigned-off-by: Khem Raj <raj.khem@gmail.com> 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunUpstream-Status: Pending 11*4882a593Smuzhiyun--- 12*4882a593Smuzhiyun m4/nls.m4 | 30 ++++++++++++++++++++++++++++++ 13*4882a593Smuzhiyun 1 file changed, 30 insertions(+) 14*4882a593Smuzhiyun create mode 100644 m4/nls.m4 15*4882a593Smuzhiyun 16*4882a593Smuzhiyundiff --git a/m4/nls.m4 b/m4/nls.m4 17*4882a593Smuzhiyunnew file mode 100644 18*4882a593Smuzhiyunindex 0000000..2c8fe69 19*4882a593Smuzhiyun--- /dev/null 20*4882a593Smuzhiyun+++ b/m4/nls.m4 21*4882a593Smuzhiyun@@ -0,0 +1,30 @@ 22*4882a593Smuzhiyun+dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. 23*4882a593Smuzhiyun+dnl This file is free software; the Free Software Foundation 24*4882a593Smuzhiyun+dnl gives unlimited permission to copy and/or distribute it, 25*4882a593Smuzhiyun+dnl with or without modifications, as long as this notice is preserved. 26*4882a593Smuzhiyun+dnl 27*4882a593Smuzhiyun+dnl This file can can be used in projects which are not available under 28*4882a593Smuzhiyun+dnl the GNU General Public License or the GNU Library General Public 29*4882a593Smuzhiyun+dnl License but which still want to provide support for the GNU gettext 30*4882a593Smuzhiyun+dnl functionality. 31*4882a593Smuzhiyun+dnl Please note that the actual code of the GNU gettext library is covered 32*4882a593Smuzhiyun+dnl by the GNU Library General Public License, and the rest of the GNU 33*4882a593Smuzhiyun+dnl gettext package package is covered by the GNU General Public License. 34*4882a593Smuzhiyun+dnl They are not in the public domain. 35*4882a593Smuzhiyun+ 36*4882a593Smuzhiyun+dnl Authors: 37*4882a593Smuzhiyun+dnl Ulrich Drepper drepper@cygnus.com, 1995-2000. 38*4882a593Smuzhiyun+dnl Bruno Haible haible@clisp.cons.org, 2000-2003. 39*4882a593Smuzhiyun+ 40*4882a593Smuzhiyun+AC_PREREQ(2.50) 41*4882a593Smuzhiyun+ 42*4882a593Smuzhiyun+AC_DEFUN([AM_NLS], 43*4882a593Smuzhiyun+[ 44*4882a593Smuzhiyun+AC_MSG_CHECKING([whether NLS is requested]) 45*4882a593Smuzhiyun+dnl Default is enabled NLS 46*4882a593Smuzhiyun+AC_ARG_ENABLE(nls, 47*4882a593Smuzhiyun+[ --disable-nls do not use Native Language Support], 48*4882a593Smuzhiyun+USE_NLS=$enableval, USE_NLS=yes) 49*4882a593Smuzhiyun+AC_MSG_RESULT($USE_NLS) 50*4882a593Smuzhiyun+AC_SUBST(USE_NLS) 51*4882a593Smuzhiyun+]) 52*4882a593Smuzhiyun-- 53*4882a593Smuzhiyun2.1.4 54*4882a593Smuzhiyun 55