aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-12 15:12:55 +0200
committerBert <ber.t@gmx.com>2011-09-12 15:12:55 +0200
commit32a65201bb2114790d98a73427fab80f41d94b97 (patch)
tree34d3f036ee0b228fc220c9975176d0921e96309b
parentda829a63b232c477a25812d82097b67e6a3f8bc3 (diff)
Shortened additional features section
-rw-r--r--README.md27
1 files changed, 10 insertions, 17 deletions
diff --git a/README.md b/README.md
index 4cf51cf..0037f87 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,6 @@ Image mode:
<img src="http://github.com/muennich/sxiv/raw/master/sample/image.png">
-
Thumbnail mode:
<img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png">
@@ -60,22 +59,16 @@ Additional features
The XFLAGS and XLIBS macros control which additional features (non-default
compile-time features) should be enabled and included during compilation.
-The following table lists the available additional features--the column
-*Requires* indicates, which libraries need to be installed for a feature; the
-columns *XFLAGS* and *XLIBS* show, what needs to be added to these macros to
-enable the corresponding feature:
-
- Feature | Requires | XFLAGS | XLIBS
- ----------------------------------+----------+----------------+--------
- GIF support: Load all frames and | giflib | -DGIF_SUPPORT | -lgif
- play animations of GIF files | | |
- ----------------------------------+----------+----------------+--------
- EXIF support: auto-orientate JPEG | libexif | -DEXIF_SUPPORT | -lexif
- files according to their EXIF tag | | |
-
-For instance, to enable GIF and EXIF support, the giflib and libexif libraries
-need to be installed on your system and you need to change the first build
-command to:
+* GIF support:
+
+ XFLAGS=-DGIF_SUPPORT, XLIBS=-lgif, requires: giflib
+
+* EXIF support:
+
+ XFLAGS=-DEXIF_SUPPORT, XLIBS=-lexif, requires: libexif
+
+To enable GIF and EXIF support, the giflib and libexif libraries need to be
+installed on your system and you need to change the first build command to:
$ make XFLAGS="-DGIF_SUPPORT -DEXIF_SUPPORT" XLIBS="-lgif -lexif"