Imported Upstream version 3.0.3
Axel Beckert
10 years ago
85 | 85 | public domain. |
86 | 86 | * src/md5.[ch] contain code by L. Peter Deutsch whose copyright is held by |
87 | 87 | Aladdin Enterprises. |
88 | * src/tipwin.cc contains code by Greg Ercolano. |
5 | 5 | user. For a history of changes in full detail, see our Mercurial repository |
6 | 6 | at http://hg.dillo.org/dillo |
7 | 7 | |
8 | ||
9 | dillo-3.0.3 [April 17, 2013] | |
10 | ||
11 | +- Support for CSS display property | |
12 | - Replace polling in DNS with a pipe. | |
13 | - Packed trie to optimize hyphenator memory consumption. | |
14 | - Fix crash in datauri dpi. | |
15 | - Speed up DNS requests when ipv6 isn't enabled. | |
16 | Patches: Johannes Hofmann | |
17 | +- Fix image input coordinates (BUG#1070) | |
18 | - When location bar is given focus, temporarily show panels if hidden | |
19 | (BUG#1093). | |
20 | - Fix bug where data URI has charset but no media type. | |
21 | - Bug meter line number fix for bare carriage returns. | |
22 | - Add some more info to various bug meter messages. | |
23 | - For text selection, fix releasing mouse button outside of boundary. | |
24 | - While selecting text, moving cursor outside viewport will scroll it. | |
25 | - Make form resetting work for <select>. | |
26 | - Never leave location bar empty when requesting page (BUG#1113). | |
27 | - Some improvements to tab navigation of form widgets (includes BUG#1111). | |
28 | - Don't let form input widget insert literal control chars (BUG#1110). | |
29 | - Assorted improvements to browser usability from the keyboard. | |
30 | - Added user interface color preferences (ui_*). | |
31 | - Removed show_url preference. | |
32 | Patches: corvid | |
33 | +- Automatic hyphenation (includes penalty_* preferences that control | |
34 | line-breaking). | |
35 | Patch: Sebastian Geerken | |
36 | +- Added the "view-source" keybinding (default: Ctrl-U). | |
37 | Patch: Alexander Voigt | |
38 | +- Introduced the domainrc mechanism for finer-grained control than | |
39 | filter_auto_requests had provided. | |
40 | Patch: p37sitdu, corvid | |
41 | +- After focusing option menu, keypress will seek to next one beginning with | |
42 | that character. | |
43 | - When active tab is closed, focus the last one visited or opened. | |
44 | - Fixed a bug in dpip when dillo aborts a running dpi connection. | |
45 | Patches: Jorge Arellano Cid | |
46 | +- Better window titles. | |
47 | - Show dialog if saved file would overwrite an existing one. | |
48 | Patches: Jeremy Henty | |
49 | +- Remove hardcoded UI colors. | |
50 | Patch: Benjamin Johnson, corvid | |
51 | +- Fix fd leak in dpi write failure case. | |
52 | Patch: p37sitdu, Jorge Arellano Cid | |
53 | ||
54 | ----------------------------------------------------------------------------- | |
8 | 55 | |
9 | 56 | dillo-3.0.2 [December 05, 2011] |
10 | 57 |
0 | Installation Instructions | |
1 | ************************* | |
2 | ||
3 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | |
4 | 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
5 | ||
6 | Copying and distribution of this file, with or without modification, | |
7 | are permitted in any medium without royalty provided the copyright | |
8 | notice and this notice are preserved. This file is offered as-is, | |
9 | without warranty of any kind. | |
10 | ||
0 | 11 | Basic Installation |
1 | 12 | ================== |
2 | 13 | |
3 | These are generic installation instructions. | |
14 | Briefly, the shell commands `./configure; make; make install' should | |
15 | configure, build, and install this package. The following | |
16 | more-detailed instructions are generic; see the `README' file for | |
17 | instructions specific to this package. Some packages provide this | |
18 | `INSTALL' file but do not implement all of the features documented | |
19 | below. The lack of an optional feature in a given package is not | |
20 | necessarily a bug. More recommendations for GNU packages can be found | |
21 | in *note Makefile Conventions: (standards)Makefile Conventions. | |
4 | 22 | |
5 | 23 | The `configure' shell script attempts to guess correct values for |
6 | 24 | various system-dependent variables used during compilation. It uses |
7 | 25 | those values to create a `Makefile' in each directory of the package. |
8 | 26 | It may also create one or more `.h' files containing system-dependent |
9 | 27 | definitions. Finally, it creates a shell script `config.status' that |
10 | you can run in the future to recreate the current configuration, a file | |
11 | `config.cache' that saves the results of its tests to speed up | |
12 | reconfiguring, and a file `config.log' containing compiler output | |
13 | (useful mainly for debugging `configure'). | |
28 | you can run in the future to recreate the current configuration, and a | |
29 | file `config.log' containing compiler output (useful mainly for | |
30 | debugging `configure'). | |
31 | ||
32 | It can also use an optional file (typically called `config.cache' | |
33 | and enabled with `--cache-file=config.cache' or simply `-C') that saves | |
34 | the results of its tests to speed up reconfiguring. Caching is | |
35 | disabled by default to prevent problems with accidental use of stale | |
36 | cache files. | |
14 | 37 | |
15 | 38 | If you need to do unusual things to compile the package, please try |
16 | 39 | to figure out how `configure' could check whether to do them, and mail |
17 | 40 | diffs or instructions to the address given in the `README' so they can |
18 | be considered for the next release. If at some point `config.cache' | |
19 | contains results you don't want to keep, you may remove or edit it. | |
20 | ||
21 | The file `configure.in' is used to create `configure' by a program | |
22 | called `autoconf'. You only need `configure.in' if you want to change | |
23 | it or regenerate `configure' using a newer version of `autoconf'. | |
24 | ||
25 | The simplest way to compile this package is: | |
41 | be considered for the next release. If you are using the cache, and at | |
42 | some point `config.cache' contains results you don't want to keep, you | |
43 | may remove or edit it. | |
44 | ||
45 | The file `configure.ac' (or `configure.in') is used to create | |
46 | `configure' by a program called `autoconf'. You need `configure.ac' if | |
47 | you want to change it or regenerate `configure' using a newer version | |
48 | of `autoconf'. | |
49 | ||
50 | The simplest way to compile this package is: | |
26 | 51 | |
27 | 52 | 1. `cd' to the directory containing the package's source code and type |
28 | `./configure' to configure the package for your system. If you're | |
29 | using `csh' on an old version of System V, you might need to type | |
30 | `sh ./configure' instead to prevent `csh' from trying to execute | |
31 | `configure' itself. | |
32 | ||
33 | Running `configure' takes a while. While running, it prints some | |
34 | messages telling which features it is checking for. | |
53 | `./configure' to configure the package for your system. | |
54 | ||
55 | Running `configure' might take a while. While running, it prints | |
56 | some messages telling which features it is checking for. | |
35 | 57 | |
36 | 58 | 2. Type `make' to compile the package. |
37 | 59 | |
38 | 60 | 3. Optionally, type `make check' to run any self-tests that come with |
39 | the package. | |
61 | the package, generally using the just-built uninstalled binaries. | |
40 | 62 | |
41 | 63 | 4. Type `make install' to install the programs and any data files and |
42 | documentation. | |
43 | ||
44 | 5. You can remove the program binaries and object files from the | |
64 | documentation. When installing into a prefix owned by root, it is | |
65 | recommended that the package be configured and built as a regular | |
66 | user, and only the `make install' phase executed with root | |
67 | privileges. | |
68 | ||
69 | 5. Optionally, type `make installcheck' to repeat any self-tests, but | |
70 | this time using the binaries in their final installed location. | |
71 | This target does not install anything. Running this target as a | |
72 | regular user, particularly if the prior `make install' required | |
73 | root privileges, verifies that the installation completed | |
74 | correctly. | |
75 | ||
76 | 6. You can remove the program binaries and object files from the | |
45 | 77 | source code directory by typing `make clean'. To also remove the |
46 | 78 | files that `configure' created (so you can compile the package for |
47 | 79 | a different kind of computer), type `make distclean'. There is |
50 | 82 | all sorts of other programs in order to regenerate files that came |
51 | 83 | with the distribution. |
52 | 84 | |
85 | 7. Often, you can also type `make uninstall' to remove the installed | |
86 | files again. In practice, not all packages have tested that | |
87 | uninstallation works correctly, even though it is required by the | |
88 | GNU Coding Standards. | |
89 | ||
90 | 8. Some packages, particularly those that use Automake, provide `make | |
91 | distcheck', which can by used by developers to test that all other | |
92 | targets like `make install' and `make uninstall' work correctly. | |
93 | This target is generally not run by end users. | |
94 | ||
53 | 95 | Compilers and Options |
54 | 96 | ===================== |
55 | 97 | |
56 | 98 | Some systems require unusual options for compilation or linking that |
57 | the `configure' script does not know about. You can give `configure' | |
58 | initial values for variables by setting them in the environment. Using | |
59 | a Bourne-compatible shell, you can do that on the command line like | |
60 | this: | |
61 | CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure | |
62 | ||
63 | Or on systems that have the `env' program, you can do it like this: | |
64 | env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure | |
99 | the `configure' script does not know about. Run `./configure --help' | |
100 | for details on some of the pertinent environment variables. | |
101 | ||
102 | You can give `configure' initial values for configuration parameters | |
103 | by setting variables in the command line or in the environment. Here | |
104 | is an example: | |
105 | ||
106 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix | |
107 | ||
108 | *Note Defining Variables::, for more details. | |
65 | 109 | |
66 | 110 | Compiling For Multiple Architectures |
67 | 111 | ==================================== |
68 | 112 | |
69 | 113 | You can compile the package for more than one kind of computer at the |
70 | 114 | same time, by placing the object files for each architecture in their |
71 | own directory. To do this, you must use a version of `make' that | |
72 | supports the `VPATH' variable, such as GNU `make'. `cd' to the | |
115 | own directory. To do this, you can use GNU `make'. `cd' to the | |
73 | 116 | directory where you want the object files and executables to go and run |
74 | 117 | the `configure' script. `configure' automatically checks for the |
75 | source code in the directory that `configure' is in and in `..'. | |
76 | ||
77 | If you have to use a `make' that does not supports the `VPATH' | |
78 | variable, you have to compile the package for one architecture at a time | |
79 | in the source code directory. After you have installed the package for | |
80 | one architecture, use `make distclean' before reconfiguring for another | |
81 | architecture. | |
118 | source code in the directory that `configure' is in and in `..'. This | |
119 | is known as a "VPATH" build. | |
120 | ||
121 | With a non-GNU `make', it is safer to compile the package for one | |
122 | architecture at a time in the source code directory. After you have | |
123 | installed the package for one architecture, use `make distclean' before | |
124 | reconfiguring for another architecture. | |
125 | ||
126 | On MacOS X 10.5 and later systems, you can create libraries and | |
127 | executables that work on multiple system types--known as "fat" or | |
128 | "universal" binaries--by specifying multiple `-arch' options to the | |
129 | compiler but only a single `-arch' option to the preprocessor. Like | |
130 | this: | |
131 | ||
132 | ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | |
133 | CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | |
134 | CPP="gcc -E" CXXCPP="g++ -E" | |
135 | ||
136 | This is not guaranteed to produce working output in all cases, you | |
137 | may have to build one architecture at a time and combine the results | |
138 | using the `lipo' tool if you have problems. | |
82 | 139 | |
83 | 140 | Installation Names |
84 | 141 | ================== |
85 | 142 | |
86 | By default, `make install' will install the package's files in | |
87 | `/usr/local/bin', `/usr/local/man', etc. You can specify an | |
88 | installation prefix other than `/usr/local' by giving `configure' the | |
89 | option `--prefix=PATH'. | |
143 | By default, `make install' installs the package's commands under | |
144 | `/usr/local/bin', include files under `/usr/local/include', etc. You | |
145 | can specify an installation prefix other than `/usr/local' by giving | |
146 | `configure' the option `--prefix=PREFIX', where PREFIX must be an | |
147 | absolute file name. | |
90 | 148 | |
91 | 149 | You can specify separate installation prefixes for |
92 | 150 | architecture-specific files and architecture-independent files. If you |
93 | give `configure' the option `--exec-prefix=PATH', the package will use | |
94 | PATH as the prefix for installing programs and libraries. | |
95 | Documentation and other data files will still use the regular prefix. | |
151 | pass the option `--exec-prefix=PREFIX' to `configure', the package uses | |
152 | PREFIX as the prefix for installing programs and libraries. | |
153 | Documentation and other data files still use the regular prefix. | |
154 | ||
155 | In addition, if you use an unusual directory layout you can give | |
156 | options like `--bindir=DIR' to specify different values for particular | |
157 | kinds of files. Run `configure --help' for a list of the directories | |
158 | you can set and what kinds of files go in them. In general, the | |
159 | default for these options is expressed in terms of `${prefix}', so that | |
160 | specifying just `--prefix' will affect all of the other directory | |
161 | specifications that were not explicitly provided. | |
162 | ||
163 | The most portable way to affect installation locations is to pass the | |
164 | correct locations to `configure'; however, many packages provide one or | |
165 | both of the following shortcuts of passing variable assignments to the | |
166 | `make install' command line to change installation locations without | |
167 | having to reconfigure or recompile. | |
168 | ||
169 | The first method involves providing an override variable for each | |
170 | affected directory. For example, `make install | |
171 | prefix=/alternate/directory' will choose an alternate location for all | |
172 | directory configuration variables that were expressed in terms of | |
173 | `${prefix}'. Any directories that were specified during `configure', | |
174 | but not in terms of `${prefix}', must each be overridden at install | |
175 | time for the entire installation to be relocated. The approach of | |
176 | makefile variable overrides for each directory variable is required by | |
177 | the GNU Coding Standards, and ideally causes no recompilation. | |
178 | However, some platforms have known limitations with the semantics of | |
179 | shared libraries that end up requiring recompilation when using this | |
180 | method, particularly noticeable in packages that use GNU Libtool. | |
181 | ||
182 | The second method involves providing the `DESTDIR' variable. For | |
183 | example, `make install DESTDIR=/alternate/directory' will prepend | |
184 | `/alternate/directory' before all installation names. The approach of | |
185 | `DESTDIR' overrides is not required by the GNU Coding Standards, and | |
186 | does not work on platforms that have drive letters. On the other hand, | |
187 | it does better at avoiding recompilation issues, and works well even | |
188 | when some directory options were not specified in terms of `${prefix}' | |
189 | at `configure' time. | |
190 | ||
191 | Optional Features | |
192 | ================= | |
96 | 193 | |
97 | 194 | If the package supports it, you can cause programs to be installed |
98 | 195 | with an extra prefix or suffix on their names by giving `configure' the |
99 | 196 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
100 | ||
101 | Optional Features | |
102 | ================= | |
103 | 197 | |
104 | 198 | Some packages pay attention to `--enable-FEATURE' options to |
105 | 199 | `configure', where FEATURE indicates an optional part of the package. |
113 | 207 | you can use the `configure' options `--x-includes=DIR' and |
114 | 208 | `--x-libraries=DIR' to specify their locations. |
115 | 209 | |
210 | Some packages offer the ability to configure how verbose the | |
211 | execution of `make' will be. For these packages, running `./configure | |
212 | --enable-silent-rules' sets the default to minimal output, which can be | |
213 | overridden with `make V=1'; while running `./configure | |
214 | --disable-silent-rules' sets the default to verbose, which can be | |
215 | overridden with `make V=0'. | |
216 | ||
217 | Particular systems | |
218 | ================== | |
219 | ||
220 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU | |
221 | CC is not installed, it is recommended to use the following options in | |
222 | order to use an ANSI C compiler: | |
223 | ||
224 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | |
225 | ||
226 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. | |
227 | ||
228 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | |
229 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as | |
230 | a workaround. If GNU CC is not installed, it is therefore recommended | |
231 | to try | |
232 | ||
233 | ./configure CC="cc" | |
234 | ||
235 | and if that doesn't work, try | |
236 | ||
237 | ./configure CC="cc -nodtk" | |
238 | ||
239 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This | |
240 | directory contains several dysfunctional programs; working variants of | |
241 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | |
242 | in your `PATH', put it _after_ `/usr/bin'. | |
243 | ||
244 | On Haiku, software installed for all users goes in `/boot/common', | |
245 | not `/usr/local'. It is recommended to use the following options: | |
246 | ||
247 | ./configure --prefix=/boot/common | |
248 | ||
116 | 249 | Specifying the System Type |
117 | 250 | ========================== |
118 | 251 | |
119 | There may be some features `configure' can not figure out | |
120 | automatically, but needs to determine by the type of host the package | |
121 | will run on. Usually `configure' can figure that out, but if it prints | |
122 | a message saying it can not guess the host type, give it the | |
123 | `--host=TYPE' option. TYPE can either be a short name for the system | |
124 | type, such as `sun4', or a canonical name with three fields: | |
252 | There may be some features `configure' cannot figure out | |
253 | automatically, but needs to determine by the type of machine the package | |
254 | will run on. Usually, assuming the package is built to be run on the | |
255 | _same_ architectures, `configure' can figure that out, but if it prints | |
256 | a message saying it cannot guess the machine type, give it the | |
257 | `--build=TYPE' option. TYPE can either be a short name for the system | |
258 | type, such as `sun4', or a canonical name which has the form: | |
259 | ||
125 | 260 | CPU-COMPANY-SYSTEM |
126 | 261 | |
127 | See the file `config.sub' for the possible values of each field. If | |
262 | where SYSTEM can have one of these forms: | |
263 | ||
264 | OS | |
265 | KERNEL-OS | |
266 | ||
267 | See the file `config.sub' for the possible values of each field. If | |
128 | 268 | `config.sub' isn't included in this package, then this package doesn't |
129 | need to know the host type. | |
130 | ||
131 | If you are building compiler tools for cross-compiling, you can also | |
132 | use the `--target=TYPE' option to select the type of system they will | |
133 | produce code for and the `--build=TYPE' option to select the type of | |
134 | system on which you are compiling the package. | |
269 | need to know the machine type. | |
270 | ||
271 | If you are _building_ compiler tools for cross-compiling, you should | |
272 | use the option `--target=TYPE' to select the type of system they will | |
273 | produce code for. | |
274 | ||
275 | If you want to _use_ a cross compiler, that generates code for a | |
276 | platform different from the build platform, you should specify the | |
277 | "host" platform (i.e., that on which the generated programs will | |
278 | eventually be run) with `--host=TYPE'. | |
135 | 279 | |
136 | 280 | Sharing Defaults |
137 | 281 | ================ |
144 | 288 | `CONFIG_SITE' environment variable to the location of the site script. |
145 | 289 | A warning: not all `configure' scripts look for a site script. |
146 | 290 | |
147 | Operation Controls | |
291 | Defining Variables | |
148 | 292 | ================== |
293 | ||
294 | Variables not defined in a site shell script can be set in the | |
295 | environment passed to `configure'. However, some packages may run | |
296 | configure again during the build, and the customized values of these | |
297 | variables may be lost. In order to avoid this problem, you should set | |
298 | them in the `configure' command line, using `VAR=value'. For example: | |
299 | ||
300 | ./configure CC=/usr/local2/bin/gcc | |
301 | ||
302 | causes the specified `gcc' to be used as the C compiler (unless it is | |
303 | overridden in the site shell script). | |
304 | ||
305 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to | |
306 | an Autoconf bug. Until the bug is fixed you can use this workaround: | |
307 | ||
308 | CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | |
309 | ||
310 | `configure' Invocation | |
311 | ====================== | |
149 | 312 | |
150 | 313 | `configure' recognizes the following options to control how it |
151 | 314 | operates. |
152 | 315 | |
316 | `--help' | |
317 | `-h' | |
318 | Print a summary of all of the options to `configure', and exit. | |
319 | ||
320 | `--help=short' | |
321 | `--help=recursive' | |
322 | Print a summary of the options unique to this package's | |
323 | `configure', and exit. The `short' variant lists options used | |
324 | only in the top level, while the `recursive' variant lists options | |
325 | also present in any nested packages. | |
326 | ||
327 | `--version' | |
328 | `-V' | |
329 | Print the version of Autoconf used to generate the `configure' | |
330 | script, and exit. | |
331 | ||
153 | 332 | `--cache-file=FILE' |
154 | Use and save the results of the tests in FILE instead of | |
155 | `./config.cache'. Set FILE to `/dev/null' to disable caching, for | |
156 | debugging `configure'. | |
157 | ||
158 | `--help' | |
159 | Print a summary of the options to `configure', and exit. | |
333 | Enable the cache: use and save the results of the tests in FILE, | |
334 | traditionally `config.cache'. FILE defaults to `/dev/null' to | |
335 | disable caching. | |
336 | ||
337 | `--config-cache' | |
338 | `-C' | |
339 | Alias for `--cache-file=config.cache'. | |
160 | 340 | |
161 | 341 | `--quiet' |
162 | 342 | `--silent' |
163 | 343 | `-q' |
164 | Do not print messages saying which checks are being made. | |
344 | Do not print messages saying which checks are being made. To | |
345 | suppress all normal output, redirect it to `/dev/null' (any error | |
346 | messages will still be shown). | |
165 | 347 | |
166 | 348 | `--srcdir=DIR' |
167 | 349 | Look for the package's source code in directory DIR. Usually |
168 | 350 | `configure' can determine that directory automatically. |
169 | 351 | |
170 | `--version' | |
171 | Print the version of Autoconf used to generate the `configure' | |
172 | script, and exit. | |
173 | ||
174 | `configure' also accepts some other, not widely useful, options. | |
175 | ||
352 | `--prefix=DIR' | |
353 | Use DIR as the installation prefix. *note Installation Names:: | |
354 | for more details, including other options available for fine-tuning | |
355 | the installation locations. | |
356 | ||
357 | `--no-create' | |
358 | `-n' | |
359 | Run the configure checks, but stop before creating any output | |
360 | files. | |
361 | ||
362 | `configure' also accepts some other, not widely useful, options. Run | |
363 | `configure --help' for more details. | |
364 |
0 | 0 | SUBDIRS = lout dw dlib dpip src doc dpid dpi test |
1 | ||
2 | dist_bin_SCRIPTS = dillo-install-hyphenation | |
1 | 3 | |
2 | 4 | EXTRA_DIST = Doxyfile dillorc install-dpi-local d_size.h |
3 | 5 |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
6 | 6 | # This Makefile.in is free software; the Free Software Foundation |
7 | 7 | # gives unlimited permission to copy and/or distribute it, |
8 | 8 | # with or without modifications, as long as this notice is preserved. |
14 | 14 | |
15 | 15 | @SET_MAKE@ |
16 | 16 | |
17 | ||
17 | 18 | VPATH = @srcdir@ |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
22 | case $$MAKEFLAGS in \ | |
23 | *\\[\ \ ]*) \ | |
24 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
25 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
26 | *) \ | |
27 | for am__flg in $$MAKEFLAGS; do \ | |
28 | case $$am__flg in \ | |
29 | *=*|--*) ;; \ | |
30 | *n*) am__dry=yes; break;; \ | |
31 | esac; \ | |
32 | done;; \ | |
33 | esac; \ | |
34 | test $$am__dry = yes; \ | |
35 | } | |
18 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
19 | 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
20 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
35 | 53 | host_triplet = @host@ |
36 | 54 | target_triplet = @target@ |
37 | 55 | subdir = . |
38 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | |
39 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | |
40 | $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ | |
41 | config.guess config.sub depcomp install-sh missing | |
56 | DIST_COMMON = README $(am__configure_deps) $(dist_bin_SCRIPTS) \ | |
57 | $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ | |
58 | $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \ | |
59 | ChangeLog INSTALL NEWS config.guess config.sub depcomp \ | |
60 | install-sh missing | |
42 | 61 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
43 | am__aclocal_m4_deps = $(top_srcdir)/configure.in | |
62 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | |
44 | 63 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
45 | 64 | $(ACLOCAL_M4) |
46 | 65 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
49 | 68 | CONFIG_HEADER = config.h |
50 | 69 | CONFIG_CLEAN_FILES = |
51 | 70 | CONFIG_CLEAN_VPATH_FILES = |
52 | SOURCES = | |
53 | DIST_SOURCES = | |
54 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
55 | html-recursive info-recursive install-data-recursive \ | |
56 | install-dvi-recursive install-exec-recursive \ | |
57 | install-html-recursive install-info-recursive \ | |
58 | install-pdf-recursive install-ps-recursive install-recursive \ | |
59 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
60 | ps-recursive uninstall-recursive | |
61 | 71 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
62 | 72 | am__vpath_adj = case $$p in \ |
63 | 73 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
79 | 89 | am__base_list = \ |
80 | 90 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
81 | 91 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
82 | am__installdirs = "$(DESTDIR)$(sysconfdir)" | |
92 | am__uninstall_files_from_dir = { \ | |
93 | test -z "$$files" \ | |
94 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
95 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
96 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
97 | } | |
98 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)" | |
99 | SCRIPTS = $(dist_bin_SCRIPTS) | |
100 | SOURCES = | |
101 | DIST_SOURCES = | |
102 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | |
103 | html-recursive info-recursive install-data-recursive \ | |
104 | install-dvi-recursive install-exec-recursive \ | |
105 | install-html-recursive install-info-recursive \ | |
106 | install-pdf-recursive install-ps-recursive install-recursive \ | |
107 | installcheck-recursive installdirs-recursive pdf-recursive \ | |
108 | ps-recursive uninstall-recursive | |
109 | am__can_run_installinfo = \ | |
110 | case $$AM_UPDATE_INFO_DIR in \ | |
111 | n|no|NO) false;; \ | |
112 | *) (install-info --version) >/dev/null 2>&1;; \ | |
113 | esac | |
83 | 114 | DATA = $(sysconf_DATA) |
84 | 115 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
85 | 116 | distclean-recursive maintainer-clean-recursive |
93 | 124 | distdir = $(PACKAGE)-$(VERSION) |
94 | 125 | top_distdir = $(distdir) |
95 | 126 | am__remove_distdir = \ |
96 | { test ! -d "$(distdir)" \ | |
97 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
98 | && rm -fr "$(distdir)"; }; } | |
127 | if test -d "$(distdir)"; then \ | |
128 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
129 | && rm -rf "$(distdir)" \ | |
130 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | |
131 | else :; fi | |
99 | 132 | am__relativize = \ |
100 | 133 | dir0=`pwd`; \ |
101 | 134 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
124 | 157 | DIST_ARCHIVES = $(distdir).tar.gz |
125 | 158 | GZIP_ENV = --best |
126 | 159 | distuninstallcheck_listfiles = find . -type f -print |
160 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | |
161 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | |
127 | 162 | distcleancheck_listfiles = find . -type f -print |
128 | 163 | ACLOCAL = @ACLOCAL@ |
129 | 164 | AMTAR = @AMTAR@ |
242 | 277 | top_builddir = @top_builddir@ |
243 | 278 | top_srcdir = @top_srcdir@ |
244 | 279 | SUBDIRS = lout dw dlib dpip src doc dpid dpi test |
280 | dist_bin_SCRIPTS = dillo-install-hyphenation | |
245 | 281 | EXTRA_DIST = Doxyfile dillorc install-dpi-local d_size.h |
246 | 282 | sysconf_DATA = dillorc |
247 | 283 | all: config.h |
248 | 284 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
249 | 285 | |
250 | 286 | .SUFFIXES: |
251 | am--refresh: | |
287 | am--refresh: Makefile | |
252 | 288 | @: |
253 | 289 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
254 | 290 | @for dep in $?; do \ |
284 | 320 | $(am__aclocal_m4_deps): |
285 | 321 | |
286 | 322 | config.h: stamp-h1 |
287 | @if test ! -f $@; then \ | |
288 | rm -f stamp-h1; \ | |
289 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
290 | else :; fi | |
323 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
324 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
291 | 325 | |
292 | 326 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
293 | 327 | @rm -f stamp-h1 |
299 | 333 | |
300 | 334 | distclean-hdr: |
301 | 335 | -rm -f config.h stamp-h1 |
336 | install-dist_binSCRIPTS: $(dist_bin_SCRIPTS) | |
337 | @$(NORMAL_INSTALL) | |
338 | @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ | |
339 | if test -n "$$list"; then \ | |
340 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | |
341 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | |
342 | fi; \ | |
343 | for p in $$list; do \ | |
344 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
345 | if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ | |
346 | done | \ | |
347 | sed -e 'p;s,.*/,,;n' \ | |
348 | -e 'h;s|.*|.|' \ | |
349 | -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ | |
350 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ | |
351 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
352 | if ($$2 == $$4) { files[d] = files[d] " " $$1; \ | |
353 | if (++n[d] == $(am__install_max)) { \ | |
354 | print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ | |
355 | else { print "f", d "/" $$4, $$1 } } \ | |
356 | END { for (d in files) print "f", d, files[d] }' | \ | |
357 | while read type dir files; do \ | |
358 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
359 | test -z "$$files" || { \ | |
360 | echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | |
361 | $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | |
362 | } \ | |
363 | ; done | |
364 | ||
365 | uninstall-dist_binSCRIPTS: | |
366 | @$(NORMAL_UNINSTALL) | |
367 | @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ | |
368 | files=`for p in $$list; do echo "$$p"; done | \ | |
369 | sed -e 's,.*/,,;$(transform)'`; \ | |
370 | dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) | |
302 | 371 | install-sysconfDATA: $(sysconf_DATA) |
303 | 372 | @$(NORMAL_INSTALL) |
304 | test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" | |
305 | 373 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ |
374 | if test -n "$$list"; then \ | |
375 | echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \ | |
376 | $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \ | |
377 | fi; \ | |
306 | 378 | for p in $$list; do \ |
307 | 379 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
308 | 380 | echo "$$d$$p"; \ |
316 | 388 | @$(NORMAL_UNINSTALL) |
317 | 389 | @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \ |
318 | 390 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
319 | test -n "$$files" || exit 0; \ | |
320 | echo " ( cd '$(DESTDIR)$(sysconfdir)' && rm -f" $$files ")"; \ | |
321 | cd "$(DESTDIR)$(sysconfdir)" && rm -f $$files | |
391 | dir='$(DESTDIR)$(sysconfdir)'; $(am__uninstall_files_from_dir) | |
322 | 392 | |
323 | 393 | # This directory's subdirectories are mostly independent; you can cd |
324 | 394 | # into them and run `make' without going through this Makefile. |
489 | 559 | done |
490 | 560 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
491 | 561 | if test "$$subdir" = .; then :; else \ |
492 | test -d "$(distdir)/$$subdir" \ | |
493 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
494 | || exit 1; \ | |
495 | fi; \ | |
496 | done | |
497 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
498 | if test "$$subdir" = .; then :; else \ | |
562 | $(am__make_dryrun) \ | |
563 | || test -d "$(distdir)/$$subdir" \ | |
564 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
565 | || exit 1; \ | |
499 | 566 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
500 | 567 | $(am__relativize); \ |
501 | 568 | new_distdir=$$reldir; \ |
527 | 594 | $(am__remove_distdir) |
528 | 595 | |
529 | 596 | dist-bzip2: distdir |
530 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
597 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | |
598 | $(am__remove_distdir) | |
599 | ||
600 | dist-lzip: distdir | |
601 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | |
531 | 602 | $(am__remove_distdir) |
532 | 603 | |
533 | 604 | dist-lzma: distdir |
535 | 606 | $(am__remove_distdir) |
536 | 607 | |
537 | 608 | dist-xz: distdir |
538 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
609 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | |
539 | 610 | $(am__remove_distdir) |
540 | 611 | |
541 | 612 | dist-tarZ: distdir |
566 | 637 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
567 | 638 | *.tar.lzma*) \ |
568 | 639 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
640 | *.tar.lz*) \ | |
641 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | |
569 | 642 | *.tar.xz*) \ |
570 | 643 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
571 | 644 | *.tar.Z*) \ |
575 | 648 | *.zip*) \ |
576 | 649 | unzip $(distdir).zip ;;\ |
577 | 650 | esac |
578 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
651 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
579 | 652 | mkdir $(distdir)/_build |
580 | 653 | mkdir $(distdir)/_inst |
581 | 654 | chmod a-w $(distdir) |
585 | 658 | && am__cwd=`pwd` \ |
586 | 659 | && $(am__cd) $(distdir)/_build \ |
587 | 660 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
661 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | |
588 | 662 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
589 | 663 | && $(MAKE) $(AM_MAKEFLAGS) \ |
590 | 664 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
613 | 687 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
614 | 688 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
615 | 689 | distuninstallcheck: |
616 | @$(am__cd) '$(distuninstallcheck_dir)' \ | |
617 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
690 | @test -n '$(distuninstallcheck_dir)' || { \ | |
691 | echo 'ERROR: trying to run $@ with an empty' \ | |
692 | '$$(distuninstallcheck_dir)' >&2; \ | |
693 | exit 1; \ | |
694 | }; \ | |
695 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | |
696 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | |
697 | exit 1; \ | |
698 | }; \ | |
699 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | |
618 | 700 | || { echo "ERROR: files left after uninstall:" ; \ |
619 | 701 | if test -n "$(DESTDIR)"; then \ |
620 | 702 | echo " (check DESTDIR support)"; \ |
632 | 714 | exit 1; } >&2 |
633 | 715 | check-am: all-am |
634 | 716 | check: check-recursive |
635 | all-am: Makefile $(DATA) config.h | |
717 | all-am: Makefile $(SCRIPTS) $(DATA) config.h | |
636 | 718 | installdirs: installdirs-recursive |
637 | 719 | installdirs-am: |
638 | for dir in "$(DESTDIR)$(sysconfdir)"; do \ | |
720 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)"; do \ | |
639 | 721 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
640 | 722 | done |
641 | 723 | install: install-recursive |
648 | 730 | |
649 | 731 | installcheck: installcheck-recursive |
650 | 732 | install-strip: |
651 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
652 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
653 | `test -z '$(STRIP)' || \ | |
654 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
733 | if test -z '$(STRIP)'; then \ | |
734 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
735 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
736 | install; \ | |
737 | else \ | |
738 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
739 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
740 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
741 | fi | |
655 | 742 | mostlyclean-generic: |
656 | 743 | |
657 | 744 | clean-generic: |
690 | 777 | |
691 | 778 | install-dvi-am: |
692 | 779 | |
693 | install-exec-am: install-sysconfDATA | |
780 | install-exec-am: install-dist_binSCRIPTS install-sysconfDATA | |
694 | 781 | |
695 | 782 | install-html: install-html-recursive |
696 | 783 | |
730 | 817 | |
731 | 818 | ps-am: |
732 | 819 | |
733 | uninstall-am: uninstall-sysconfDATA | |
820 | uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA | |
734 | 821 | |
735 | 822 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
736 | 823 | ctags-recursive install-am install-strip tags-recursive |
738 | 825 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
739 | 826 | all all-am am--refresh check check-am clean clean-generic \ |
740 | 827 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ |
741 | dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ | |
742 | distclean distclean-generic distclean-hdr distclean-tags \ | |
743 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | |
744 | html-am info info-am install install-am install-data \ | |
745 | install-data-am install-dvi install-dvi-am install-exec \ | |
746 | install-exec-am install-html install-html-am install-info \ | |
747 | install-info-am install-man install-pdf install-pdf-am \ | |
748 | install-ps install-ps-am install-strip install-sysconfDATA \ | |
749 | installcheck installcheck-am installdirs installdirs-am \ | |
750 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
751 | mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ | |
752 | uninstall uninstall-am uninstall-sysconfDATA | |
828 | dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
829 | distcheck distclean distclean-generic distclean-hdr \ | |
830 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | |
831 | dvi-am html html-am info info-am install install-am \ | |
832 | install-data install-data-am install-dist_binSCRIPTS \ | |
833 | install-dvi install-dvi-am install-exec install-exec-am \ | |
834 | install-html install-html-am install-info install-info-am \ | |
835 | install-man install-pdf install-pdf-am install-ps \ | |
836 | install-ps-am install-strip install-sysconfDATA installcheck \ | |
837 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
838 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
839 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | |
840 | uninstall-dist_binSCRIPTS uninstall-sysconfDATA | |
753 | 841 | |
754 | 842 | |
755 | 843 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
37 | 37 | |
38 | 38 | dillo-3.0.1, a bugfix release for the new 3.x series is out. |
39 | 39 | |
40 | Mar 2013 | |
41 | ||
42 | dillo-3.0.3, a new release for the new 3.x series is out. | |
40 | 43 | |
41 | 44 | Jorge.- |
42 | 45 | jcid@dillo.org |
29 | 29 | * no https (there's a barebones prototype). |
30 | 30 | |
31 | 31 | |
32 | ------- | |
32 | -------- | |
33 | 33 | FLTK-1.3 |
34 | ------- | |
34 | -------- | |
35 | 35 | |
36 | You can get FLTK-1.3 here: | |
36 | If you don't have FLTK-1.3 (try 'fltk-config --version' to check), | |
37 | you can get it from: | |
37 | 38 | |
38 | http://fltk.org/software.php?VERSION=1.3.0 | |
39 | http://fltk.org/software.php | |
39 | 40 | |
41 | and build it like: | |
40 | 42 | |
41 | --------------------------- | |
42 | Building dillo from sources | |
43 | --------------------------- | |
44 | ||
45 | 1.- Install fltk: | |
46 | ||
47 | tar zxvf fltk-1.3.0-source.tar.gz | |
48 | cd fltk-1.3.0 | |
43 | tar zxvf fltk-1.3.2-source.tar.gz [or latest 1.3.x version] | |
44 | cd fltk-1.3.2 | |
49 | 45 | less README.Unix.txt |
50 | 46 | make |
51 | 47 | sudo make install |
52 | 48 | cd .. |
53 | ||
54 | (don't configure fltk with --enable-cairo) | |
55 | 49 | |
56 | 2.- Then dillo3: | |
50 | ------ | |
51 | Dillo3 | |
52 | ------ | |
57 | 53 | |
58 | tar jxvf dillo-3.0.2.tar.bz2 | |
59 | cd dillo-3.0.2 | |
54 | tar jxvf dillo-3.0.3.tar.bz2 | |
55 | cd dillo-3.0.3 | |
60 | 56 | ./configure; make |
61 | 57 | sudo make install-strip |
58 | ||
59 | In order to use the hyphenation feature, pattern files from CTAN need | |
60 | to be installed. | |
61 | This can be done with the script dillo-install-hyphenation. | |
62 | Call it with ISO-639-1 language codes as arguments, or without arguments | |
63 | to get more help. | |
62 | 64 | |
63 | 65 | |
64 | 66 | ------------ |
102 | 104 | |
103 | 105 | Jorge.- |
104 | 106 | (jcid@dillo.org) |
105 | August, 2011 | |
107 | April, 2013 |
0 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- | |
0 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- | |
1 | 1 | |
2 | 2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
3 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
4 | # Inc. | |
4 | 5 | # This file is free software; the Free Software Foundation |
5 | 6 | # gives unlimited permission to copy and/or distribute it, |
6 | 7 | # with or without modifications, as long as this notice is preserved. |
12 | 13 | |
13 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, | |
16 | [m4_warning([this file was generated for autoconf 2.68. | |
16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | |
17 | [m4_warning([this file was generated for autoconf 2.69. | |
17 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 19 | If you have problems, you may need to regenerate the build system entirely. |
19 | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
20 | 21 | |
21 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
22 | # | |
23 | # This file is free software; the Free Software Foundation | |
24 | # gives unlimited permission to copy and/or distribute it, | |
25 | # with or without modifications, as long as this notice is preserved. | |
22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | |
23 | # Foundation, Inc. | |
24 | # | |
25 | # This file is free software; the Free Software Foundation | |
26 | # gives unlimited permission to copy and/or distribute it, | |
27 | # with or without modifications, as long as this notice is preserved. | |
28 | ||
29 | # serial 1 | |
26 | 30 | |
27 | 31 | # AM_AUTOMAKE_VERSION(VERSION) |
28 | 32 | # ---------------------------- |
33 | 37 | [am__api_version='1.11' |
34 | 38 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
35 | 39 | dnl require some minimum version. Point them to the right macro. |
36 | m4_if([$1], [1.11.1], [], | |
40 | m4_if([$1], [1.11.6], [], | |
37 | 41 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
38 | 42 | ]) |
39 | 43 | |
49 | 53 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
50 | 54 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
51 | 55 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
52 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
56 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | |
53 | 57 | m4_ifndef([AC_AUTOCONF_VERSION], |
54 | 58 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
55 | 59 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
56 | 60 | |
57 | 61 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
58 | 62 | |
59 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
60 | # | |
61 | # This file is free software; the Free Software Foundation | |
62 | # gives unlimited permission to copy and/or distribute it, | |
63 | # with or without modifications, as long as this notice is preserved. | |
63 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
64 | # | |
65 | # This file is free software; the Free Software Foundation | |
66 | # gives unlimited permission to copy and/or distribute it, | |
67 | # with or without modifications, as long as this notice is preserved. | |
68 | ||
69 | # serial 1 | |
64 | 70 | |
65 | 71 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
66 | 72 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
143 | 149 | Usually this means the macro was only invoked conditionally.]]) |
144 | 150 | fi])]) |
145 | 151 | |
146 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
147 | # Free Software Foundation, Inc. | |
148 | # | |
149 | # This file is free software; the Free Software Foundation | |
150 | # gives unlimited permission to copy and/or distribute it, | |
151 | # with or without modifications, as long as this notice is preserved. | |
152 | ||
153 | # serial 10 | |
152 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | |
153 | # 2010, 2011 Free Software Foundation, Inc. | |
154 | # | |
155 | # This file is free software; the Free Software Foundation | |
156 | # gives unlimited permission to copy and/or distribute it, | |
157 | # with or without modifications, as long as this notice is preserved. | |
158 | ||
159 | # serial 12 | |
154 | 160 | |
155 | 161 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
156 | 162 | # written in clear, in which case automake, when reading aclocal.m4, |
190 | 196 | # instance it was reported that on HP-UX the gcc test will end up |
191 | 197 | # making a dummy file named `D' -- because `-MD' means `put the output |
192 | 198 | # in D'. |
199 | rm -rf conftest.dir | |
193 | 200 | mkdir conftest.dir |
194 | 201 | # Copy depcomp to subdir because otherwise we won't find it if we're |
195 | 202 | # using a relative directory. |
254 | 261 | break |
255 | 262 | fi |
256 | 263 | ;; |
257 | msvisualcpp | msvcmsys) | |
264 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
258 | 265 | # This compiler won't grok `-c -o', but also, the minuso test has |
259 | 266 | # not run yet. These depmodes are late enough in the game, and |
260 | 267 | # so weak that their functioning should not be impacted. |
319 | 326 | if test "x$enable_dependency_tracking" != xno; then |
320 | 327 | am_depcomp="$ac_aux_dir/depcomp" |
321 | 328 | AMDEPBACKSLASH='\' |
329 | am__nodep='_no' | |
322 | 330 | fi |
323 | 331 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
324 | 332 | AC_SUBST([AMDEPBACKSLASH])dnl |
325 | 333 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
334 | AC_SUBST([am__nodep])dnl | |
335 | _AM_SUBST_NOTMAKE([am__nodep])dnl | |
326 | 336 | ]) |
327 | 337 | |
328 | 338 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
544 | 554 | done |
545 | 555 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
546 | 556 | |
547 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
548 | # | |
549 | # This file is free software; the Free Software Foundation | |
550 | # gives unlimited permission to copy and/or distribute it, | |
551 | # with or without modifications, as long as this notice is preserved. | |
557 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | |
558 | # Inc. | |
559 | # | |
560 | # This file is free software; the Free Software Foundation | |
561 | # gives unlimited permission to copy and/or distribute it, | |
562 | # with or without modifications, as long as this notice is preserved. | |
563 | ||
564 | # serial 1 | |
552 | 565 | |
553 | 566 | # AM_PROG_INSTALL_SH |
554 | 567 | # ------------------ |
681 | 694 | fi |
682 | 695 | ]) |
683 | 696 | |
684 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
685 | # | |
686 | # This file is free software; the Free Software Foundation | |
687 | # gives unlimited permission to copy and/or distribute it, | |
688 | # with or without modifications, as long as this notice is preserved. | |
697 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | |
698 | # Inc. | |
699 | # | |
700 | # This file is free software; the Free Software Foundation | |
701 | # gives unlimited permission to copy and/or distribute it, | |
702 | # with or without modifications, as long as this notice is preserved. | |
703 | ||
704 | # serial 1 | |
689 | 705 | |
690 | 706 | # AM_PROG_MKDIR_P |
691 | 707 | # --------------- |
709 | 725 | |
710 | 726 | # Helper functions for option handling. -*- Autoconf -*- |
711 | 727 | |
712 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
713 | # | |
714 | # This file is free software; the Free Software Foundation | |
715 | # gives unlimited permission to copy and/or distribute it, | |
716 | # with or without modifications, as long as this notice is preserved. | |
717 | ||
718 | # serial 4 | |
728 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | |
729 | # Foundation, Inc. | |
730 | # | |
731 | # This file is free software; the Free Software Foundation | |
732 | # gives unlimited permission to copy and/or distribute it, | |
733 | # with or without modifications, as long as this notice is preserved. | |
734 | ||
735 | # serial 5 | |
719 | 736 | |
720 | 737 | # _AM_MANGLE_OPTION(NAME) |
721 | 738 | # ----------------------- |
723 | 740 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
724 | 741 | |
725 | 742 | # _AM_SET_OPTION(NAME) |
726 | # ------------------------------ | |
743 | # -------------------- | |
727 | 744 | # Set option NAME. Presently that only means defining a flag for this option. |
728 | 745 | AC_DEFUN([_AM_SET_OPTION], |
729 | 746 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
730 | 747 | |
731 | 748 | # _AM_SET_OPTIONS(OPTIONS) |
732 | # ---------------------------------- | |
749 | # ------------------------ | |
733 | 750 | # OPTIONS is a space-separated list of Automake options. |
734 | 751 | AC_DEFUN([_AM_SET_OPTIONS], |
735 | 752 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
805 | 822 | fi |
806 | 823 | AC_MSG_RESULT(yes)]) |
807 | 824 | |
808 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
809 | # | |
810 | # This file is free software; the Free Software Foundation | |
811 | # gives unlimited permission to copy and/or distribute it, | |
812 | # with or without modifications, as long as this notice is preserved. | |
825 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
826 | # | |
827 | # This file is free software; the Free Software Foundation | |
828 | # gives unlimited permission to copy and/or distribute it, | |
829 | # with or without modifications, as long as this notice is preserved. | |
830 | ||
831 | # serial 1 | |
813 | 832 | |
814 | 833 | # AM_PROG_INSTALL_STRIP |
815 | 834 | # --------------------- |
833 | 852 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
834 | 853 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
835 | 854 | |
836 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
837 | # | |
838 | # This file is free software; the Free Software Foundation | |
839 | # gives unlimited permission to copy and/or distribute it, | |
840 | # with or without modifications, as long as this notice is preserved. | |
841 | ||
842 | # serial 2 | |
855 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
856 | # | |
857 | # This file is free software; the Free Software Foundation | |
858 | # gives unlimited permission to copy and/or distribute it, | |
859 | # with or without modifications, as long as this notice is preserved. | |
860 | ||
861 | # serial 3 | |
843 | 862 | |
844 | 863 | # _AM_SUBST_NOTMAKE(VARIABLE) |
845 | 864 | # --------------------------- |
848 | 867 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
849 | 868 | |
850 | 869 | # AM_SUBST_NOTMAKE(VARIABLE) |
851 | # --------------------------- | |
870 | # -------------------------- | |
852 | 871 | # Public sister of _AM_SUBST_NOTMAKE. |
853 | 872 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
854 | 873 | |
855 | 874 | # Check how to create a tarball. -*- Autoconf -*- |
856 | 875 | |
857 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
876 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | |
858 | 877 | # |
859 | 878 | # This file is free software; the Free Software Foundation |
860 | 879 | # gives unlimited permission to copy and/or distribute it, |
876 | 895 | # a tarball read from stdin. |
877 | 896 | # $(am__untar) < result.tar |
878 | 897 | AC_DEFUN([_AM_PROG_TAR], |
879 | [# Always define AMTAR for backward compatibility. | |
880 | AM_MISSING_PROG([AMTAR], [tar]) | |
898 | [# Always define AMTAR for backward compatibility. Yes, it's still used | |
899 | # in the wild :-( We should find a proper way to deprecate it ... | |
900 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | |
881 | 901 | m4_if([$1], [v7], |
882 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
902 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
883 | 903 | [m4_case([$1], [ustar],, [pax],, |
884 | 904 | [m4_fatal([Unknown tar format])]) |
885 | 905 | AC_MSG_CHECKING([how to create a $1 tar archive]) |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |
4 | # Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2009-11-20' | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-02-10' | |
7 | 7 | |
8 | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | 9 | # under the terms of the GNU General Public License as published by |
16 | 16 | # General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
21 | # 02110-1301, USA. | |
19 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
22 | 20 | # |
23 | 21 | # As a special exception to the GNU General Public License, if you |
24 | 22 | # distribute this file as part of a program that contains a |
55 | 53 | GNU config.guess ($timestamp) |
56 | 54 | |
57 | 55 | Originally written by Per Bothner. |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
59 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
56 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
57 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
58 | Free Software Foundation, Inc. | |
60 | 59 | |
61 | 60 | This is free software; see the source for copying conditions. There is NO |
62 | 61 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
143 | 142 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
144 | 143 | *:NetBSD:*:*) |
145 | 144 | # NetBSD (nbsd) targets should (where applicable) match one or |
146 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | |
145 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, | |
147 | 146 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
148 | 147 | # switched to ELF, *-*-netbsd* would select the old |
149 | 148 | # object file format. This provides both forward |
179 | 178 | fi |
180 | 179 | ;; |
181 | 180 | *) |
182 | os=netbsd | |
181 | os=netbsd | |
183 | 182 | ;; |
184 | 183 | esac |
185 | 184 | # The OS release |
222 | 221 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
223 | 222 | ;; |
224 | 223 | *5.*) |
225 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
224 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
226 | 225 | ;; |
227 | 226 | esac |
228 | 227 | # According to Compaq, /usr/sbin/psrinfo has been available on |
268 | 267 | # A Xn.n version is an unreleased experimental baselevel. |
269 | 268 | # 1.2 uses "1.2" for uname -r. |
270 | 269 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
271 | exit ;; | |
270 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | |
271 | exitcode=$? | |
272 | trap '' 0 | |
273 | exit $exitcode ;; | |
272 | 274 | Alpha\ *:Windows_NT*:*) |
273 | 275 | # How do we know it's Interix rather than the generic POSIX subsystem? |
274 | 276 | # Should we change UNAME_MACHINE based on the output of uname instead |
294 | 296 | echo s390-ibm-zvmoe |
295 | 297 | exit ;; |
296 | 298 | *:OS400:*:*) |
297 | echo powerpc-ibm-os400 | |
299 | echo powerpc-ibm-os400 | |
298 | 300 | exit ;; |
299 | 301 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
300 | 302 | echo arm-acorn-riscix${UNAME_RELEASE} |
393 | 395 | # MiNT. But MiNT is downward compatible to TOS, so this should |
394 | 396 | # be no problem. |
395 | 397 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
396 | echo m68k-atari-mint${UNAME_RELEASE} | |
398 | echo m68k-atari-mint${UNAME_RELEASE} | |
397 | 399 | exit ;; |
398 | 400 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
399 | 401 | echo m68k-atari-mint${UNAME_RELEASE} |
400 | exit ;; | |
402 | exit ;; | |
401 | 403 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
402 | echo m68k-atari-mint${UNAME_RELEASE} | |
404 | echo m68k-atari-mint${UNAME_RELEASE} | |
403 | 405 | exit ;; |
404 | 406 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
405 | echo m68k-milan-mint${UNAME_RELEASE} | |
406 | exit ;; | |
407 | echo m68k-milan-mint${UNAME_RELEASE} | |
408 | exit ;; | |
407 | 409 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
408 | echo m68k-hades-mint${UNAME_RELEASE} | |
409 | exit ;; | |
410 | echo m68k-hades-mint${UNAME_RELEASE} | |
411 | exit ;; | |
410 | 412 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
411 | echo m68k-unknown-mint${UNAME_RELEASE} | |
412 | exit ;; | |
413 | echo m68k-unknown-mint${UNAME_RELEASE} | |
414 | exit ;; | |
413 | 415 | m68k:machten:*:*) |
414 | 416 | echo m68k-apple-machten${UNAME_RELEASE} |
415 | 417 | exit ;; |
479 | 481 | echo m88k-motorola-sysv3 |
480 | 482 | exit ;; |
481 | 483 | AViiON:dgux:*:*) |
482 | # DG/UX returns AViiON for all architectures | |
483 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
484 | # DG/UX returns AViiON for all architectures | |
485 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
484 | 486 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
485 | 487 | then |
486 | 488 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
493 | 495 | else |
494 | 496 | echo i586-dg-dgux${UNAME_RELEASE} |
495 | 497 | fi |
496 | exit ;; | |
498 | exit ;; | |
497 | 499 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
498 | 500 | echo m88k-dolphin-sysv3 |
499 | 501 | exit ;; |
550 | 552 | echo rs6000-ibm-aix3.2 |
551 | 553 | fi |
552 | 554 | exit ;; |
553 | *:AIX:*:[456]) | |
555 | *:AIX:*:[4567]) | |
554 | 556 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
555 | 557 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
556 | 558 | IBM_ARCH=rs6000 |
593 | 595 | 9000/[678][0-9][0-9]) |
594 | 596 | if [ -x /usr/bin/getconf ]; then |
595 | 597 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
596 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
597 | case "${sc_cpu_version}" in | |
598 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
599 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
600 | 532) # CPU_PA_RISC2_0 | |
601 | case "${sc_kernel_bits}" in | |
602 | 32) HP_ARCH="hppa2.0n" ;; | |
603 | 64) HP_ARCH="hppa2.0w" ;; | |
598 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
599 | case "${sc_cpu_version}" in | |
600 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
601 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
602 | 532) # CPU_PA_RISC2_0 | |
603 | case "${sc_kernel_bits}" in | |
604 | 32) HP_ARCH="hppa2.0n" ;; | |
605 | 64) HP_ARCH="hppa2.0w" ;; | |
604 | 606 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
605 | esac ;; | |
606 | esac | |
607 | esac ;; | |
608 | esac | |
607 | 609 | fi |
608 | 610 | if [ "${HP_ARCH}" = "" ]; then |
609 | 611 | eval $set_cc_for_build |
610 | sed 's/^ //' << EOF >$dummy.c | |
611 | ||
612 | #define _HPUX_SOURCE | |
613 | #include <stdlib.h> | |
614 | #include <unistd.h> | |
615 | ||
616 | int main () | |
617 | { | |
618 | #if defined(_SC_KERNEL_BITS) | |
619 | long bits = sysconf(_SC_KERNEL_BITS); | |
620 | #endif | |
621 | long cpu = sysconf (_SC_CPU_VERSION); | |
622 | ||
623 | switch (cpu) | |
624 | { | |
625 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
626 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
627 | case CPU_PA_RISC2_0: | |
628 | #if defined(_SC_KERNEL_BITS) | |
629 | switch (bits) | |
630 | { | |
631 | case 64: puts ("hppa2.0w"); break; | |
632 | case 32: puts ("hppa2.0n"); break; | |
633 | default: puts ("hppa2.0"); break; | |
634 | } break; | |
635 | #else /* !defined(_SC_KERNEL_BITS) */ | |
636 | puts ("hppa2.0"); break; | |
637 | #endif | |
638 | default: puts ("hppa1.0"); break; | |
639 | } | |
640 | exit (0); | |
641 | } | |
612 | sed 's/^ //' << EOF >$dummy.c | |
613 | ||
614 | #define _HPUX_SOURCE | |
615 | #include <stdlib.h> | |
616 | #include <unistd.h> | |
617 | ||
618 | int main () | |
619 | { | |
620 | #if defined(_SC_KERNEL_BITS) | |
621 | long bits = sysconf(_SC_KERNEL_BITS); | |
622 | #endif | |
623 | long cpu = sysconf (_SC_CPU_VERSION); | |
624 | ||
625 | switch (cpu) | |
626 | { | |
627 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
628 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
629 | case CPU_PA_RISC2_0: | |
630 | #if defined(_SC_KERNEL_BITS) | |
631 | switch (bits) | |
632 | { | |
633 | case 64: puts ("hppa2.0w"); break; | |
634 | case 32: puts ("hppa2.0n"); break; | |
635 | default: puts ("hppa2.0"); break; | |
636 | } break; | |
637 | #else /* !defined(_SC_KERNEL_BITS) */ | |
638 | puts ("hppa2.0"); break; | |
639 | #endif | |
640 | default: puts ("hppa1.0"); break; | |
641 | } | |
642 | exit (0); | |
643 | } | |
642 | 644 | EOF |
643 | 645 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
644 | 646 | test -z "$HP_ARCH" && HP_ARCH=hppa |
729 | 731 | exit ;; |
730 | 732 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
731 | 733 | echo c1-convex-bsd |
732 | exit ;; | |
734 | exit ;; | |
733 | 735 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
734 | 736 | if getsysinfo -f scalar_acc |
735 | 737 | then echo c32-convex-bsd |
736 | 738 | else echo c2-convex-bsd |
737 | 739 | fi |
738 | exit ;; | |
740 | exit ;; | |
739 | 741 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
740 | 742 | echo c34-convex-bsd |
741 | exit ;; | |
743 | exit ;; | |
742 | 744 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
743 | 745 | echo c38-convex-bsd |
744 | exit ;; | |
746 | exit ;; | |
745 | 747 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
746 | 748 | echo c4-convex-bsd |
747 | exit ;; | |
749 | exit ;; | |
748 | 750 | CRAY*Y-MP:*:*:*) |
749 | 751 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
750 | 752 | exit ;; |
768 | 770 | exit ;; |
769 | 771 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
770 | 772 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
771 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
772 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
773 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
774 | exit ;; | |
773 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
774 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
775 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
776 | exit ;; | |
775 | 777 | 5000:UNIX_System_V:4.*:*) |
776 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
777 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
778 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
778 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
779 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
780 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
779 | 781 | exit ;; |
780 | 782 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
781 | 783 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
787 | 789 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
788 | 790 | exit ;; |
789 | 791 | *:FreeBSD:*:*) |
790 | case ${UNAME_MACHINE} in | |
791 | pc98) | |
792 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
792 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
793 | case ${UNAME_PROCESSOR} in | |
793 | 794 | amd64) |
794 | 795 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
795 | 796 | *) |
796 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
797 | echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
797 | 798 | esac |
798 | 799 | exit ;; |
799 | 800 | i*:CYGWIN*:*) |
802 | 803 | *:MINGW*:*) |
803 | 804 | echo ${UNAME_MACHINE}-pc-mingw32 |
804 | 805 | exit ;; |
806 | i*:MSYS*:*) | |
807 | echo ${UNAME_MACHINE}-pc-msys | |
808 | exit ;; | |
805 | 809 | i*:windows32*:*) |
806 | # uname -m includes "-pc" on this system. | |
807 | echo ${UNAME_MACHINE}-mingw32 | |
810 | # uname -m includes "-pc" on this system. | |
811 | echo ${UNAME_MACHINE}-mingw32 | |
808 | 812 | exit ;; |
809 | 813 | i*:PW*:*) |
810 | 814 | echo ${UNAME_MACHINE}-pc-pw32 |
811 | 815 | exit ;; |
812 | 816 | *:Interix*:*) |
813 | case ${UNAME_MACHINE} in | |
817 | case ${UNAME_MACHINE} in | |
814 | 818 | x86) |
815 | 819 | echo i586-pc-interix${UNAME_RELEASE} |
816 | 820 | exit ;; |
856 | 860 | i*86:Minix:*:*) |
857 | 861 | echo ${UNAME_MACHINE}-pc-minix |
858 | 862 | exit ;; |
863 | aarch64:Linux:*:*) | |
864 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
865 | exit ;; | |
866 | aarch64_be:Linux:*:*) | |
867 | UNAME_MACHINE=aarch64_be | |
868 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
869 | exit ;; | |
859 | 870 | alpha:Linux:*:*) |
860 | 871 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
861 | 872 | EV5) UNAME_MACHINE=alphaev5 ;; |
865 | 876 | EV6) UNAME_MACHINE=alphaev6 ;; |
866 | 877 | EV67) UNAME_MACHINE=alphaev67 ;; |
867 | 878 | EV68*) UNAME_MACHINE=alphaev68 ;; |
868 | esac | |
879 | esac | |
869 | 880 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
870 | 881 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
871 | 882 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
877 | 888 | then |
878 | 889 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
879 | 890 | else |
880 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
891 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | |
892 | | grep -q __ARM_PCS_VFP | |
893 | then | |
894 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
895 | else | |
896 | echo ${UNAME_MACHINE}-unknown-linux-gnueabihf | |
897 | fi | |
881 | 898 | fi |
882 | 899 | exit ;; |
883 | 900 | avr32*:Linux:*:*) |
884 | 901 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
885 | 902 | exit ;; |
886 | 903 | cris:Linux:*:*) |
887 | echo cris-axis-linux-gnu | |
904 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
888 | 905 | exit ;; |
889 | 906 | crisv32:Linux:*:*) |
890 | echo crisv32-axis-linux-gnu | |
907 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
891 | 908 | exit ;; |
892 | 909 | frv:Linux:*:*) |
893 | echo frv-unknown-linux-gnu | |
910 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
911 | exit ;; | |
912 | hexagon:Linux:*:*) | |
913 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
894 | 914 | exit ;; |
895 | 915 | i*86:Linux:*:*) |
896 | 916 | LIBC=gnu |
932 | 952 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
933 | 953 | ;; |
934 | 954 | or32:Linux:*:*) |
935 | echo or32-unknown-linux-gnu | |
955 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
936 | 956 | exit ;; |
937 | 957 | padre:Linux:*:*) |
938 | 958 | echo sparc-unknown-linux-gnu |
958 | 978 | echo ${UNAME_MACHINE}-ibm-linux |
959 | 979 | exit ;; |
960 | 980 | sh64*:Linux:*:*) |
961 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
981 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
962 | 982 | exit ;; |
963 | 983 | sh*:Linux:*:*) |
964 | 984 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
966 | 986 | sparc:Linux:*:* | sparc64:Linux:*:*) |
967 | 987 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
968 | 988 | exit ;; |
989 | tile*:Linux:*:*) | |
990 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
991 | exit ;; | |
969 | 992 | vax:Linux:*:*) |
970 | 993 | echo ${UNAME_MACHINE}-dec-linux-gnu |
971 | 994 | exit ;; |
972 | 995 | x86_64:Linux:*:*) |
973 | echo x86_64-unknown-linux-gnu | |
996 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
974 | 997 | exit ;; |
975 | 998 | xtensa*:Linux:*:*) |
976 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
999 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
977 | 1000 | exit ;; |
978 | 1001 | i*86:DYNIX/ptx:4*:*) |
979 | 1002 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
982 | 1005 | echo i386-sequent-sysv4 |
983 | 1006 | exit ;; |
984 | 1007 | i*86:UNIX_SV:4.2MP:2.*) |
985 | # Unixware is an offshoot of SVR4, but it has its own version | |
986 | # number series starting with 2... | |
987 | # I am not positive that other SVR4 systems won't match this, | |
1008 | # Unixware is an offshoot of SVR4, but it has its own version | |
1009 | # number series starting with 2... | |
1010 | # I am not positive that other SVR4 systems won't match this, | |
988 | 1011 | # I just have to hope. -- rms. |
989 | # Use sysv4.2uw... so that sysv4* matches it. | |
1012 | # Use sysv4.2uw... so that sysv4* matches it. | |
990 | 1013 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
991 | 1014 | exit ;; |
992 | 1015 | i*86:OS/2:*:*) |
1018 | 1041 | fi |
1019 | 1042 | exit ;; |
1020 | 1043 | i*86:*:5:[678]*) |
1021 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1044 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1022 | 1045 | case `/bin/uname -X | grep "^Machine"` in |
1023 | 1046 | *486*) UNAME_MACHINE=i486 ;; |
1024 | 1047 | *Pentium) UNAME_MACHINE=i586 ;; |
1046 | 1069 | exit ;; |
1047 | 1070 | pc:*:*:*) |
1048 | 1071 | # Left here for compatibility: |
1049 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1050 | # the processor, so we play safe by assuming i586. | |
1072 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1073 | # the processor, so we play safe by assuming i586. | |
1051 | 1074 | # Note: whatever this is, it MUST be the same as what config.sub |
1052 | 1075 | # prints for the "djgpp" host, or else GDB configury will decide that |
1053 | 1076 | # this is a cross-build. |
1054 | 1077 | echo i586-pc-msdosdjgpp |
1055 | exit ;; | |
1078 | exit ;; | |
1056 | 1079 | Intel:Mach:3*:*) |
1057 | 1080 | echo i386-pc-mach3 |
1058 | 1081 | exit ;; |
1087 | 1110 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1088 | 1111 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
1089 | 1112 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1090 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1091 | && { echo i486-ncr-sysv4; exit; } ;; | |
1113 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1114 | && { echo i486-ncr-sysv4; exit; } ;; | |
1092 | 1115 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
1093 | 1116 | OS_REL='.3' |
1094 | 1117 | test -r /etc/.relid \ |
1131 | 1154 | echo ns32k-sni-sysv |
1132 | 1155 | fi |
1133 | 1156 | exit ;; |
1134 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1135 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1136 | echo i586-unisys-sysv4 | |
1137 | exit ;; | |
1157 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1158 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1159 | echo i586-unisys-sysv4 | |
1160 | exit ;; | |
1138 | 1161 | *:UNIX_System_V:4*:FTX*) |
1139 | 1162 | # From Gerald Hewes <hewes@openmarket.com>. |
1140 | 1163 | # How about differentiating between stratus architectures? -djm |
1160 | 1183 | exit ;; |
1161 | 1184 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1162 | 1185 | if [ -d /usr/nec ]; then |
1163 | echo mips-nec-sysv${UNAME_RELEASE} | |
1186 | echo mips-nec-sysv${UNAME_RELEASE} | |
1164 | 1187 | else |
1165 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1166 | fi | |
1167 | exit ;; | |
1188 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1189 | fi | |
1190 | exit ;; | |
1168 | 1191 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1169 | 1192 | echo powerpc-be-beos |
1170 | 1193 | exit ;; |
1229 | 1252 | *:QNX:*:4*) |
1230 | 1253 | echo i386-pc-qnx |
1231 | 1254 | exit ;; |
1255 | NEO-?:NONSTOP_KERNEL:*:*) | |
1256 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1257 | exit ;; | |
1232 | 1258 | NSE-?:NONSTOP_KERNEL:*:*) |
1233 | 1259 | echo nse-tandem-nsk${UNAME_RELEASE} |
1234 | 1260 | exit ;; |
1274 | 1300 | echo pdp10-unknown-its |
1275 | 1301 | exit ;; |
1276 | 1302 | SEI:*:*:SEIUX) |
1277 | echo mips-sei-seiux${UNAME_RELEASE} | |
1303 | echo mips-sei-seiux${UNAME_RELEASE} | |
1278 | 1304 | exit ;; |
1279 | 1305 | *:DragonFly:*:*) |
1280 | 1306 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
1281 | 1307 | exit ;; |
1282 | 1308 | *:*VMS:*:*) |
1283 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1309 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1284 | 1310 | case "${UNAME_MACHINE}" in |
1285 | 1311 | A*) echo alpha-dec-vms ; exit ;; |
1286 | 1312 | I*) echo ia64-dec-vms ; exit ;; |
1297 | 1323 | exit ;; |
1298 | 1324 | i*86:AROS:*:*) |
1299 | 1325 | echo ${UNAME_MACHINE}-pc-aros |
1326 | exit ;; | |
1327 | x86_64:VMkernel:*:*) | |
1328 | echo ${UNAME_MACHINE}-unknown-esx | |
1300 | 1329 | exit ;; |
1301 | 1330 | esac |
1302 | 1331 | |
1320 | 1349 | #include <sys/param.h> |
1321 | 1350 | printf ("m68k-sony-newsos%s\n", |
1322 | 1351 | #ifdef NEWSOS4 |
1323 | "4" | |
1352 | "4" | |
1324 | 1353 | #else |
1325 | "" | |
1326 | #endif | |
1327 | ); exit (0); | |
1354 | "" | |
1355 | #endif | |
1356 | ); exit (0); | |
1328 | 1357 | #endif |
1329 | 1358 | #endif |
1330 | 1359 |
0 | /* config.h.in. Generated from configure.in by autoheader. */ | |
0 | /* config.h.in. Generated from configure.ac by autoheader. */ | |
1 | 1 | |
2 | 2 | /* Enable GIF images */ |
3 | 3 | #undef ENABLE_GIF |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |
4 | # Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2009-11-20' | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-04-18' | |
7 | 7 | |
8 | 8 | # This file is (in principle) common to ALL GNU software. |
9 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
20 | 20 | # GNU General Public License for more details. |
21 | 21 | # |
22 | 22 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | |
24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
25 | # 02110-1301, USA. | |
23 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
26 | 24 | # |
27 | 25 | # As a special exception to the GNU General Public License, if you |
28 | 26 | # distribute this file as part of a program that contains a |
74 | 72 | version="\ |
75 | 73 | GNU config.sub ($timestamp) |
76 | 74 | |
77 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
78 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
75 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
76 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
77 | Free Software Foundation, Inc. | |
79 | 78 | |
80 | 79 | This is free software; see the source for copying conditions. There is NO |
81 | 80 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
122 | 121 | # Here we must recognize all the valid KERNEL-OS combinations. |
123 | 122 | maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
124 | 123 | case $maybe_os in |
125 | nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ | |
126 | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ | |
124 | nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ | |
125 | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ | |
126 | knetbsd*-gnu* | netbsd*-gnu* | \ | |
127 | 127 | kopensolaris*-gnu* | \ |
128 | 128 | storm-chaos* | os2-emx* | rtmk-nova*) |
129 | 129 | os=-$maybe_os |
130 | 130 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
131 | ;; | |
132 | android-linux) | |
133 | os=-linux-android | |
134 | basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown | |
131 | 135 | ;; |
132 | 136 | *) |
133 | 137 | basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
155 | 159 | os= |
156 | 160 | basic_machine=$1 |
157 | 161 | ;; |
158 | -bluegene*) | |
159 | os=-cnk | |
162 | -bluegene*) | |
163 | os=-cnk | |
160 | 164 | ;; |
161 | 165 | -sim | -cisco | -oki | -wec | -winbond) |
162 | 166 | os= |
172 | 176 | os=-chorusos |
173 | 177 | basic_machine=$1 |
174 | 178 | ;; |
175 | -chorusrdb) | |
176 | os=-chorusrdb | |
179 | -chorusrdb) | |
180 | os=-chorusrdb | |
177 | 181 | basic_machine=$1 |
178 | ;; | |
182 | ;; | |
179 | 183 | -hiux*) |
180 | 184 | os=-hiuxwe2 |
181 | 185 | ;; |
219 | 223 | ;; |
220 | 224 | -isc*) |
221 | 225 | basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
226 | ;; | |
227 | -lynx*178) | |
228 | os=-lynxos178 | |
229 | ;; | |
230 | -lynx*5) | |
231 | os=-lynxos5 | |
222 | 232 | ;; |
223 | 233 | -lynx*) |
224 | 234 | os=-lynxos |
244 | 254 | # Some are omitted here because they have special meanings below. |
245 | 255 | 1750a | 580 \ |
246 | 256 | | a29k \ |
257 | | aarch64 | aarch64_be \ | |
247 | 258 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
248 | 259 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
249 | 260 | | am33_2.0 \ |
250 | 261 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
262 | | be32 | be64 \ | |
251 | 263 | | bfin \ |
252 | 264 | | c4x | clipper \ |
253 | 265 | | d10v | d30v | dlx | dsp16xx \ |
266 | | epiphany \ | |
254 | 267 | | fido | fr30 | frv \ |
255 | 268 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
269 | | hexagon \ | |
256 | 270 | | i370 | i860 | i960 | ia64 \ |
257 | 271 | | ip2k | iq2000 \ |
272 | | le32 | le64 \ | |
258 | 273 | | lm32 \ |
259 | 274 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
260 | 275 | | maxq | mb | microblaze | mcore | mep | metag \ |
280 | 295 | | moxie \ |
281 | 296 | | mt \ |
282 | 297 | | msp430 \ |
298 | | nds32 | nds32le | nds32be \ | |
283 | 299 | | nios | nios2 \ |
284 | 300 | | ns16k | ns32k \ |
301 | | open8 \ | |
285 | 302 | | or32 \ |
286 | 303 | | pdp10 | pdp11 | pj | pjl \ |
287 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | |
304 | | powerpc | powerpc64 | powerpc64le | powerpcle \ | |
288 | 305 | | pyramid \ |
289 | | rx \ | |
306 | | rl78 | rx \ | |
290 | 307 | | score \ |
291 | 308 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
292 | 309 | | sh64 | sh64le \ |
293 | 310 | | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
294 | 311 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
295 | | spu | strongarm \ | |
296 | | tahoe | thumb | tic4x | tic80 | tron \ | |
312 | | spu \ | |
313 | | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | |
297 | 314 | | ubicom32 \ |
298 | | v850 | v850e \ | |
315 | | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | |
299 | 316 | | we32k \ |
300 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | |
317 | | x86 | xc16x | xstormy16 | xtensa \ | |
301 | 318 | | z8k | z80) |
302 | 319 | basic_machine=$basic_machine-unknown |
303 | 320 | ;; |
304 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | |
305 | # Motorola 68HC11/12. | |
321 | c54x) | |
322 | basic_machine=tic54x-unknown | |
323 | ;; | |
324 | c55x) | |
325 | basic_machine=tic55x-unknown | |
326 | ;; | |
327 | c6x) | |
328 | basic_machine=tic6x-unknown | |
329 | ;; | |
330 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) | |
306 | 331 | basic_machine=$basic_machine-unknown |
307 | 332 | os=-none |
308 | 333 | ;; |
310 | 335 | ;; |
311 | 336 | ms1) |
312 | 337 | basic_machine=mt-unknown |
338 | ;; | |
339 | ||
340 | strongarm | thumb | xscale) | |
341 | basic_machine=arm-unknown | |
342 | ;; | |
343 | xgate) | |
344 | basic_machine=$basic_machine-unknown | |
345 | os=-none | |
346 | ;; | |
347 | xscaleeb) | |
348 | basic_machine=armeb-unknown | |
349 | ;; | |
350 | ||
351 | xscaleel) | |
352 | basic_machine=armel-unknown | |
313 | 353 | ;; |
314 | 354 | |
315 | 355 | # We use `pc' rather than `unknown' |
326 | 366 | # Recognize the basic CPU types with company name. |
327 | 367 | 580-* \ |
328 | 368 | | a29k-* \ |
369 | | aarch64-* | aarch64_be-* \ | |
329 | 370 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
330 | 371 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
331 | 372 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
332 | 373 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
333 | 374 | | avr-* | avr32-* \ |
375 | | be32-* | be64-* \ | |
334 | 376 | | bfin-* | bs2000-* \ |
335 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | |
377 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ | |
336 | 378 | | clipper-* | craynv-* | cydra-* \ |
337 | 379 | | d10v-* | d30v-* | dlx-* \ |
338 | 380 | | elxsi-* \ |
339 | 381 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
340 | 382 | | h8300-* | h8500-* \ |
341 | 383 | | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
384 | | hexagon-* \ | |
342 | 385 | | i*86-* | i860-* | i960-* | ia64-* \ |
343 | 386 | | ip2k-* | iq2000-* \ |
387 | | le32-* | le64-* \ | |
344 | 388 | | lm32-* \ |
345 | 389 | | m32c-* | m32r-* | m32rle-* \ |
346 | 390 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
366 | 410 | | mmix-* \ |
367 | 411 | | mt-* \ |
368 | 412 | | msp430-* \ |
413 | | nds32-* | nds32le-* | nds32be-* \ | |
369 | 414 | | nios-* | nios2-* \ |
370 | 415 | | none-* | np1-* | ns16k-* | ns32k-* \ |
416 | | open8-* \ | |
371 | 417 | | orion-* \ |
372 | 418 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
373 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | |
419 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | |
374 | 420 | | pyramid-* \ |
375 | | romp-* | rs6000-* | rx-* \ | |
421 | | rl78-* | romp-* | rs6000-* | rx-* \ | |
376 | 422 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
377 | 423 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
378 | 424 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
379 | 425 | | sparclite-* \ |
380 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | |
381 | | tahoe-* | thumb-* \ | |
382 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | |
426 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | |
427 | | tahoe-* \ | |
428 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | |
429 | | tile*-* \ | |
383 | 430 | | tron-* \ |
384 | 431 | | ubicom32-* \ |
385 | | v850-* | v850e-* | vax-* \ | |
432 | | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | |
433 | | vax-* \ | |
386 | 434 | | we32k-* \ |
387 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | |
435 | | x86-* | x86_64-* | xc16x-* | xps100-* \ | |
388 | 436 | | xstormy16-* | xtensa*-* \ |
389 | 437 | | ymp-* \ |
390 | 438 | | z8k-* | z80-*) |
409 | 457 | basic_machine=a29k-amd |
410 | 458 | os=-udi |
411 | 459 | ;; |
412 | abacus) | |
460 | abacus) | |
413 | 461 | basic_machine=abacus-unknown |
414 | 462 | ;; |
415 | 463 | adobe68k) |
479 | 527 | basic_machine=powerpc-ibm |
480 | 528 | os=-cnk |
481 | 529 | ;; |
530 | c54x-*) | |
531 | basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
532 | ;; | |
533 | c55x-*) | |
534 | basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
535 | ;; | |
536 | c6x-*) | |
537 | basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` | |
538 | ;; | |
482 | 539 | c90) |
483 | 540 | basic_machine=c90-cray |
484 | 541 | os=-unicos |
485 | 542 | ;; |
486 | cegcc) | |
543 | cegcc) | |
487 | 544 | basic_machine=arm-unknown |
488 | 545 | os=-cegcc |
489 | 546 | ;; |
515 | 572 | basic_machine=craynv-cray |
516 | 573 | os=-unicosmp |
517 | 574 | ;; |
518 | cr16) | |
575 | cr16 | cr16-*) | |
519 | 576 | basic_machine=cr16-unknown |
520 | 577 | os=-elf |
521 | 578 | ;; |
673 | 730 | i370-ibm* | ibm*) |
674 | 731 | basic_machine=i370-ibm |
675 | 732 | ;; |
676 | # I'm not sure what "Sysv32" means. Should this be sysv3.2? | |
677 | 733 | i*86v32) |
678 | 734 | basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
679 | 735 | os=-sysv32 |
731 | 787 | basic_machine=ns32k-utek |
732 | 788 | os=-sysv |
733 | 789 | ;; |
734 | microblaze) | |
790 | microblaze) | |
735 | 791 | basic_machine=microblaze-xilinx |
736 | 792 | ;; |
737 | 793 | mingw32) |
770 | 826 | ms1-*) |
771 | 827 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
772 | 828 | ;; |
829 | msys) | |
830 | basic_machine=i386-pc | |
831 | os=-msys | |
832 | ;; | |
773 | 833 | mvs) |
774 | 834 | basic_machine=i370-ibm |
775 | 835 | os=-mvs |
836 | ;; | |
837 | nacl) | |
838 | basic_machine=le32-unknown | |
839 | os=-nacl | |
776 | 840 | ;; |
777 | 841 | ncr3000) |
778 | 842 | basic_machine=i486-ncr |
838 | 902 | np1) |
839 | 903 | basic_machine=np1-gould |
840 | 904 | ;; |
905 | neo-tandem) | |
906 | basic_machine=neo-tandem | |
907 | ;; | |
908 | nse-tandem) | |
909 | basic_machine=nse-tandem | |
910 | ;; | |
841 | 911 | nsr-tandem) |
842 | 912 | basic_machine=nsr-tandem |
843 | 913 | ;; |
920 | 990 | ;; |
921 | 991 | power) basic_machine=power-ibm |
922 | 992 | ;; |
923 | ppc) basic_machine=powerpc-unknown | |
924 | ;; | |
925 | ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
993 | ppc | ppcbe) basic_machine=powerpc-unknown | |
994 | ;; | |
995 | ppc-* | ppcbe-*) | |
996 | basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | |
926 | 997 | ;; |
927 | 998 | ppcle | powerpclittle | ppc-le | powerpc-little) |
928 | 999 | basic_machine=powerpcle-unknown |
1016 | 1087 | basic_machine=i860-stratus |
1017 | 1088 | os=-sysv4 |
1018 | 1089 | ;; |
1090 | strongarm-* | thumb-*) | |
1091 | basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` | |
1092 | ;; | |
1019 | 1093 | sun2) |
1020 | 1094 | basic_machine=m68000-sun |
1021 | 1095 | ;; |
1072 | 1146 | basic_machine=t90-cray |
1073 | 1147 | os=-unicos |
1074 | 1148 | ;; |
1075 | tic54x | c54x*) | |
1076 | basic_machine=tic54x-unknown | |
1077 | os=-coff | |
1078 | ;; | |
1079 | tic55x | c55x*) | |
1080 | basic_machine=tic55x-unknown | |
1081 | os=-coff | |
1082 | ;; | |
1083 | tic6x | c6x*) | |
1084 | basic_machine=tic6x-unknown | |
1085 | os=-coff | |
1086 | ;; | |
1087 | 1149 | tile*) |
1088 | basic_machine=tile-unknown | |
1150 | basic_machine=$basic_machine-unknown | |
1089 | 1151 | os=-linux-gnu |
1090 | 1152 | ;; |
1091 | 1153 | tx39) |
1154 | 1216 | ;; |
1155 | 1217 | xps | xps100) |
1156 | 1218 | basic_machine=xps100-honeywell |
1219 | ;; | |
1220 | xscale-* | xscalee[bl]-*) | |
1221 | basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` | |
1157 | 1222 | ;; |
1158 | 1223 | ymp) |
1159 | 1224 | basic_machine=ymp-cray |
1252 | 1317 | if [ x"$os" != x"" ] |
1253 | 1318 | then |
1254 | 1319 | case $os in |
1255 | # First match some system type aliases | |
1256 | # that might get confused with valid system types. | |
1320 | # First match some system type aliases | |
1321 | # that might get confused with valid system types. | |
1257 | 1322 | # -solaris* is a basic system type, with this one exception. |
1258 | -auroraux) | |
1259 | os=-auroraux | |
1323 | -auroraux) | |
1324 | os=-auroraux | |
1260 | 1325 | ;; |
1261 | 1326 | -solaris1 | -solaris1.*) |
1262 | 1327 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
1292 | 1357 | | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
1293 | 1358 | | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
1294 | 1359 | | -chorusos* | -chorusrdb* | -cegcc* \ |
1295 | | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1296 | | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | |
1360 | | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | |
1361 | | -mingw32* | -linux-gnu* | -linux-android* \ | |
1362 | | -linux-newlib* | -linux-uclibc* \ | |
1297 | 1363 | | -uxpv* | -beos* | -mpeix* | -udk* \ |
1298 | 1364 | | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
1299 | 1365 | | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
1340 | 1406 | -opened*) |
1341 | 1407 | os=-openedition |
1342 | 1408 | ;; |
1343 | -os400*) | |
1409 | -os400*) | |
1344 | 1410 | os=-os400 |
1345 | 1411 | ;; |
1346 | 1412 | -wince*) |
1389 | 1455 | -sinix*) |
1390 | 1456 | os=-sysv4 |
1391 | 1457 | ;; |
1392 | -tpf*) | |
1458 | -tpf*) | |
1393 | 1459 | os=-tpf |
1394 | 1460 | ;; |
1395 | 1461 | -triton*) |
1433 | 1499 | ;; |
1434 | 1500 | -dicos*) |
1435 | 1501 | os=-dicos |
1502 | ;; | |
1503 | -nacl*) | |
1436 | 1504 | ;; |
1437 | 1505 | -none) |
1438 | 1506 | ;; |
1456 | 1524 | # system, and we'll never get to this point. |
1457 | 1525 | |
1458 | 1526 | case $basic_machine in |
1459 | score-*) | |
1527 | score-*) | |
1460 | 1528 | os=-elf |
1461 | 1529 | ;; |
1462 | spu-*) | |
1530 | spu-*) | |
1463 | 1531 | os=-elf |
1464 | 1532 | ;; |
1465 | 1533 | *-acorn) |
1471 | 1539 | arm*-semi) |
1472 | 1540 | os=-aout |
1473 | 1541 | ;; |
1474 | c4x-* | tic4x-*) | |
1475 | os=-coff | |
1542 | c4x-* | tic4x-*) | |
1543 | os=-coff | |
1544 | ;; | |
1545 | hexagon-*) | |
1546 | os=-elf | |
1547 | ;; | |
1548 | tic54x-*) | |
1549 | os=-coff | |
1550 | ;; | |
1551 | tic55x-*) | |
1552 | os=-coff | |
1553 | ;; | |
1554 | tic6x-*) | |
1555 | os=-coff | |
1476 | 1556 | ;; |
1477 | 1557 | # This must come before the *-dec entry. |
1478 | 1558 | pdp10-*) |
1492 | 1572 | ;; |
1493 | 1573 | m68000-sun) |
1494 | 1574 | os=-sunos3 |
1495 | # This also exists in the configure program, but was not the | |
1496 | # default. | |
1497 | # os=-sunos4 | |
1498 | 1575 | ;; |
1499 | 1576 | m68*-cisco) |
1500 | 1577 | os=-aout |
1501 | 1578 | ;; |
1502 | mep-*) | |
1579 | mep-*) | |
1503 | 1580 | os=-elf |
1504 | 1581 | ;; |
1505 | 1582 | mips*-cisco) |
1526 | 1603 | *-ibm) |
1527 | 1604 | os=-aix |
1528 | 1605 | ;; |
1529 | *-knuth) | |
1606 | *-knuth) | |
1530 | 1607 | os=-mmixware |
1531 | 1608 | ;; |
1532 | 1609 | *-wec) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.68 for dillo 3.0.2. | |
2 | # Generated by GNU Autoconf 2.69 for dillo 3.0.3. | |
3 | 3 | # |
4 | 4 | # |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
7 | # Foundation, Inc. | |
5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
8 | 6 | # |
9 | 7 | # |
10 | 8 | # This configure script is free software; the Free Software Foundation |
133 | 131 | # CDPATH. |
134 | 132 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 | 133 | |
134 | # Use a proper internal environment variable to ensure we don't fall | |
135 | # into an infinite loop, continuously re-executing ourselves. | |
136 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
137 | _as_can_reexec=no; export _as_can_reexec; | |
138 | # We cannot yet assume a decent shell, so we have to provide a | |
139 | # neutralization value for shells without unset; and this also | |
140 | # works around shells that cannot unset nonexistent variables. | |
141 | # Preserve -v and -x to the replacement shell. | |
142 | BASH_ENV=/dev/null | |
143 | ENV=/dev/null | |
144 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
145 | case $- in # (((( | |
146 | *v*x* | *x*v* ) as_opts=-vx ;; | |
147 | *v* ) as_opts=-v ;; | |
148 | *x* ) as_opts=-x ;; | |
149 | * ) as_opts= ;; | |
150 | esac | |
151 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
152 | # Admittedly, this is quite paranoid, since all the known shells bail | |
153 | # out after a failed `exec'. | |
154 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
155 | as_fn_exit 255 | |
156 | fi | |
157 | # We don't want this to propagate to other subprocesses. | |
158 | { _as_can_reexec=; unset _as_can_reexec;} | |
136 | 159 | if test "x$CONFIG_SHELL" = x; then |
137 | 160 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
138 | 161 | emulate sh |
166 | 189 | else |
167 | 190 | exitcode=1; echo positional parameters were not saved. |
168 | 191 | fi |
169 | test x\$exitcode = x0 || exit 1" | |
192 | test x\$exitcode = x0 || exit 1 | |
193 | test -x / || exit 1" | |
170 | 194 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
171 | 195 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
172 | 196 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
211 | 235 | |
212 | 236 | |
213 | 237 | if test "x$CONFIG_SHELL" != x; then : |
214 | # We cannot yet assume a decent shell, so we have to provide a | |
215 | # neutralization value for shells without unset; and this also | |
216 | # works around shells that cannot unset nonexistent variables. | |
217 | # Preserve -v and -x to the replacement shell. | |
218 | BASH_ENV=/dev/null | |
219 | ENV=/dev/null | |
220 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
221 | export CONFIG_SHELL | |
222 | case $- in # (((( | |
223 | *v*x* | *x*v* ) as_opts=-vx ;; | |
224 | *v* ) as_opts=-v ;; | |
225 | *x* ) as_opts=-x ;; | |
226 | * ) as_opts= ;; | |
227 | esac | |
228 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
238 | export CONFIG_SHELL | |
239 | # We cannot yet assume a decent shell, so we have to provide a | |
240 | # neutralization value for shells without unset; and this also | |
241 | # works around shells that cannot unset nonexistent variables. | |
242 | # Preserve -v and -x to the replacement shell. | |
243 | BASH_ENV=/dev/null | |
244 | ENV=/dev/null | |
245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
246 | case $- in # (((( | |
247 | *v*x* | *x*v* ) as_opts=-vx ;; | |
248 | *v* ) as_opts=-v ;; | |
249 | *x* ) as_opts=-x ;; | |
250 | * ) as_opts= ;; | |
251 | esac | |
252 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
253 | # Admittedly, this is quite paranoid, since all the known shells bail | |
254 | # out after a failed `exec'. | |
255 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
256 | exit 255 | |
229 | 257 | fi |
230 | 258 | |
231 | 259 | if test x$as_have_required = xno; then : |
327 | 355 | |
328 | 356 | |
329 | 357 | } # as_fn_mkdir_p |
358 | ||
359 | # as_fn_executable_p FILE | |
360 | # ----------------------- | |
361 | # Test if FILE is an executable regular file. | |
362 | as_fn_executable_p () | |
363 | { | |
364 | test -f "$1" && test -x "$1" | |
365 | } # as_fn_executable_p | |
330 | 366 | # as_fn_append VAR VALUE |
331 | 367 | # ---------------------- |
332 | 368 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
448 | 484 | chmod +x "$as_me.lineno" || |
449 | 485 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
450 | 486 | |
487 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
488 | # already done that, so ensure we don't try to do so again and fall | |
489 | # in an infinite loop. This has already happened in practice. | |
490 | _as_can_reexec=no; export _as_can_reexec | |
451 | 491 | # Don't try to exec as it changes $[0], causing all sort of problems |
452 | 492 | # (the dirname of $[0] is not the place where we might find the |
453 | 493 | # original and so on. Autoconf is especially sensitive to this). |
482 | 522 | # ... but there are two gotchas: |
483 | 523 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
484 | 524 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
485 | # In both cases, we have to default to `cp -p'. | |
525 | # In both cases, we have to default to `cp -pR'. | |
486 | 526 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
487 | as_ln_s='cp -p' | |
527 | as_ln_s='cp -pR' | |
488 | 528 | elif ln conf$$.file conf$$ 2>/dev/null; then |
489 | 529 | as_ln_s=ln |
490 | 530 | else |
491 | as_ln_s='cp -p' | |
531 | as_ln_s='cp -pR' | |
492 | 532 | fi |
493 | 533 | else |
494 | as_ln_s='cp -p' | |
534 | as_ln_s='cp -pR' | |
495 | 535 | fi |
496 | 536 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
497 | 537 | rmdir conf$$.dir 2>/dev/null |
503 | 543 | as_mkdir_p=false |
504 | 544 | fi |
505 | 545 | |
506 | if test -x / >/dev/null 2>&1; then | |
507 | as_test_x='test -x' | |
508 | else | |
509 | if ls -dL / >/dev/null 2>&1; then | |
510 | as_ls_L_option=L | |
511 | else | |
512 | as_ls_L_option= | |
513 | fi | |
514 | as_test_x=' | |
515 | eval sh -c '\'' | |
516 | if test -d "$1"; then | |
517 | test -d "$1/."; | |
518 | else | |
519 | case $1 in #( | |
520 | -*)set "./$1";; | |
521 | esac; | |
522 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
523 | ???[sx]*):;;*)false;;esac;fi | |
524 | '\'' sh | |
525 | ' | |
526 | fi | |
527 | as_executable_p=$as_test_x | |
546 | as_test_x='test -x' | |
547 | as_executable_p=as_fn_executable_p | |
528 | 548 | |
529 | 549 | # Sed expression to map a string onto a valid CPP name. |
530 | 550 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
556 | 576 | # Identity of this package. |
557 | 577 | PACKAGE_NAME='dillo' |
558 | 578 | PACKAGE_TARNAME='dillo' |
559 | PACKAGE_VERSION='3.0.2' | |
560 | PACKAGE_STRING='dillo 3.0.2' | |
579 | PACKAGE_VERSION='3.0.3' | |
580 | PACKAGE_STRING='dillo 3.0.3' | |
561 | 581 | PACKAGE_BUGREPORT='' |
562 | 582 | PACKAGE_URL='' |
563 | 583 | |
628 | 648 | am__fastdepCC_FALSE |
629 | 649 | am__fastdepCC_TRUE |
630 | 650 | CCDEPMODE |
651 | am__nodep | |
631 | 652 | AMDEPBACKSLASH |
632 | 653 | AMDEP_FALSE |
633 | 654 | AMDEP_TRUE |
1199 | 1220 | if test "x$host_alias" != x; then |
1200 | 1221 | if test "x$build_alias" = x; then |
1201 | 1222 | cross_compiling=maybe |
1202 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
1203 | If a cross compiler is detected then cross compile mode will be used" >&2 | |
1204 | 1223 | elif test "x$build_alias" != "x$host_alias"; then |
1205 | 1224 | cross_compiling=yes |
1206 | 1225 | fi |
1286 | 1305 | # Omit some internal or obsolete options to make the list less imposing. |
1287 | 1306 | # This message is too long to be a string in the A/UX 3.1 sh. |
1288 | 1307 | cat <<_ACEOF |
1289 | \`configure' configures dillo 3.0.2 to adapt to many kinds of systems. | |
1308 | \`configure' configures dillo 3.0.3 to adapt to many kinds of systems. | |
1290 | 1309 | |
1291 | 1310 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1292 | 1311 | |
1357 | 1376 | |
1358 | 1377 | if test -n "$ac_init_help"; then |
1359 | 1378 | case $ac_init_help in |
1360 | short | recursive ) echo "Configuration of dillo 3.0.2:";; | |
1379 | short | recursive ) echo "Configuration of dillo 3.0.3:";; | |
1361 | 1380 | esac |
1362 | 1381 | cat <<\_ACEOF |
1363 | 1382 | |
1463 | 1482 | test -n "$ac_init_help" && exit $ac_status |
1464 | 1483 | if $ac_init_version; then |
1465 | 1484 | cat <<\_ACEOF |
1466 | dillo configure 3.0.2 | |
1467 | generated by GNU Autoconf 2.68 | |
1468 | ||
1469 | Copyright (C) 2010 Free Software Foundation, Inc. | |
1485 | dillo configure 3.0.3 | |
1486 | generated by GNU Autoconf 2.69 | |
1487 | ||
1488 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1470 | 1489 | This configure script is free software; the Free Software Foundation |
1471 | 1490 | gives unlimited permission to copy, distribute and modify it. |
1472 | 1491 | _ACEOF |
1649 | 1668 | main () |
1650 | 1669 | { |
1651 | 1670 | static int test_array [1 - 2 * !(($2) >= 0)]; |
1652 | test_array [0] = 0 | |
1671 | test_array [0] = 0; | |
1672 | return test_array [0]; | |
1653 | 1673 | |
1654 | 1674 | ; |
1655 | 1675 | return 0; |
1665 | 1685 | main () |
1666 | 1686 | { |
1667 | 1687 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
1668 | test_array [0] = 0 | |
1688 | test_array [0] = 0; | |
1689 | return test_array [0]; | |
1669 | 1690 | |
1670 | 1691 | ; |
1671 | 1692 | return 0; |
1691 | 1712 | main () |
1692 | 1713 | { |
1693 | 1714 | static int test_array [1 - 2 * !(($2) < 0)]; |
1694 | test_array [0] = 0 | |
1715 | test_array [0] = 0; | |
1716 | return test_array [0]; | |
1695 | 1717 | |
1696 | 1718 | ; |
1697 | 1719 | return 0; |
1707 | 1729 | main () |
1708 | 1730 | { |
1709 | 1731 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
1710 | test_array [0] = 0 | |
1732 | test_array [0] = 0; | |
1733 | return test_array [0]; | |
1711 | 1734 | |
1712 | 1735 | ; |
1713 | 1736 | return 0; |
1741 | 1764 | main () |
1742 | 1765 | { |
1743 | 1766 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
1744 | test_array [0] = 0 | |
1767 | test_array [0] = 0; | |
1768 | return test_array [0]; | |
1745 | 1769 | |
1746 | 1770 | ; |
1747 | 1771 | return 0; |
1866 | 1890 | main () |
1867 | 1891 | { |
1868 | 1892 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
1869 | test_array [0] = 0 | |
1893 | test_array [0] = 0; | |
1894 | return test_array [0]; | |
1870 | 1895 | |
1871 | 1896 | ; |
1872 | 1897 | return 0; |
1882 | 1907 | { |
1883 | 1908 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
1884 | 1909 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
1885 | test_array [0] = 0 | |
1910 | test_array [0] = 0; | |
1911 | return test_array [0]; | |
1886 | 1912 | |
1887 | 1913 | ; |
1888 | 1914 | return 0; |
1939 | 1965 | main () |
1940 | 1966 | { |
1941 | 1967 | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
1942 | test_array [0] = 0 | |
1968 | test_array [0] = 0; | |
1969 | return test_array [0]; | |
1943 | 1970 | |
1944 | 1971 | ; |
1945 | 1972 | return 0; |
1995 | 2022 | test ! -s conftest.err |
1996 | 2023 | } && test -s conftest$ac_exeext && { |
1997 | 2024 | test "$cross_compiling" = yes || |
1998 | $as_test_x conftest$ac_exeext | |
2025 | test -x conftest$ac_exeext | |
1999 | 2026 | }; then : |
2000 | 2027 | ac_retval=0 |
2001 | 2028 | else |
2171 | 2198 | This file contains any messages produced by compilers while |
2172 | 2199 | running configure, to aid debugging if configure makes a mistake. |
2173 | 2200 | |
2174 | It was created by dillo $as_me 3.0.2, which was | |
2175 | generated by GNU Autoconf 2.68. Invocation command line was | |
2201 | It was created by dillo $as_me 3.0.3, which was | |
2202 | generated by GNU Autoconf 2.69. Invocation command line was | |
2176 | 2203 | |
2177 | 2204 | $ $0 $@ |
2178 | 2205 | |
2699 | 2726 | # by default. |
2700 | 2727 | for ac_prog in ginstall scoinst install; do |
2701 | 2728 | for ac_exec_ext in '' $ac_executable_extensions; do |
2702 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
2729 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2703 | 2730 | if test $ac_prog = install && |
2704 | 2731 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2705 | 2732 | # AIX install. It has an incompatible calling convention. |
2868 | 2895 | IFS=$as_save_IFS |
2869 | 2896 | test -z "$as_dir" && as_dir=. |
2870 | 2897 | for ac_exec_ext in '' $ac_executable_extensions; do |
2871 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2898 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2872 | 2899 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2873 | 2900 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2874 | 2901 | break 2 |
2908 | 2935 | IFS=$as_save_IFS |
2909 | 2936 | test -z "$as_dir" && as_dir=. |
2910 | 2937 | for ac_exec_ext in '' $ac_executable_extensions; do |
2911 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2938 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2912 | 2939 | ac_cv_prog_ac_ct_STRIP="strip" |
2913 | 2940 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2914 | 2941 | break 2 |
2959 | 2986 | test -z "$as_dir" && as_dir=. |
2960 | 2987 | for ac_prog in mkdir gmkdir; do |
2961 | 2988 | for ac_exec_ext in '' $ac_executable_extensions; do |
2962 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2989 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2963 | 2990 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2964 | 2991 | 'mkdir (GNU coreutils) '* | \ |
2965 | 2992 | 'mkdir (coreutils) '* | \ |
3012 | 3039 | IFS=$as_save_IFS |
3013 | 3040 | test -z "$as_dir" && as_dir=. |
3014 | 3041 | for ac_exec_ext in '' $ac_executable_extensions; do |
3015 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3042 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3016 | 3043 | ac_cv_prog_AWK="$ac_prog" |
3017 | 3044 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3018 | 3045 | break 2 |
3098 | 3125 | |
3099 | 3126 | # Define the identity of the package. |
3100 | 3127 | PACKAGE='dillo' |
3101 | VERSION='3.0.2' | |
3128 | VERSION='3.0.3' | |
3102 | 3129 | |
3103 | 3130 | |
3104 | 3131 | cat >>confdefs.h <<_ACEOF |
3128 | 3155 | |
3129 | 3156 | # We need awk for the "check" target. The system "awk" is bad on |
3130 | 3157 | # some platforms. |
3131 | # Always define AMTAR for backward compatibility. | |
3132 | ||
3133 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
3134 | ||
3135 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
3158 | # Always define AMTAR for backward compatibility. Yes, it's still used | |
3159 | # in the wild :-( We should find a proper way to deprecate it ... | |
3160 | AMTAR='$${TAR-tar}' | |
3161 | ||
3162 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | |
3136 | 3163 | |
3137 | 3164 | |
3138 | 3165 | |
3253 | 3280 | IFS=$as_save_IFS |
3254 | 3281 | test -z "$as_dir" && as_dir=. |
3255 | 3282 | for ac_exec_ext in '' $ac_executable_extensions; do |
3256 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3283 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3257 | 3284 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3258 | 3285 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3259 | 3286 | break 2 |
3293 | 3320 | IFS=$as_save_IFS |
3294 | 3321 | test -z "$as_dir" && as_dir=. |
3295 | 3322 | for ac_exec_ext in '' $ac_executable_extensions; do |
3296 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3323 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3297 | 3324 | ac_cv_prog_ac_ct_CC="gcc" |
3298 | 3325 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3299 | 3326 | break 2 |
3346 | 3373 | IFS=$as_save_IFS |
3347 | 3374 | test -z "$as_dir" && as_dir=. |
3348 | 3375 | for ac_exec_ext in '' $ac_executable_extensions; do |
3349 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3376 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3350 | 3377 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3351 | 3378 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3352 | 3379 | break 2 |
3387 | 3414 | IFS=$as_save_IFS |
3388 | 3415 | test -z "$as_dir" && as_dir=. |
3389 | 3416 | for ac_exec_ext in '' $ac_executable_extensions; do |
3390 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3417 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3391 | 3418 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3392 | 3419 | ac_prog_rejected=yes |
3393 | 3420 | continue |
3445 | 3472 | IFS=$as_save_IFS |
3446 | 3473 | test -z "$as_dir" && as_dir=. |
3447 | 3474 | for ac_exec_ext in '' $ac_executable_extensions; do |
3448 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3475 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3449 | 3476 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3450 | 3477 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3451 | 3478 | break 2 |
3489 | 3516 | IFS=$as_save_IFS |
3490 | 3517 | test -z "$as_dir" && as_dir=. |
3491 | 3518 | for ac_exec_ext in '' $ac_executable_extensions; do |
3492 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3519 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3493 | 3520 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3494 | 3521 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3495 | 3522 | break 2 |
3935 | 3962 | /* end confdefs.h. */ |
3936 | 3963 | #include <stdarg.h> |
3937 | 3964 | #include <stdio.h> |
3938 | #include <sys/types.h> | |
3939 | #include <sys/stat.h> | |
3965 | struct stat; | |
3940 | 3966 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3941 | 3967 | struct buf { int x; }; |
3942 | 3968 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4072 | 4098 | if test "x$enable_dependency_tracking" != xno; then |
4073 | 4099 | am_depcomp="$ac_aux_dir/depcomp" |
4074 | 4100 | AMDEPBACKSLASH='\' |
4101 | am__nodep='_no' | |
4075 | 4102 | fi |
4076 | 4103 | if test "x$enable_dependency_tracking" != xno; then |
4077 | 4104 | AMDEP_TRUE= |
4096 | 4123 | # instance it was reported that on HP-UX the gcc test will end up |
4097 | 4124 | # making a dummy file named `D' -- because `-MD' means `put the output |
4098 | 4125 | # in D'. |
4126 | rm -rf conftest.dir | |
4099 | 4127 | mkdir conftest.dir |
4100 | 4128 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4101 | 4129 | # using a relative directory. |
4155 | 4183 | break |
4156 | 4184 | fi |
4157 | 4185 | ;; |
4158 | msvisualcpp | msvcmsys) | |
4186 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
4159 | 4187 | # This compiler won't grok `-c -o', but also, the minuso test has |
4160 | 4188 | # not run yet. These depmodes are late enough in the game, and |
4161 | 4189 | # so weak that their functioning should not be impacted. |
4238 | 4266 | IFS=$as_save_IFS |
4239 | 4267 | test -z "$as_dir" && as_dir=. |
4240 | 4268 | for ac_exec_ext in '' $ac_executable_extensions; do |
4241 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4269 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4242 | 4270 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4243 | 4271 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4244 | 4272 | break 2 |
4282 | 4310 | IFS=$as_save_IFS |
4283 | 4311 | test -z "$as_dir" && as_dir=. |
4284 | 4312 | for ac_exec_ext in '' $ac_executable_extensions; do |
4285 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4313 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4286 | 4314 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
4287 | 4315 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4288 | 4316 | break 2 |
4480 | 4508 | # instance it was reported that on HP-UX the gcc test will end up |
4481 | 4509 | # making a dummy file named `D' -- because `-MD' means `put the output |
4482 | 4510 | # in D'. |
4511 | rm -rf conftest.dir | |
4483 | 4512 | mkdir conftest.dir |
4484 | 4513 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4485 | 4514 | # using a relative directory. |
4539 | 4568 | break |
4540 | 4569 | fi |
4541 | 4570 | ;; |
4542 | msvisualcpp | msvcmsys) | |
4571 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
4543 | 4572 | # This compiler won't grok `-c -o', but also, the minuso test has |
4544 | 4573 | # not run yet. These depmodes are late enough in the game, and |
4545 | 4574 | # so weak that their functioning should not be impacted. |
4611 | 4640 | IFS=$as_save_IFS |
4612 | 4641 | test -z "$as_dir" && as_dir=. |
4613 | 4642 | for ac_exec_ext in '' $ac_executable_extensions; do |
4614 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4643 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4615 | 4644 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
4616 | 4645 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4617 | 4646 | break 2 |
4651 | 4680 | IFS=$as_save_IFS |
4652 | 4681 | test -z "$as_dir" && as_dir=. |
4653 | 4682 | for ac_exec_ext in '' $ac_executable_extensions; do |
4654 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
4683 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4655 | 4684 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
4656 | 4685 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4657 | 4686 | break 2 |
4842 | 4871 | for ac_prog in grep ggrep; do |
4843 | 4872 | for ac_exec_ext in '' $ac_executable_extensions; do |
4844 | 4873 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4845 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
4874 | as_fn_executable_p "$ac_path_GREP" || continue | |
4846 | 4875 | # Check for GNU ac_path_GREP and select it if it is found. |
4847 | 4876 | # Check for GNU $ac_path_GREP |
4848 | 4877 | case `"$ac_path_GREP" --version 2>&1` in |
4908 | 4937 | for ac_prog in egrep; do |
4909 | 4938 | for ac_exec_ext in '' $ac_executable_extensions; do |
4910 | 4939 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4911 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
4940 | as_fn_executable_p "$ac_path_EGREP" || continue | |
4912 | 4941 | # Check for GNU ac_path_EGREP and select it if it is found. |
4913 | 4942 | # Check for GNU $ac_path_EGREP |
4914 | 4943 | case `"$ac_path_EGREP" --version 2>&1` in |
5716 | 5745 | $as_echo_n "checking for libpng version... " >&6; } |
5717 | 5746 | png_version=`$PNG_CONFIG --version` |
5718 | 5747 | case $png_version in |
5719 | 1.4.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (newer version)" >&5 | |
5720 | $as_echo "$png_version (newer version)" >&6; } ;; | |
5721 | 1.2.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (newer version)" >&5 | |
5722 | $as_echo "$png_version (newer version)" >&6; } ;; | |
5723 | 1.0.*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (older version)" >&5 | |
5724 | $as_echo "$png_version (older version)" >&6; } ;; | |
5725 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5 | |
5726 | $as_echo "ERROR" >&6; } ;; | |
5748 | 1.[024].*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version" >&5 | |
5749 | $as_echo "$png_version" >&6; } ;; | |
5750 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_version (unrecognised version)" >&5 | |
5751 | $as_echo "$png_version (unrecognised version)" >&6; } ;; | |
5727 | 5752 | esac |
5728 | 5753 | |
5729 | 5754 | LIBPNG_CFLAGS=`$PNG_CONFIG --cflags` |
6872 | 6897 | # ... but there are two gotchas: |
6873 | 6898 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6874 | 6899 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6875 | # In both cases, we have to default to `cp -p'. | |
6900 | # In both cases, we have to default to `cp -pR'. | |
6876 | 6901 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
6877 | as_ln_s='cp -p' | |
6902 | as_ln_s='cp -pR' | |
6878 | 6903 | elif ln conf$$.file conf$$ 2>/dev/null; then |
6879 | 6904 | as_ln_s=ln |
6880 | 6905 | else |
6881 | as_ln_s='cp -p' | |
6906 | as_ln_s='cp -pR' | |
6882 | 6907 | fi |
6883 | 6908 | else |
6884 | as_ln_s='cp -p' | |
6909 | as_ln_s='cp -pR' | |
6885 | 6910 | fi |
6886 | 6911 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6887 | 6912 | rmdir conf$$.dir 2>/dev/null |
6941 | 6966 | as_mkdir_p=false |
6942 | 6967 | fi |
6943 | 6968 | |
6944 | if test -x / >/dev/null 2>&1; then | |
6945 | as_test_x='test -x' | |
6946 | else | |
6947 | if ls -dL / >/dev/null 2>&1; then | |
6948 | as_ls_L_option=L | |
6949 | else | |
6950 | as_ls_L_option= | |
6951 | fi | |
6952 | as_test_x=' | |
6953 | eval sh -c '\'' | |
6954 | if test -d "$1"; then | |
6955 | test -d "$1/."; | |
6956 | else | |
6957 | case $1 in #( | |
6958 | -*)set "./$1";; | |
6959 | esac; | |
6960 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
6961 | ???[sx]*):;;*)false;;esac;fi | |
6962 | '\'' sh | |
6963 | ' | |
6964 | fi | |
6965 | as_executable_p=$as_test_x | |
6969 | ||
6970 | # as_fn_executable_p FILE | |
6971 | # ----------------------- | |
6972 | # Test if FILE is an executable regular file. | |
6973 | as_fn_executable_p () | |
6974 | { | |
6975 | test -f "$1" && test -x "$1" | |
6976 | } # as_fn_executable_p | |
6977 | as_test_x='test -x' | |
6978 | as_executable_p=as_fn_executable_p | |
6966 | 6979 | |
6967 | 6980 | # Sed expression to map a string onto a valid CPP name. |
6968 | 6981 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
6983 | 6996 | # report actual input values of CONFIG_FILES etc. instead of their |
6984 | 6997 | # values after options handling. |
6985 | 6998 | ac_log=" |
6986 | This file was extended by dillo $as_me 3.0.2, which was | |
6987 | generated by GNU Autoconf 2.68. Invocation command line was | |
6999 | This file was extended by dillo $as_me 3.0.3, which was | |
7000 | generated by GNU Autoconf 2.69. Invocation command line was | |
6988 | 7001 | |
6989 | 7002 | CONFIG_FILES = $CONFIG_FILES |
6990 | 7003 | CONFIG_HEADERS = $CONFIG_HEADERS |
7049 | 7062 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7050 | 7063 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7051 | 7064 | ac_cs_version="\\ |
7052 | dillo config.status 3.0.2 | |
7053 | configured by $0, generated by GNU Autoconf 2.68, | |
7065 | dillo config.status 3.0.3 | |
7066 | configured by $0, generated by GNU Autoconf 2.69, | |
7054 | 7067 | with options \\"\$ac_cs_config\\" |
7055 | 7068 | |
7056 | Copyright (C) 2010 Free Software Foundation, Inc. | |
7069 | Copyright (C) 2012 Free Software Foundation, Inc. | |
7057 | 7070 | This config.status script is free software; the Free Software Foundation |
7058 | 7071 | gives unlimited permission to copy, distribute and modify it." |
7059 | 7072 | |
7144 | 7157 | _ACEOF |
7145 | 7158 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7146 | 7159 | if \$ac_cs_recheck; then |
7147 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
7160 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
7148 | 7161 | shift |
7149 | 7162 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
7150 | 7163 | CONFIG_SHELL='$SHELL' |
0 | dnl Process this file with aclocal, autoconf and automake. | |
1 | ||
2 | AC_INIT([dillo], [3.0.3]) | |
3 | ||
4 | dnl Detect the canonical target build environment | |
5 | AC_CANONICAL_TARGET | |
6 | ||
7 | AM_INIT_AUTOMAKE | |
8 | AC_CONFIG_SRCDIR([src/dillo.cc]) | |
9 | AC_CONFIG_HEADERS([config.h]) | |
10 | ||
11 | sysconfdir=${sysconfdir}/${PACKAGE} | |
12 | ||
13 | dnl Options | |
14 | ||
15 | AC_ARG_WITH(jpeg-lib, [ --with-jpeg-lib=DIR Specify where to find libjpeg], LIBJPEG_LIBDIR=$withval) | |
16 | AC_ARG_WITH(jpeg-inc, [ --with-jpeg-inc=DIR Specify where to find libjpeg's headers], LIBJPEG_INCDIR=$withval) | |
17 | ||
18 | AC_ARG_ENABLE(efence, [ --enable-efence Try to compile and run with Electric Fence], | |
19 | , enable_efence=no) | |
20 | AC_ARG_ENABLE(gprof, [ --enable-gprof Try to compile and run with profiling enabled], | |
21 | , enable_gprof=no) | |
22 | AC_ARG_ENABLE(insure, [ --enable-insure Try to compile and run with Insure++], | |
23 | , enable_insure=no) | |
24 | AC_ARG_ENABLE(ssl, [ --enable-ssl Enable ssl, https (ALPHA CODE)], | |
25 | , enable_ssl=no) | |
26 | AC_ARG_ENABLE(ipv6, [ --enable-ipv6 Build with support for IPv6], , ) | |
27 | AC_ARG_ENABLE(cookies,[ --disable-cookies Don't compile support for cookies], | |
28 | , enable_cookies=yes) | |
29 | AC_ARG_ENABLE(png, [ --disable-png Disable support for PNG images], | |
30 | enable_png=$enableval, enable_png=yes) | |
31 | AC_ARG_ENABLE(jpeg, [ --disable-jpeg Disable support for JPEG images], | |
32 | enable_jpeg=$enableval, enable_jpeg=yes) | |
33 | AC_ARG_ENABLE(gif, [ --disable-gif Disable support for GIF images], | |
34 | enable_gif=$enableval, enable_gif=yes) | |
35 | AC_ARG_ENABLE(threaded-dns,[ --disable-threaded-dns Disable the advantage of a reentrant resolver library], | |
36 | enable_threaded_dns=$enableval, enable_threaded_dns=yes) | |
37 | AC_ARG_ENABLE(rtfl, [ --enable-rtfl Build with rtfl messages (for debugging rendering)]) | |
38 | AC_PROG_CC | |
39 | AC_PROG_CXX | |
40 | AC_PROG_RANLIB | |
41 | AC_PROG_CPP | |
42 | ||
43 | dnl ---------------------------- | |
44 | dnl Check our char and int types | |
45 | dnl ---------------------------- | |
46 | dnl | |
47 | AC_CHECK_SIZEOF(char) | |
48 | AC_CHECK_SIZEOF(short) | |
49 | AC_CHECK_SIZEOF(long) | |
50 | AC_CHECK_SIZEOF(int) | |
51 | AC_CHECK_SIZEOF(void *) | |
52 | ||
53 | AC_TYPE_INT16_T | |
54 | AC_TYPE_UINT16_T | |
55 | AC_TYPE_INT32_T | |
56 | AC_TYPE_UINT32_T | |
57 | ||
58 | dnl -------------------------------------- | |
59 | dnl Check whether to add /usr/local or not | |
60 | dnl (this is somewhat a religious problem) | |
61 | dnl -------------------------------------- | |
62 | dnl | |
63 | if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then | |
64 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | |
65 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | |
66 | fi | |
67 | ||
68 | dnl ------------------------------------ | |
69 | dnl Check for socket libs (AIX, Solaris) | |
70 | dnl ------------------------------------ | |
71 | dnl | |
72 | AC_CHECK_FUNCS(gethostbyname,, | |
73 | [AC_CHECK_LIB(nsl,gethostbyname,,[AC_CHECK_LIB(socket,gethostbyname)])]) | |
74 | AC_CHECK_FUNCS(setsockopt,,[AC_CHECK_LIB(socket,setsockopt)]) | |
75 | ||
76 | dnl -------------------- | |
77 | dnl Checks for socklen_t | |
78 | dnl -------------------- | |
79 | dnl | |
80 | AC_MSG_CHECKING([for socklen_t]) | |
81 | ac_cv_socklen_t="" | |
82 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | |
83 | #include <sys/types.h> | |
84 | #include <sys/socket.h> | |
85 | ]],[[ | |
86 | socklen_t a=0; | |
87 | getsockname(0,(struct sockaddr*)0, &a); | |
88 | ]])], | |
89 | ac_cv_socklen_t="socklen_t", | |
90 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | |
91 | #include <sys/types.h> | |
92 | #include <sys/socket.h> | |
93 | ]],[[ | |
94 | int a=0; | |
95 | getsockname(0,(struct sockaddr*)0, &a); | |
96 | ]])], | |
97 | ac_cv_socklen_t="int", | |
98 | ac_cv_socklen_t="size_t" | |
99 | ) | |
100 | ) | |
101 | AC_MSG_RESULT($ac_cv_socklen_t) | |
102 | if test "$ac_cv_socklen_t" != "socklen_t"; then | |
103 | AC_DEFINE_UNQUOTED([socklen_t], [$ac_cv_socklen_t], | |
104 | [Define the real type of socklen_t]) | |
105 | fi | |
106 | ||
107 | ||
108 | dnl ---------------------- | |
109 | dnl Test for FLTK 1.3 library | |
110 | dnl ---------------------- | |
111 | dnl | |
112 | dnl For debugging and to be user friendly | |
113 | AC_MSG_CHECKING([FLTK 1.3]) | |
114 | fltk_version="`fltk-config --version 2>/dev/null`" | |
115 | case $fltk_version in | |
116 | 1.3.*) AC_MSG_RESULT(yes) | |
117 | LIBFLTK_CXXFLAGS=`fltk-config --cxxflags` | |
118 | LIBFLTK_CFLAGS=`fltk-config --cflags` | |
119 | LIBFLTK_LIBS=`fltk-config --ldflags`;; | |
120 | ?*) AC_MSG_RESULT(no) | |
121 | AC_MSG_ERROR(FLTK 1.3 required; version found: $fltk_version);; | |
122 | *) AC_MSG_RESULT(no) | |
123 | AC_MSG_ERROR(FLTK 1.3 required; fltk-config not found) | |
124 | esac | |
125 | ||
126 | ||
127 | dnl ---------------- | |
128 | dnl Test for libjpeg | |
129 | dnl ---------------- | |
130 | dnl | |
131 | if test "x$enable_jpeg" = "xyes"; then | |
132 | AC_CHECK_HEADER(jpeglib.h, jpeg_ok=yes, jpeg_ok=no) | |
133 | ||
134 | if test "x$jpeg_ok" = "xyes"; then | |
135 | old_libs="$LIBS" | |
136 | AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, jpeg_ok=yes, jpeg_ok=no) | |
137 | LIBS="$old_libs" | |
138 | fi | |
139 | ||
140 | if test "x$jpeg_ok" = "xyes"; then | |
141 | LIBJPEG_LIBS="-ljpeg" | |
142 | if test -n "$LIBJPEG_LIBDIR"; then | |
143 | LIBJPEG_LDFLAGS="-L$LIBJPEG_LIBDIR" | |
144 | fi | |
145 | if test -n "$LIBJPEG_INCDIR"; then | |
146 | LIBJPEG_CPPFLAGS="-I$LIBJPEG_INCDIR" | |
147 | fi | |
148 | else | |
149 | AC_MSG_WARN([*** No libjpeg found. Disabling jpeg images.***]) | |
150 | fi | |
151 | fi | |
152 | ||
153 | if test "x$jpeg_ok" = "xyes"; then | |
154 | AC_DEFINE([ENABLE_JPEG], [1], [Enable JPEG images]) | |
155 | fi | |
156 | ||
157 | dnl ------------- | |
158 | dnl Test for zlib | |
159 | dnl ------------- | |
160 | dnl | |
161 | AC_CHECK_HEADER(zlib.h, libz_ok=yes, libz_ok=no) | |
162 | ||
163 | if test "x$libz_ok" = "xyes"; then | |
164 | old_libs="$LIBS" | |
165 | AC_CHECK_LIB(z, zlibVersion, libz_ok=yes, libz_ok=no) | |
166 | LIBS="$old_libs" | |
167 | fi | |
168 | ||
169 | if test "x$libz_ok" = xyes; then | |
170 | LIBZ_LIBS="-lz" | |
171 | else | |
172 | AC_MSG_ERROR(zlib must be installed!) | |
173 | fi | |
174 | ||
175 | dnl --------------- | |
176 | dnl Test for libpng | |
177 | dnl --------------- | |
178 | dnl | |
179 | if test "x$enable_png" = "xyes"; then | |
180 | AC_MSG_CHECKING([for libpng-config]) | |
181 | ||
182 | dnl Check if the user hasn't set the variable $PNG_CONFIG | |
183 | if test -z "$PNG_CONFIG"; then | |
184 | PNG_CONFIG=`which libpng14-config` | |
185 | if test -z "$PNG_CONFIG"; then | |
186 | PNG_CONFIG=`which libpng12-config` | |
187 | fi | |
188 | if test -z "$PNG_CONFIG"; then | |
189 | PNG_CONFIG=`which libpng-config` | |
190 | fi | |
191 | if test -z "$PNG_CONFIG"; then | |
192 | PNG_CONFIG=`which libpng10-config` | |
193 | fi | |
194 | fi | |
195 | ||
196 | dnl Check if the libpng-config script was found and is executable | |
197 | if test -n "$PNG_CONFIG" && test -x "$PNG_CONFIG"; then | |
198 | AC_MSG_RESULT([$PNG_CONFIG]) | |
199 | png_ok="yes" | |
200 | else | |
201 | AC_MSG_RESULT([missing]) | |
202 | png_ok="no" | |
203 | fi | |
204 | ||
205 | if test "x$png_ok" = "xyes"; then | |
206 | dnl For debugging and to be user friendly | |
207 | AC_MSG_CHECKING([for libpng version]) | |
208 | png_version=`$PNG_CONFIG --version` | |
209 | case $png_version in | |
210 | 1.[[024]].*) AC_MSG_RESULT([$png_version]) ;; | |
211 | *) AC_MSG_RESULT([$png_version (unrecognised version)]) ;; | |
212 | esac | |
213 | ||
214 | dnl Try to use options that are supported by all libpng-config versions... | |
215 | LIBPNG_CFLAGS=`$PNG_CONFIG --cflags` | |
216 | LIBPNG_LIBS=`$PNG_CONFIG --ldflags` | |
217 | case $png_version in | |
218 | 1.2.4*) LIBPNG_LIBS="$LIBPNG_LIBS `$PNG_CONFIG --libs`" ;; | |
219 | esac | |
220 | else | |
221 | dnl Try to find libpng even though libpng-config wasn't found | |
222 | AC_CHECK_HEADERS(png.h libpng/png.h, png_ok=yes && break, png_ok=no) | |
223 | ||
224 | if test "x$png_ok" = "xyes"; then | |
225 | old_libs="$LIBS" | |
226 | AC_CHECK_LIB(png, png_sig_cmp, png_ok=yes, png_ok=no, $LIBZ_LIBS -lm) | |
227 | LIBS="$old_libs" | |
228 | ||
229 | if test "x$png_ok" = "xyes"; then | |
230 | LIBPNG_LIBS="-lpng -lm" | |
231 | fi | |
232 | fi | |
233 | ||
234 | if test "x$png_ok" = "xno"; then | |
235 | AC_MSG_WARN([*** No libpng found. Disabling PNG images ***]) | |
236 | fi | |
237 | fi | |
238 | fi | |
239 | ||
240 | if test "x$png_ok" = "xyes"; then | |
241 | AC_DEFINE([ENABLE_PNG], [1], [Enable PNG images]) | |
242 | fi | |
243 | ||
244 | dnl Check if support for GIF images should be compiled in | |
245 | if test "x$enable_gif" = "xyes"; then | |
246 | AC_DEFINE([ENABLE_GIF], [1], [Enable GIF images]) | |
247 | fi | |
248 | ||
249 | dnl -------------------------- | |
250 | dnl Test for support for SSL | |
251 | dnl -------------------------- | |
252 | dnl | |
253 | if test "x$enable_ssl" = "xyes"; then | |
254 | AC_CHECK_HEADER(openssl/ssl.h, ssl_ok=yes, ssl_ok=no) | |
255 | ||
256 | if test "x$ssl_ok" = "xyes"; then | |
257 | old_libs="$LIBS" | |
258 | AC_CHECK_LIB(ssl, SSL_library_init, ssl_ok=yes, ssl_ok=no, -lcrypto) | |
259 | LIBS="$old_libs" | |
260 | fi | |
261 | ||
262 | if test "x$ssl_ok" = "xyes"; then | |
263 | LIBSSL_LIBS="-lcrypto -lssl" | |
264 | AC_MSG_WARN([*** Enabling ssl support. THIS IS ALPHA CODE!***]) | |
265 | else | |
266 | AC_MSG_WARN([*** No libssl found. Disabling ssl support.***]) | |
267 | fi | |
268 | fi | |
269 | ||
270 | if test "x$ssl_ok" = "xyes"; then | |
271 | AC_DEFINE([ENABLE_SSL], [1], [Enable SSL support]) | |
272 | fi | |
273 | ||
274 | dnl -------------------------------------------------------------- | |
275 | dnl Test for iconv functionality in libc or for libiconv usability | |
276 | dnl -------------------------------------------------------------- | |
277 | AC_CHECK_HEADER(iconv.h, iconv_ok=yes, iconv_ok=no) | |
278 | if test "x$iconv_ok" = "xyes"; then | |
279 | AC_CHECK_LIB(c, iconv_open, LIBICONV_LIBS="", | |
280 | AC_CHECK_LIB(iconv, iconv_open, LIBICONV_LIBS="-liconv", iconv_ok=no)) | |
281 | fi | |
282 | if test "x$iconv_ok" = "xno"; then | |
283 | dnl Test for OpenBSD | |
284 | old_libs="$LIBS" | |
285 | LIBS="$old_libs -liconv" | |
286 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | |
287 | #include <iconv.h> | |
288 | ]],[[ | |
289 | iconv_open("",""); | |
290 | ]])], | |
291 | iconv_ok=yes,iconv_ok=no) | |
292 | LIBS="$old_libs" | |
293 | if test "x$iconv_ok" = "xyes"; then | |
294 | LIBICONV_LIBS="-liconv" | |
295 | fi | |
296 | fi | |
297 | ||
298 | if test "x$iconv_ok" = "xno"; then | |
299 | AC_MSG_ERROR(libiconv must be installed!) | |
300 | fi | |
301 | ||
302 | dnl ---------------------- | |
303 | dnl Check if we need to | |
304 | dnl support the old | |
305 | dnl iconv interface | |
306 | dnl ---------------------- | |
307 | if test "x$iconv_ok" = "xyes"; then | |
308 | old_libs="$LIBS" | |
309 | LIBS="$old_libs $LIBICONV_LIBS" | |
310 | old_cflags="$CFLAGS" | |
311 | CFLAGS="$CFLAGS -Werror" | |
312 | AC_LANG_PUSH([C++]) | |
313 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ | |
314 | #include <iconv.h> | |
315 | ]],[[ | |
316 | const char *inPtr; | |
317 | char *outPtr; | |
318 | size_t inLeft = 0, outRoom = 0; | |
319 | iconv_t encoder = iconv_open("ASCII", "UTF-8"); | |
320 | iconv(encoder, &inPtr, &inLeft, &outPtr, &outRoom); | |
321 | ]])], | |
322 | iconv_old=yes,iconv_old=no) | |
323 | AC_LANG_POP([C++]) | |
324 | LIBS="$old_libs" | |
325 | CFLAGS="$old_cflags" | |
326 | ||
327 | if test "x$iconv_old" = "xyes"; then | |
328 | AC_DEFINE([inbuf_t], [const char], [Use const char pointers for older libiconv]) | |
329 | else | |
330 | AC_DEFINE([inbuf_t], [char], [Use char pointers for newer libiconv]) | |
331 | fi | |
332 | fi | |
333 | ||
334 | dnl ---------------------- | |
335 | dnl Test for POSIX threads | |
336 | dnl ---------------------- | |
337 | dnl | |
338 | if test -z "$LIBPTHREAD_LIBS"; then | |
339 | case $target in | |
340 | *-*-linux*|*-*-solaris*) | |
341 | old_libs="$LIBS" | |
342 | AC_CHECK_LIB(pthread, pthread_create, LIBPTHREAD_LIBS="-lpthread") | |
343 | LIBS="$old_libs" | |
344 | ;; | |
345 | ||
346 | *-*-osf1*) | |
347 | AC_MSG_CHECKING(whether pthreads work) | |
348 | LIBPTHREAD_LIBS="-lpthread -lexc -ldb" | |
349 | AC_MSG_WARN([*** _Untested pthreads_ try setting LIBPTHREAD_LIBS manually if it doesn't work ***]) | |
350 | ;; | |
351 | ||
352 | *-*-minix*) | |
353 | AC_MSG_NOTICE([Minix detected, skipping pthread detection]) | |
354 | ;; | |
355 | ||
356 | *) | |
357 | AC_MSG_CHECKING(whether threads work with -pthread) | |
358 | LDSAVEFLAGS=$LDFLAGS | |
359 | LDFLAGS="$LDFLAGS -pthread" | |
360 | AC_LINK_IFELSE([AC_LANG_CALL([],[pthread_create])], | |
361 | pthread_ok=yes, pthread_ok=no) | |
362 | LDFLAGS=$LDSAVEFLAGS | |
363 | ||
364 | if test "x$pthread_ok" = "xyes"; then | |
365 | AC_MSG_RESULT(yes) | |
366 | LIBPTHREAD_LDFLAGS="-pthread" | |
367 | else | |
368 | AC_MSG_RESULT(no. Now we will try some libraries.) | |
369 | ||
370 | AC_SEARCH_LIBS(pthread_create, pthread, | |
371 | LIBPTHREADS_LIBS="-lpthread", | |
372 | AC_SEARCH_LIBS(pthread_create, pthreads, | |
373 | LIBPTHREADS_LIBS="-lpthreads", | |
374 | AC_SEARCH_LIBS(pthread_create, c_r, | |
375 | LIBPTHREADS_LIBS="-lc_r", thread_ok=no))) | |
376 |