dpkg-unicode.m4 822 B

12345678910111213141516171819202122
  1. # Copyright © 1995-2003, 2005-2006 Free Software Foundation, Inc.
  2. # Copyright © 2009 Yuri Vasilevski <yvasilev@gentoo.org>
  3. # Copyright © 2010 Guillem Jover <guillem@debian.org>
  4. #
  5. # This file is free software; the Free Software Foundation
  6. # gives unlimited permission to copy and/or distribute it,
  7. # with or without modifications, as long as this notice is preserved.
  8. # DPKG_UNICODE()
  9. # --------------
  10. # Add configure option to disable Unicode support.
  11. AC_DEFUN([DPKG_UNICODE], [
  12. AC_MSG_CHECKING([whether Unicode is requested])
  13. dnl Default: Unicode is enabled.
  14. AC_ARG_ENABLE([unicode],
  15. [AS_HELP_STRING([--disable-unicode],
  16. [do not use Unicode (wide chars) support])],
  17. [USE_UNICODE=$enableval], [USE_UNICODE=yes])
  18. AC_MSG_RESULT($USE_UNICODE)
  19. AC_SUBST(USE_UNICODE)
  20. ]) # DPKG_UNICODE