diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-11-16 13:42:11 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-11-16 13:42:11 +0100 |
commit | fd183f2d7de96fe5561b84c826e05a3ac939dad1 (patch) | |
tree | 138d794a3997ce3654f766fdc534735eeeb67e10 /xmonad-contrib.cabal | |
parent | bbfb921860fdb7a5f6d0a2462ef1192d1525175f (diff) | |
download | XMonadContrib-fd183f2d7de96fe5561b84c826e05a3ac939dad1.tar.gz XMonadContrib-fd183f2d7de96fe5561b84c826e05a3ac939dad1.tar.xz XMonadContrib-fd183f2d7de96fe5561b84c826e05a3ac939dad1.zip |
Use Xft automatically if available
darcs-hash:20071116124211-a5988-2f871dda01cf247852787d9c0d30f85dba73b444.gz
Diffstat (limited to 'xmonad-contrib.cabal')
-rw-r--r-- | xmonad-contrib.cabal | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal index d0e933f..38e06b9 100644 --- a/xmonad-contrib.cabal +++ b/xmonad-contrib.cabal @@ -20,13 +20,20 @@ cabal-version: >= 1.2 flag small_base description: Choose the new smaller, split-up base package. +flag use_xft + description: Use Xft to render text + library if flag(small_base) build-depends: base >= 3, containers, directory, process, random else build-depends: base < 3 - build-depends: mtl, unix, X11==1.3.0.20071111, xmonad==0.4, utf8-string, X11-xft + if flag(use_xft) + build-depends: X11-xft + ghc-options: -DXFT + + build-depends: mtl, unix, X11==1.3.0.20071111, xmonad==0.4, utf8-string ghc-options: -Wall -Werror exposed-modules: Documentation XMonad.Actions.Commands |