1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# Haskell binding to the X11 graphics library [](https://hackage.haskell.org/package/X11) [](https://travis-ci.org/xmonad/X11)
To build this package using Cabal directly from Git, you must run
`autoreconf` before the usual Cabal build steps (configure/build/install).
`autoreconf` is included in the GNU autoconf tools. There is no need to run
the `configure` script: the `cabal configure` step will do this for you.
If you are building from a source tarball, you can just use the standard Cabal
installation stanza:
cabal configure
cabal build
cabal install
Xinerama support is enabled by default if Xinerama headers are detected. To
disable Xinerama support, add the `--without-xinerama` flag to
`configure-option`:
cabal configure --configure-option="--without-xinerama"
However, if you are building from Git, X11 uses `autoconf`, so you need
to have `autoconf` installed and run `autoconf`/`autoheader` before building:
autoconf
autoheader
or
autoreconf
You will need development versions of at least the X11, xrandr, and XScreenSaver
libraries installed for the build to succeed; having the development version of
the Xinerama library will enable some optional bindings.
|