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>
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.
11 # Add configure option to disable Unicode support.
12 AC_DEFUN([DPKG_UNICODE], [
13 AC_MSG_CHECKING([whether Unicode is requested])
14 dnl Default: Unicode is enabled.
15 AC_ARG_ENABLE([unicode],
16 [AS_HELP_STRING([--disable-unicode],
17 [do not use Unicode (wide chars) support])],
18 [USE_UNICODE=$enableval],
20 AC_MSG_RESULT([$USE_UNICODE])
21 AC_SUBST([USE_UNICODE])