nls.m4 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. # nls.m4 serial 5 (gettext-0.18)
  2. dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation,
  3. dnl Inc.
  4. dnl This file is free software; the Free Software Foundation
  5. dnl gives unlimited permission to copy and/or distribute it,
  6. dnl with or without modifications, as long as this notice is preserved.
  7. dnl
  8. dnl This file can can be used in projects which are not available under
  9. dnl the GNU General Public License or the GNU Library General Public
  10. dnl License but which still want to provide support for the GNU gettext
  11. dnl functionality.
  12. dnl Please note that the actual code of the GNU gettext library is covered
  13. dnl by the GNU Library General Public License, and the rest of the GNU
  14. dnl gettext package package is covered by the GNU General Public License.
  15. dnl They are *not* in the public domain.
  16. dnl Authors:
  17. dnl Ulrich Drepper <[email protected]>, 1995-2000.
  18. dnl Bruno Haible <[email protected]>, 2000-2003.
  19. AC_PREREQ([2.50])
  20. AC_DEFUN([AM_NLS],
  21. [
  22. AC_MSG_CHECKING([whether NLS is requested])
  23. dnl Default is enabled NLS
  24. AC_ARG_ENABLE([nls],
  25. [ --disable-nls do not use Native Language Support],
  26. USE_NLS=$enableval, USE_NLS=yes)
  27. AC_MSG_RESULT([$USE_NLS])
  28. AC_SUBST([USE_NLS])
  29. ])