comparison INSTALL @ 33678:22b21b3ab3b0

Modify stuff about image libraries.
author Dave Love <fx@gnu.org>
date Tue, 21 Nov 2000 14:32:05 +0000
parents 26131b1a1dc1
children c41a9a242fed
comparison
equal deleted inserted replaced
33677:131dfbc3b5d1 33678:22b21b3ab3b0
74 * Elisp: (elisp). The Emacs Lisp Reference Manual. 74 * Elisp: (elisp). The Emacs Lisp Reference Manual.
75 75
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:
95 103
96 (This is for a Unix or Unix-like system. For MSDOS, see below; search 104 (This is for a Unix or Unix-like system. For MSDOS, see below; search
161 Kerberos-authenticated POP add `--with-kerberos', for Hesiod support 169 Kerberos-authenticated POP add `--with-kerberos', for Hesiod support
162 add `--with-hesiod'. These options enable Emacs to use POP; whether 170 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
168 176 PBM, see the list of URLs in "ADDITIONAL DISTRIBUTION FILES" above.
169 --with-xpm for XPM image support 177 (Note that PNG support requires libz in addition to libpng.)
170 --with-jpeg for JPEG image support 178
171 --with-tiff for TIFF image support 179 To disable individual types of image support in Emacs for some reason,
172 --with-gif for GIF image support 180 even though configure finds the libraries, you can configure with one
173 --with-png for PNG image support 181 or more of these options:
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'.
182 - Emacs (and the other utilities users run) go in PREFIXDIR/bin 191 - Emacs (and the other utilities users run) go in PREFIXDIR/bin
183 (unless the `--exec-prefix' option says otherwise). 192 (unless the `--exec-prefix' option says otherwise).