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