diff options
| author | Dave Love | 2000-11-21 14:32:05 +0000 |
|---|---|---|
| committer | Dave Love | 2000-11-21 14:32:05 +0000 |
| commit | 9792d8ac11458ac7db96e153f2de1f5ad2b7cdf3 (patch) | |
| tree | 115dc888fe36b7ddad8acc33abd041463a680189 | |
| parent | f5f47add96096b94c5e4cc27c3f22599a450729a (diff) | |
| download | emacs-9792d8ac11458ac7db96e153f2de1f5ad2b7cdf3.tar.gz emacs-9792d8ac11458ac7db96e153f2de1f5ad2b7cdf3.zip | |
Modify stuff about image libraries.
| -rw-r--r-- | INSTALL | 41 |
1 files changed, 25 insertions, 16 deletions
| @@ -76,19 +76,27 @@ that file `dir' in this directory contains an entry like this: | |||
| 76 | * Image support libraries | 76 | * Image support libraries |
| 77 | 77 | ||
| 78 | Emacs needs optional libraries to be able to display images (with the | 78 | Emacs needs optional libraries to be able to display images (with the |
| 79 | exception of PBM images whose support is built-in). Here's the list | 79 | exception of PBM and XBM images whose support is built-in). On some |
| 80 | of these optional libraries, and the URLs where they can be found: | 80 | systems these may already be present or available as additional |
| 81 | packages, particularly on GNU/Linux. (In some cases older versions | ||
| 82 | won't work because some routines are missing, and configure should | ||
| 83 | avoid such old versions.) | ||
| 84 | |||
| 85 | If necessary, you can build them from source. None are vital for | ||
| 86 | running Emacs. Here's the list of these optional libraries, and the | ||
| 87 | URLs where they can be found: | ||
| 81 | 88 | ||
| 82 | . libxpm for XPM: ftp://ftp.x.org/contrib/libraries/ | 89 | . libxpm for XPM: ftp://ftp.x.org/contrib/libraries/ |
| 83 | . libpng for PNG: ftp://www.libpng.org/pub/png/ | 90 | . libpng for PNG: ftp://www.libpng.org/pub/png/ |
| 84 | . Zlib (for PNG): http://www.info-zip.org/pub/infozip/zlib/ | 91 | . libz (for PNG): http://www.info-zip.org/pub/infozip/zlib/ |
| 85 | . libjpeg for JPEG: ftp://ftp.uu.net/graphics/jpeg/ | 92 | . libjpeg for JPEG: ftp://ftp.uu.net/graphics/jpeg/ |
| 86 | . libtiff for TIFF: http://www.libtiff.org/ | 93 | . libtiff for TIFF: http://www.libtiff.org/ |
| 87 | . libungif for GIF: | 94 | . libungif for GIF: |
| 88 | http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml | 95 | http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml |
| 89 | 96 | ||
| 90 | Emacs needs to be configured with the appropriate --with-LIB option, | 97 | Emacs will configure itself to build with these libraries if configure |
| 91 | to be built with these libraries. See below for more details. | 98 | finds them on your system unless you supply the appropriate |
| 99 | --without-LIB option. See below for more details. | ||
| 92 | 100 | ||
| 93 | 101 | ||
| 94 | BUILDING AND INSTALLATION: | 102 | BUILDING AND INSTALLATION: |
| @@ -163,19 +171,20 @@ add `--with-hesiod'. These options enable Emacs to use POP; whether | |||
| 163 | Emacs uses POP is controlled by individual users--see the Rmail | 171 | Emacs uses POP is controlled by individual users--see the Rmail |
| 164 | chapter of the Emacs manual. | 172 | chapter of the Emacs manual. |
| 165 | 173 | ||
| 166 | To get Emacs with image support, configure with one or more of these | 174 | For image support you may have to download, build, and install the |
| 167 | options: | 175 | appropriate image support libraries for image types other than XBM and |
| 176 | PBM, see the list of URLs in "ADDITIONAL DISTRIBUTION FILES" above. | ||
| 177 | (Note that PNG support requires libz in addition to libpng.) | ||
| 168 | 178 | ||
| 169 | --with-xpm for XPM image support | 179 | To disable individual types of image support in Emacs for some reason, |
| 170 | --with-jpeg for JPEG image support | 180 | even though configure finds the libraries, you can configure with one |
| 171 | --with-tiff for TIFF image support | 181 | or more of these options: |
| 172 | --with-gif for GIF image support | ||
| 173 | --with-png for PNG image support | ||
| 174 | 182 | ||
| 175 | You will have to download, build, and install the appropriate image | 183 | --without-xpm for XPM image support |
| 176 | support libraries, see the list of URLs in "ADDITIONAL DISTRIBUTION | 184 | --without-jpeg for JPEG image support |
| 177 | FILES" above. (Note that configuring --with-png requires Zlib in | 185 | --without-tiff for TIFF image support |
| 178 | addition to libpng.) | 186 | --without-gif for GIF image support |
| 187 | --without-png for PNG image support | ||
| 179 | 188 | ||
| 180 | The `--prefix=PREFIXDIR' option specifies where the installation process | 189 | The `--prefix=PREFIXDIR' option specifies where the installation process |
| 181 | should put emacs and its data files. This defaults to `/usr/local'. | 190 | should put emacs and its data files. This defaults to `/usr/local'. |