Mercurial > pidgin.yaz
annotate console/libgnt/INSTALL @ 14693:ae0136b0a3ae
[gaim-migrate @ 17445]
Patch #1569730 from Richard Nelson (wabz):
"This patch adds a "Clear" button, timestamp and pause
options, and stops it scrolling down if it's scrolled up."
and
"Also gives the debug window a name, so window managers
can more easily have their way with it."
These changes make the debug window a whole lot more usable.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 08 Oct 2006 03:56:06 +0000 |
parents | da1046158b3b |
children |
rev | line source |
---|---|
13891
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
1 Copyright 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
2 Foundation, Inc. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
3 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
4 This file is free documentation; the Free Software Foundation gives |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
5 unlimited permission to copy, distribute and modify it. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
6 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
7 Basic Installation |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
8 ================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
9 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
10 These are generic installation instructions. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
11 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
12 The `configure' shell script attempts to guess correct values for |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
13 various system-dependent variables used during compilation. It uses |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
14 those values to create a `Makefile' in each directory of the package. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
15 It may also create one or more `.h' files containing system-dependent |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
16 definitions. Finally, it creates a shell script `config.status' that |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
17 you can run in the future to recreate the current configuration, and a |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
18 file `config.log' containing compiler output (useful mainly for |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
19 debugging `configure'). |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
20 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
21 It can also use an optional file (typically called `config.cache' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
22 and enabled with `--cache-file=config.cache' or simply `-C') that saves |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
23 the results of its tests to speed up reconfiguring. (Caching is |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
24 disabled by default to prevent problems with accidental use of stale |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
25 cache files.) |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
26 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
27 If you need to do unusual things to compile the package, please try |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
28 to figure out how `configure' could check whether to do them, and mail |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
29 diffs or instructions to the address given in the `README' so they can |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
30 be considered for the next release. If you are using the cache, and at |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
31 some point `config.cache' contains results you don't want to keep, you |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
32 may remove or edit it. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
33 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
34 The file `configure.ac' (or `configure.in') is used to create |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
35 `configure' by a program called `autoconf'. You only need |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
36 `configure.ac' if you want to change it or regenerate `configure' using |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
37 a newer version of `autoconf'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
38 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
39 The simplest way to compile this package is: |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
40 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
41 1. `cd' to the directory containing the package's source code and type |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
42 `./configure' to configure the package for your system. If you're |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
43 using `csh' on an old version of System V, you might need to type |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
44 `sh ./configure' instead to prevent `csh' from trying to execute |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
45 `configure' itself. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
46 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
47 Running `configure' takes awhile. While running, it prints some |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
48 messages telling which features it is checking for. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
49 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
50 2. Type `make' to compile the package. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
51 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
52 3. Optionally, type `make check' to run any self-tests that come with |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
53 the package. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
54 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
55 4. Type `make install' to install the programs and any data files and |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
56 documentation. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
57 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
58 5. You can remove the program binaries and object files from the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
59 source code directory by typing `make clean'. To also remove the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
60 files that `configure' created (so you can compile the package for |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
61 a different kind of computer), type `make distclean'. There is |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
62 also a `make maintainer-clean' target, but that is intended mainly |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
63 for the package's developers. If you use it, you may have to get |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
64 all sorts of other programs in order to regenerate files that came |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
65 with the distribution. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
66 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
67 Compilers and Options |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
68 ===================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
69 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
70 Some systems require unusual options for compilation or linking that |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
71 the `configure' script does not know about. Run `./configure --help' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
72 for details on some of the pertinent environment variables. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
73 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
74 You can give `configure' initial values for configuration parameters |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
75 by setting variables in the command line or in the environment. Here |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
76 is an example: |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
77 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
78 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
79 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
80 *Note Defining Variables::, for more details. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
81 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
82 Compiling For Multiple Architectures |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
83 ==================================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
84 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
85 You can compile the package for more than one kind of computer at the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
86 same time, by placing the object files for each architecture in their |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
87 own directory. To do this, you must use a version of `make' that |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
88 supports the `VPATH' variable, such as GNU `make'. `cd' to the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
89 directory where you want the object files and executables to go and run |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
90 the `configure' script. `configure' automatically checks for the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
91 source code in the directory that `configure' is in and in `..'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
92 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
93 If you have to use a `make' that does not support the `VPATH' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
94 variable, you have to compile the package for one architecture at a |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
95 time in the source code directory. After you have installed the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
96 package for one architecture, use `make distclean' before reconfiguring |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
97 for another architecture. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
98 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
99 Installation Names |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
100 ================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
101 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
102 By default, `make install' will install the package's files in |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
103 `/usr/local/bin', `/usr/local/man', etc. You can specify an |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
104 installation prefix other than `/usr/local' by giving `configure' the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
105 option `--prefix=PATH'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
106 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
107 You can specify separate installation prefixes for |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
108 architecture-specific files and architecture-independent files. If you |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
109 give `configure' the option `--exec-prefix=PATH', the package will use |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
110 PATH as the prefix for installing programs and libraries. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
111 Documentation and other data files will still use the regular prefix. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
112 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
113 In addition, if you use an unusual directory layout you can give |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
114 options like `--bindir=PATH' to specify different values for particular |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
115 kinds of files. Run `configure --help' for a list of the directories |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
116 you can set and what kinds of files go in them. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
117 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
118 If the package supports it, you can cause programs to be installed |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
119 with an extra prefix or suffix on their names by giving `configure' the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
120 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
121 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
122 Optional Features |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
123 ================= |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
124 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
125 Some packages pay attention to `--enable-FEATURE' options to |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
126 `configure', where FEATURE indicates an optional part of the package. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
127 They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
128 is something like `gnu-as' or `x' (for the X Window System). The |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
129 `README' should mention any `--enable-' and `--with-' options that the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
130 package recognizes. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
131 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
132 For packages that use the X Window System, `configure' can usually |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
133 find the X include and library files automatically, but if it doesn't, |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
134 you can use the `configure' options `--x-includes=DIR' and |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
135 `--x-libraries=DIR' to specify their locations. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
136 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
137 Specifying the System Type |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
138 ========================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
139 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
140 There may be some features `configure' cannot figure out |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
141 automatically, but needs to determine by the type of machine the package |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
142 will run on. Usually, assuming the package is built to be run on the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
143 _same_ architectures, `configure' can figure that out, but if it prints |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
144 a message saying it cannot guess the machine type, give it the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
145 `--build=TYPE' option. TYPE can either be a short name for the system |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
146 type, such as `sun4', or a canonical name which has the form: |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
147 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
148 CPU-COMPANY-SYSTEM |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
149 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
150 where SYSTEM can have one of these forms: |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
151 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
152 OS KERNEL-OS |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
153 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
154 See the file `config.sub' for the possible values of each field. If |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
155 `config.sub' isn't included in this package, then this package doesn't |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
156 need to know the machine type. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
157 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
158 If you are _building_ compiler tools for cross-compiling, you should |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
159 use the `--target=TYPE' option to select the type of system they will |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
160 produce code for. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
161 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
162 If you want to _use_ a cross compiler, that generates code for a |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
163 platform different from the build platform, you should specify the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
164 "host" platform (i.e., that on which the generated programs will |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
165 eventually be run) with `--host=TYPE'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
166 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
167 Sharing Defaults |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
168 ================ |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
169 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
170 If you want to set default values for `configure' scripts to share, |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
171 you can create a site shell script called `config.site' that gives |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
172 default values for variables like `CC', `cache_file', and `prefix'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
173 `configure' looks for `PREFIX/share/config.site' if it exists, then |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
174 `PREFIX/etc/config.site' if it exists. Or, you can set the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
175 `CONFIG_SITE' environment variable to the location of the site script. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
176 A warning: not all `configure' scripts look for a site script. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
177 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
178 Defining Variables |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
179 ================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
180 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
181 Variables not defined in a site shell script can be set in the |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
182 environment passed to `configure'. However, some packages may run |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
183 configure again during the build, and the customized values of these |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
184 variables may be lost. In order to avoid this problem, you should set |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
185 them in the `configure' command line, using `VAR=value'. For example: |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
186 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
187 ./configure CC=/usr/local2/bin/gcc |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
188 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
189 will cause the specified gcc to be used as the C compiler (unless it is |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
190 overridden in the site shell script). |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
191 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
192 `configure' Invocation |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
193 ====================== |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
194 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
195 `configure' recognizes the following options to control how it |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
196 operates. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
197 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
198 `--help' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
199 `-h' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
200 Print a summary of the options to `configure', and exit. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
201 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
202 `--version' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
203 `-V' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
204 Print the version of Autoconf used to generate the `configure' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
205 script, and exit. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
206 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
207 `--cache-file=FILE' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
208 Enable the cache: use and save the results of the tests in FILE, |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
209 traditionally `config.cache'. FILE defaults to `/dev/null' to |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
210 disable caching. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
211 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
212 `--config-cache' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
213 `-C' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
214 Alias for `--cache-file=config.cache'. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
215 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
216 `--quiet' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
217 `--silent' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
218 `-q' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
219 Do not print messages saying which checks are being made. To |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
220 suppress all normal output, redirect it to `/dev/null' (any error |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
221 messages will still be shown). |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
222 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
223 `--srcdir=DIR' |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
224 Look for the package's source code in directory DIR. Usually |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
225 `configure' can determine that directory automatically. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
226 |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
227 `configure' also accepts some other, not widely useful, options. Run |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
228 `configure --help' for more details. |
da1046158b3b
[gaim-migrate @ 16374]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
229 |