optional flag for building unicode support

svn path=/nixpkgs/trunk/; revision=5583
This commit is contained in:
Armijn Hemel 2006-07-04 22:45:24 +00:00
parent 87613a856a
commit 89a054b848

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, gtk, libXinerama, compat22 ? true}:
{stdenv, fetchurl, pkgconfig, gtk, libXinerama, compat22 ? true, unicode ? false}:
assert pkgconfig != null && gtk != null;
assert gtk.libtiff != null;
@ -23,6 +23,7 @@ stdenv.mkDerivation {
"--enable-gtk2"
(if compat22 then "--enable-compat22" else "--disable-compat22")
"--disable-precomp-headers"
(if unicode then "--enable-unicode" else "")
];
inherit gtk compat22;