Changeset 1648
- Timestamp:
- 02/16/07 16:47:04
- Files:
-
- trunk/INSTALL (modified) (11 diffs)
- trunk/Makefile.am (modified) (1 diff)
- trunk/autogen.sh (modified) (1 diff)
- trunk/configure.ac (modified) (1 diff)
- trunk/tests/Makefile.am (modified) (1 diff)
- trunk/tests/c-demo (moved) (moved from trunk/tests/tinymail)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/INSTALL
r1 r1648 1 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software 2 Foundation, Inc. 3 4 This file is free documentation; the Free Software Foundation gives 1 Installation Instructions 2 ************************* 3 4 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free 5 Software Foundation, Inc. 6 7 This file is free documentation; the Free Software Foundation gives 5 8 unlimited permission to copy, distribute and modify it. 6 9 … … 8 11 ================== 9 12 10 These are generic installation instructions.13 These are generic installation instructions. 11 14 12 15 The `configure' shell script attempts to guess correct values for … … 68 71 ===================== 69 72 70 Some systems require unusual options for compilation or linking that 71 the `configure' script does not know about. Run `./configure --help' 72 fordetails on some of the pertinent environment variables.73 Some systems require unusual options for compilation or linking that the 74 `configure' script does not know about. Run `./configure --help' for 75 details on some of the pertinent environment variables. 73 76 74 77 You can give `configure' initial values for configuration parameters … … 83 86 ==================================== 84 87 85 You can compile the package for more than one kind of computer at the88 You can compile the package for more than one kind of computer at the 86 89 same time, by placing the object files for each architecture in their 87 90 own directory. To do this, you must use a version of `make' that … … 100 103 ================== 101 104 102 By default, `make install' will install the package's files in 103 `/usr/local/bin', `/usr/local/man', etc. You can specify an104 installation prefix other than `/usr/local' by giving `configure' the 105 option `--prefix=PATH'.105 By default, `make install' installs the package's commands under 106 `/usr/local/bin', include files under `/usr/local/include', etc. You 107 can specify an installation prefix other than `/usr/local' by giving 108 `configure' the option `--prefix=PREFIX'. 106 109 107 110 You can specify separate installation prefixes for 108 111 architecture-specific files and architecture-independent files. If you 109 give `configure' the option `--exec-prefix=PATH', the package will use 110 P ATHas the prefix for installing programs and libraries.111 Documentation and other data files willstill use the regular prefix.112 pass the option `--exec-prefix=PREFIX' to `configure', the package uses 113 PREFIX as the prefix for installing programs and libraries. 114 Documentation and other data files still use the regular prefix. 112 115 113 116 In addition, if you use an unusual directory layout you can give 114 options like `--bindir= PATH' to specify different values for particular117 options like `--bindir=DIR' to specify different values for particular 115 118 kinds of files. Run `configure --help' for a list of the directories 116 119 you can set and what kinds of files go in them. … … 123 126 ================= 124 127 125 Some packages pay attention to `--enable-FEATURE' options to128 Some packages pay attention to `--enable-FEATURE' options to 126 129 `configure', where FEATURE indicates an optional part of the package. 127 130 They may also pay attention to `--with-PACKAGE' options, where PACKAGE … … 138 141 ========================== 139 142 140 There may be some features `configure' cannot figure out 141 automatically, but needs to determine by the type of machine the package 142 will run on. Usually, assuming the package is built to be run on the 143 _same_ architectures, `configure' can figure that out, but if it prints 144 amessage saying it cannot guess the machine type, give it the143 There may be some features `configure' cannot figure out automatically, 144 but needs to determine by the type of machine the package will run on. 145 Usually, assuming the package is built to be run on the _same_ 146 architectures, `configure' can figure that out, but if it prints a 147 message saying it cannot guess the machine type, give it the 145 148 `--build=TYPE' option. TYPE can either be a short name for the system 146 149 type, such as `sun4', or a canonical name which has the form: … … 157 160 158 161 If you are _building_ compiler tools for cross-compiling, you should 159 use the `--target=TYPE' optionto select the type of system they will162 use the option `--target=TYPE' to select the type of system they will 160 163 produce code for. 161 164 … … 168 171 ================ 169 172 170 If you want to set default values for `configure' scripts to share, 171 you can create a site shell script called `config.site' that gives 172 defaultvalues for variables like `CC', `cache_file', and `prefix'.173 If you want to set default values for `configure' scripts to share, you 174 can create a site shell script called `config.site' that gives default 175 values for variables like `CC', `cache_file', and `prefix'. 173 176 `configure' looks for `PREFIX/share/config.site' if it exists, then 174 177 `PREFIX/etc/config.site' if it exists. Or, you can set the … … 179 182 ================== 180 183 181 Variables not defined in a site shell script can be set in the184 Variables not defined in a site shell script can be set in the 182 185 environment passed to `configure'. However, some packages may run 183 186 configure again during the build, and the customized values of these … … 187 190 ./configure CC=/usr/local2/bin/gcc 188 191 189 will cause the specified gcc to be used as the C compiler (unless it is 190 overridden in the site shell script). 192 causes the specified `gcc' to be used as the C compiler (unless it is 193 overridden in the site shell script). Here is a another example: 194 195 /bin/bash ./configure CONFIG_SHELL=/bin/bash 196 197 Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent 198 configuration-related scripts to be executed by `/bin/bash'. 191 199 192 200 `configure' Invocation 193 201 ====================== 194 202 195 `configure' recognizes the following options to control how it 196 operates. 203 `configure' recognizes the following options to control how it operates. 197 204 198 205 `--help' trunk/Makefile.am
r1647 r1648 51 51 libtinymailui-gtk \ 52 52 libtinymail-camel \ 53 tinymaildocs \53 docs \ 54 54 libtinymail-test tests \ 55 55 bindings po \ trunk/autogen.sh
r1647 r1648 10 10 11 11 (test -f $srcdir/configure.ac \ 12 && test -f $srcdir/ tests/tinymail/tny-main.c) || {12 && test -f $srcdir/libtinymail/tny-folder.c) || { 13 13 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" 14 14 echo " top-level $PKG_NAME directory" trunk/configure.ac
r1647 r1648 397 397 libtinymail-test/Makefile 398 398 tests/Makefile 399 tests/ tinymail/Makefile399 tests/c-demo/Makefile 400 400 tests/shared/Makefile 401 401 tests/python-demo/Makefile trunk/tests/Makefile.am
r1647 r1648 2 2 3 3 if BUILD_DEMOUI 4 SUBDIRS += tinymail4 SUBDIRS += c-demo 5 5 endif 6 6
