comparison INSTALL @ 77540:a04ea5f96dad

(DETAILED BUILDING AND INSTALLATION): Fix typo.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 24 Apr 2007 14:24:20 +0000
parents c853532ee388
children 42f5a52dbf4b d823156fd547
comparison
equal deleted inserted replaced
77539:d9dee3a4f5d6 77540:a04ea5f96dad
296 --without-tiff for TIFF image support 296 --without-tiff for TIFF image support
297 --without-gif for GIF image support 297 --without-gif for GIF image support
298 --without-png for PNG image support 298 --without-png for PNG image support
299 299
300 Use --without-toolkit-scroll-bars to disable LessTif/Motif or Xaw3d 300 Use --without-toolkit-scroll-bars to disable LessTif/Motif or Xaw3d
301 scroll bars. 301 scroll bars.
302 302
303 Use --without-xim to inhibit the default use of X Input Methods. In 303 Use --without-xim to inhibit the default use of X Input Methods. In
304 this case, the X resource useXIM can be used to turn on use of XIM. 304 this case, the X resource useXIM can be used to turn on use of XIM.
305 305
306 Use --disable-largefile omits support for files larger than 2GB on 306 Use --disable-largefile omits support for files larger than 2GB on
307 systems which support that. 307 systems which support that.
308 308
309 Use --without-sound to disable sound support. 309 Use --without-sound to disable sound support.
310 310
311 The `--prefix=PREFIXDIR' option specifies where the installation process 311 The `--prefix=PREFIXDIR' option specifies where the installation process
312 should put emacs and its data files. This defaults to `/usr/local'. 312 should put emacs and its data files. This defaults to `/usr/local'.
362 362
363 Some tests might fail because the compiler should look in special 363 Some tests might fail because the compiler should look in special
364 directories for some header files, or link against optional 364 directories for some header files, or link against optional
365 libraries, or use special compilation options. You can force 365 libraries, or use special compilation options. You can force
366 `configure' and the build process which follows it to do that by 366 `configure' and the build process which follows it to do that by
367 setting the variables CPPFLGS, CFLAGS, LDFLAGS, LIBS, CPP and CC before 367 setting the variables CPPFLAGS, CFLAGS, LDFLAGS, LIBS, CPP and CC
368 running `configure'. CPP is the command which invokes the 368 before running `configure'. CPP is the command which invokes the
369 preprocessor, CPPFLAGS lists the options passed to it, CFLAGS are 369 preprocessor, CPPFLAGS lists the options passed to it, CFLAGS are
370 compilation options, LDFLAGS are options used when linking, LIBS are 370 compilation options, LDFLAGS are options used when linking, LIBS are
371 libraries to link against, and CC is the command which invokes the 371 libraries to link against, and CC is the command which invokes the
372 compiler. 372 compiler.
373 373
382 files (in addition to the standard directories), instruct the linker 382 files (in addition to the standard directories), instruct the linker
383 to look in `/bar/mylib' for libraries, pass the -O3 optimization 383 to look in `/bar/mylib' for libraries, pass the -O3 optimization
384 switch to the compiler, and link against libfoo.a and libbar.a 384 switch to the compiler, and link against libfoo.a and libbar.a
385 libraries in addition to the standard ones. 385 libraries in addition to the standard ones.
386 386
387 For some libraries, like Gtk+, fontconfig and ALSA, `configure' use 387 For some libraries, like Gtk+, fontconfig and ALSA, `configure' use
388 pkg-config to find where those libraries are installed. 388 pkg-config to find where those libraries are installed.
389 If you want pkg-config to look in special directories, you have to set 389 If you want pkg-config to look in special directories, you have to set
390 the environment variable PKG_CONFIG_PATH to point to the directories 390 the environment variable PKG_CONFIG_PATH to point to the directories
391 where the .pc-files for those libraries are. 391 where the .pc-files for those libraries are.
392 For example: 392 For example:
393 393
394 PKG_CONFIG_PATH='/usr/local/alsa/lib/pkgconfig:/opt/gtk+-2.8/lib/pkgconfig' \ 394 PKG_CONFIG_PATH='/usr/local/alsa/lib/pkgconfig:/opt/gtk+-2.8/lib/pkgconfig' \
395 ./configure 395 ./configure