OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | add nls.m4 |
| 2 | |
| 3 | From: Xiangfu Liu <xiangfu@sharism.cc> |
| 4 | |
| 5 | |
| 6 | --- |
| 7 | |
| 8 | m4/nls.m4 | 31 +++++++++++++++++++++++++++++++ |
| 9 | 1 files changed, 31 insertions(+), 0 deletions(-) |
| 10 | create mode 100644 m4/nls.m4 |
| 11 | |
| 12 | |
| 13 | diff --git a/m4/nls.m4 b/m4/nls.m4 |
| 14 | new file mode 100644 |
| 15 | index 0000000..7967cc2 |
| 16 | --- /dev/null |
| 17 | +++ b/m4/nls.m4 |
| 18 | @@ -0,0 +1,31 @@ |
| 19 | +# nls.m4 serial 3 (gettext-0.15) |
| 20 | +dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. |
| 21 | +dnl This file is free software; the Free Software Foundation |
| 22 | +dnl gives unlimited permission to copy and/or distribute it, |
| 23 | +dnl with or without modifications, as long as this notice is preserved. |
| 24 | +dnl |
| 25 | +dnl This file can can be used in projects which are not available under |
| 26 | +dnl the GNU General Public License or the GNU Library General Public |
| 27 | +dnl License but which still want to provide support for the GNU gettext |
| 28 | +dnl functionality. |
| 29 | +dnl Please note that the actual code of the GNU gettext library is covered |
| 30 | +dnl by the GNU Library General Public License, and the rest of the GNU |
| 31 | +dnl gettext package package is covered by the GNU General Public License. |
| 32 | +dnl They are *not* in the public domain. |
| 33 | + |
| 34 | +dnl Authors: |
| 35 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
| 36 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
| 37 | + |
| 38 | +AC_PREREQ(2.50) |
| 39 | + |
| 40 | +AC_DEFUN([AM_NLS], |
| 41 | +[ |
| 42 | + AC_MSG_CHECKING([whether NLS is requested]) |
| 43 | + dnl Default is enabled NLS |
| 44 | + AC_ARG_ENABLE(nls, |
| 45 | + [ --disable-nls do not use Native Language Support], |
| 46 | + USE_NLS=$enableval, USE_NLS=yes) |
| 47 | + AC_MSG_RESULT($USE_NLS) |
| 48 | + AC_SUBST(USE_NLS) |
| 49 | +]) |
| 50 |
