Codebase list dillo / 472ad04
Imported Upstream version 3.0.3 Axel Beckert 10 years ago
207 changed file(s) with 10492 addition(s) and 4937 deletion(s). Raw diff Collapse all Expand all
8585 public domain.
8686 * src/md5.[ch] contain code by L. Peter Deutsch whose copyright is held by
8787 Aladdin Enterprises.
88 * src/tipwin.cc contains code by Greg Ercolano.
55 user. For a history of changes in full detail, see our Mercurial repository
66 at http://hg.dillo.org/dillo
77
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 -----------------------------------------------------------------------------
855
956 dillo-3.0.2 [December 05, 2011]
1057
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
011 Basic Installation
112 ==================
213
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.
422
523 The `configure' shell script attempts to guess correct values for
624 various system-dependent variables used during compilation. It uses
725 those values to create a `Makefile' in each directory of the package.
826 It may also create one or more `.h' files containing system-dependent
927 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.
1437
1538 If you need to do unusual things to compile the package, please try
1639 to figure out how `configure' could check whether to do them, and mail
1740 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:
2651
2752 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.
3557
3658 2. Type `make' to compile the package.
3759
3860 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.
4062
4163 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
4577 source code directory by typing `make clean'. To also remove the
4678 files that `configure' created (so you can compile the package for
4779 a different kind of computer), type `make distclean'. There is
5082 all sorts of other programs in order to regenerate files that came
5183 with the distribution.
5284
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
5395 Compilers and Options
5496 =====================
5597
5698 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.
65109
66110 Compiling For Multiple Architectures
67111 ====================================
68112
69113 You can compile the package for more than one kind of computer at the
70114 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
73116 directory where you want the object files and executables to go and run
74117 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.
82139
83140 Installation Names
84141 ==================
85142
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.
90148
91149 You can specify separate installation prefixes for
92150 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 =================
96193
97194 If the package supports it, you can cause programs to be installed
98195 with an extra prefix or suffix on their names by giving `configure' the
99196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
100
101 Optional Features
102 =================
103197
104198 Some packages pay attention to `--enable-FEATURE' options to
105199 `configure', where FEATURE indicates an optional part of the package.
113207 you can use the `configure' options `--x-includes=DIR' and
114208 `--x-libraries=DIR' to specify their locations.
115209
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
116249 Specifying the System Type
117250 ==========================
118251
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
125260 CPU-COMPANY-SYSTEM
126261
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
128268 `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'.
135279
136280 Sharing Defaults
137281 ================
144288 `CONFIG_SITE' environment variable to the location of the site script.
145289 A warning: not all `configure' scripts look for a site script.
146290
147 Operation Controls
291 Defining Variables
148292 ==================
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 ======================
149312
150313 `configure' recognizes the following options to control how it
151314 operates.
152315
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
153332 `--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'.
160340
161341 `--quiet'
162342 `--silent'
163343 `-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).
165347
166348 `--srcdir=DIR'
167349 Look for the package's source code in directory DIR. Usually
168350 `configure' can determine that directory automatically.
169351
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
00 SUBDIRS = lout dw dlib dpip src doc dpid dpi test
1
2 dist_bin_SCRIPTS = dillo-install-hyphenation
13
24 EXTRA_DIST = Doxyfile dillorc install-dpi-local d_size.h
35
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
0 # Makefile.in generated by automake 1.11.6 from Makefile.am.
11 # @configure_input@
22
33 # 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.
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
88 # with or without modifications, as long as this notice is preserved.
1414
1515 @SET_MAKE@
1616
17
1718 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 }
1836 pkgdatadir = $(datadir)/@PACKAGE@
1937 pkgincludedir = $(includedir)/@PACKAGE@
2038 pkglibdir = $(libdir)/@PACKAGE@
3553 host_triplet = @host@
3654 target_triplet = @target@
3755 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
4261 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/configure.in
62 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
4463 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4564 $(ACLOCAL_M4)
4665 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
4968 CONFIG_HEADER = config.h
5069 CONFIG_CLEAN_FILES =
5170 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
6171 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
6272 am__vpath_adj = case $$p in \
6373 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
7989 am__base_list = \
8090 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
8191 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
83114 DATA = $(sysconf_DATA)
84115 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
85116 distclean-recursive maintainer-clean-recursive
93124 distdir = $(PACKAGE)-$(VERSION)
94125 top_distdir = $(distdir)
95126 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
99132 am__relativize = \
100133 dir0=`pwd`; \
101134 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
124157 DIST_ARCHIVES = $(distdir).tar.gz
125158 GZIP_ENV = --best
126159 distuninstallcheck_listfiles = find . -type f -print
160 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
161 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
127162 distcleancheck_listfiles = find . -type f -print
128163 ACLOCAL = @ACLOCAL@
129164 AMTAR = @AMTAR@
242277 top_builddir = @top_builddir@
243278 top_srcdir = @top_srcdir@
244279 SUBDIRS = lout dw dlib dpip src doc dpid dpi test
280 dist_bin_SCRIPTS = dillo-install-hyphenation
245281 EXTRA_DIST = Doxyfile dillorc install-dpi-local d_size.h
246282 sysconf_DATA = dillorc
247283 all: config.h
248284 $(MAKE) $(AM_MAKEFLAGS) all-recursive
249285
250286 .SUFFIXES:
251 am--refresh:
287 am--refresh: Makefile
252288 @:
253289 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
254290 @for dep in $?; do \
284320 $(am__aclocal_m4_deps):
285321
286322 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
291325
292326 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
293327 @rm -f stamp-h1
299333
300334 distclean-hdr:
301335 -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)
302371 install-sysconfDATA: $(sysconf_DATA)
303372 @$(NORMAL_INSTALL)
304 test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
305373 @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; \
306378 for p in $$list; do \
307379 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
308380 echo "$$d$$p"; \
316388 @$(NORMAL_UNINSTALL)
317389 @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
318390 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)
322392
323393 # This directory's subdirectories are mostly independent; you can cd
324394 # into them and run `make' without going through this Makefile.
489559 done
490560 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
491561 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; \
499566 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
500567 $(am__relativize); \
501568 new_distdir=$$reldir; \
527594 $(am__remove_distdir)
528595
529596 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
531602 $(am__remove_distdir)
532603
533604 dist-lzma: distdir
535606 $(am__remove_distdir)
536607
537608 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
539610 $(am__remove_distdir)
540611
541612 dist-tarZ: distdir
566637 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
567638 *.tar.lzma*) \
568639 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
640 *.tar.lz*) \
641 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
569642 *.tar.xz*) \
570643 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
571644 *.tar.Z*) \
575648 *.zip*) \
576649 unzip $(distdir).zip ;;\
577650 esac
578 chmod -R a-w $(distdir); chmod a+w $(distdir)
651 chmod -R a-w $(distdir); chmod u+w $(distdir)
579652 mkdir $(distdir)/_build
580653 mkdir $(distdir)/_inst
581654 chmod a-w $(distdir)
585658 && am__cwd=`pwd` \
586659 && $(am__cd) $(distdir)/_build \
587660 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
661 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
588662 $(DISTCHECK_CONFIGURE_FLAGS) \
589663 && $(MAKE) $(AM_MAKEFLAGS) \
590664 && $(MAKE) $(AM_MAKEFLAGS) dvi \
613687 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
614688 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
615689 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 \
618700 || { echo "ERROR: files left after uninstall:" ; \
619701 if test -n "$(DESTDIR)"; then \
620702 echo " (check DESTDIR support)"; \
632714 exit 1; } >&2
633715 check-am: all-am
634716 check: check-recursive
635 all-am: Makefile $(DATA) config.h
717 all-am: Makefile $(SCRIPTS) $(DATA) config.h
636718 installdirs: installdirs-recursive
637719 installdirs-am:
638 for dir in "$(DESTDIR)$(sysconfdir)"; do \
720 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sysconfdir)"; do \
639721 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
640722 done
641723 install: install-recursive
648730
649731 installcheck: installcheck-recursive
650732 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
655742 mostlyclean-generic:
656743
657744 clean-generic:
690777
691778 install-dvi-am:
692779
693 install-exec-am: install-sysconfDATA
780 install-exec-am: install-dist_binSCRIPTS install-sysconfDATA
694781
695782 install-html: install-html-recursive
696783
730817
731818 ps-am:
732819
733 uninstall-am: uninstall-sysconfDATA
820 uninstall-am: uninstall-dist_binSCRIPTS uninstall-sysconfDATA
734821
735822 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
736823 ctags-recursive install-am install-strip tags-recursive
738825 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
739826 all all-am am--refresh check check-am clean clean-generic \
740827 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
753841
754842
755843 # Tell versions [3.59,3.63) of GNU make to not export all variables.
3737
3838 dillo-3.0.1, a bugfix release for the new 3.x series is out.
3939
40 Mar 2013
41
42 dillo-3.0.3, a new release for the new 3.x series is out.
4043
4144 Jorge.-
4245 jcid@dillo.org
2929 * no https (there's a barebones prototype).
3030
3131
32 -------
32 --------
3333 FLTK-1.3
34 -------
34 --------
3535
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:
3738
38 http://fltk.org/software.php?VERSION=1.3.0
39 http://fltk.org/software.php
3940
41 and build it like:
4042
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
4945 less README.Unix.txt
5046 make
5147 sudo make install
5248 cd ..
53
54 (don't configure fltk with --enable-cairo)
5549
56 2.- Then dillo3:
50 ------
51 Dillo3
52 ------
5753
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
6056 ./configure; make
6157 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.
6264
6365
6466 ------------
102104
103105 Jorge.-
104106 (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 -*-
11
22 # 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.
45 # This file is free software; the Free Software Foundation
56 # gives unlimited permission to copy and/or distribute it,
67 # with or without modifications, as long as this notice is preserved.
1213
1314 m4_ifndef([AC_AUTOCONF_VERSION],
1415 [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.
1718 You have another version of autoconf. It may work, but is not guaranteed to.
1819 If you have problems, you may need to regenerate the build system entirely.
1920 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2021
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
2630
2731 # AM_AUTOMAKE_VERSION(VERSION)
2832 # ----------------------------
3337 [am__api_version='1.11'
3438 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3539 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], [],
3741 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3842 ])
3943
4953 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5054 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5155 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
56 [AM_AUTOMAKE_VERSION([1.11.6])dnl
5357 m4_ifndef([AC_AUTOCONF_VERSION],
5458 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5559 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5660
5761 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5862
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
6470
6571 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6672 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
143149 Usually this means the macro was only invoked conditionally.]])
144150 fi])])
145151
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
154160
155161 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156162 # written in clear, in which case automake, when reading aclocal.m4,
190196 # instance it was reported that on HP-UX the gcc test will end up
191197 # making a dummy file named `D' -- because `-MD' means `put the output
192198 # in D'.
199 rm -rf conftest.dir
193200 mkdir conftest.dir
194201 # Copy depcomp to subdir because otherwise we won't find it if we're
195202 # using a relative directory.
254261 break
255262 fi
256263 ;;
257 msvisualcpp | msvcmsys)
264 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
258265 # This compiler won't grok `-c -o', but also, the minuso test has
259266 # not run yet. These depmodes are late enough in the game, and
260267 # so weak that their functioning should not be impacted.
319326 if test "x$enable_dependency_tracking" != xno; then
320327 am_depcomp="$ac_aux_dir/depcomp"
321328 AMDEPBACKSLASH='\'
329 am__nodep='_no'
322330 fi
323331 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
324332 AC_SUBST([AMDEPBACKSLASH])dnl
325333 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
334 AC_SUBST([am__nodep])dnl
335 _AM_SUBST_NOTMAKE([am__nodep])dnl
326336 ])
327337
328338 # Generate code to set up dependency tracking. -*- Autoconf -*-
544554 done
545555 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
546556
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
552565
553566 # AM_PROG_INSTALL_SH
554567 # ------------------
681694 fi
682695 ])
683696
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
689705
690706 # AM_PROG_MKDIR_P
691707 # ---------------
709725
710726 # Helper functions for option handling. -*- Autoconf -*-
711727
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
719736
720737 # _AM_MANGLE_OPTION(NAME)
721738 # -----------------------
723740 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
724741
725742 # _AM_SET_OPTION(NAME)
726 # ------------------------------
743 # --------------------
727744 # Set option NAME. Presently that only means defining a flag for this option.
728745 AC_DEFUN([_AM_SET_OPTION],
729746 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
730747
731748 # _AM_SET_OPTIONS(OPTIONS)
732 # ----------------------------------
749 # ------------------------
733750 # OPTIONS is a space-separated list of Automake options.
734751 AC_DEFUN([_AM_SET_OPTIONS],
735752 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
805822 fi
806823 AC_MSG_RESULT(yes)])
807824
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
813832
814833 # AM_PROG_INSTALL_STRIP
815834 # ---------------------
833852 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
834853 AC_SUBST([INSTALL_STRIP_PROGRAM])])
835854
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
843862
844863 # _AM_SUBST_NOTMAKE(VARIABLE)
845864 # ---------------------------
848867 AC_DEFUN([_AM_SUBST_NOTMAKE])
849868
850869 # AM_SUBST_NOTMAKE(VARIABLE)
851 # ---------------------------
870 # --------------------------
852871 # Public sister of _AM_SUBST_NOTMAKE.
853872 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
854873
855874 # Check how to create a tarball. -*- Autoconf -*-
856875
857 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
876 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
858877 #
859878 # This file is free software; the Free Software Foundation
860879 # gives unlimited permission to copy and/or distribute it,
876895 # a tarball read from stdin.
877896 # $(am__untar) < result.tar
878897 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}'])
881901 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 -'],
883903 [m4_case([$1], [ustar],, [pax],,
884904 [m4_fatal([Unknown tar format])])
885905 AC_MSG_CHECKING([how to create a $1 tar archive])
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # 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'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
1616 # General Public License for more details.
1717 #
1818 # 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/>.
2220 #
2321 # As a special exception to the GNU General Public License, if you
2422 # distribute this file as part of a program that contains a
5553 GNU config.guess ($timestamp)
5654
5755 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.
6059
6160 This is free software; see the source for copying conditions. There is NO
6261 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
143142 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
144143 *:NetBSD:*:*)
145144 # NetBSD (nbsd) targets should (where applicable) match one or
146 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
145 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
147146 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
148147 # switched to ELF, *-*-netbsd* would select the old
149148 # object file format. This provides both forward
179178 fi
180179 ;;
181180 *)
182 os=netbsd
181 os=netbsd
183182 ;;
184183 esac
185184 # The OS release
222221 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
223222 ;;
224223 *5.*)
225 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
226225 ;;
227226 esac
228227 # According to Compaq, /usr/sbin/psrinfo has been available on
268267 # A Xn.n version is an unreleased experimental baselevel.
269268 # 1.2 uses "1.2" for uname -r.
270269 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 ;;
272274 Alpha\ *:Windows_NT*:*)
273275 # How do we know it's Interix rather than the generic POSIX subsystem?
274276 # Should we change UNAME_MACHINE based on the output of uname instead
294296 echo s390-ibm-zvmoe
295297 exit ;;
296298 *:OS400:*:*)
297 echo powerpc-ibm-os400
299 echo powerpc-ibm-os400
298300 exit ;;
299301 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
300302 echo arm-acorn-riscix${UNAME_RELEASE}
393395 # MiNT. But MiNT is downward compatible to TOS, so this should
394396 # be no problem.
395397 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
396 echo m68k-atari-mint${UNAME_RELEASE}
398 echo m68k-atari-mint${UNAME_RELEASE}
397399 exit ;;
398400 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
399401 echo m68k-atari-mint${UNAME_RELEASE}
400 exit ;;
402 exit ;;
401403 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
402 echo m68k-atari-mint${UNAME_RELEASE}
404 echo m68k-atari-mint${UNAME_RELEASE}
403405 exit ;;
404406 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
405 echo m68k-milan-mint${UNAME_RELEASE}
406 exit ;;
407 echo m68k-milan-mint${UNAME_RELEASE}
408 exit ;;
407409 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
408 echo m68k-hades-mint${UNAME_RELEASE}
409 exit ;;
410 echo m68k-hades-mint${UNAME_RELEASE}
411 exit ;;
410412 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
411 echo m68k-unknown-mint${UNAME_RELEASE}
412 exit ;;
413 echo m68k-unknown-mint${UNAME_RELEASE}
414 exit ;;
413415 m68k:machten:*:*)
414416 echo m68k-apple-machten${UNAME_RELEASE}
415417 exit ;;
479481 echo m88k-motorola-sysv3
480482 exit ;;
481483 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`
484486 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
485487 then
486488 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
493495 else
494496 echo i586-dg-dgux${UNAME_RELEASE}
495497 fi
496 exit ;;
498 exit ;;
497499 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
498500 echo m88k-dolphin-sysv3
499501 exit ;;
550552 echo rs6000-ibm-aix3.2
551553 fi
552554 exit ;;
553 *:AIX:*:[456])
555 *:AIX:*:[4567])
554556 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
555557 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
556558 IBM_ARCH=rs6000
593595 9000/[678][0-9][0-9])
594596 if [ -x /usr/bin/getconf ]; then
595597 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" ;;
604606 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
605 esac ;;
606 esac
607 esac ;;
608 esac
607609 fi
608610 if [ "${HP_ARCH}" = "" ]; then
609611 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 }
642644 EOF
643645 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
644646 test -z "$HP_ARCH" && HP_ARCH=hppa
729731 exit ;;
730732 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
731733 echo c1-convex-bsd
732 exit ;;
734 exit ;;
733735 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
734736 if getsysinfo -f scalar_acc
735737 then echo c32-convex-bsd
736738 else echo c2-convex-bsd
737739 fi
738 exit ;;
740 exit ;;
739741 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
740742 echo c34-convex-bsd
741 exit ;;
743 exit ;;
742744 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
743745 echo c38-convex-bsd
744 exit ;;
746 exit ;;
745747 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
746748 echo c4-convex-bsd
747 exit ;;
749 exit ;;
748750 CRAY*Y-MP:*:*:*)
749751 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
750752 exit ;;
768770 exit ;;
769771 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
770772 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 ;;
775777 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}"
779781 exit ;;
780782 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
781783 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
787789 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
788790 exit ;;
789791 *: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
793794 amd64)
794795 echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
795796 *)
796 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
797 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
797798 esac
798799 exit ;;
799800 i*:CYGWIN*:*)
802803 *:MINGW*:*)
803804 echo ${UNAME_MACHINE}-pc-mingw32
804805 exit ;;
806 i*:MSYS*:*)
807 echo ${UNAME_MACHINE}-pc-msys
808 exit ;;
805809 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
808812 exit ;;
809813 i*:PW*:*)
810814 echo ${UNAME_MACHINE}-pc-pw32
811815 exit ;;
812816 *:Interix*:*)
813 case ${UNAME_MACHINE} in
817 case ${UNAME_MACHINE} in
814818 x86)
815819 echo i586-pc-interix${UNAME_RELEASE}
816820 exit ;;
856860 i*86:Minix:*:*)
857861 echo ${UNAME_MACHINE}-pc-minix
858862 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 ;;
859870 alpha:Linux:*:*)
860871 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
861872 EV5) UNAME_MACHINE=alphaev5 ;;
865876 EV6) UNAME_MACHINE=alphaev6 ;;
866877 EV67) UNAME_MACHINE=alphaev67 ;;
867878 EV68*) UNAME_MACHINE=alphaev68 ;;
868 esac
879 esac
869880 objdump --private-headers /bin/sh | grep -q ld.so.1
870881 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
871882 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
877888 then
878889 echo ${UNAME_MACHINE}-unknown-linux-gnu
879890 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
881898 fi
882899 exit ;;
883900 avr32*:Linux:*:*)
884901 echo ${UNAME_MACHINE}-unknown-linux-gnu
885902 exit ;;
886903 cris:Linux:*:*)
887 echo cris-axis-linux-gnu
904 echo ${UNAME_MACHINE}-axis-linux-gnu
888905 exit ;;
889906 crisv32:Linux:*:*)
890 echo crisv32-axis-linux-gnu
907 echo ${UNAME_MACHINE}-axis-linux-gnu
891908 exit ;;
892909 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
894914 exit ;;
895915 i*86:Linux:*:*)
896916 LIBC=gnu
932952 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
933953 ;;
934954 or32:Linux:*:*)
935 echo or32-unknown-linux-gnu
955 echo ${UNAME_MACHINE}-unknown-linux-gnu
936956 exit ;;
937957 padre:Linux:*:*)
938958 echo sparc-unknown-linux-gnu
958978 echo ${UNAME_MACHINE}-ibm-linux
959979 exit ;;
960980 sh64*:Linux:*:*)
961 echo ${UNAME_MACHINE}-unknown-linux-gnu
981 echo ${UNAME_MACHINE}-unknown-linux-gnu
962982 exit ;;
963983 sh*:Linux:*:*)
964984 echo ${UNAME_MACHINE}-unknown-linux-gnu
966986 sparc:Linux:*:* | sparc64:Linux:*:*)
967987 echo ${UNAME_MACHINE}-unknown-linux-gnu
968988 exit ;;
989 tile*:Linux:*:*)
990 echo ${UNAME_MACHINE}-unknown-linux-gnu
991 exit ;;
969992 vax:Linux:*:*)
970993 echo ${UNAME_MACHINE}-dec-linux-gnu
971994 exit ;;
972995 x86_64:Linux:*:*)
973 echo x86_64-unknown-linux-gnu
996 echo ${UNAME_MACHINE}-unknown-linux-gnu
974997 exit ;;
975998 xtensa*:Linux:*:*)
976 echo ${UNAME_MACHINE}-unknown-linux-gnu
999 echo ${UNAME_MACHINE}-unknown-linux-gnu
9771000 exit ;;
9781001 i*86:DYNIX/ptx:4*:*)
9791002 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
9821005 echo i386-sequent-sysv4
9831006 exit ;;
9841007 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,
9881011 # I just have to hope. -- rms.
989 # Use sysv4.2uw... so that sysv4* matches it.
1012 # Use sysv4.2uw... so that sysv4* matches it.
9901013 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
9911014 exit ;;
9921015 i*86:OS/2:*:*)
10181041 fi
10191042 exit ;;
10201043 i*86:*:5:[678]*)
1021 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1044 # UnixWare 7.x, OpenUNIX and OpenServer 6.
10221045 case `/bin/uname -X | grep "^Machine"` in
10231046 *486*) UNAME_MACHINE=i486 ;;
10241047 *Pentium) UNAME_MACHINE=i586 ;;
10461069 exit ;;
10471070 pc:*:*:*)
10481071 # 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.
10511074 # Note: whatever this is, it MUST be the same as what config.sub
10521075 # prints for the "djgpp" host, or else GDB configury will decide that
10531076 # this is a cross-build.
10541077 echo i586-pc-msdosdjgpp
1055 exit ;;
1078 exit ;;
10561079 Intel:Mach:3*:*)
10571080 echo i386-pc-mach3
10581081 exit ;;
10871110 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
10881111 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
10891112 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; } ;;
10921115 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
10931116 OS_REL='.3'
10941117 test -r /etc/.relid \
11311154 echo ns32k-sni-sysv
11321155 fi
11331156 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 ;;
11381161 *:UNIX_System_V:4*:FTX*)
11391162 # From Gerald Hewes <hewes@openmarket.com>.
11401163 # How about differentiating between stratus architectures? -djm
11601183 exit ;;
11611184 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
11621185 if [ -d /usr/nec ]; then
1163 echo mips-nec-sysv${UNAME_RELEASE}
1186 echo mips-nec-sysv${UNAME_RELEASE}
11641187 else
1165 echo mips-unknown-sysv${UNAME_RELEASE}
1166 fi
1167 exit ;;
1188 echo mips-unknown-sysv${UNAME_RELEASE}
1189 fi
1190 exit ;;
11681191 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
11691192 echo powerpc-be-beos
11701193 exit ;;
12291252 *:QNX:*:4*)
12301253 echo i386-pc-qnx
12311254 exit ;;
1255 NEO-?:NONSTOP_KERNEL:*:*)
1256 echo neo-tandem-nsk${UNAME_RELEASE}
1257 exit ;;
12321258 NSE-?:NONSTOP_KERNEL:*:*)
12331259 echo nse-tandem-nsk${UNAME_RELEASE}
12341260 exit ;;
12741300 echo pdp10-unknown-its
12751301 exit ;;
12761302 SEI:*:*:SEIUX)
1277 echo mips-sei-seiux${UNAME_RELEASE}
1303 echo mips-sei-seiux${UNAME_RELEASE}
12781304 exit ;;
12791305 *:DragonFly:*:*)
12801306 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
12811307 exit ;;
12821308 *:*VMS:*:*)
1283 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1309 UNAME_MACHINE=`(uname -p) 2>/dev/null`
12841310 case "${UNAME_MACHINE}" in
12851311 A*) echo alpha-dec-vms ; exit ;;
12861312 I*) echo ia64-dec-vms ; exit ;;
12971323 exit ;;
12981324 i*86:AROS:*:*)
12991325 echo ${UNAME_MACHINE}-pc-aros
1326 exit ;;
1327 x86_64:VMkernel:*:*)
1328 echo ${UNAME_MACHINE}-unknown-esx
13001329 exit ;;
13011330 esac
13021331
13201349 #include <sys/param.h>
13211350 printf ("m68k-sony-newsos%s\n",
13221351 #ifdef NEWSOS4
1323 "4"
1352 "4"
13241353 #else
1325 ""
1326 #endif
1327 ); exit (0);
1354 ""
1355 #endif
1356 ); exit (0);
13281357 #endif
13291358 #endif
13301359
0 /* config.h.in. Generated from configure.in by autoheader. */
0 /* config.h.in. Generated from configure.ac by autoheader. */
11
22 /* Enable GIF images */
33 #undef ENABLE_GIF
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # 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'
77
88 # This file is (in principle) common to ALL GNU software.
99 # The presence of a machine in this file suggests that SOME GNU software
2020 # GNU General Public License for more details.
2121 #
2222 # 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/>.
2624 #
2725 # As a special exception to the GNU General Public License, if you
2826 # distribute this file as part of a program that contains a
7472 version="\
7573 GNU config.sub ($timestamp)
7674
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.
7978
8079 This is free software; see the source for copying conditions. There is NO
8180 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
122121 # Here we must recognize all the valid KERNEL-OS combinations.
123122 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124123 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* | \
127127 kopensolaris*-gnu* | \
128128 storm-chaos* | os2-emx* | rtmk-nova*)
129129 os=-$maybe_os
130130 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
131 ;;
132 android-linux)
133 os=-linux-android
134 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
131135 ;;
132136 *)
133137 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
155159 os=
156160 basic_machine=$1
157161 ;;
158 -bluegene*)
159 os=-cnk
162 -bluegene*)
163 os=-cnk
160164 ;;
161165 -sim | -cisco | -oki | -wec | -winbond)
162166 os=
172176 os=-chorusos
173177 basic_machine=$1
174178 ;;
175 -chorusrdb)
176 os=-chorusrdb
179 -chorusrdb)
180 os=-chorusrdb
177181 basic_machine=$1
178 ;;
182 ;;
179183 -hiux*)
180184 os=-hiuxwe2
181185 ;;
219223 ;;
220224 -isc*)
221225 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
226 ;;
227 -lynx*178)
228 os=-lynxos178
229 ;;
230 -lynx*5)
231 os=-lynxos5
222232 ;;
223233 -lynx*)
224234 os=-lynxos
244254 # Some are omitted here because they have special meanings below.
245255 1750a | 580 \
246256 | a29k \
257 | aarch64 | aarch64_be \
247258 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
248259 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
249260 | am33_2.0 \
250261 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
262 | be32 | be64 \
251263 | bfin \
252264 | c4x | clipper \
253265 | d10v | d30v | dlx | dsp16xx \
266 | epiphany \
254267 | fido | fr30 | frv \
255268 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
269 | hexagon \
256270 | i370 | i860 | i960 | ia64 \
257271 | ip2k | iq2000 \
272 | le32 | le64 \
258273 | lm32 \
259274 | m32c | m32r | m32rle | m68000 | m68k | m88k \
260275 | maxq | mb | microblaze | mcore | mep | metag \
280295 | moxie \
281296 | mt \
282297 | msp430 \
298 | nds32 | nds32le | nds32be \
283299 | nios | nios2 \
284300 | ns16k | ns32k \
301 | open8 \
285302 | or32 \
286303 | pdp10 | pdp11 | pj | pjl \
287 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
304 | powerpc | powerpc64 | powerpc64le | powerpcle \
288305 | pyramid \
289 | rx \
306 | rl78 | rx \
290307 | score \
291308 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
292309 | sh64 | sh64le \
293310 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
294311 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
295 | spu | strongarm \
296 | tahoe | thumb | tic4x | tic80 | tron \
312 | spu \
313 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
297314 | ubicom32 \
298 | v850 | v850e \
315 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
299316 | we32k \
300 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
317 | x86 | xc16x | xstormy16 | xtensa \
301318 | z8k | z80)
302319 basic_machine=$basic_machine-unknown
303320 ;;
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)
306331 basic_machine=$basic_machine-unknown
307332 os=-none
308333 ;;
310335 ;;
311336 ms1)
312337 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
313353 ;;
314354
315355 # We use `pc' rather than `unknown'
326366 # Recognize the basic CPU types with company name.
327367 580-* \
328368 | a29k-* \
369 | aarch64-* | aarch64_be-* \
329370 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
330371 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
331372 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
332373 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
333374 | avr-* | avr32-* \
375 | be32-* | be64-* \
334376 | bfin-* | bs2000-* \
335 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
377 | c[123]* | c30-* | [cjt]90-* | c4x-* \
336378 | clipper-* | craynv-* | cydra-* \
337379 | d10v-* | d30v-* | dlx-* \
338380 | elxsi-* \
339381 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
340382 | h8300-* | h8500-* \
341383 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
384 | hexagon-* \
342385 | i*86-* | i860-* | i960-* | ia64-* \
343386 | ip2k-* | iq2000-* \
387 | le32-* | le64-* \
344388 | lm32-* \
345389 | m32c-* | m32r-* | m32rle-* \
346390 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
366410 | mmix-* \
367411 | mt-* \
368412 | msp430-* \
413 | nds32-* | nds32le-* | nds32be-* \
369414 | nios-* | nios2-* \
370415 | none-* | np1-* | ns16k-* | ns32k-* \
416 | open8-* \
371417 | orion-* \
372418 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
373 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
419 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
374420 | pyramid-* \
375 | romp-* | rs6000-* | rx-* \
421 | rl78-* | romp-* | rs6000-* | rx-* \
376422 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
377423 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
378424 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
379425 | 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*-* \
383430 | tron-* \
384431 | ubicom32-* \
385 | v850-* | v850e-* | vax-* \
432 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
433 | vax-* \
386434 | we32k-* \
387 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
435 | x86-* | x86_64-* | xc16x-* | xps100-* \
388436 | xstormy16-* | xtensa*-* \
389437 | ymp-* \
390438 | z8k-* | z80-*)
409457 basic_machine=a29k-amd
410458 os=-udi
411459 ;;
412 abacus)
460 abacus)
413461 basic_machine=abacus-unknown
414462 ;;
415463 adobe68k)
479527 basic_machine=powerpc-ibm
480528 os=-cnk
481529 ;;
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 ;;
482539 c90)
483540 basic_machine=c90-cray
484541 os=-unicos
485542 ;;
486 cegcc)
543 cegcc)
487544 basic_machine=arm-unknown
488545 os=-cegcc
489546 ;;
515572 basic_machine=craynv-cray
516573 os=-unicosmp
517574 ;;
518 cr16)
575 cr16 | cr16-*)
519576 basic_machine=cr16-unknown
520577 os=-elf
521578 ;;
673730 i370-ibm* | ibm*)
674731 basic_machine=i370-ibm
675732 ;;
676 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
677733 i*86v32)
678734 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
679735 os=-sysv32
731787 basic_machine=ns32k-utek
732788 os=-sysv
733789 ;;
734 microblaze)
790 microblaze)
735791 basic_machine=microblaze-xilinx
736792 ;;
737793 mingw32)
770826 ms1-*)
771827 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
772828 ;;
829 msys)
830 basic_machine=i386-pc
831 os=-msys
832 ;;
773833 mvs)
774834 basic_machine=i370-ibm
775835 os=-mvs
836 ;;
837 nacl)
838 basic_machine=le32-unknown
839 os=-nacl
776840 ;;
777841 ncr3000)
778842 basic_machine=i486-ncr
838902 np1)
839903 basic_machine=np1-gould
840904 ;;
905 neo-tandem)
906 basic_machine=neo-tandem
907 ;;
908 nse-tandem)
909 basic_machine=nse-tandem
910 ;;
841911 nsr-tandem)
842912 basic_machine=nsr-tandem
843913 ;;
920990 ;;
921991 power) basic_machine=power-ibm
922992 ;;
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/^[^-]*-//'`
926997 ;;
927998 ppcle | powerpclittle | ppc-le | powerpc-little)
928999 basic_machine=powerpcle-unknown
10161087 basic_machine=i860-stratus
10171088 os=-sysv4
10181089 ;;
1090 strongarm-* | thumb-*)
1091 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1092 ;;
10191093 sun2)
10201094 basic_machine=m68000-sun
10211095 ;;
10721146 basic_machine=t90-cray
10731147 os=-unicos
10741148 ;;
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 ;;
10871149 tile*)
1088 basic_machine=tile-unknown
1150 basic_machine=$basic_machine-unknown
10891151 os=-linux-gnu
10901152 ;;
10911153 tx39)
11541216 ;;
11551217 xps | xps100)
11561218 basic_machine=xps100-honeywell
1219 ;;
1220 xscale-* | xscalee[bl]-*)
1221 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
11571222 ;;
11581223 ymp)
11591224 basic_machine=ymp-cray
12521317 if [ x"$os" != x"" ]
12531318 then
12541319 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.
12571322 # -solaris* is a basic system type, with this one exception.
1258 -auroraux)
1259 os=-auroraux
1323 -auroraux)
1324 os=-auroraux
12601325 ;;
12611326 -solaris1 | -solaris1.*)
12621327 os=`echo $os | sed -e 's|solaris1|sunos4|'`
12921357 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
12931358 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
12941359 | -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* \
12971363 | -uxpv* | -beos* | -mpeix* | -udk* \
12981364 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
12991365 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13401406 -opened*)
13411407 os=-openedition
13421408 ;;
1343 -os400*)
1409 -os400*)
13441410 os=-os400
13451411 ;;
13461412 -wince*)
13891455 -sinix*)
13901456 os=-sysv4
13911457 ;;
1392 -tpf*)
1458 -tpf*)
13931459 os=-tpf
13941460 ;;
13951461 -triton*)
14331499 ;;
14341500 -dicos*)
14351501 os=-dicos
1502 ;;
1503 -nacl*)
14361504 ;;
14371505 -none)
14381506 ;;
14561524 # system, and we'll never get to this point.
14571525
14581526 case $basic_machine in
1459 score-*)
1527 score-*)
14601528 os=-elf
14611529 ;;
1462 spu-*)
1530 spu-*)
14631531 os=-elf
14641532 ;;
14651533 *-acorn)
14711539 arm*-semi)
14721540 os=-aout
14731541 ;;
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
14761556 ;;
14771557 # This must come before the *-dec entry.
14781558 pdp10-*)
14921572 ;;
14931573 m68000-sun)
14941574 os=-sunos3
1495 # This also exists in the configure program, but was not the
1496 # default.
1497 # os=-sunos4
14981575 ;;
14991576 m68*-cisco)
15001577 os=-aout
15011578 ;;
1502 mep-*)
1579 mep-*)
15031580 os=-elf
15041581 ;;
15051582 mips*-cisco)
15261603 *-ibm)
15271604 os=-aix
15281605 ;;
1529 *-knuth)
1606 *-knuth)
15301607 os=-mmixware
15311608 ;;
15321609 *-wec)
00 #! /bin/sh
11 # 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.
33 #
44 #
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.
86 #
97 #
108 # This configure script is free software; the Free Software Foundation
133131 # CDPATH.
134132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135133
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;}
136159 if test "x$CONFIG_SHELL" = x; then
137160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138161 emulate sh
166189 else
167190 exitcode=1; echo positional parameters were not saved.
168191 fi
169 test x\$exitcode = x0 || exit 1"
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
170194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211235
212236
213237 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
229257 fi
230258
231259 if test x$as_have_required = xno; then :
327355
328356
329357 } # 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
330366 # as_fn_append VAR VALUE
331367 # ----------------------
332368 # Append the text in VALUE to the end of the definition contained in VAR. Take
448484 chmod +x "$as_me.lineno" ||
449485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450486
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
451491 # Don't try to exec as it changes $[0], causing all sort of problems
452492 # (the dirname of $[0] is not the place where we might find the
453493 # original and so on. Autoconf is especially sensitive to this).
482522 # ... but there are two gotchas:
483523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484524 # 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'.
486526 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'
488528 elif ln conf$$.file conf$$ 2>/dev/null; then
489529 as_ln_s=ln
490530 else
491 as_ln_s='cp -p'
531 as_ln_s='cp -pR'
492532 fi
493533 else
494 as_ln_s='cp -p'
534 as_ln_s='cp -pR'
495535 fi
496536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497537 rmdir conf$$.dir 2>/dev/null
503543 as_mkdir_p=false
504544 fi
505545
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
528548
529549 # Sed expression to map a string onto a valid CPP name.
530550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556576 # Identity of this package.
557577 PACKAGE_NAME='dillo'
558578 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'
561581 PACKAGE_BUGREPORT=''
562582 PACKAGE_URL=''
563583
628648 am__fastdepCC_FALSE
629649 am__fastdepCC_TRUE
630650 CCDEPMODE
651 am__nodep
631652 AMDEPBACKSLASH
632653 AMDEP_FALSE
633654 AMDEP_TRUE
11991220 if test "x$host_alias" != x; then
12001221 if test "x$build_alias" = x; then
12011222 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
12041223 elif test "x$build_alias" != "x$host_alias"; then
12051224 cross_compiling=yes
12061225 fi
12861305 # Omit some internal or obsolete options to make the list less imposing.
12871306 # This message is too long to be a string in the A/UX 3.1 sh.
12881307 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.
12901309
12911310 Usage: $0 [OPTION]... [VAR=VALUE]...
12921311
13571376
13581377 if test -n "$ac_init_help"; then
13591378 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:";;
13611380 esac
13621381 cat <<\_ACEOF
13631382
14631482 test -n "$ac_init_help" && exit $ac_status
14641483 if $ac_init_version; then
14651484 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.
14701489 This configure script is free software; the Free Software Foundation
14711490 gives unlimited permission to copy, distribute and modify it.
14721491 _ACEOF
16491668 main ()
16501669 {
16511670 static int test_array [1 - 2 * !(($2) >= 0)];
1652 test_array [0] = 0
1671 test_array [0] = 0;
1672 return test_array [0];
16531673
16541674 ;
16551675 return 0;
16651685 main ()
16661686 {
16671687 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1668 test_array [0] = 0
1688 test_array [0] = 0;
1689 return test_array [0];
16691690
16701691 ;
16711692 return 0;
16911712 main ()
16921713 {
16931714 static int test_array [1 - 2 * !(($2) < 0)];
1694 test_array [0] = 0
1715 test_array [0] = 0;
1716 return test_array [0];
16951717
16961718 ;
16971719 return 0;
17071729 main ()
17081730 {
17091731 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1710 test_array [0] = 0
1732 test_array [0] = 0;
1733 return test_array [0];
17111734
17121735 ;
17131736 return 0;
17411764 main ()
17421765 {
17431766 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1744 test_array [0] = 0
1767 test_array [0] = 0;
1768 return test_array [0];
17451769
17461770 ;
17471771 return 0;
18661890 main ()
18671891 {
18681892 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];
18701895
18711896 ;
18721897 return 0;
18821907 {
18831908 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
18841909 < ($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];
18861912
18871913 ;
18881914 return 0;
19391965 main ()
19401966 {
19411967 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];
19431970
19441971 ;
19451972 return 0;
19952022 test ! -s conftest.err
19962023 } && test -s conftest$ac_exeext && {
19972024 test "$cross_compiling" = yes ||
1998 $as_test_x conftest$ac_exeext
2025 test -x conftest$ac_exeext
19992026 }; then :
20002027 ac_retval=0
20012028 else
21712198 This file contains any messages produced by compilers while
21722199 running configure, to aid debugging if configure makes a mistake.
21732200
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
21762203
21772204 $ $0 $@
21782205
26992726 # by default.
27002727 for ac_prog in ginstall scoinst install; do
27012728 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
27032730 if test $ac_prog = install &&
27042731 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
27052732 # AIX install. It has an incompatible calling convention.
28682895 IFS=$as_save_IFS
28692896 test -z "$as_dir" && as_dir=.
28702897 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
28722899 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
28732900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28742901 break 2
29082935 IFS=$as_save_IFS
29092936 test -z "$as_dir" && as_dir=.
29102937 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
29122939 ac_cv_prog_ac_ct_STRIP="strip"
29132940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29142941 break 2
29592986 test -z "$as_dir" && as_dir=.
29602987 for ac_prog in mkdir gmkdir; do
29612988 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
29632990 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
29642991 'mkdir (GNU coreutils) '* | \
29652992 'mkdir (coreutils) '* | \
30123039 IFS=$as_save_IFS
30133040 test -z "$as_dir" && as_dir=.
30143041 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
30163043 ac_cv_prog_AWK="$ac_prog"
30173044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30183045 break 2
30983125
30993126 # Define the identity of the package.
31003127 PACKAGE='dillo'
3101 VERSION='3.0.2'
3128 VERSION='3.0.3'
31023129
31033130
31043131 cat >>confdefs.h <<_ACEOF
31283155
31293156 # We need awk for the "check" target. The system "awk" is bad on
31303157 # 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 -'
31363163
31373164
31383165
32533280 IFS=$as_save_IFS
32543281 test -z "$as_dir" && as_dir=.
32553282 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
32573284 ac_cv_prog_CC="${ac_tool_prefix}gcc"
32583285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32593286 break 2
32933320 IFS=$as_save_IFS
32943321 test -z "$as_dir" && as_dir=.
32953322 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
32973324 ac_cv_prog_ac_ct_CC="gcc"
32983325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32993326 break 2
33463373 IFS=$as_save_IFS
33473374 test -z "$as_dir" && as_dir=.
33483375 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
33503377 ac_cv_prog_CC="${ac_tool_prefix}cc"
33513378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33523379 break 2
33873414 IFS=$as_save_IFS
33883415 test -z "$as_dir" && as_dir=.
33893416 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
33913418 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
33923419 ac_prog_rejected=yes
33933420 continue
34453472 IFS=$as_save_IFS
34463473 test -z "$as_dir" && as_dir=.
34473474 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
34493476 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
34503477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34513478 break 2
34893516 IFS=$as_save_IFS
34903517 test -z "$as_dir" && as_dir=.
34913518 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
34933520 ac_cv_prog_ac_ct_CC="$ac_prog"
34943521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34953522 break 2
39353962 /* end confdefs.h. */
39363963 #include <stdarg.h>
39373964 #include <stdio.h>
3938 #include <sys/types.h>
3939 #include <sys/stat.h>
3965 struct stat;
39403966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
39413967 struct buf { int x; };
39423968 FILE * (*rcsopen) (struct buf *, struct stat *, int);
40724098 if test "x$enable_dependency_tracking" != xno; then
40734099 am_depcomp="$ac_aux_dir/depcomp"
40744100 AMDEPBACKSLASH='\'
4101 am__nodep='_no'
40754102 fi
40764103 if test "x$enable_dependency_tracking" != xno; then
40774104 AMDEP_TRUE=
40964123 # instance it was reported that on HP-UX the gcc test will end up
40974124 # making a dummy file named `D' -- because `-MD' means `put the output
40984125 # in D'.
4126 rm -rf conftest.dir
40994127 mkdir conftest.dir
41004128 # Copy depcomp to subdir because otherwise we won't find it if we're
41014129 # using a relative directory.
41554183 break
41564184 fi
41574185 ;;
4158 msvisualcpp | msvcmsys)
4186 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
41594187 # This compiler won't grok `-c -o', but also, the minuso test has
41604188 # not run yet. These depmodes are late enough in the game, and
41614189 # so weak that their functioning should not be impacted.
42384266 IFS=$as_save_IFS
42394267 test -z "$as_dir" && as_dir=.
42404268 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
42424270 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
42434271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42444272 break 2
42824310 IFS=$as_save_IFS
42834311 test -z "$as_dir" && as_dir=.
42844312 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
42864314 ac_cv_prog_ac_ct_CXX="$ac_prog"
42874315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
42884316 break 2
44804508 # instance it was reported that on HP-UX the gcc test will end up
44814509 # making a dummy file named `D' -- because `-MD' means `put the output
44824510 # in D'.
4511 rm -rf conftest.dir
44834512 mkdir conftest.dir
44844513 # Copy depcomp to subdir because otherwise we won't find it if we're
44854514 # using a relative directory.
45394568 break
45404569 fi
45414570 ;;
4542 msvisualcpp | msvcmsys)
4571 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
45434572 # This compiler won't grok `-c -o', but also, the minuso test has
45444573 # not run yet. These depmodes are late enough in the game, and
45454574 # so weak that their functioning should not be impacted.
46114640 IFS=$as_save_IFS
46124641 test -z "$as_dir" && as_dir=.
46134642 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
46154644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46164645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
46174646 break 2
46514680 IFS=$as_save_IFS
46524681 test -z "$as_dir" && as_dir=.
46534682 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
46554684 ac_cv_prog_ac_ct_RANLIB="ranlib"
46564685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
46574686 break 2
48424871 for ac_prog in grep ggrep; do
48434872 for ac_exec_ext in '' $ac_executable_extensions; do
48444873 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
48464875 # Check for GNU ac_path_GREP and select it if it is found.
48474876 # Check for GNU $ac_path_GREP
48484877 case `"$ac_path_GREP" --version 2>&1` in
49084937 for ac_prog in egrep; do
49094938 for ac_exec_ext in '' $ac_executable_extensions; do
49104939 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
49124941 # Check for GNU ac_path_EGREP and select it if it is found.
49134942 # Check for GNU $ac_path_EGREP
49144943 case `"$ac_path_EGREP" --version 2>&1` in
57165745 $as_echo_n "checking for libpng version... " >&6; }
57175746 png_version=`$PNG_CONFIG --version`
57185747 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; } ;;
57275752 esac
57285753
57295754 LIBPNG_CFLAGS=`$PNG_CONFIG --cflags`
68726897 # ... but there are two gotchas:
68736898 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
68746899 # 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'.
68766901 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'
68786903 elif ln conf$$.file conf$$ 2>/dev/null; then
68796904 as_ln_s=ln
68806905 else
6881 as_ln_s='cp -p'
6906 as_ln_s='cp -pR'
68826907 fi
68836908 else
6884 as_ln_s='cp -p'
6909 as_ln_s='cp -pR'
68856910 fi
68866911 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
68876912 rmdir conf$$.dir 2>/dev/null
69416966 as_mkdir_p=false
69426967 fi
69436968
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
69666979
69676980 # Sed expression to map a string onto a valid CPP name.
69686981 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
69836996 # report actual input values of CONFIG_FILES etc. instead of their
69846997 # values after options handling.
69856998 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
69887001
69897002 CONFIG_FILES = $CONFIG_FILES
69907003 CONFIG_HEADERS = $CONFIG_HEADERS
70497062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
70507063 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
70517064 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,
70547067 with options \\"\$ac_cs_config\\"
70557068
7056 Copyright (C) 2010 Free Software Foundation, Inc.
7069 Copyright (C) 2012 Free Software Foundation, Inc.
70577070 This config.status script is free software; the Free Software Foundation
70587071 gives unlimited permission to copy, distribute and modify it."
70597072
71447157 _ACEOF
71457158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
71467159 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
71487161 shift
71497162 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
71507163 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