Merge tag 'upstream/0.21.3' into experimental
Upstream version 0.21.3
Conflicts:
autom4te.cache/output.0
autom4te.cache/output.1
autom4te.cache/requests
autom4te.cache/traces.0
autom4te.cache/traces.1
(all deleted)
Willi Mann
10 years ago
0 | 0.21.3: | |
1 | - added '--quiet' flag which suppresses leading comments in output | |
2 | - default directory for config files is now /usr/local/share/unrtf | |
3 | and this can be changed when configure is run at compilation time | |
4 | - subdirs in config directory eliminated making it easier for a user | |
5 | to supply their own in a single directory specified with -P | |
6 | - code for two hex characters introduced in 0.21.2 completely replaced | |
7 | by more generalised string handling. | |
8 | - major improvements to codepage handling | |
9 | - major improvements in unicode handling | |
10 | - latex config file improved. Some Greek characters output properly. | |
11 | - troff_mm config file improved such that this option is now useful | |
0 | 12 | 0.21.2: |
1 | 13 | - added feof() calls to fgets() and fgetchar() instances so end-of |
2 | 14 | file is correctly determined under AIX |
0 | 0 | Installation Instructions |
1 | 1 | ************************* |
2 | 2 | |
3 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free | |
4 | Software Foundation, Inc. | |
5 | ||
6 | This file is free documentation; the Free Software Foundation gives | |
7 | unlimited permission to copy, distribute and modify it. | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, | |
4 | 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. | |
8 | 10 | |
9 | 11 | Basic Installation |
10 | 12 | ================== |
11 | 13 | |
12 | 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. | |
13 | 22 | |
14 | 23 | The `configure' shell script attempts to guess correct values for |
15 | 24 | various system-dependent variables used during compilation. It uses |
22 | 31 | |
23 | 32 | It can also use an optional file (typically called `config.cache' |
24 | 33 | and enabled with `--cache-file=config.cache' or simply `-C') that saves |
25 | the results of its tests to speed up reconfiguring. (Caching is | |
34 | the results of its tests to speed up reconfiguring. Caching is | |
26 | 35 | disabled by default to prevent problems with accidental use of stale |
27 | cache files.) | |
36 | cache files. | |
28 | 37 | |
29 | 38 | If you need to do unusual things to compile the package, please try |
30 | 39 | to figure out how `configure' could check whether to do them, and mail |
34 | 43 | may remove or edit it. |
35 | 44 | |
36 | 45 | The file `configure.ac' (or `configure.in') is used to create |
37 | `configure' by a program called `autoconf'. You only need | |
38 | `configure.ac' if you want to change it or regenerate `configure' using | |
39 | a newer version of `autoconf'. | |
40 | ||
41 | The simplest way to compile this package is: | |
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: | |
42 | 51 | |
43 | 52 | 1. `cd' to the directory containing the package's source code and type |
44 | `./configure' to configure the package for your system. If you're | |
45 | using `csh' on an old version of System V, you might need to type | |
46 | `sh ./configure' instead to prevent `csh' from trying to execute | |
47 | `configure' itself. | |
48 | ||
49 | Running `configure' takes awhile. While running, it prints some | |
50 | 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. | |
51 | 57 | |
52 | 58 | 2. Type `make' to compile the package. |
53 | 59 | |
54 | 60 | 3. Optionally, type `make check' to run any self-tests that come with |
55 | the package. | |
61 | the package, generally using the just-built uninstalled binaries. | |
56 | 62 | |
57 | 63 | 4. Type `make install' to install the programs and any data files and |
58 | documentation. | |
59 | ||
60 | 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 | |
61 | 77 | source code directory by typing `make clean'. To also remove the |
62 | 78 | files that `configure' created (so you can compile the package for |
63 | 79 | a different kind of computer), type `make distclean'. There is |
66 | 82 | all sorts of other programs in order to regenerate files that came |
67 | 83 | with the distribution. |
68 | 84 | |
85 | 7. Often, you can also type `make uninstall' to remove the installed | |
86 | files again. In practice, not all packages have tested that | |
87 | uninstallation works correctly, even though it is required by the | |
88 | GNU Coding Standards. | |
89 | ||
90 | 8. Some packages, particularly those that use Automake, provide `make | |
91 | distcheck', which can by used by developers to test that all other | |
92 | targets like `make install' and `make uninstall' work correctly. | |
93 | This target is generally not run by end users. | |
94 | ||
69 | 95 | Compilers and Options |
70 | 96 | ===================== |
71 | 97 | |
72 | Some systems require unusual options for compilation or linking that the | |
73 | `configure' script does not know about. Run `./configure --help' for | |
74 | details on some of the pertinent environment variables. | |
98 | Some systems require unusual options for compilation or linking that | |
99 | the `configure' script does not know about. Run `./configure --help' | |
100 | for details on some of the pertinent environment variables. | |
75 | 101 | |
76 | 102 | You can give `configure' initial values for configuration parameters |
77 | 103 | by setting variables in the command line or in the environment. Here |
78 | 104 | is an example: |
79 | 105 | |
80 | ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix | |
106 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix | |
81 | 107 | |
82 | 108 | *Note Defining Variables::, for more details. |
83 | 109 | |
84 | 110 | Compiling For Multiple Architectures |
85 | 111 | ==================================== |
86 | 112 | |
87 | You can compile the package for more than one kind of computer at the | |
113 | You can compile the package for more than one kind of computer at the | |
88 | 114 | same time, by placing the object files for each architecture in their |
89 | own directory. To do this, you must use a version of `make' that | |
90 | 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 | |
91 | 116 | directory where you want the object files and executables to go and run |
92 | 117 | the `configure' script. `configure' automatically checks for the |
93 | source code in the directory that `configure' is in and in `..'. | |
94 | ||
95 | If you have to use a `make' that does not support the `VPATH' | |
96 | variable, you have to compile the package for one architecture at a | |
97 | time in the source code directory. After you have installed the | |
98 | package for one architecture, use `make distclean' before reconfiguring | |
99 | for another 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. | |
100 | 139 | |
101 | 140 | Installation Names |
102 | 141 | ================== |
103 | 142 | |
104 | By default, `make install' will install the package's files in | |
105 | `/usr/local/bin', `/usr/local/man', etc. You can specify an | |
106 | installation prefix other than `/usr/local' by giving `configure' the | |
107 | option `--prefix=PREFIX'. | |
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. | |
108 | 148 | |
109 | 149 | You can specify separate installation prefixes for |
110 | 150 | architecture-specific files and architecture-independent files. If you |
111 | give `configure' the option `--exec-prefix=PREFIX', the package will | |
112 | use PREFIX as the prefix for installing programs and libraries. | |
113 | 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. | |
114 | 154 | |
115 | 155 | In addition, if you use an unusual directory layout you can give |
116 | 156 | options like `--bindir=DIR' to specify different values for particular |
117 | 157 | kinds of files. Run `configure --help' for a list of the directories |
118 | you can set and what kinds of files go in them. | |
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 | ================= | |
119 | 193 | |
120 | 194 | If the package supports it, you can cause programs to be installed |
121 | 195 | with an extra prefix or suffix on their names by giving `configure' the |
122 | 196 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
123 | 197 | |
124 | Optional Features | |
125 | ================= | |
126 | ||
127 | Some packages pay attention to `--enable-FEATURE' options to | |
198 | Some packages pay attention to `--enable-FEATURE' options to | |
128 | 199 | `configure', where FEATURE indicates an optional part of the package. |
129 | 200 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
130 | 201 | is something like `gnu-as' or `x' (for the X Window System). The |
136 | 207 | you can use the `configure' options `--x-includes=DIR' and |
137 | 208 | `--x-libraries=DIR' to specify their locations. |
138 | 209 | |
210 | Some packages offer the ability to configure how verbose the | |
211 | execution of `make' will be. For these packages, running `./configure | |
212 | --enable-silent-rules' sets the default to minimal output, which can be | |
213 | overridden with `make V=1'; while running `./configure | |
214 | --disable-silent-rules' sets the default to verbose, which can be | |
215 | overridden with `make V=0'. | |
216 | ||
217 | Particular systems | |
218 | ================== | |
219 | ||
220 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU | |
221 | CC is not installed, it is recommended to use the following options in | |
222 | order to use an ANSI C compiler: | |
223 | ||
224 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | |
225 | ||
226 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. | |
227 | ||
228 | HP-UX `make' updates targets which have the same time stamps as | |
229 | their prerequisites, which makes it generally unusable when shipped | |
230 | generated files such as `configure' are involved. Use GNU `make' | |
231 | instead. | |
232 | ||
233 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | |
234 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as | |
235 | a workaround. If GNU CC is not installed, it is therefore recommended | |
236 | to try | |
237 | ||
238 | ./configure CC="cc" | |
239 | ||
240 | and if that doesn't work, try | |
241 | ||
242 | ./configure CC="cc -nodtk" | |
243 | ||
244 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This | |
245 | directory contains several dysfunctional programs; working variants of | |
246 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | |
247 | in your `PATH', put it _after_ `/usr/bin'. | |
248 | ||
249 | On Haiku, software installed for all users goes in `/boot/common', | |
250 | not `/usr/local'. It is recommended to use the following options: | |
251 | ||
252 | ./configure --prefix=/boot/common | |
253 | ||
139 | 254 | Specifying the System Type |
140 | 255 | ========================== |
141 | 256 | |
142 | There may be some features `configure' cannot figure out automatically, | |
143 | but needs to determine by the type of machine the package will run on. | |
144 | Usually, assuming the package is built to be run on the _same_ | |
145 | architectures, `configure' can figure that out, but if it prints a | |
146 | message saying it cannot guess the machine type, give it the | |
257 | There may be some features `configure' cannot figure out | |
258 | automatically, but needs to determine by the type of machine the package | |
259 | will run on. Usually, assuming the package is built to be run on the | |
260 | _same_ architectures, `configure' can figure that out, but if it prints | |
261 | a message saying it cannot guess the machine type, give it the | |
147 | 262 | `--build=TYPE' option. TYPE can either be a short name for the system |
148 | 263 | type, such as `sun4', or a canonical name which has the form: |
149 | 264 | |
151 | 266 | |
152 | 267 | where SYSTEM can have one of these forms: |
153 | 268 | |
154 | OS KERNEL-OS | |
269 | OS | |
270 | KERNEL-OS | |
155 | 271 | |
156 | 272 | See the file `config.sub' for the possible values of each field. If |
157 | 273 | `config.sub' isn't included in this package, then this package doesn't |
158 | 274 | need to know the machine type. |
159 | 275 | |
160 | 276 | If you are _building_ compiler tools for cross-compiling, you should |
161 | use the `--target=TYPE' option to select the type of system they will | |
277 | use the option `--target=TYPE' to select the type of system they will | |
162 | 278 | produce code for. |
163 | 279 | |
164 | 280 | If you want to _use_ a cross compiler, that generates code for a |
169 | 285 | Sharing Defaults |
170 | 286 | ================ |
171 | 287 | |
172 | If you want to set default values for `configure' scripts to share, you | |
173 | can create a site shell script called `config.site' that gives default | |
174 | values for variables like `CC', `cache_file', and `prefix'. | |
288 | If you want to set default values for `configure' scripts to share, | |
289 | you can create a site shell script called `config.site' that gives | |
290 | default values for variables like `CC', `cache_file', and `prefix'. | |
175 | 291 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
176 | 292 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
177 | 293 | `CONFIG_SITE' environment variable to the location of the site script. |
180 | 296 | Defining Variables |
181 | 297 | ================== |
182 | 298 | |
183 | Variables not defined in a site shell script can be set in the | |
299 | Variables not defined in a site shell script can be set in the | |
184 | 300 | environment passed to `configure'. However, some packages may run |
185 | 301 | configure again during the build, and the customized values of these |
186 | 302 | variables may be lost. In order to avoid this problem, you should set |
188 | 304 | |
189 | 305 | ./configure CC=/usr/local2/bin/gcc |
190 | 306 | |
191 | will cause the specified gcc to be used as the C compiler (unless it is | |
307 | causes the specified `gcc' to be used as the C compiler (unless it is | |
192 | 308 | overridden in the site shell script). |
309 | ||
310 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to | |
311 | an Autoconf limitation. Until the limitation is lifted, you can use | |
312 | this workaround: | |
313 | ||
314 | CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash | |
193 | 315 | |
194 | 316 | `configure' Invocation |
195 | 317 | ====================== |
196 | 318 | |
197 | `configure' recognizes the following options to control how it operates. | |
319 | `configure' recognizes the following options to control how it | |
320 | operates. | |
198 | 321 | |
199 | 322 | `--help' |
200 | 323 | `-h' |
201 | Print a summary of the options to `configure', and exit. | |
324 | Print a summary of all of the options to `configure', and exit. | |
325 | ||
326 | `--help=short' | |
327 | `--help=recursive' | |
328 | Print a summary of the options unique to this package's | |
329 | `configure', and exit. The `short' variant lists options used | |
330 | only in the top level, while the `recursive' variant lists options | |
331 | also present in any nested packages. | |
202 | 332 | |
203 | 333 | `--version' |
204 | 334 | `-V' |
225 | 355 | Look for the package's source code in directory DIR. Usually |
226 | 356 | `configure' can determine that directory automatically. |
227 | 357 | |
358 | `--prefix=DIR' | |
359 | Use DIR as the installation prefix. *note Installation Names:: | |
360 | for more details, including other options available for fine-tuning | |
361 | the installation locations. | |
362 | ||
363 | `--no-create' | |
364 | `-n' | |
365 | Run the configure checks, but stop before creating any output | |
366 | files. | |
367 | ||
228 | 368 | `configure' also accepts some other, not widely useful, options. Run |
229 | 369 | `configure --help' for more details. |
230 |
0 | 0 | # this is the main Makefile.am |
1 | 1 | |
2 | 2 | # first of all, parse the subdirectories in the order given |
3 | SUBDIRS = src tests doc patches charmaps outputs | |
3 | SUBDIRS = src tests doc patches outputs | |
4 | 4 | |
5 | 5 | # then do stuff in this directory. Actually, we just need to add the |
6 | 6 | # bootstrap script to the distribution (for curious users, not really needed). |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
16 | 15 | |
17 | 16 | # this is the main Makefile.am |
18 | 17 | VPATH = @srcdir@ |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
21 | case $$MAKEFLAGS in \ | |
22 | *\\[\ \ ]*) \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
32 | esac; \ | |
33 | test $$am__dry = yes; \ | |
34 | } | |
19 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
20 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
21 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
37 | 53 | subdir = . |
38 | 54 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
39 | 55 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
56 | $(top_srcdir)/config/config.guess \ | |
57 | $(top_srcdir)/config/config.sub \ | |
58 | $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing \ | |
40 | 59 | $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
41 | 60 | config/config.guess config/config.sub config/depcomp \ |
42 | 61 | config/install-sh config/missing |
59 | 78 | install-pdf-recursive install-ps-recursive install-recursive \ |
60 | 79 | installcheck-recursive installdirs-recursive pdf-recursive \ |
61 | 80 | ps-recursive uninstall-recursive |
81 | am__can_run_installinfo = \ | |
82 | case $$AM_UPDATE_INFO_DIR in \ | |
83 | n|no|NO) false;; \ | |
84 | *) (install-info --version) >/dev/null 2>&1;; \ | |
85 | esac | |
62 | 86 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
63 | 87 | distclean-recursive maintainer-clean-recursive |
64 | 88 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
65 | 89 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
66 | distdir dist dist-all distcheck | |
90 | cscope distdir dist dist-all distcheck | |
67 | 91 | ETAGS = etags |
68 | 92 | CTAGS = ctags |
93 | CSCOPE = cscope | |
69 | 94 | DIST_SUBDIRS = $(SUBDIRS) |
70 | 95 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
71 | 96 | distdir = $(PACKAGE)-$(VERSION) |
72 | 97 | top_distdir = $(distdir) |
73 | 98 | am__remove_distdir = \ |
74 | { test ! -d "$(distdir)" \ | |
75 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
76 | && rm -fr "$(distdir)"; }; } | |
99 | if test -d "$(distdir)"; then \ | |
100 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
101 | && rm -rf "$(distdir)" \ | |
102 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | |
103 | else :; fi | |
104 | am__post_remove_distdir = $(am__remove_distdir) | |
77 | 105 | am__relativize = \ |
78 | 106 | dir0=`pwd`; \ |
79 | 107 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
101 | 129 | reldir="$$dir2" |
102 | 130 | DIST_ARCHIVES = $(distdir).tar.gz |
103 | 131 | GZIP_ENV = --best |
132 | DIST_TARGETS = dist-gzip | |
104 | 133 | distuninstallcheck_listfiles = find . -type f -print |
134 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | |
135 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | |
105 | 136 | distcleancheck_listfiles = find . -type f -print |
106 | 137 | ACLOCAL = @ACLOCAL@ |
107 | 138 | AMTAR = @AMTAR@ |
141 | 172 | PACKAGE_NAME = @PACKAGE_NAME@ |
142 | 173 | PACKAGE_STRING = @PACKAGE_STRING@ |
143 | 174 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
175 | PACKAGE_URL = @PACKAGE_URL@ | |
144 | 176 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
145 | 177 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
146 | 178 | SET_MAKE = @SET_MAKE@ |
199 | 231 | top_srcdir = @top_srcdir@ |
200 | 232 | |
201 | 233 | # first of all, parse the subdirectories in the order given |
202 | SUBDIRS = src tests doc patches charmaps outputs | |
234 | SUBDIRS = src tests doc patches outputs | |
203 | 235 | |
204 | 236 | # then do stuff in this directory. Actually, we just need to add the |
205 | 237 | # bootstrap script to the distribution (for curious users, not really needed). |
208 | 240 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
209 | 241 | |
210 | 242 | .SUFFIXES: |
211 | am--refresh: | |
243 | am--refresh: Makefile | |
212 | 244 | @: |
213 | 245 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
214 | 246 | @for dep in $?; do \ |
244 | 276 | $(am__aclocal_m4_deps): |
245 | 277 | |
246 | 278 | config.h: stamp-h1 |
247 | @if test ! -f $@; then \ | |
248 | rm -f stamp-h1; \ | |
249 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
250 | else :; fi | |
279 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
280 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
251 | 281 | |
252 | 282 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
253 | 283 | @rm -f stamp-h1 |
261 | 291 | -rm -f config.h stamp-h1 |
262 | 292 | |
263 | 293 | # This directory's subdirectories are mostly independent; you can cd |
264 | # into them and run `make' without going through this Makefile. | |
265 | # To change the values of `make' variables: instead of editing Makefiles, | |
266 | # (1) if the variable is set in `config.status', edit `config.status' | |
267 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
268 | # (2) otherwise, pass the desired values on the `make' command line. | |
294 | # into them and run 'make' without going through this Makefile. | |
295 | # To change the values of 'make' variables: instead of editing Makefiles, | |
296 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
297 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
298 | # (2) otherwise, pass the desired values on the 'make' command line. | |
269 | 299 | $(RECURSIVE_TARGETS): |
270 | 300 | @fail= failcom='exit 1'; \ |
271 | 301 | for f in x $$MAKEFLAGS; do \ |
328 | 358 | ctags-recursive: |
329 | 359 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
330 | 360 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
361 | done | |
362 | cscopelist-recursive: | |
363 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
364 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ | |
331 | 365 | done |
332 | 366 | |
333 | 367 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
392 | 426 | && $(am__cd) $(top_srcdir) \ |
393 | 427 | && gtags -i $(GTAGS_ARGS) "$$here" |
394 | 428 | |
429 | cscope: cscope.files | |
430 | test ! -s cscope.files \ | |
431 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
432 | ||
433 | clean-cscope: | |
434 | -rm -f cscope.files | |
435 | ||
436 | cscope.files: clean-cscope cscopelist-recursive cscopelist | |
437 | ||
438 | cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) | |
439 | list='$(SOURCES) $(HEADERS) $(LISP)'; \ | |
440 | case "$(srcdir)" in \ | |
441 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
442 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
443 | esac; \ | |
444 | for i in $$list; do \ | |
445 | if test -f "$$i"; then \ | |
446 | echo "$(subdir)/$$i"; \ | |
447 | else \ | |
448 | echo "$$sdir/$$i"; \ | |
449 | fi; \ | |
450 | done >> $(top_builddir)/cscope.files | |
451 | ||
395 | 452 | distclean-tags: |
396 | 453 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
454 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
397 | 455 | |
398 | 456 | distdir: $(DISTFILES) |
399 | 457 | $(am__remove_distdir) |
429 | 487 | done |
430 | 488 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
431 | 489 | if test "$$subdir" = .; then :; else \ |
432 | test -d "$(distdir)/$$subdir" \ | |
433 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
434 | || exit 1; \ | |
435 | fi; \ | |
436 | done | |
437 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
438 | if test "$$subdir" = .; then :; else \ | |
490 | $(am__make_dryrun) \ | |
491 | || test -d "$(distdir)/$$subdir" \ | |
492 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
493 | || exit 1; \ | |
439 | 494 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
440 | 495 | $(am__relativize); \ |
441 | 496 | new_distdir=$$reldir; \ |
464 | 519 | || chmod -R a+r "$(distdir)" |
465 | 520 | dist-gzip: distdir |
466 | 521 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
467 | $(am__remove_distdir) | |
522 | $(am__post_remove_distdir) | |
468 | 523 | |
469 | 524 | dist-bzip2: distdir |
470 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
471 | $(am__remove_distdir) | |
472 | ||
473 | dist-lzma: distdir | |
474 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
475 | $(am__remove_distdir) | |
525 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | |
526 | $(am__post_remove_distdir) | |
527 | ||
528 | dist-lzip: distdir | |
529 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | |
530 | $(am__post_remove_distdir) | |
476 | 531 | |
477 | 532 | dist-xz: distdir |
478 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
479 | $(am__remove_distdir) | |
533 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | |
534 | $(am__post_remove_distdir) | |
480 | 535 | |
481 | 536 | dist-tarZ: distdir |
482 | 537 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
483 | $(am__remove_distdir) | |
538 | $(am__post_remove_distdir) | |
484 | 539 | |
485 | 540 | dist-shar: distdir |
486 | 541 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
487 | $(am__remove_distdir) | |
542 | $(am__post_remove_distdir) | |
488 | 543 | |
489 | 544 | dist-zip: distdir |
490 | 545 | -rm -f $(distdir).zip |
491 | 546 | zip -rq $(distdir).zip $(distdir) |
492 | $(am__remove_distdir) | |
493 | ||
494 | dist dist-all: distdir | |
495 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
496 | $(am__remove_distdir) | |
547 | $(am__post_remove_distdir) | |
548 | ||
549 | dist dist-all: | |
550 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
551 | $(am__post_remove_distdir) | |
497 | 552 | |
498 | 553 | # This target untars the dist file and tries a VPATH configuration. Then |
499 | 554 | # it guarantees that the distribution is self-contained by making another |
504 | 559 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
505 | 560 | *.tar.bz2*) \ |
506 | 561 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
507 | *.tar.lzma*) \ | |
508 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
562 | *.tar.lz*) \ | |
563 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | |
509 | 564 | *.tar.xz*) \ |
510 | 565 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
511 | 566 | *.tar.Z*) \ |
515 | 570 | *.zip*) \ |
516 | 571 | unzip $(distdir).zip ;;\ |
517 | 572 | esac |
518 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
573 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
519 | 574 | mkdir $(distdir)/_build |
520 | 575 | mkdir $(distdir)/_inst |
521 | 576 | chmod a-w $(distdir) |
525 | 580 | && am__cwd=`pwd` \ |
526 | 581 | && $(am__cd) $(distdir)/_build \ |
527 | 582 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
583 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | |
528 | 584 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
529 | 585 | && $(MAKE) $(AM_MAKEFLAGS) \ |
530 | 586 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
548 | 604 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
549 | 605 | && cd "$$am__cwd" \ |
550 | 606 | || exit 1 |
551 | $(am__remove_distdir) | |
607 | $(am__post_remove_distdir) | |
552 | 608 | @(echo "$(distdir) archives ready for distribution: "; \ |
553 | 609 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
554 | 610 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
555 | 611 | distuninstallcheck: |
556 | @$(am__cd) '$(distuninstallcheck_dir)' \ | |
557 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
612 | @test -n '$(distuninstallcheck_dir)' || { \ | |
613 | echo 'ERROR: trying to run $@ with an empty' \ | |
614 | '$$(distuninstallcheck_dir)' >&2; \ | |
615 | exit 1; \ | |
616 | }; \ | |
617 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | |
618 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | |
619 | exit 1; \ | |
620 | }; \ | |
621 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | |
558 | 622 | || { echo "ERROR: files left after uninstall:" ; \ |
559 | 623 | if test -n "$(DESTDIR)"; then \ |
560 | 624 | echo " (check DESTDIR support)"; \ |
585 | 649 | |
586 | 650 | installcheck: installcheck-recursive |
587 | 651 | install-strip: |
588 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
589 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
590 | `test -z '$(STRIP)' || \ | |
591 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
652 | if test -z '$(STRIP)'; then \ | |
653 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
654 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
655 | install; \ | |
656 | else \ | |
657 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
658 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
659 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
660 | fi | |
592 | 661 | mostlyclean-generic: |
593 | 662 | |
594 | 663 | clean-generic: |
670 | 739 | uninstall-am: |
671 | 740 | |
672 | 741 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
673 | ctags-recursive install-am install-strip tags-recursive | |
742 | cscopelist-recursive ctags-recursive install-am install-strip \ | |
743 | tags-recursive | |
674 | 744 | |
675 | 745 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
676 | all all-am am--refresh check check-am clean clean-generic \ | |
677 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
678 | dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ | |
679 | distclean distclean-generic distclean-hdr distclean-tags \ | |
680 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | |
681 | html-am info info-am install install-am install-data \ | |
682 | install-data-am install-dvi install-dvi-am install-exec \ | |
683 | install-exec-am install-html install-html-am install-info \ | |
684 | install-info-am install-man install-pdf install-pdf-am \ | |
685 | install-ps install-ps-am install-strip installcheck \ | |
686 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
746 | all all-am am--refresh check check-am clean clean-cscope \ | |
747 | clean-generic cscope cscopelist cscopelist-recursive ctags \ | |
748 | ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzip \ | |
749 | dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ | |
750 | distclean-generic distclean-hdr distclean-tags distcleancheck \ | |
751 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
752 | info-am install install-am install-data install-data-am \ | |
753 | install-dvi install-dvi-am install-exec install-exec-am \ | |
754 | install-html install-html-am install-info install-info-am \ | |
755 | install-man install-pdf install-pdf-am install-ps \ | |
756 | install-ps-am install-strip installcheck installcheck-am \ | |
757 | installdirs installdirs-am maintainer-clean \ | |
687 | 758 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
688 | 759 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am |
689 | 760 |
0 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.12.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
3 | ||
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
6 | 6 | # with or without modifications, as long as this notice is preserved. |
12 | 12 | |
13 | 13 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 14 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, | |
16 | [m4_warning([this file was generated for autoconf 2.63. | |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | |
16 | [m4_warning([this file was generated for autoconf 2.69. | |
17 | 17 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 18 | If you have problems, you may need to regenerate the build system entirely. |
19 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
20 | ||
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. | |
19 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
20 | ||
21 | # Copyright (C) 2002-2012 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. | |
26 | ||
27 | # serial 8 | |
26 | 28 | |
27 | 29 | # AM_AUTOMAKE_VERSION(VERSION) |
28 | 30 | # ---------------------------- |
30 | 32 | # generated from the m4 files accompanying Automake X.Y. |
31 | 33 | # (This private macro should not be called outside this file.) |
32 | 34 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
33 | [am__api_version='1.11' | |
35 | [am__api_version='1.12' | |
34 | 36 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
35 | 37 | dnl require some minimum version. Point them to the right macro. |
36 | m4_if([$1], [1.11.1], [], | |
38 | m4_if([$1], [1.12.1], [], | |
37 | 39 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
38 | 40 | ]) |
39 | 41 | |
49 | 51 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
50 | 52 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
51 | 53 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
52 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
54 | [AM_AUTOMAKE_VERSION([1.12.1])dnl | |
53 | 55 | m4_ifndef([AC_AUTOCONF_VERSION], |
54 | 56 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
55 | 57 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
56 | 58 | |
57 | 59 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
58 | 60 | |
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. | |
61 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
62 | # | |
63 | # This file is free software; the Free Software Foundation | |
64 | # gives unlimited permission to copy and/or distribute it, | |
65 | # with or without modifications, as long as this notice is preserved. | |
66 | ||
67 | # serial 2 | |
64 | 68 | |
65 | 69 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
66 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
67 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
70 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
71 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
68 | 72 | # |
69 | 73 | # Of course, Automake must honor this variable whenever it calls a |
70 | 74 | # tool from the auxiliary directory. The problem is that $srcdir (and |
83 | 87 | # |
84 | 88 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
85 | 89 | # are both prefixed by $srcdir. In an in-source build this is usually |
86 | # harmless because $srcdir is `.', but things will broke when you | |
90 | # harmless because $srcdir is '.', but things will broke when you | |
87 | 91 | # start a VPATH build or use an absolute $srcdir. |
88 | 92 | # |
89 | 93 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
109 | 113 | |
110 | 114 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 115 | |
112 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
113 | # Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
118 | ||
119 | # serial 9 | |
116 | # Copyright (C) 1997-2012 Free Software Foundation, Inc. | |
117 | # | |
118 | # This file is free software; the Free Software Foundation | |
119 | # gives unlimited permission to copy and/or distribute it, | |
120 | # with or without modifications, as long as this notice is preserved. | |
121 | ||
122 | # serial 10 | |
120 | 123 | |
121 | 124 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
122 | 125 | # ------------------------------------- |
123 | 126 | # Define a conditional. |
124 | 127 | AC_DEFUN([AM_CONDITIONAL], |
125 | [AC_PREREQ(2.52)dnl | |
126 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
127 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
128 | [AC_PREREQ([2.52])dnl | |
129 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
130 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
128 | 131 | AC_SUBST([$1_TRUE])dnl |
129 | 132 | AC_SUBST([$1_FALSE])dnl |
130 | 133 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
143 | 146 | Usually this means the macro was only invoked conditionally.]]) |
144 | 147 | fi])]) |
145 | 148 | |
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 | |
154 | ||
155 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
149 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
150 | # | |
151 | # This file is free software; the Free Software Foundation | |
152 | # gives unlimited permission to copy and/or distribute it, | |
153 | # with or without modifications, as long as this notice is preserved. | |
154 | ||
155 | # serial 17 | |
156 | ||
157 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
156 | 158 | # written in clear, in which case automake, when reading aclocal.m4, |
157 | 159 | # will think it sees a *use*, and therefore will trigger all it's |
158 | 160 | # C support machinery. Also note that it means that autoscan, seeing |
162 | 164 | # _AM_DEPENDENCIES(NAME) |
163 | 165 | # ---------------------- |
164 | 166 | # See how the compiler implements dependency checking. |
165 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
167 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
166 | 168 | # We try a few techniques and use that to set a single cache variable. |
167 | 169 | # |
168 | 170 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
175 | 177 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
176 | 178 | AC_REQUIRE([AM_DEP_TRACK])dnl |
177 | 179 | |
178 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
179 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
180 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
181 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
182 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
183 | [depcc="$$1" am_compiler_list=]) | |
180 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
181 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
182 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
183 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
184 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
185 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
186 | [depcc="$$1" am_compiler_list=]) | |
184 | 187 | |
185 | 188 | AC_CACHE_CHECK([dependency style of $depcc], |
186 | 189 | [am_cv_$1_dependencies_compiler_type], |
188 | 191 | # We make a subdir and do the tests there. Otherwise we can end up |
189 | 192 | # making bogus files that we don't know about and never remove. For |
190 | 193 | # instance it was reported that on HP-UX the gcc test will end up |
191 | # making a dummy file named `D' -- because `-MD' means `put the output | |
192 | # in D'. | |
194 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
195 | # in D". | |
196 | rm -rf conftest.dir | |
193 | 197 | mkdir conftest.dir |
194 | 198 | # Copy depcomp to subdir because otherwise we won't find it if we're |
195 | 199 | # using a relative directory. |
228 | 232 | : > sub/conftest.c |
229 | 233 | for i in 1 2 3 4 5 6; do |
230 | 234 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
231 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
232 | # Solaris 8's {/usr,}/bin/sh. | |
233 | touch sub/conftst$i.h | |
235 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
236 | # Solaris 10 /bin/sh. | |
237 | echo '/* dummy */' > sub/conftst$i.h | |
234 | 238 | done |
235 | 239 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
236 | 240 | |
237 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
241 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
238 | 242 | # mode. It turns out that the SunPro C++ compiler does not properly |
239 | # handle `-M -o', and we need to detect this. Also, some Intel | |
240 | # versions had trouble with output in subdirs | |
243 | # handle '-M -o', and we need to detect this. Also, some Intel | |
244 | # versions had trouble with output in subdirs. | |
241 | 245 | am__obj=sub/conftest.${OBJEXT-o} |
242 | 246 | am__minus_obj="-o $am__obj" |
243 | 247 | case $depmode in |
246 | 250 | test "$am__universal" = false || continue |
247 | 251 | ;; |
248 | 252 | nosideeffect) |
249 | # after this tag, mechanisms are not by side-effect, so they'll | |
250 | # only be used when explicitly requested | |
253 | # After this tag, mechanisms are not by side-effect, so they'll | |
254 | # only be used when explicitly requested. | |
251 | 255 | if test "x$enable_dependency_tracking" = xyes; then |
252 | 256 | continue |
253 | 257 | else |
254 | 258 | break |
255 | 259 | fi |
256 | 260 | ;; |
257 | msvisualcpp | msvcmsys) | |
258 | # This compiler won't grok `-c -o', but also, the minuso test has | |
261 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
262 | # This compiler won't grok '-c -o', but also, the minuso test has | |
259 | 263 | # not run yet. These depmodes are late enough in the game, and |
260 | 264 | # so weak that their functioning should not be impacted. |
261 | 265 | am__obj=conftest.${OBJEXT-o} |
303 | 307 | # AM_SET_DEPDIR |
304 | 308 | # ------------- |
305 | 309 | # Choose a directory name for dependency files. |
306 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
310 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
307 | 311 | AC_DEFUN([AM_SET_DEPDIR], |
308 | 312 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
309 | 313 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
313 | 317 | # AM_DEP_TRACK |
314 | 318 | # ------------ |
315 | 319 | AC_DEFUN([AM_DEP_TRACK], |
316 | [AC_ARG_ENABLE(dependency-tracking, | |
317 | [ --disable-dependency-tracking speeds up one-time build | |
318 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
320 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
321 | AS_HELP_STRING( | |
322 | [--enable-dependency-tracking], | |
323 | [do not reject slow dependency extractors]) | |
324 | AS_HELP_STRING( | |
325 | [--disable-dependency-tracking], | |
326 | [speeds up one-time build])]) | |
319 | 327 | if test "x$enable_dependency_tracking" != xno; then |
320 | 328 | am_depcomp="$ac_aux_dir/depcomp" |
321 | 329 | AMDEPBACKSLASH='\' |
330 | am__nodep='_no' | |
322 | 331 | fi |
323 | 332 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
324 | 333 | AC_SUBST([AMDEPBACKSLASH])dnl |
325 | 334 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
335 | AC_SUBST([am__nodep])dnl | |
336 | _AM_SUBST_NOTMAKE([am__nodep])dnl | |
326 | 337 | ]) |
327 | 338 | |
328 | 339 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
329 | 340 | |
330 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
331 | # Free Software Foundation, Inc. | |
332 | # | |
333 | # This file is free software; the Free Software Foundation | |
334 | # gives unlimited permission to copy and/or distribute it, | |
335 | # with or without modifications, as long as this notice is preserved. | |
336 | ||
337 | #serial 5 | |
341 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
342 | # | |
343 | # This file is free software; the Free Software Foundation | |
344 | # gives unlimited permission to copy and/or distribute it, | |
345 | # with or without modifications, as long as this notice is preserved. | |
346 | ||
347 | # serial 6 | |
338 | 348 | |
339 | 349 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
340 | 350 | # ------------------------------ |
353 | 363 | # Strip MF so we end up with the name of the file. |
354 | 364 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
355 | 365 | # Check whether this is an Automake generated Makefile or not. |
356 | # We used to match only the files named `Makefile.in', but | |
366 | # We used to match only the files named 'Makefile.in', but | |
357 | 367 | # some people rename them; so instead we look at the file content. |
358 | 368 | # Grep'ing the first line is not enough: some people post-process |
359 | 369 | # each Makefile.in and add a new line on top of each file to say so. |
365 | 375 | continue |
366 | 376 | fi |
367 | 377 | # Extract the definition of DEPDIR, am__include, and am__quote |
368 | # from the Makefile without running `make'. | |
378 | # from the Makefile without running 'make'. | |
369 | 379 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
370 | 380 | test -z "$DEPDIR" && continue |
371 | 381 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
372 | 382 | test -z "am__include" && continue |
373 | 383 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
374 | # When using ansi2knr, U may be empty or an underscore; expand it | |
375 | U=`sed -n 's/^U = //p' < "$mf"` | |
376 | 384 | # Find all dependency output files, they are included files with |
377 | 385 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
378 | 386 | # simplest approach to changing $(DEPDIR) to its actual value in the |
379 | 387 | # expansion. |
380 | 388 | for file in `sed -n " |
381 | 389 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
390 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
383 | 391 | # Make sure the directory exists. |
384 | 392 | test -f "$dirpart/$file" && continue |
385 | 393 | fdir=`AS_DIRNAME(["$file"])` |
397 | 405 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 406 | # |
399 | 407 | # This code is only required when automatic dependency tracking |
400 | # is enabled. FIXME. This creates each `.P' file that we will | |
408 | # is enabled. FIXME. This creates each '.P' file that we will | |
401 | 409 | # need in order to bootstrap the dependency handling code. |
402 | 410 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 411 | [AC_CONFIG_COMMANDS([depfiles], |
407 | 415 | |
408 | 416 | # Do all the work for Automake. -*- Autoconf -*- |
409 | 417 | |
410 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
411 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
412 | # | |
413 | # This file is free software; the Free Software Foundation | |
414 | # gives unlimited permission to copy and/or distribute it, | |
415 | # with or without modifications, as long as this notice is preserved. | |
416 | ||
417 | # serial 16 | |
418 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
419 | # | |
420 | # This file is free software; the Free Software Foundation | |
421 | # gives unlimited permission to copy and/or distribute it, | |
422 | # with or without modifications, as long as this notice is preserved. | |
423 | ||
424 | # serial 19 | |
418 | 425 | |
419 | 426 | # This macro actually does too much. Some checks are only needed if |
420 | 427 | # your package does certain things. But this isn't really a big deal. |
460 | 467 | # Define the identity of the package. |
461 | 468 | dnl Distinguish between old-style and new-style calls. |
462 | 469 | m4_ifval([$2], |
463 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
470 | [AC_DIAGNOSE([obsolete], | |
471 | [$0: two- and three-arguments forms are deprecated. For more info, see: | |
472 | http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) | |
473 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
464 | 474 | AC_SUBST([PACKAGE], [$1])dnl |
465 | 475 | AC_SUBST([VERSION], [$2])], |
466 | 476 | [_AM_SET_OPTIONS([$1])dnl |
467 | 477 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
468 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
478 | m4_if( | |
479 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
480 | [ok:ok],, | |
469 | 481 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
470 | 482 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
471 | 483 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
472 | 484 | |
473 | 485 | _AM_IF_OPTION([no-define],, |
474 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
475 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
486 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
487 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
476 | 488 | |
477 | 489 | # Some tools Automake needs. |
478 | 490 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
479 | 491 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
480 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
481 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
482 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
483 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
484 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
492 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
493 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
494 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
495 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
496 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
485 | 497 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
486 | 498 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
487 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
499 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
500 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
488 | 501 | # We need awk for the "check" target. The system "awk" is bad on |
489 | 502 | # some platforms. |
490 | 503 | AC_REQUIRE([AC_PROG_AWK])dnl |
495 | 508 | [_AM_PROG_TAR([v7])])]) |
496 | 509 | _AM_IF_OPTION([no-dependencies],, |
497 | 510 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
498 | [_AM_DEPENDENCIES(CC)], | |
499 | [define([AC_PROG_CC], | |
500 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
511 | [_AM_DEPENDENCIES([CC])], | |
512 | [m4_define([AC_PROG_CC], | |
513 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
501 | 514 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
502 | [_AM_DEPENDENCIES(CXX)], | |
503 | [define([AC_PROG_CXX], | |
504 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
515 | [_AM_DEPENDENCIES([CXX])], | |
516 | [m4_define([AC_PROG_CXX], | |
517 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
505 | 518 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
506 | [_AM_DEPENDENCIES(OBJC)], | |
507 | [define([AC_PROG_OBJC], | |
508 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
519 | [_AM_DEPENDENCIES([OBJC])], | |
520 | [m4_define([AC_PROG_OBJC], | |
521 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
522 | dnl Support for Objective C++ was only introduced in Autoconf 2.65, | |
523 | dnl but we still cater to Autoconf 2.62. | |
524 | m4_ifdef([AC_PROG_OBJCXX], | |
525 | [AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
526 | [_AM_DEPENDENCIES([OBJCXX])], | |
527 | [m4_define([AC_PROG_OBJCXX], | |
528 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl | |
509 | 529 | ]) |
510 | 530 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
511 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
512 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
531 | dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the | |
532 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
513 | 533 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
514 | 534 | AC_CONFIG_COMMANDS_PRE(dnl |
515 | 535 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
516 | 536 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
517 | 537 | ]) |
518 | 538 | |
519 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
539 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
520 | 540 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
521 | 541 | dnl mangled by Autoconf and run in a shell conditional statement. |
522 | 542 | m4_define([_AC_COMPILER_EXEEXT], |
544 | 564 | done |
545 | 565 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
546 | 566 | |
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. | |
567 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
568 | # | |
569 | # This file is free software; the Free Software Foundation | |
570 | # gives unlimited permission to copy and/or distribute it, | |
571 | # with or without modifications, as long as this notice is preserved. | |
572 | ||
573 | # serial 8 | |
552 | 574 | |
553 | 575 | # AM_PROG_INSTALL_SH |
554 | 576 | # ------------------ |
563 | 585 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
564 | 586 | esac |
565 | 587 | fi |
566 | AC_SUBST(install_sh)]) | |
567 | ||
568 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
588 | AC_SUBST([install_sh])]) | |
589 | ||
590 | # Copyright (C) 2003-2012 Free Software Foundation, Inc. | |
569 | 591 | # |
570 | 592 | # This file is free software; the Free Software Foundation |
571 | 593 | # gives unlimited permission to copy and/or distribute it, |
589 | 611 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
590 | 612 | # From Jim Meyering |
591 | 613 | |
592 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
593 | # Free Software Foundation, Inc. | |
594 | # | |
595 | # This file is free software; the Free Software Foundation | |
596 | # gives unlimited permission to copy and/or distribute it, | |
597 | # with or without modifications, as long as this notice is preserved. | |
598 | ||
599 | # serial 5 | |
614 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
615 | # | |
616 | # This file is free software; the Free Software Foundation | |
617 | # gives unlimited permission to copy and/or distribute it, | |
618 | # with or without modifications, as long as this notice is preserved. | |
619 | ||
620 | # serial 7 | |
600 | 621 | |
601 | 622 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) |
602 | 623 | # ---------------------------------- |
603 | 624 | # Control maintainer-specific portions of Makefiles. |
604 | # Default is to disable them, unless `enable' is passed literally. | |
605 | # For symmetry, `disable' may be passed as well. Anyway, the user | |
625 | # Default is to disable them, unless 'enable' is passed literally. | |
626 | # For symmetry, 'disable' may be passed as well. Anyway, the user | |
606 | 627 | # can override the default with the --enable/--disable switch. |
607 | 628 | AC_DEFUN([AM_MAINTAINER_MODE], |
608 | 629 | [m4_case(m4_default([$1], [disable]), |
610 | 631 | [disable], [m4_define([am_maintainer_other], [enable])], |
611 | 632 | [m4_define([am_maintainer_other], [enable]) |
612 | 633 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
613 | AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) | |
634 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | |
614 | 635 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
615 | 636 | AC_ARG_ENABLE([maintainer-mode], |
616 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | |
617 | (and sometimes confusing) to the casual installer], | |
618 | [USE_MAINTAINER_MODE=$enableval], | |
619 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
637 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], | |
638 | am_maintainer_other[ make rules and dependencies not useful | |
639 | (and sometimes confusing) to the casual installer])], | |
640 | [USE_MAINTAINER_MODE=$enableval], | |
641 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
620 | 642 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
621 | 643 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
622 | 644 | MAINT=$MAINTAINER_MODE_TRUE |
628 | 650 | |
629 | 651 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
630 | 652 | |
631 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
632 | # | |
633 | # This file is free software; the Free Software Foundation | |
634 | # gives unlimited permission to copy and/or distribute it, | |
635 | # with or without modifications, as long as this notice is preserved. | |
636 | ||
637 | # serial 4 | |
653 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
654 | # | |
655 | # This file is free software; the Free Software Foundation | |
656 | # gives unlimited permission to copy and/or distribute it, | |
657 | # with or without modifications, as long as this notice is preserved. | |
658 | ||
659 | # serial 5 | |
638 | 660 | |
639 | 661 | # AM_MAKE_INCLUDE() |
640 | 662 | # ----------------- |
653 | 675 | _am_result=none |
654 | 676 | # First try GNU make style include. |
655 | 677 | echo "include confinc" > confmf |
656 | # Ignore all kinds of additional output from `make'. | |
678 | # Ignore all kinds of additional output from 'make'. | |
657 | 679 | case `$am_make -s -f confmf 2> /dev/null` in #( |
658 | 680 | *the\ am__doit\ target*) |
659 | 681 | am__include=include |
680 | 702 | |
681 | 703 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
682 | 704 | |
683 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
684 | # 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. | |
689 | ||
690 | # serial 6 | |
705 | # Copyright (C) 1997-2012 Free Software Foundation, Inc. | |
706 | # | |
707 | # This file is free software; the Free Software Foundation | |
708 | # gives unlimited permission to copy and/or distribute it, | |
709 | # with or without modifications, as long as this notice is preserved. | |
710 | ||
711 | # serial 7 | |
691 | 712 | |
692 | 713 | # AM_MISSING_PROG(NAME, PROGRAM) |
693 | 714 | # ------------------------------ |
717 | 738 | am_missing_run="$MISSING --run " |
718 | 739 | else |
719 | 740 | am_missing_run= |
720 | AC_MSG_WARN([`missing' script is too old or missing]) | |
721 | fi | |
722 | ]) | |
723 | ||
724 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
725 | # | |
726 | # This file is free software; the Free Software Foundation | |
727 | # gives unlimited permission to copy and/or distribute it, | |
728 | # with or without modifications, as long as this notice is preserved. | |
729 | ||
730 | # AM_PROG_MKDIR_P | |
731 | # --------------- | |
732 | # Check for `mkdir -p'. | |
733 | AC_DEFUN([AM_PROG_MKDIR_P], | |
734 | [AC_PREREQ([2.60])dnl | |
735 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
736 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
737 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
738 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
739 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
740 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
741 | dnl adjustment using top_builddir (which is defined more often than | |
742 | dnl MKDIR_P). | |
743 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
744 | case $mkdir_p in | |
745 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
746 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
747 | esac | |
741 | AC_MSG_WARN(['missing' script is too old or missing]) | |
742 | fi | |
748 | 743 | ]) |
749 | 744 | |
750 | 745 | # Helper functions for option handling. -*- Autoconf -*- |
751 | 746 | |
752 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
753 | # | |
754 | # This file is free software; the Free Software Foundation | |
755 | # gives unlimited permission to copy and/or distribute it, | |
756 | # with or without modifications, as long as this notice is preserved. | |
757 | ||
758 | # serial 4 | |
747 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
748 | # | |
749 | # This file is free software; the Free Software Foundation | |
750 | # gives unlimited permission to copy and/or distribute it, | |
751 | # with or without modifications, as long as this notice is preserved. | |
752 | ||
753 | # serial 6 | |
759 | 754 | |
760 | 755 | # _AM_MANGLE_OPTION(NAME) |
761 | 756 | # ----------------------- |
763 | 758 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
764 | 759 | |
765 | 760 | # _AM_SET_OPTION(NAME) |
766 | # ------------------------------ | |
761 | # -------------------- | |
767 | 762 | # Set option NAME. Presently that only means defining a flag for this option. |
768 | 763 | AC_DEFUN([_AM_SET_OPTION], |
769 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
764 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
770 | 765 | |
771 | 766 | # _AM_SET_OPTIONS(OPTIONS) |
772 | # ---------------------------------- | |
767 | # ------------------------ | |
773 | 768 | # OPTIONS is a space-separated list of Automake options. |
774 | 769 | AC_DEFUN([_AM_SET_OPTIONS], |
775 | 770 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
782 | 777 | |
783 | 778 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
784 | 779 | |
785 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
786 | # Free Software Foundation, Inc. | |
787 | # | |
788 | # This file is free software; the Free Software Foundation | |
789 | # gives unlimited permission to copy and/or distribute it, | |
790 | # with or without modifications, as long as this notice is preserved. | |
791 | ||
792 | # serial 5 | |
780 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
781 | # | |
782 | # This file is free software; the Free Software Foundation | |
783 | # gives unlimited permission to copy and/or distribute it, | |
784 | # with or without modifications, as long as this notice is preserved. | |
785 | ||
786 | # serial 9 | |
793 | 787 | |
794 | 788 | # AM_SANITY_CHECK |
795 | 789 | # --------------- |
796 | 790 | AC_DEFUN([AM_SANITY_CHECK], |
797 | 791 | [AC_MSG_CHECKING([whether build environment is sane]) |
798 | # Just in case | |
799 | sleep 1 | |
800 | echo timestamp > conftest.file | |
801 | 792 | # Reject unsafe characters in $srcdir or the absolute working directory |
802 | 793 | # name. Accept space and tab only in the latter. |
803 | 794 | am_lf=' |
808 | 799 | esac |
809 | 800 | case $srcdir in |
810 | 801 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
811 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
802 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
812 | 803 | esac |
813 | 804 | |
814 | # Do `set' in a subshell so we don't clobber the current shell's | |
805 | # Do 'set' in a subshell so we don't clobber the current shell's | |
815 | 806 | # arguments. Must try -L first in case configure is actually a |
816 | 807 | # symlink; some systems play weird games with the mod time of symlinks |
817 | 808 | # (eg FreeBSD returns the mod time of the symlink's containing |
818 | 809 | # directory). |
819 | 810 | if ( |
820 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
821 | if test "$[*]" = "X"; then | |
822 | # -L didn't work. | |
823 | set X `ls -t "$srcdir/configure" conftest.file` | |
824 | fi | |
825 | rm -f conftest.file | |
826 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
827 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
828 | ||
829 | # If neither matched, then we have a broken ls. This can happen | |
830 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
831 | # broken ls alias from the environment. This has actually | |
832 | # happened. Such a system could not be considered "sane". | |
833 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
834 | alias in your environment]) | |
835 | fi | |
836 | ||
811 | am_has_slept=no | |
812 | for am_try in 1 2; do | |
813 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
814 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
815 | if test "$[*]" = "X"; then | |
816 | # -L didn't work. | |
817 | set X `ls -t "$srcdir/configure" conftest.file` | |
818 | fi | |
819 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
820 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
821 | ||
822 | # If neither matched, then we have a broken ls. This can happen | |
823 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
824 | # broken ls alias from the environment. This has actually | |
825 | # happened. Such a system could not be considered "sane". | |
826 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
827 | alias in your environment]) | |
828 | fi | |
829 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
830 | break | |
831 | fi | |
832 | # Just in case. | |
833 | sleep 1 | |
834 | am_has_slept=yes | |
835 | done | |
837 | 836 | test "$[2]" = conftest.file |
838 | 837 | ) |
839 | 838 | then |
843 | 842 | AC_MSG_ERROR([newly created file is older than distributed files! |
844 | 843 | Check your system clock]) |
845 | 844 | fi |
846 | AC_MSG_RESULT(yes)]) | |
847 | ||
848 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
849 | # | |
850 | # This file is free software; the Free Software Foundation | |
851 | # gives unlimited permission to copy and/or distribute it, | |
852 | # with or without modifications, as long as this notice is preserved. | |
845 | AC_MSG_RESULT([yes]) | |
846 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
847 | # generated files are strictly newer. | |
848 | am_sleep_pid= | |
849 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
850 | ( sleep 1 ) & | |
851 | am_sleep_pid=$! | |
852 | fi | |
853 | AC_CONFIG_COMMANDS_PRE( | |
854 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
855 | if test -n "$am_sleep_pid"; then | |
856 | # Hide warnings about reused PIDs. | |
857 | wait $am_sleep_pid 2>/dev/null | |
858 | fi | |
859 | AC_MSG_RESULT([done])]) | |
860 | rm -f conftest.file | |
861 | ]) | |
862 | ||
863 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
864 | # | |
865 | # This file is free software; the Free Software Foundation | |
866 | # gives unlimited permission to copy and/or distribute it, | |
867 | # with or without modifications, as long as this notice is preserved. | |
868 | ||
869 | # serial 2 | |
853 | 870 | |
854 | 871 | # AM_PROG_INSTALL_STRIP |
855 | 872 | # --------------------- |
856 | # One issue with vendor `install' (even GNU) is that you can't | |
873 | # One issue with vendor 'install' (even GNU) is that you can't | |
857 | 874 | # specify the program used to strip binaries. This is especially |
858 | 875 | # annoying in cross-compiling environments, where the build's strip |
859 | 876 | # is unlikely to handle the host's binaries. |
860 | 877 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
861 | # always use install-sh in `make install-strip', and initialize | |
878 | # always use install-sh in "make install-strip", and initialize | |
862 | 879 | # STRIPPROG with the value of the STRIP variable (set by the user). |
863 | 880 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
864 | 881 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
865 | # Installed binaries are usually stripped using `strip' when the user | |
866 | # run `make install-strip'. However `strip' might not be the right | |
882 | # Installed binaries are usually stripped using 'strip' when the user | |
883 | # run "make install-strip". However 'strip' might not be the right | |
867 | 884 | # tool to use in cross-compilation environments, therefore Automake |
868 | # will honor the `STRIP' environment variable to overrule this program. | |
869 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
885 | # will honor the 'STRIP' environment variable to overrule this program. | |
886 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
870 | 887 | if test "$cross_compiling" != no; then |
871 | 888 | AC_CHECK_TOOL([STRIP], [strip], :) |
872 | 889 | fi |
873 | 890 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
874 | 891 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
875 | 892 | |
876 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
877 | # | |
878 | # This file is free software; the Free Software Foundation | |
879 | # gives unlimited permission to copy and/or distribute it, | |
880 | # with or without modifications, as long as this notice is preserved. | |
881 | ||
882 | # serial 2 | |
893 | # Copyright (C) 2006-2012 Free Software Foundation, Inc. | |
894 | # | |
895 | # This file is free software; the Free Software Foundation | |
896 | # gives unlimited permission to copy and/or distribute it, | |
897 | # with or without modifications, as long as this notice is preserved. | |
898 | ||
899 | # serial 3 | |
883 | 900 | |
884 | 901 | # _AM_SUBST_NOTMAKE(VARIABLE) |
885 | 902 | # --------------------------- |
888 | 905 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
889 | 906 | |
890 | 907 | # AM_SUBST_NOTMAKE(VARIABLE) |
891 | # --------------------------- | |
908 | # -------------------------- | |
892 | 909 | # Public sister of _AM_SUBST_NOTMAKE. |
893 | 910 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
894 | 911 | |
895 | 912 | # Check how to create a tarball. -*- Autoconf -*- |
896 | 913 | |
897 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
898 | # | |
899 | # This file is free software; the Free Software Foundation | |
900 | # gives unlimited permission to copy and/or distribute it, | |
901 | # with or without modifications, as long as this notice is preserved. | |
902 | ||
903 | # serial 2 | |
914 | # Copyright (C) 2004-2012 Free Software Foundation, Inc. | |
915 | # | |
916 | # This file is free software; the Free Software Foundation | |
917 | # gives unlimited permission to copy and/or distribute it, | |
918 | # with or without modifications, as long as this notice is preserved. | |
919 | ||
920 | # serial 3 | |
904 | 921 | |
905 | 922 | # _AM_PROG_TAR(FORMAT) |
906 | 923 | # -------------------- |
907 | 924 | # Check how to create a tarball in format FORMAT. |
908 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
925 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
909 | 926 | # |
910 | 927 | # Substitute a variable $(am__tar) that is a command |
911 | 928 | # writing to stdout a FORMAT-tarball containing the directory |
916 | 933 | # a tarball read from stdin. |
917 | 934 | # $(am__untar) < result.tar |
918 | 935 | AC_DEFUN([_AM_PROG_TAR], |
919 | [# Always define AMTAR for backward compatibility. | |
920 | AM_MISSING_PROG([AMTAR], [tar]) | |
936 | [# Always define AMTAR for backward compatibility. Yes, it's still used | |
937 | # in the wild :-( We should find a proper way to deprecate it ... | |
938 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | |
921 | 939 | m4_if([$1], [v7], |
922 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
940 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
923 | 941 | [m4_case([$1], [ustar],, [pax],, |
924 | 942 | [m4_fatal([Unknown tar format])]) |
925 | 943 | AC_MSG_CHECKING([how to create a $1 tar archive]) |
927 | 945 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
928 | 946 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
929 | 947 | # Do not fold the above two line into one, because Tru64 sh and |
930 | # Solaris sh will not grok spaces in the rhs of `-'. | |
948 | # Solaris sh will not grok spaces in the rhs of '-'. | |
931 | 949 | for _am_tool in $_am_tools |
932 | 950 | do |
933 | 951 | case $_am_tool in |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
6 | # This Makefile.in is free software; the Free Software Foundation | |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
15 | @SET_MAKE@ | |
16 | ||
17 | VPATH = @srcdir@ | |
18 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | build_triplet = @build@ | |
35 | host_triplet = @host@ | |
36 | subdir = charmaps | |
37 | DIST_COMMON = $(dist_outputs_DATA) $(srcdir)/Makefile.am \ | |
38 | $(srcdir)/Makefile.in | |
39 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
40 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac | |
41 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
42 | $(ACLOCAL_M4) | |
43 | mkinstalldirs = $(install_sh) -d | |
44 | CONFIG_HEADER = $(top_builddir)/config.h | |
45 | CONFIG_CLEAN_FILES = | |
46 | CONFIG_CLEAN_VPATH_FILES = | |
47 | SOURCES = | |
48 | DIST_SOURCES = | |
49 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |
50 | am__vpath_adj = case $$p in \ | |
51 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |
52 | *) f=$$p;; \ | |
53 | esac; | |
54 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | |
55 | am__install_max = 40 | |
56 | am__nobase_strip_setup = \ | |
57 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | |
58 | am__nobase_strip = \ | |
59 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | |
60 | am__nobase_list = $(am__nobase_strip_setup); \ | |
61 | for p in $$list; do echo "$$p $$p"; done | \ | |
62 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | |
63 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | |
64 | if (++n[$$2] == $(am__install_max)) \ | |
65 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | |
66 | END { for (dir in files) print dir, files[dir] }' | |
67 | am__base_list = \ | |
68 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | |
69 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | |
70 | am__installdirs = "$(DESTDIR)$(outputsdir)" | |
71 | DATA = $(dist_outputs_DATA) | |
72 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
73 | ACLOCAL = @ACLOCAL@ | |
74 | AMTAR = @AMTAR@ | |
75 | AUTOCONF = @AUTOCONF@ | |
76 | AUTOHEADER = @AUTOHEADER@ | |
77 | AUTOMAKE = @AUTOMAKE@ | |
78 | AWK = @AWK@ | |
79 | CC = @CC@ | |
80 | CCDEPMODE = @CCDEPMODE@ | |
81 | CFLAGS = @CFLAGS@ | |
82 | CPP = @CPP@ | |
83 | CPPFLAGS = @CPPFLAGS@ | |
84 | CYGPATH_W = @CYGPATH_W@ | |
85 | DEFS = @DEFS@ | |
86 | DEPDIR = @DEPDIR@ | |
87 | ECHO_C = @ECHO_C@ | |
88 | ECHO_N = @ECHO_N@ | |
89 | ECHO_T = @ECHO_T@ | |
90 | EGREP = @EGREP@ | |
91 | EXEEXT = @EXEEXT@ | |
92 | GREP = @GREP@ | |
93 | INSTALL = @INSTALL@ | |
94 | INSTALL_DATA = @INSTALL_DATA@ | |
95 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
96 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
97 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
98 | LDFLAGS = @LDFLAGS@ | |
99 | LIBOBJS = @LIBOBJS@ | |
100 | LIBS = @LIBS@ | |
101 | LTLIBOBJS = @LTLIBOBJS@ | |
102 | MAINT = @MAINT@ | |
103 | MAKEINFO = @MAKEINFO@ | |
104 | MKDIR_P = @MKDIR_P@ | |
105 | OBJEXT = @OBJEXT@ | |
106 | PACKAGE = @PACKAGE@ | |
107 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
108 | PACKAGE_NAME = @PACKAGE_NAME@ | |
109 | PACKAGE_STRING = @PACKAGE_STRING@ | |
110 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
111 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
112 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
113 | SET_MAKE = @SET_MAKE@ | |
114 | SHELL = @SHELL@ | |
115 | STRIP = @STRIP@ | |
116 | VERSION = @VERSION@ | |
117 | abs_builddir = @abs_builddir@ | |
118 | abs_srcdir = @abs_srcdir@ | |
119 | abs_top_builddir = @abs_top_builddir@ | |
120 | abs_top_srcdir = @abs_top_srcdir@ | |
121 | ac_ct_CC = @ac_ct_CC@ | |
122 | am__include = @am__include@ | |
123 | am__leading_dot = @am__leading_dot@ | |
124 | am__quote = @am__quote@ | |
125 | am__tar = @am__tar@ | |
126 | am__untar = @am__untar@ | |
127 | bindir = @bindir@ | |
128 | build = @build@ | |
129 | build_alias = @build_alias@ | |
130 | build_cpu = @build_cpu@ | |
131 | build_os = @build_os@ | |
132 | build_vendor = @build_vendor@ | |
133 | builddir = @builddir@ | |
134 | datadir = @datadir@ | |
135 | datarootdir = @datarootdir@ | |
136 | docdir = @docdir@ | |
137 | dvidir = @dvidir@ | |
138 | exec_prefix = @exec_prefix@ | |
139 | host = @host@ | |
140 | host_alias = @host_alias@ | |
141 | host_cpu = @host_cpu@ | |
142 | host_os = @host_os@ | |
143 | host_vendor = @host_vendor@ | |
144 | htmldir = @htmldir@ | |
145 | includedir = @includedir@ | |
146 | infodir = @infodir@ | |
147 | install_sh = @install_sh@ | |
148 | libdir = @libdir@ | |
149 | libexecdir = @libexecdir@ | |
150 | localedir = @localedir@ | |
151 | localstatedir = @localstatedir@ | |
152 | mandir = @mandir@ | |
153 | mkdir_p = @mkdir_p@ | |
154 | oldincludedir = @oldincludedir@ | |
155 | pdfdir = @pdfdir@ | |
156 | prefix = @prefix@ | |
157 | program_transform_name = @program_transform_name@ | |
158 | psdir = @psdir@ | |
159 | sbindir = @sbindir@ | |
160 | sharedstatedir = @sharedstatedir@ | |
161 | srcdir = @srcdir@ | |
162 | sysconfdir = @sysconfdir@ | |
163 | target_alias = @target_alias@ | |
164 | top_build_prefix = @top_build_prefix@ | |
165 | top_builddir = @top_builddir@ | |
166 | top_srcdir = @top_srcdir@ | |
167 | outputsdir = ${libdir}/${PACKAGE} | |
168 | dist_outputs_DATA = SYMBOL.charmap | |
169 | all: all-am | |
170 | ||
171 | .SUFFIXES: | |
172 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) | |
173 | @for dep in $?; do \ | |
174 | case '$(am__configure_deps)' in \ | |
175 | *$$dep*) \ | |
176 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
177 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
178 | exit 1;; \ | |
179 | esac; \ | |
180 | done; \ | |
181 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu charmaps/Makefile'; \ | |
182 | $(am__cd) $(top_srcdir) && \ | |
183 | $(AUTOMAKE) --gnu charmaps/Makefile | |
184 | .PRECIOUS: Makefile | |
185 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
186 | @case '$?' in \ | |
187 | *config.status*) \ | |
188 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
189 | *) \ | |
190 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
191 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
192 | esac; | |
193 | ||
194 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
195 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
196 | ||
197 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | |
198 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
199 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) | |
200 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
201 | $(am__aclocal_m4_deps): | |
202 | install-dist_outputsDATA: $(dist_outputs_DATA) | |
203 | @$(NORMAL_INSTALL) | |
204 | test -z "$(outputsdir)" || $(MKDIR_P) "$(DESTDIR)$(outputsdir)" | |
205 | @list='$(dist_outputs_DATA)'; test -n "$(outputsdir)" || list=; \ | |
206 | for p in $$list; do \ | |
207 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
208 | echo "$$d$$p"; \ | |
209 | done | $(am__base_list) | \ | |
210 | while read files; do \ | |
211 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(outputsdir)'"; \ | |
212 | $(INSTALL_DATA) $$files "$(DESTDIR)$(outputsdir)" || exit $$?; \ | |
213 | done | |
214 | ||
215 | uninstall-dist_outputsDATA: | |
216 | @$(NORMAL_UNINSTALL) | |
217 | @list='$(dist_outputs_DATA)'; test -n "$(outputsdir)" || list=; \ | |
218 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |
219 | test -n "$$files" || exit 0; \ | |
220 | echo " ( cd '$(DESTDIR)$(outputsdir)' && rm -f" $$files ")"; \ | |
221 | cd "$(DESTDIR)$(outputsdir)" && rm -f $$files | |
222 | tags: TAGS | |
223 | TAGS: | |
224 | ||
225 | ctags: CTAGS | |
226 | CTAGS: | |
227 | ||
228 | ||
229 | distdir: $(DISTFILES) | |
230 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
231 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
232 | list='$(DISTFILES)'; \ | |
233 | dist_files=`for file in $$list; do echo $$file; done | \ | |
234 | sed -e "s|^$$srcdirstrip/||;t" \ | |
235 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
236 | case $$dist_files in \ | |
237 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
238 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
239 | sort -u` ;; \ | |
240 | esac; \ | |
241 | for file in $$dist_files; do \ | |
242 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
243 | if test -d $$d/$$file; then \ | |
244 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
245 | if test -d "$(distdir)/$$file"; then \ | |
246 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
247 | fi; \ | |
248 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
249 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
250 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
251 | fi; \ | |
252 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
253 | else \ | |
254 | test -f "$(distdir)/$$file" \ | |
255 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
256 | || exit 1; \ | |
257 | fi; \ | |
258 | done | |
259 | check-am: all-am | |
260 | check: check-am | |
261 | all-am: Makefile $(DATA) | |
262 | installdirs: | |
263 | for dir in "$(DESTDIR)$(outputsdir)"; do \ | |
264 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
265 | done | |
266 | install: install-am | |
267 | install-exec: install-exec-am | |
268 | install-data: install-data-am | |
269 | uninstall: uninstall-am | |
270 | ||
271 | install-am: all-am | |
272 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
273 | ||
274 | installcheck: installcheck-am | |
275 | install-strip: | |
276 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
277 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
278 | `test -z '$(STRIP)' || \ | |
279 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
280 | mostlyclean-generic: | |
281 | ||
282 | clean-generic: | |
283 | ||
284 | distclean-generic: | |
285 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
286 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
287 | ||
288 | maintainer-clean-generic: | |
289 | @echo "This command is intended for maintainers to use" | |
290 | @echo "it deletes files that may require special tools to rebuild." | |
291 | clean: clean-am | |
292 | ||
293 | clean-am: clean-generic mostlyclean-am | |
294 | ||
295 | distclean: distclean-am | |
296 | -rm -f Makefile | |
297 | distclean-am: clean-am distclean-generic | |
298 | ||
299 | dvi: dvi-am | |
300 | ||
301 | dvi-am: | |
302 | ||
303 | html: html-am | |
304 | ||
305 | html-am: | |
306 | ||
307 | info: info-am | |
308 | ||
309 | info-am: | |
310 | ||
311 | install-data-am: install-dist_outputsDATA | |
312 | ||
313 | install-dvi: install-dvi-am | |
314 | ||
315 | install-dvi-am: | |
316 | ||
317 | install-exec-am: | |
318 | ||
319 | install-html: install-html-am | |
320 | ||
321 | install-html-am: | |
322 | ||
323 | install-info: install-info-am | |
324 | ||
325 | install-info-am: | |
326 | ||
327 | install-man: | |
328 | ||
329 | install-pdf: install-pdf-am | |
330 | ||
331 | install-pdf-am: | |
332 | ||
333 | install-ps: install-ps-am | |
334 | ||
335 | install-ps-am: | |
336 | ||
337 | installcheck-am: | |
338 | ||
339 | maintainer-clean: maintainer-clean-am | |
340 | -rm -f Makefile | |
341 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
342 | ||
343 | mostlyclean: mostlyclean-am | |
344 | ||
345 | mostlyclean-am: mostlyclean-generic | |
346 | ||
347 | pdf: pdf-am | |
348 | ||
349 | pdf-am: | |
350 | ||
351 | ps: ps-am | |
352 | ||
353 | ps-am: | |
354 | ||
355 | uninstall-am: uninstall-dist_outputsDATA | |
356 | ||
357 | .MAKE: install-am install-strip | |
358 | ||
359 | .PHONY: all all-am check check-am clean clean-generic distclean \ | |
360 | distclean-generic distdir dvi dvi-am html html-am info info-am \ | |
361 | install install-am install-data install-data-am \ | |
362 | install-dist_outputsDATA install-dvi install-dvi-am \ | |
363 | install-exec install-exec-am install-html install-html-am \ | |
364 | install-info install-info-am install-man install-pdf \ | |
365 | install-pdf-am install-ps install-ps-am install-strip \ | |
366 | installcheck installcheck-am installdirs maintainer-clean \ | |
367 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ | |
368 | pdf-am ps ps-am uninstall uninstall-am \ | |
369 | uninstall-dist_outputsDATA | |
370 | ||
371 | ||
372 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
373 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
374 | .NOEXPORT: |
0 | <U0000> /x00 NULL | |
1 | <U0001> /x01 START OF HEADING | |
2 | <U0002> /x02 START OF TEXT | |
3 | <U0003> /x03 END OF TEXT | |
4 | <U0004> /x04 END OF TRANSMISSION | |
5 | <U0005> /x05 ENQUIRY | |
6 | <U0006> /x06 ACKNOWLEDGE | |
7 | <U0007> /x07 BELL | |
8 | <U0008> /x08 BACKSPACE | |
9 | <U0009> /x09 HORIZONTAL TABULATION | |
10 | <U000A> /x0a LINE FEED | |
11 | <U000B> /x0b VERTICAL TABULATION | |
12 | <U000C> /x0c FORM FEED | |
13 | <U000D> /x0d CARRIAGE RETURN | |
14 | <U000E> /x0e SHIFT OUT | |
15 | <U000F> /x0f SHIFT IN | |
16 | <U0010> /x10 DATA LINK ESCAPE | |
17 | <U0011> /x11 DEVICE CONTROL ONE | |
18 | <U0012> /x12 DEVICE CONTROL TWO | |
19 | <U0013> /x13 DEVICE CONTROL THREE | |
20 | <U0014> /x14 DEVICE CONTROL FOUR | |
21 | <U0015> /x15 NEGATIVE ACKNOWLEDGE | |
22 | <U0016> /x16 SYNCHRONOUS IDLE | |
23 | <U0017> /x17 END OF TRANSMISSION BLOCK | |
24 | <U0018> /x18 CANCEL | |
25 | <U0019> /x19 END OF MEDIUM | |
26 | <U001A> /x1a SUBSTITUTE | |
27 | <U001B> /x1b ESCAPE | |
28 | <U001C> /x1c FILE SEPARATOR | |
29 | <U001D> /x1d GROUP SEPARATOR | |
30 | <U001E> /x1e RECORD SEPARATOR | |
31 | <U001F> /x1f UNIT SEPARATOR | |
32 | <U0020> /x20 SPACE | |
33 | <U0021> /x21 EXCLAMATION MARK | |
34 | <U0022> /x22 QUOTATION MARK | |
35 | <U0023> /x23 NUMBER SIGN | |
36 | <U0024> /x24 DOLLAR SIGN | |
37 | <U0025> /x25 PERCENT SIGN | |
38 | <U0026> /x26 AMPERSAND | |
39 | <U0027> /x27 APOSTROPHE | |
40 | <U0028> /x28 LEFT PARENTHESIS | |
41 | <U0029> /x29 RIGHT PARENTHESIS | |
42 | <U002A> /x2a ASTERISK | |
43 | <U002B> /x2b PLUS SIGN | |
44 | <U002C> /x2c COMMA | |
45 | <U002D> /x2d HYPHEN-MINUS | |
46 | <U002E> /x2e FULL STOP | |
47 | <U002F> /x2f SOLIDUS | |
48 | <U0030> /x30 DIGIT ZERO | |
49 | <U0031> /x31 DIGIT ONE | |
50 | <U0032> /x32 DIGIT TWO | |
51 | <U0033> /x33 DIGIT THREE | |
52 | <U0034> /x34 DIGIT FOUR | |
53 | <U0035> /x35 DIGIT FIVE | |
54 | <U0036> /x36 DIGIT SIX | |
55 | <U0037> /x37 DIGIT SEVEN | |
56 | <U0038> /x38 DIGIT EIGHT | |
57 | <U0039> /x39 DIGIT NINE | |
58 | <U003A> /x3a COLON | |
59 | <U003B> /x3b SEMICOLON | |
60 | <U003C> /x3c LESS-THAN SIGN | |
61 | <U003D> /x3d EQUALS SIGN | |
62 | <U003E> /x3e GREATER-THAN SIGN | |
63 | <U003F> /x3f QUESTION MARK | |
64 | <U2245> /x40 APPROXIMATELY EQUAL TO | |
65 | <U0391> /x41 GREEK CAPITAL LETTER ALPHA | |
66 | <U0392> /x42 GREEK CAPITAL LETTER BETA | |
67 | <U03A7> /x43 GREEK CAPITAL LETTER CHI | |
68 | <U0394> /x44 GREEK CAPITAL LETTER DELTA | |
69 | <U0395> /x45 GREEK CAPITAL LETTER EPSILON | |
70 | <U03A6> /x46 GREEK CAPITAL LETTER PHI | |
71 | <U0393> /x47 GREEK CAPITAL LETTER GAMMA | |
72 | <U0397> /x48 GREEK CAPITAL LETTER ETA | |
73 | <U0399> /x49 GREEK CAPITAL LETTER IOTA | |
74 | <U03D1> /x4a GREEK THETA SYMBOL | |
75 | <U039A> /x4b GREEK CAPITAL LETTER KAPPA | |
76 | <U039B> /x4c GREEK CAPITAL LETTER LAMBDA | |
77 | <U039C> /x4d GREEK CAPITAL LETTER MU | |
78 | <U039D> /x4e GREEK CAPITAL LETTER NU | |
79 | <U039F> /x4f GREEK CAPITAL LETTER OMICRON | |
80 | <U03A0> /x50 GREEK CAPITAL LETTER PI | |
81 | <U0398> /x51 GREEK CAPITAL LETTER THETA | |
82 | <U03A1> /x52 GREEK CAPITAL LETTER RHO | |
83 | <U03A3> /x53 GREEK CAPITAL LETTER SIGMA | |
84 | <U03A4> /x54 GREEK CAPITAL LETTER TAU | |
85 | <U03A5> /x55 GREEK CAPITAL LETTER UPSILON | |
86 | <U03C2> /x56 GREEK SMALL LETTER FINAL SIGMA | |
87 | <U03A9> /x57 GREEK CAPITAL LETTER OMEGA | |
88 | <U039E> /x58 GREEK CAPITAL LETTER XI | |
89 | <U03A8> /x59 GREEK CAPITAL LETTER PSI | |
90 | <U0396> /x5a GREEK CAPITAL LETTER ZETA | |
91 | <U005B> /x5b LEFT SQUARE BRACKET | |
92 | <U2234> /x5c THEREFORE | |
93 | <U005D> /x5d RIGHT SQUARE BRACKET | |
94 | <U22A5> /x5e UP TACK | |
95 | <U005F> /x5f LOW LINE | |
96 | <U203E> /x60 OVERLINE | |
97 | <U03B1> /x61 GREEK SMALL LETTER ALPHA | |
98 | <U03B2> /x62 GREEK SMALL LETTER BETA | |
99 | <U03C7> /x63 GREEK SMALL LETTER CHI | |
100 | <U03B4> /x64 GREEK SMALL LETTER DELTA | |
101 | <U03B5> /x65 GREEK SMALL LETTER EPSILON | |
102 | <U03C6> /x66 GREEK SMALL LETTER PHI | |
103 | <U03B3> /x67 GREEK SMALL LETTER GAMMA | |
104 | <U03B7> /x68 GREEK SMALL LETTER ETA | |
105 | <U03B9> /x69 GREEK SMALL LETTER IOTA | |
106 | <U0000> /x6a NULL | |
107 | <U03BA> /x6b GREEK SMALL LETTER KAPPA | |
108 | <U03BB> /x6c GREEK SMALL LETTER LAMBDA | |
109 | <U03BC> /x6d GREEK SMALL LETTER MU | |
110 | <U03BD> /x6e GREEK SMALL LETTER NU | |
111 | <U03BF> /x6f GREEK SMALL LETTER OMICRON | |
112 | <U03C0> /x70 GREEK SMALL LETTER PI | |
113 | <U03B8> /x71 GREEK SMALL LETTER THETA | |
114 | <U03C1> /x72 GREEK SMALL LETTER RHO | |
115 | <U03C3> /x73 GREEK SMALL LETTER SIGMA | |
116 | <U03C4> /x74 GREEK SMALL LETTER TAU | |
117 | <U03C5> /x75 GREEK SMALL LETTER UPSILON | |
118 | <U03D6> /x76 GREEK PI SYMBOL | |
119 | <U03C9> /x77 GREEK SMALL LETTER OMEGA | |
120 | <U03BE> /x78 GREEK SMALL LETTER XI | |
121 | <U03C8> /x79 GREEK SMALL LETTER PSI | |
122 | <U03B6> /x7a GREEK SMALL LETTER ZETA | |
123 | <U007B> /x7b LEFT CURLY BRACKET | |
124 | <U007C> /x7c VERTICAL LINE | |
125 | <U007D> /x7d RIGHT CURLY BRACKET | |
126 | <U223C> /x7e TILDE OPERATOR | |
127 | <U0000> /x7f NULL | |
128 | <U0000> /xc2/x80 NULL | |
129 | <U0000> /xc2/x81 NULL | |
130 | <U0000> /xc2/x82 NULL | |
131 | <U0000> /xc2/x83 NULL | |
132 | <U0000> /xc2/x84 NULL | |
133 | <U0000> /xc2/x85 NULL | |
134 | <U0000> /xc2/x86 NULL | |
135 | <U0000> /xc2/x87 NULL | |
136 | <U0000> /xc2/x88 NULL | |
137 | <U0000> /xc2/x89 NULL | |
138 | <U0000> /xc2/x8a NULL | |
139 | <U0000> /xc2/x8b NULL | |
140 | <U0000> /xc2/x8c NULL | |
141 | <U0000> /xc2/x8d NULL | |
142 | <U0000> /xc2/x8e NULL | |
143 | <U0000> /xc2/x8f NULL | |
144 | <U0000> /xc2/x90 NULL | |
145 | <U0000> /xc2/x91 NULL | |
146 | <U0000> /xc2/x92 NULL | |
147 | <U0000> /xc2/x93 NULL | |
148 | <U0000> /xc2/x94 NULL | |
149 | <U0000> /xc2/x95 NULL | |
150 | <U0000> /xc2/x96 NULL | |
151 | <U0000> /xc2/x97 NULL | |
152 | <U0000> /xc2/x98 NULL | |
153 | <U0000> /xc2/x99 NULL | |
154 | <U0000> /xc2/x9a NULL | |
155 | <U0000> /xc2/x9b NULL | |
156 | <U0000> /xc2/x9c NULL | |
157 | <U0000> /xc2/x9d NULL | |
158 | <U0000> /xc2/x9e NULL | |
159 | <U0000> /xc2/x9f NULL | |
160 | <U0000> /xc2/xa0 NULL | |
161 | <U03D2> /xc2/xa1 GREEK UPSILON WITH HOOK SYMBOL | |
162 | <U2032> /xc2/xa2 PRIME | |
163 | <U2264> /xc2/xa3 LESS-THAN OR EQUAL TO | |
164 | <U2044> /xc2/xa4 FRACTION SLASH | |
165 | <U221E> /xc2/xa5 INFINITY | |
166 | <U0192> /xc2/xa6 LATIN SMALL LETTER F WITH HOOK | |
167 | <U2663> /xc2/xa7 BLACK CLUB SUIT | |
168 | <U2666> /xc2/xa8 BLACK DIAMOND SUIT | |
169 | <U2665> /xc2/xa9 BLACK HEART SUIT | |
170 | <U2660> /xc2/xaa BLACK SPADE SUIT | |
171 | <U2194> /xc2/xab LEFT RIGHT ARROW | |
172 | <U2190> /xc2/xac LEFTWARDS ARROW | |
173 | <U0000> /xc2/xad NULL | |
174 | <U2192> /xc2/xae RIGHTWARDS ARROW | |
175 | <U2193> /xc2/xaf DOWNWARDS ARROW | |
176 | <U00B0> /xc2/xb0 DEGREE SIGN | |
177 | <U00B1> /xc2/xb1 PLUS-MINUS SIGN | |
178 | <U2033> /xc2/xb2 DOUBLE PRIME | |
179 | <U2265> /xc2/xb3 GREATER-THAN OR EQUAL TO | |
180 | <U00D7> /xc2/xb4 MULTIPLICATION SIGN | |
181 | <U221D> /xc2/xb5 PROPORTIONAL TO | |
182 | <U2202> /xc2/xb6 PARTIAL DIFFERENTIAL | |
183 | <U2022> /xc2/xb7 BULLET | |
184 | <U00F7> /xc2/xb8 DIVISION SIGN | |
185 | <U2260> /xc2/xb9 NOT EQUAL TO | |
186 | <U2261> /xc2/xba IDENTICAL TO | |
187 | <U2248> /xc2/xbb ALMOST EQUAL TO | |
188 | <U2026> /xc2/xbc HORIZONTAL ELLIPSIS | |
189 | <U2502> /xc2/xbd BOX DRAWINGS LIGHT VERTICAL | |
190 | <U2014> /xc2/xbe EM DASH | |
191 | <U21B5> /xc2/xbf DOWNWARDS ARROW WITH CORNER LEFTWARDS | |
192 | <U2135> /xc3/x80 ALEF SYMBOL | |
193 | <U2111> /xc3/x81 BLACK-LETTER CAPITAL I | |
194 | <U211C> /xc3/x82 BLACK-LETTER CAPITAL R | |
195 | <U2118> /xc3/x83 SCRIPT CAPITAL P | |
196 | <U2297> /xc3/x84 CIRCLED TIMES | |
197 | <U2295> /xc3/x85 CIRCLED PLUS | |
198 | <U2205> /xc3/x86 EMPTY SET | |
199 | <U2229> /xc3/x87 INTERSECTION | |
200 | <U222A> /xc3/x88 UNION | |
201 | <U2283> /xc3/x89 SUPERSET OF | |
202 | <U2287> /xc3/x8a SUPERSET OF OR EQUAL TO | |
203 | <U2284> /xc3/x8b NOT A SUBSET OF | |
204 | <U2282> /xc3/x8c SUBSET OF | |
205 | <U2286> /xc3/x8d SUBSET OF OR EQUAL TO | |
206 | <U2208> /xc3/x8e ELEMENT OF | |
207 | <U2209> /xc3/x8f NOT AN ELEMENT OF | |
208 | <U2220> /xc3/x90 ANGLE | |
209 | <U2207> /xc3/x91 NABLA | |
210 | <U00AE> /xc3/x92 REGISTERED SIGN | |
211 | <U00A9> /xc3/x93 COPYRIGHT SIGN | |
212 | <U2122> /xc3/x94 TRADE MARK SIGN | |
213 | <U220F> /xc3/x95 N-ARY PRODUCT | |
214 | <U221A> /xc3/x96 SQUARE ROOT | |
215 | <U00B7> /xc3/x97 MIDDLE DOT | |
216 | <U00AC> /xc3/x98 NOT SIGN | |
217 | <U2227> /xc3/x99 LOGICAL AND | |
218 | <U2228> /xc3/x9a LOGICAL OR | |
219 | <U21D4> /xc3/x9b LEFT RIGHT DOUBLE ARROW | |
220 | <U21D0> /xc3/x9c LEFTWARDS DOUBLE ARROW | |
221 | <U21D1> /xc3/x9d UPWARDS DOUBLE ARROW | |
222 | <U21D2> /xc3/x9e RIGHTWARDS DOUBLE ARROW | |
223 | <U21D3> /xc3/x9f DOWNWARDS DOUBLE ARROW | |
224 | <U25CA> /xc3/xa0 LOZENGE | |
225 | <U2329> /xc3/xa1 LEFT-POINTING ANGLE BRACKET | |
226 | <U00AE> /xc3/xa2 REGISTERED SIGN | |
227 | <U00A9> /xc3/xa3 COPYRIGHT SIGN | |
228 | <U2122> /xc3/xa4 TRADE MARK SIGN | |
229 | <U2211> /xc3/xa5 N-ARY SUMMATION | |
230 | <U00E5> /xc3/xa6 NULL | |
231 | <U00E6> /xc3/xa7 NULL | |
232 | <U00E7> /xc3/xa8 NULL | |
233 | <U2308> /xc3/xa9 LEFT CEILING | |
234 | <U007C> /xc3/xaa VERTICAL LINE | |
235 | <U230A> /xc3/xab LEFT FLOOR | |
236 | <U0000> /xc3/xac NULL | |
237 | <U0000> /xc3/xad NULL | |
238 | <U0000> /xc3/xae NULL | |
239 | <U007C> /xc3/xaf VERTICAL LINE | |
240 | <U00F0> /xc3/xb0 LATIN SMALL LETTER ETH | |
241 | <U232A> /xc3/xb1 RIGHT-POINTING ANGLE BRACKET | |
242 | <U222B> /xc3/xb2 INTEGRAL | |
243 | <U0000> /xc3/xb3 NULL | |
244 | <U0000> /xc3/xb4 NULL | |
245 | <U0000> /xc3/xb5 NULL | |
246 | <U0000> /xc3/xb6 NULL | |
247 | <U0000> /xc3/xb7 NULL | |
248 | <U0000> /xc3/xb8 NULL | |
249 | <U2309> /xc3/xb9 RIGHT CEILING | |
250 | <U007C> /xc3/xba VERTICAL LINE | |
251 | <U230B> /xc3/xbb RIGHT FLOOR | |
252 | <U0000> /xc3/xbc NULL | |
253 | <U0000> /xc3/xbd NULL | |
254 | <U0000> /xc3/xbe NULL | |
255 | <U0000> /xc3/xbf NULL | |
256 |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | |
4 | # Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2008-01-23' | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-02-10' | |
7 | 7 | |
8 | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | 9 | # under the terms of the GNU General Public License as published by |
16 | 16 | # General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
21 | # 02110-1301, USA. | |
19 | # along with this program; if not, see <http://www.gnu.org/licenses/>. | |
22 | 20 | # |
23 | 21 | # As a special exception to the GNU General Public License, if you |
24 | 22 | # distribute this file as part of a program that contains a |
26 | 24 | # the same distribution terms that you use for the rest of that program. |
27 | 25 | |
28 | 26 | |
29 | # Originally written by Per Bothner <per@bothner.com>. | |
30 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
31 | # diff and a properly formatted ChangeLog entry. | |
27 | # Originally written by Per Bothner. Please send patches (context | |
28 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |
29 | # entry. | |
32 | 30 | # |
33 | 31 | # This script attempts to guess a canonical system name similar to |
34 | 32 | # config.sub. If it succeeds, it prints the system name on stdout, and |
35 | 33 | # exits with 0. Otherwise, it exits with 1. |
36 | 34 | # |
37 | # The plan is that this can be called by configure scripts if you | |
38 | # don't specify an explicit build system type. | |
35 | # You can get the latest version of this script from: | |
36 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | |
39 | 37 | |
40 | 38 | me=`echo "$0" | sed -e 's,.*/,,'` |
41 | 39 | |
55 | 53 | GNU config.guess ($timestamp) |
56 | 54 | |
57 | 55 | Originally written by Per Bothner. |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
59 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
56 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
57 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
58 | Free Software Foundation, Inc. | |
60 | 59 | |
61 | 60 | This is free software; see the source for copying conditions. There is NO |
62 | 61 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
138 | 137 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
139 | 138 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
140 | 139 | |
140 | case "${UNAME_MACHINE}" in | |
141 | i?86) | |
142 | test -z "$VENDOR" && VENDOR=pc | |
143 | ;; | |
144 | *) | |
145 | test -z "$VENDOR" && VENDOR=unknown | |
146 | ;; | |
147 | esac | |
148 | test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse | |
149 | ||
141 | 150 | # Note: order is significant - the case branches are not exclusive. |
142 | 151 | |
143 | 152 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
144 | 153 | *:NetBSD:*:*) |
145 | 154 | # NetBSD (nbsd) targets should (where applicable) match one or |
146 | # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | |
155 | # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, | |
147 | 156 | # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
148 | 157 | # switched to ELF, *-*-netbsd* would select the old |
149 | 158 | # object file format. This provides both forward |
169 | 178 | arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
170 | 179 | eval $set_cc_for_build |
171 | 180 | if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
172 | | grep __ELF__ >/dev/null | |
181 | | grep -q __ELF__ | |
173 | 182 | then |
174 | 183 | # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
175 | 184 | # Return netbsd for either. FIX? |
179 | 188 | fi |
180 | 189 | ;; |
181 | 190 | *) |
182 | os=netbsd | |
191 | os=netbsd | |
183 | 192 | ;; |
184 | 193 | esac |
185 | 194 | # The OS release |
202 | 211 | exit ;; |
203 | 212 | *:OpenBSD:*:*) |
204 | 213 | UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
205 | echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | |
214 | echo ${UNAME_MACHINE_ARCH}-${VENDOR}-openbsd${UNAME_RELEASE} | |
206 | 215 | exit ;; |
207 | 216 | *:ekkoBSD:*:*) |
208 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | |
217 | echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE} | |
209 | 218 | exit ;; |
210 | 219 | *:SolidBSD:*:*) |
211 | echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | |
220 | echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE} | |
212 | 221 | exit ;; |
213 | 222 | macppc:MirBSD:*:*) |
214 | echo powerpc-unknown-mirbsd${UNAME_RELEASE} | |
223 | echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE} | |
215 | 224 | exit ;; |
216 | 225 | *:MirBSD:*:*) |
217 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | |
226 | echo ${UNAME_MACHINE}-${VENDOR}-mirbsd${UNAME_RELEASE} | |
218 | 227 | exit ;; |
219 | 228 | alpha:OSF1:*:*) |
220 | 229 | case $UNAME_RELEASE in |
222 | 231 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
223 | 232 | ;; |
224 | 233 | *5.*) |
225 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
234 | UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | |
226 | 235 | ;; |
227 | 236 | esac |
228 | 237 | # According to Compaq, /usr/sbin/psrinfo has been available on |
268 | 277 | # A Xn.n version is an unreleased experimental baselevel. |
269 | 278 | # 1.2 uses "1.2" for uname -r. |
270 | 279 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
271 | exit ;; | |
280 | # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | |
281 | exitcode=$? | |
282 | trap '' 0 | |
283 | exit $exitcode ;; | |
272 | 284 | Alpha\ *:Windows_NT*:*) |
273 | 285 | # How do we know it's Interix rather than the generic POSIX subsystem? |
274 | 286 | # Should we change UNAME_MACHINE based on the output of uname instead |
279 | 291 | echo alpha-dec-winnt3.5 |
280 | 292 | exit ;; |
281 | 293 | Amiga*:UNIX_System_V:4.0:*) |
282 | echo m68k-unknown-sysv4 | |
294 | echo m68k-${VENDOR}-sysv4 | |
283 | 295 | exit ;; |
284 | 296 | *:[Aa]miga[Oo][Ss]:*:*) |
285 | echo ${UNAME_MACHINE}-unknown-amigaos | |
297 | echo ${UNAME_MACHINE}-${VENDOR}-amigaos | |
286 | 298 | exit ;; |
287 | 299 | *:[Mm]orph[Oo][Ss]:*:*) |
288 | echo ${UNAME_MACHINE}-unknown-morphos | |
300 | echo ${UNAME_MACHINE}-${VENDOR}-morphos | |
289 | 301 | exit ;; |
290 | 302 | *:OS/390:*:*) |
291 | 303 | echo i370-ibm-openedition |
294 | 306 | echo s390-ibm-zvmoe |
295 | 307 | exit ;; |
296 | 308 | *:OS400:*:*) |
297 | echo powerpc-ibm-os400 | |
309 | echo powerpc-ibm-os400 | |
298 | 310 | exit ;; |
299 | 311 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
300 | 312 | echo arm-acorn-riscix${UNAME_RELEASE} |
301 | 313 | exit ;; |
302 | 314 | arm:riscos:*:*|arm:RISCOS:*:*) |
303 | echo arm-unknown-riscos | |
315 | echo arm-${VENDOR}-riscos | |
304 | 316 | exit ;; |
305 | 317 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
306 | 318 | echo hppa1.1-hitachi-hiuxmpp |
323 | 335 | case `/usr/bin/uname -p` in |
324 | 336 | sparc) echo sparc-icl-nx7; exit ;; |
325 | 337 | esac ;; |
338 | s390x:SunOS:*:*) | |
339 | echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
340 | exit ;; | |
326 | 341 | sun4H:SunOS:5.*:*) |
327 | 342 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
328 | 343 | exit ;; |
329 | 344 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
330 | 345 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
331 | 346 | exit ;; |
347 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | |
348 | echo i386-pc-auroraux${UNAME_RELEASE} | |
349 | exit ;; | |
332 | 350 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
333 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
351 | eval $set_cc_for_build | |
352 | SUN_ARCH="i386" | |
353 | # If there is a compiler, see if it is configured for 64-bit objects. | |
354 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | |
355 | # This test works for both compilers. | |
356 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
357 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
358 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
359 | grep IS_64BIT_ARCH >/dev/null | |
360 | then | |
361 | SUN_ARCH="x86_64" | |
362 | fi | |
363 | fi | |
364 | echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
334 | 365 | exit ;; |
335 | 366 | sun4*:SunOS:6*:*) |
336 | 367 | # According to config.sub, this is the proper way to canonicalize |
374 | 405 | # MiNT. But MiNT is downward compatible to TOS, so this should |
375 | 406 | # be no problem. |
376 | 407 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
377 | echo m68k-atari-mint${UNAME_RELEASE} | |
408 | echo m68k-atari-mint${UNAME_RELEASE} | |
378 | 409 | exit ;; |
379 | 410 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
380 | 411 | echo m68k-atari-mint${UNAME_RELEASE} |
381 | exit ;; | |
412 | exit ;; | |
382 | 413 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
383 | echo m68k-atari-mint${UNAME_RELEASE} | |
414 | echo m68k-atari-mint${UNAME_RELEASE} | |
384 | 415 | exit ;; |
385 | 416 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
386 | echo m68k-milan-mint${UNAME_RELEASE} | |
387 | exit ;; | |
417 | echo m68k-milan-mint${UNAME_RELEASE} | |
418 | exit ;; | |
388 | 419 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
389 | echo m68k-hades-mint${UNAME_RELEASE} | |
390 | exit ;; | |
420 | echo m68k-hades-mint${UNAME_RELEASE} | |
421 | exit ;; | |
391 | 422 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
392 | echo m68k-unknown-mint${UNAME_RELEASE} | |
393 | exit ;; | |
423 | echo m68k-${VENDOR}-mint${UNAME_RELEASE} | |
424 | exit ;; | |
394 | 425 | m68k:machten:*:*) |
395 | 426 | echo m68k-apple-machten${UNAME_RELEASE} |
396 | 427 | exit ;; |
460 | 491 | echo m88k-motorola-sysv3 |
461 | 492 | exit ;; |
462 | 493 | AViiON:dgux:*:*) |
463 | # DG/UX returns AViiON for all architectures | |
464 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
494 | # DG/UX returns AViiON for all architectures | |
495 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
465 | 496 | if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
466 | 497 | then |
467 | 498 | if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
474 | 505 | else |
475 | 506 | echo i586-dg-dgux${UNAME_RELEASE} |
476 | 507 | fi |
477 | exit ;; | |
508 | exit ;; | |
478 | 509 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
479 | 510 | echo m88k-dolphin-sysv3 |
480 | 511 | exit ;; |
531 | 562 | echo rs6000-ibm-aix3.2 |
532 | 563 | fi |
533 | 564 | exit ;; |
534 | *:AIX:*:[456]) | |
565 | *:AIX:*:[4567]) | |
535 | 566 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
536 | 567 | if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
537 | 568 | IBM_ARCH=rs6000 |
574 | 605 | 9000/[678][0-9][0-9]) |
575 | 606 | if [ -x /usr/bin/getconf ]; then |
576 | 607 | sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
577 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
578 | case "${sc_cpu_version}" in | |
579 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
580 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
581 | 532) # CPU_PA_RISC2_0 | |
582 | case "${sc_kernel_bits}" in | |
583 | 32) HP_ARCH="hppa2.0n" ;; | |
584 | 64) HP_ARCH="hppa2.0w" ;; | |
608 | sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | |
609 | case "${sc_cpu_version}" in | |
610 | 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | |
611 | 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | |
612 | 532) # CPU_PA_RISC2_0 | |
613 | case "${sc_kernel_bits}" in | |
614 | 32) HP_ARCH="hppa2.0n" ;; | |
615 | 64) HP_ARCH="hppa2.0w" ;; | |
585 | 616 | '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
586 | esac ;; | |
587 | esac | |
617 | esac ;; | |
618 | esac | |
588 | 619 | fi |
589 | 620 | if [ "${HP_ARCH}" = "" ]; then |
590 | 621 | eval $set_cc_for_build |
591 | sed 's/^ //' << EOF >$dummy.c | |
592 | ||
593 | #define _HPUX_SOURCE | |
594 | #include <stdlib.h> | |
595 | #include <unistd.h> | |
596 | ||
597 | int main () | |
598 | { | |
599 | #if defined(_SC_KERNEL_BITS) | |
600 | long bits = sysconf(_SC_KERNEL_BITS); | |
601 | #endif | |
602 | long cpu = sysconf (_SC_CPU_VERSION); | |
603 | ||
604 | switch (cpu) | |
605 | { | |
606 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
607 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
608 | case CPU_PA_RISC2_0: | |
609 | #if defined(_SC_KERNEL_BITS) | |
610 | switch (bits) | |
611 | { | |
612 | case 64: puts ("hppa2.0w"); break; | |
613 | case 32: puts ("hppa2.0n"); break; | |
614 | default: puts ("hppa2.0"); break; | |
615 | } break; | |
616 | #else /* !defined(_SC_KERNEL_BITS) */ | |
617 | puts ("hppa2.0"); break; | |
618 | #endif | |
619 | default: puts ("hppa1.0"); break; | |
620 | } | |
621 | exit (0); | |
622 | } | |
622 | sed 's/^ //' << EOF >$dummy.c | |
623 | ||
624 | #define _HPUX_SOURCE | |
625 | #include <stdlib.h> | |
626 | #include <unistd.h> | |
627 | ||
628 | int main () | |
629 | { | |
630 | #if defined(_SC_KERNEL_BITS) | |
631 | long bits = sysconf(_SC_KERNEL_BITS); | |
632 | #endif | |
633 | long cpu = sysconf (_SC_CPU_VERSION); | |
634 | ||
635 | switch (cpu) | |
636 | { | |
637 | case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | |
638 | case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | |
639 | case CPU_PA_RISC2_0: | |
640 | #if defined(_SC_KERNEL_BITS) | |
641 | switch (bits) | |
642 | { | |
643 | case 64: puts ("hppa2.0w"); break; | |
644 | case 32: puts ("hppa2.0n"); break; | |
645 | default: puts ("hppa2.0"); break; | |
646 | } break; | |
647 | #else /* !defined(_SC_KERNEL_BITS) */ | |
648 | puts ("hppa2.0"); break; | |
649 | #endif | |
650 | default: puts ("hppa1.0"); break; | |
651 | } | |
652 | exit (0); | |
653 | } | |
623 | 654 | EOF |
624 | 655 | (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
625 | 656 | test -z "$HP_ARCH" && HP_ARCH=hppa |
639 | 670 | # => hppa64-hp-hpux11.23 |
640 | 671 | |
641 | 672 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
642 | grep __LP64__ >/dev/null | |
673 | grep -q __LP64__ | |
643 | 674 | then |
644 | 675 | HP_ARCH="hppa2.0w" |
645 | 676 | else |
700 | 731 | exit ;; |
701 | 732 | i*86:OSF1:*:*) |
702 | 733 | if [ -x /usr/sbin/sysversion ] ; then |
703 | echo ${UNAME_MACHINE}-unknown-osf1mk | |
734 | echo ${UNAME_MACHINE}-${VENDOR}-osf1mk | |
704 | 735 | else |
705 | echo ${UNAME_MACHINE}-unknown-osf1 | |
736 | echo ${UNAME_MACHINE}-${VENDOR}-osf1 | |
706 | 737 | fi |
707 | 738 | exit ;; |
708 | 739 | parisc*:Lites*:*:*) |
710 | 741 | exit ;; |
711 | 742 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
712 | 743 | echo c1-convex-bsd |
713 | exit ;; | |
744 | exit ;; | |
714 | 745 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
715 | 746 | if getsysinfo -f scalar_acc |
716 | 747 | then echo c32-convex-bsd |
717 | 748 | else echo c2-convex-bsd |
718 | 749 | fi |
719 | exit ;; | |
750 | exit ;; | |
720 | 751 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
721 | 752 | echo c34-convex-bsd |
722 | exit ;; | |
753 | exit ;; | |
723 | 754 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
724 | 755 | echo c38-convex-bsd |
725 | exit ;; | |
756 | exit ;; | |
726 | 757 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
727 | 758 | echo c4-convex-bsd |
728 | exit ;; | |
759 | exit ;; | |
729 | 760 | CRAY*Y-MP:*:*:*) |
730 | 761 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
731 | 762 | exit ;; |
749 | 780 | exit ;; |
750 | 781 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
751 | 782 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
752 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
753 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
754 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
755 | exit ;; | |
783 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
784 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | |
785 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
786 | exit ;; | |
756 | 787 | 5000:UNIX_System_V:4.*:*) |
757 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
758 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
759 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
788 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | |
789 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | |
790 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | |
760 | 791 | exit ;; |
761 | 792 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
762 | 793 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
763 | 794 | exit ;; |
764 | 795 | sparc*:BSD/OS:*:*) |
765 | echo sparc-unknown-bsdi${UNAME_RELEASE} | |
796 | echo sparc-${VENDOR}-bsdi${UNAME_RELEASE} | |
766 | 797 | exit ;; |
767 | 798 | *:BSD/OS:*:*) |
768 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | |
799 | echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE} | |
769 | 800 | exit ;; |
770 | 801 | *:FreeBSD:*:*) |
771 | case ${UNAME_MACHINE} in | |
772 | pc98) | |
773 | echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
802 | UNAME_PROCESSOR=`/usr/bin/uname -p` | |
803 | case ${UNAME_PROCESSOR} in | |
774 | 804 | amd64) |
775 | echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
805 | echo x86_64-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
776 | 806 | *) |
777 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
807 | echo ${UNAME_PROCESSOR}-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | |
778 | 808 | esac |
779 | 809 | exit ;; |
780 | 810 | i*:CYGWIN*:*) |
783 | 813 | *:MINGW*:*) |
784 | 814 | echo ${UNAME_MACHINE}-pc-mingw32 |
785 | 815 | exit ;; |
816 | i*:MSYS*:*) | |
817 | echo ${UNAME_MACHINE}-pc-msys | |
818 | exit ;; | |
786 | 819 | i*:windows32*:*) |
787 | # uname -m includes "-pc" on this system. | |
788 | echo ${UNAME_MACHINE}-mingw32 | |
820 | # uname -m includes "-pc" on this system. | |
821 | echo ${UNAME_MACHINE}-mingw32 | |
789 | 822 | exit ;; |
790 | 823 | i*:PW*:*) |
791 | 824 | echo ${UNAME_MACHINE}-pc-pw32 |
792 | 825 | exit ;; |
793 | *:Interix*:[3456]*) | |
794 | case ${UNAME_MACHINE} in | |
826 | *:Interix*:*) | |
827 | case ${UNAME_MACHINE} in | |
795 | 828 | x86) |
796 | 829 | echo i586-pc-interix${UNAME_RELEASE} |
797 | 830 | exit ;; |
798 | EM64T | authenticamd) | |
799 | echo x86_64-unknown-interix${UNAME_RELEASE} | |
831 | authenticamd | genuineintel | EM64T) | |
832 | echo x86_64-${VENDOR}-interix${UNAME_RELEASE} | |
800 | 833 | exit ;; |
801 | 834 | IA64) |
802 | echo ia64-unknown-interix${UNAME_RELEASE} | |
835 | echo ia64-${VENDOR}-interix${UNAME_RELEASE} | |
803 | 836 | exit ;; |
804 | 837 | esac ;; |
805 | 838 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
806 | 839 | echo i${UNAME_MACHINE}-pc-mks |
840 | exit ;; | |
841 | 8664:Windows_NT:*) | |
842 | echo x86_64-pc-mks | |
807 | 843 | exit ;; |
808 | 844 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
809 | 845 | # How do we know it's Interix rather than the generic POSIX subsystem? |
815 | 851 | echo ${UNAME_MACHINE}-pc-uwin |
816 | 852 | exit ;; |
817 | 853 | amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
818 | echo x86_64-unknown-cygwin | |
854 | echo x86_64-${VENDOR}-cygwin | |
819 | 855 | exit ;; |
820 | 856 | p*:CYGWIN*:*) |
821 | echo powerpcle-unknown-cygwin | |
857 | echo powerpcle-${VENDOR}-cygwin | |
822 | 858 | exit ;; |
823 | 859 | prep*:SunOS:5.*:*) |
824 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
860 | echo powerpcle-${VENDOR}-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | |
825 | 861 | exit ;; |
826 | 862 | *:GNU:*:*) |
827 | 863 | # the GNU system |
828 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
864 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-${VENDOR}-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | |
829 | 865 | exit ;; |
830 | 866 | *:GNU/*:*:*) |
831 | 867 | # other systems with GNU libc and userland |
832 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |
868 | echo ${UNAME_MACHINE}-${VENDOR}-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu | |
833 | 869 | exit ;; |
834 | 870 | i*86:Minix:*:*) |
835 | 871 | echo ${UNAME_MACHINE}-pc-minix |
836 | 872 | exit ;; |
837 | arm*:Linux:*:*) | |
838 | eval $set_cc_for_build | |
839 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
840 | | grep -q __ARM_EABI__ | |
841 | then | |
842 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
843 | else | |
844 | echo ${UNAME_MACHINE}-unknown-linux-gnueabi | |
845 | fi | |
846 | exit ;; | |
847 | avr32*:Linux:*:*) | |
848 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
849 | exit ;; | |
850 | cris:Linux:*:*) | |
851 | echo cris-axis-linux-gnu | |
852 | exit ;; | |
853 | crisv32:Linux:*:*) | |
854 | echo crisv32-axis-linux-gnu | |
855 | exit ;; | |
856 | frv:Linux:*:*) | |
857 | echo frv-unknown-linux-gnu | |
858 | exit ;; | |
859 | ia64:Linux:*:*) | |
860 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
861 | exit ;; | |
862 | m32r*:Linux:*:*) | |
863 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
864 | exit ;; | |
865 | m68*:Linux:*:*) | |
866 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
867 | exit ;; | |
868 | mips:Linux:*:*) | |
869 | eval $set_cc_for_build | |
870 | sed 's/^ //' << EOF >$dummy.c | |
871 | #undef CPU | |
872 | #undef mips | |
873 | #undef mipsel | |
874 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
875 | CPU=mipsel | |
876 | #else | |
877 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
878 | CPU=mips | |
879 | #else | |
880 | CPU= | |
881 | #endif | |
882 | #endif | |
883 | EOF | |
884 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
885 | /^CPU/{ | |
886 | s: ::g | |
887 | p | |
888 | }'`" | |
889 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
890 | ;; | |
891 | mips64:Linux:*:*) | |
892 | eval $set_cc_for_build | |
893 | sed 's/^ //' << EOF >$dummy.c | |
894 | #undef CPU | |
895 | #undef mips64 | |
896 | #undef mips64el | |
897 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
898 | CPU=mips64el | |
899 | #else | |
900 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
901 | CPU=mips64 | |
902 | #else | |
903 | CPU= | |
904 | #endif | |
905 | #endif | |
906 | EOF | |
907 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
908 | /^CPU/{ | |
909 | s: ::g | |
910 | p | |
911 | }'`" | |
912 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } | |
913 | ;; | |
914 | or32:Linux:*:*) | |
915 | echo or32-unknown-linux-gnu | |
916 | exit ;; | |
917 | ppc:Linux:*:*) | |
918 | echo powerpc-unknown-linux-gnu | |
919 | exit ;; | |
920 | ppc64:Linux:*:*) | |
921 | echo powerpc64-unknown-linux-gnu | |
873 | aarch64:Linux:*:*) | |
874 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
875 | exit ;; | |
876 | aarch64_be:Linux:*:*) | |
877 | UNAME_MACHINE=aarch64_be | |
878 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
922 | 879 | exit ;; |
923 | 880 | alpha:Linux:*:*) |
924 | 881 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
929 | 886 | EV6) UNAME_MACHINE=alphaev6 ;; |
930 | 887 | EV67) UNAME_MACHINE=alphaev67 ;; |
931 | 888 | EV68*) UNAME_MACHINE=alphaev68 ;; |
932 | esac | |
933 | objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null | |
889 | esac | |
890 | objdump --private-headers /bin/sh | grep -q ld.so.1 | |
934 | 891 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
935 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
936 | exit ;; | |
937 | parisc:Linux:*:* | hppa:Linux:*:*) | |
938 | # Look for CPU level | |
939 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | |
940 | PA7*) echo hppa1.1-unknown-linux-gnu ;; | |
941 | PA8*) echo hppa2.0-unknown-linux-gnu ;; | |
942 | *) echo hppa-unknown-linux-gnu ;; | |
943 | esac | |
944 | exit ;; | |
945 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
946 | echo hppa64-unknown-linux-gnu | |
947 | exit ;; | |
948 | s390:Linux:*:* | s390x:Linux:*:*) | |
949 | echo ${UNAME_MACHINE}-ibm-linux | |
950 | exit ;; | |
951 | sh64*:Linux:*:*) | |
952 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
953 | exit ;; | |
954 | sh*:Linux:*:*) | |
955 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
956 | exit ;; | |
957 | sparc:Linux:*:* | sparc64:Linux:*:*) | |
958 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
959 | exit ;; | |
960 | vax:Linux:*:*) | |
961 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
962 | exit ;; | |
963 | x86_64:Linux:*:*) | |
964 | echo x86_64-unknown-linux-gnu | |
965 | exit ;; | |
966 | xtensa*:Linux:*:*) | |
967 | echo ${UNAME_MACHINE}-unknown-linux-gnu | |
892 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC} | |
893 | exit ;; | |
894 | arm*:Linux:*:*) | |
895 | eval $set_cc_for_build | |
896 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | |
897 | | grep -q __ARM_EABI__ | |
898 | then | |
899 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
900 | else | |
901 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | |
902 | | grep -q __ARM_PCS_VFP | |
903 | then | |
904 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi | |
905 | else | |
906 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabihf | |
907 | fi | |
908 | fi | |
909 | exit ;; | |
910 | avr32*:Linux:*:*) | |
911 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
912 | exit ;; | |
913 | cris:Linux:*:*) | |
914 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
915 | exit ;; | |
916 | crisv32:Linux:*:*) | |
917 | echo ${UNAME_MACHINE}-axis-linux-gnu | |
918 | exit ;; | |
919 | frv:Linux:*:*) | |
920 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
921 | exit ;; | |
922 | hexagon:Linux:*:*) | |
923 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
968 | 924 | exit ;; |
969 | 925 | i*86:Linux:*:*) |
970 | # The BFD linker knows what the default object file format is, so | |
971 | # first see if it will tell us. cd to the root directory to prevent | |
972 | # problems with other programs or directories called `ld' in the path. | |
973 | # Set LC_ALL=C to ensure ld outputs messages in English. | |
974 | ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | |
975 | | sed -ne '/supported targets:/!d | |
976 | s/[ ][ ]*/ /g | |
977 | s/.*supported targets: *// | |
978 | s/ .*// | |
979 | p'` | |
980 | case "$ld_supported_targets" in | |
981 | elf32-i386) | |
982 | TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" | |
983 | ;; | |
984 | a.out-i386-linux) | |
985 | echo "${UNAME_MACHINE}-pc-linux-gnuaout" | |
986 | exit ;; | |
987 | coff-i386) | |
988 | echo "${UNAME_MACHINE}-pc-linux-gnucoff" | |
989 | exit ;; | |
990 | "") | |
991 | # Either a pre-BFD a.out linker (linux-gnuoldld) or | |
992 | # one that does not give us useful --help. | |
993 | echo "${UNAME_MACHINE}-pc-linux-gnuoldld" | |
994 | exit ;; | |
995 | esac | |
996 | # Determine whether the default compiler is a.out or elf | |
926 | LIBC=gnu | |
997 | 927 | eval $set_cc_for_build |
998 | 928 | sed 's/^ //' << EOF >$dummy.c |
999 | #include <features.h> | |
1000 | #ifdef __ELF__ | |
1001 | # ifdef __GLIBC__ | |
1002 | # if __GLIBC__ >= 2 | |
1003 | LIBC=gnu | |
1004 | # else | |
1005 | LIBC=gnulibc1 | |
1006 | # endif | |
1007 | # else | |
1008 | LIBC=gnulibc1 | |
1009 | # endif | |
1010 | #else | |
1011 | #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) | |
1012 | LIBC=gnu | |
1013 | #else | |
1014 | LIBC=gnuaout | |
1015 | #endif | |
1016 | #endif | |
1017 | 929 | #ifdef __dietlibc__ |
1018 | 930 | LIBC=dietlibc |
1019 | 931 | #endif |
1020 | 932 | EOF |
1021 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
1022 | /^LIBC/{ | |
1023 | s: ::g | |
1024 | p | |
1025 | }'`" | |
1026 | test x"${LIBC}" != x && { | |
1027 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
1028 | exit | |
1029 | } | |
1030 | test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } | |
933 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
934 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
935 | exit ;; | |
936 | ia64:Linux:*:*) | |
937 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
938 | exit ;; | |
939 | m32r*:Linux:*:*) | |
940 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
941 | exit ;; | |
942 | m68*:Linux:*:*) | |
943 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
944 | exit ;; | |
945 | mips:Linux:*:* | mips64:Linux:*:*) | |
946 | eval $set_cc_for_build | |
947 | sed 's/^ //' << EOF >$dummy.c | |
948 | #undef CPU | |
949 | #undef ${UNAME_MACHINE} | |
950 | #undef ${UNAME_MACHINE}el | |
951 | #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | |
952 | CPU=${UNAME_MACHINE}el | |
953 | #else | |
954 | #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | |
955 | CPU=${UNAME_MACHINE} | |
956 | #else | |
957 | CPU= | |
958 | #endif | |
959 | #endif | |
960 | EOF | |
961 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
962 | test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; } | |
1031 | 963 | ;; |
964 | or32:Linux:*:*) | |
965 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
966 | exit ;; | |
967 | padre:Linux:*:*) | |
968 | echo sparc-${VENDOR}-linux-gnu | |
969 | exit ;; | |
970 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
971 | echo hppa64-${VENDOR}-linux-gnu | |
972 | exit ;; | |
973 | parisc:Linux:*:* | hppa:Linux:*:*) | |
974 | # Look for CPU level | |
975 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | |
976 | PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;; | |
977 | PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;; | |
978 | *) echo hppa-${VENDOR}-linux-gnu ;; | |
979 | esac | |
980 | exit ;; | |
981 | ppc64:Linux:*:*) | |
982 | echo powerpc64-${VENDOR}-linux-gnu | |
983 | exit ;; | |
984 | ppc:Linux:*:*) | |
985 | echo powerpc-${VENDOR}-linux-gnu | |
986 | exit ;; | |
987 | s390:Linux:*:* | s390x:Linux:*:*) | |
988 | echo ${UNAME_MACHINE}-ibm-linux | |
989 | exit ;; | |
990 | sh64*:Linux:*:*) | |
991 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
992 | exit ;; | |
993 | sh*:Linux:*:*) | |
994 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
995 | exit ;; | |
996 | sparc:Linux:*:* | sparc64:Linux:*:*) | |
997 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
998 | exit ;; | |
999 | tile*:Linux:*:*) | |
1000 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
1001 | exit ;; | |
1002 | vax:Linux:*:*) | |
1003 | echo ${UNAME_MACHINE}-dec-linux-gnu | |
1004 | exit ;; | |
1005 | x86_64:Linux:*:*) | |
1006 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
1007 | exit ;; | |
1008 | xtensa*:Linux:*:*) | |
1009 | echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu | |
1010 | exit ;; | |
1032 | 1011 | i*86:DYNIX/ptx:4*:*) |
1033 | 1012 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1034 | 1013 | # earlier versions are messed up and put the nodename in both |
1036 | 1015 | echo i386-sequent-sysv4 |
1037 | 1016 | exit ;; |
1038 | 1017 | i*86:UNIX_SV:4.2MP:2.*) |
1039 | # Unixware is an offshoot of SVR4, but it has its own version | |
1040 | # number series starting with 2... | |
1041 | # I am not positive that other SVR4 systems won't match this, | |
1018 | # Unixware is an offshoot of SVR4, but it has its own version | |
1019 | # number series starting with 2... | |
1020 | # I am not positive that other SVR4 systems won't match this, | |
1042 | 1021 | # I just have to hope. -- rms. |
1043 | # Use sysv4.2uw... so that sysv4* matches it. | |
1022 | # Use sysv4.2uw... so that sysv4* matches it. | |
1044 | 1023 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
1045 | 1024 | exit ;; |
1046 | 1025 | i*86:OS/2:*:*) |
1049 | 1028 | echo ${UNAME_MACHINE}-pc-os2-emx |
1050 | 1029 | exit ;; |
1051 | 1030 | i*86:XTS-300:*:STOP) |
1052 | echo ${UNAME_MACHINE}-unknown-stop | |
1031 | echo ${UNAME_MACHINE}-${VENDOR}-stop | |
1053 | 1032 | exit ;; |
1054 | 1033 | i*86:atheos:*:*) |
1055 | echo ${UNAME_MACHINE}-unknown-atheos | |
1034 | echo ${UNAME_MACHINE}-${VENDOR}-atheos | |
1056 | 1035 | exit ;; |
1057 | 1036 | i*86:syllable:*:*) |
1058 | 1037 | echo ${UNAME_MACHINE}-pc-syllable |
1059 | 1038 | exit ;; |
1060 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) | |
1061 | echo i386-unknown-lynxos${UNAME_RELEASE} | |
1039 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) | |
1040 | echo i386-${VENODR}-lynxos${UNAME_RELEASE} | |
1062 | 1041 | exit ;; |
1063 | 1042 | i*86:*DOS:*:*) |
1064 | 1043 | echo ${UNAME_MACHINE}-pc-msdosdjgpp |
1072 | 1051 | fi |
1073 | 1052 | exit ;; |
1074 | 1053 | i*86:*:5:[678]*) |
1075 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1054 | # UnixWare 7.x, OpenUNIX and OpenServer 6. | |
1076 | 1055 | case `/bin/uname -X | grep "^Machine"` in |
1077 | 1056 | *486*) UNAME_MACHINE=i486 ;; |
1078 | 1057 | *Pentium) UNAME_MACHINE=i586 ;; |
1079 | 1058 | *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
1080 | 1059 | esac |
1081 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1060 | echo ${UNAME_MACHINE}-${VENDOR}-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | |
1082 | 1061 | exit ;; |
1083 | 1062 | i*86:*:3.2:*) |
1084 | 1063 | if test -f /usr/options/cb.name; then |
1100 | 1079 | exit ;; |
1101 | 1080 | pc:*:*:*) |
1102 | 1081 | # Left here for compatibility: |
1103 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1104 | # the processor, so we play safe by assuming i386. | |
1105 | echo i386-pc-msdosdjgpp | |
1106 | exit ;; | |
1082 | # uname -m prints for DJGPP always 'pc', but it prints nothing about | |
1083 | # the processor, so we play safe by assuming i586. | |
1084 | # Note: whatever this is, it MUST be the same as what config.sub | |
1085 | # prints for the "djgpp" host, or else GDB configury will decide that | |
1086 | # this is a cross-build. | |
1087 | echo i586-pc-msdosdjgpp | |
1088 | exit ;; | |
1107 | 1089 | Intel:Mach:3*:*) |
1108 | 1090 | echo i386-pc-mach3 |
1109 | 1091 | exit ;; |
1114 | 1096 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
1115 | 1097 | echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 |
1116 | 1098 | else # Add other i860-SVR4 vendors below as they are discovered. |
1117 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1099 | echo i860-${VENODR}-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | |
1118 | 1100 | fi |
1119 | 1101 | exit ;; |
1120 | 1102 | mini*:CTIX:SYS*5:*) |
1138 | 1120 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
1139 | 1121 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
1140 | 1122 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
1141 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1142 | && { echo i486-ncr-sysv4; exit; } ;; | |
1123 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1124 | && { echo i486-ncr-sysv4; exit; } ;; | |
1125 | NCR*:*:4.2:* | MPRAS*:*:4.2:*) | |
1126 | OS_REL='.3' | |
1127 | test -r /etc/.relid \ | |
1128 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | |
1129 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | |
1130 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | |
1131 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | |
1132 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | |
1133 | /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | |
1134 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | |
1143 | 1135 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
1144 | echo m68k-unknown-lynxos${UNAME_RELEASE} | |
1136 | echo m68k-${VENDOR}-lynxos${UNAME_RELEASE} | |
1145 | 1137 | exit ;; |
1146 | 1138 | mc68030:UNIX_System_V:4.*:*) |
1147 | 1139 | echo m68k-atari-sysv4 |
1148 | 1140 | exit ;; |
1149 | 1141 | TSUNAMI:LynxOS:2.*:*) |
1150 | echo sparc-unknown-lynxos${UNAME_RELEASE} | |
1142 | echo sparc-${VENDOR}-lynxos${UNAME_RELEASE} | |
1151 | 1143 | exit ;; |
1152 | 1144 | rs6000:LynxOS:2.*:*) |
1153 | echo rs6000-unknown-lynxos${UNAME_RELEASE} | |
1154 | exit ;; | |
1155 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) | |
1156 | echo powerpc-unknown-lynxos${UNAME_RELEASE} | |
1145 | echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE} | |
1146 | exit ;; | |
1147 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) | |
1148 | echo powerpc-${VENDOR}-lynxos${UNAME_RELEASE} | |
1157 | 1149 | exit ;; |
1158 | 1150 | SM[BE]S:UNIX_SV:*:*) |
1159 | 1151 | echo mips-dde-sysv${UNAME_RELEASE} |
1172 | 1164 | echo ns32k-sni-sysv |
1173 | 1165 | fi |
1174 | 1166 | exit ;; |
1175 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1176 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1177 | echo i586-unisys-sysv4 | |
1178 | exit ;; | |
1167 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | |
1168 | # says <Richard.M.Bartel@ccMail.Census.GOV> | |
1169 | echo i586-unisys-sysv4 | |
1170 | exit ;; | |
1179 | 1171 | *:UNIX_System_V:4*:FTX*) |
1180 | 1172 | # From Gerald Hewes <hewes@openmarket.com>. |
1181 | 1173 | # How about differentiating between stratus architectures? -djm |
1201 | 1193 | exit ;; |
1202 | 1194 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
1203 | 1195 | if [ -d /usr/nec ]; then |
1204 | echo mips-nec-sysv${UNAME_RELEASE} | |
1196 | echo mips-nec-sysv${UNAME_RELEASE} | |
1205 | 1197 | else |
1206 | echo mips-unknown-sysv${UNAME_RELEASE} | |
1207 | fi | |
1208 | exit ;; | |
1198 | echo mips-${VENDOR}-sysv${UNAME_RELEASE} | |
1199 | fi | |
1200 | exit ;; | |
1209 | 1201 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
1210 | 1202 | echo powerpc-be-beos |
1211 | 1203 | exit ;; |
1214 | 1206 | exit ;; |
1215 | 1207 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
1216 | 1208 | echo i586-pc-beos |
1209 | exit ;; | |
1210 | BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | |
1211 | echo i586-pc-haiku | |
1217 | 1212 | exit ;; |
1218 | 1213 | SX-4:SUPER-UX:*:*) |
1219 | 1214 | echo sx4-nec-superux${UNAME_RELEASE} |
1242 | 1237 | *:Darwin:*:*) |
1243 | 1238 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1244 | 1239 | case $UNAME_PROCESSOR in |
1240 | i386) | |
1241 | eval $set_cc_for_build | |
1242 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1243 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1244 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1245 | grep IS_64BIT_ARCH >/dev/null | |
1246 | then | |
1247 | UNAME_PROCESSOR="x86_64" | |
1248 | fi | |
1249 | fi ;; | |
1245 | 1250 | unknown) UNAME_PROCESSOR=powerpc ;; |
1246 | 1251 | esac |
1247 | 1252 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
1256 | 1261 | exit ;; |
1257 | 1262 | *:QNX:*:4*) |
1258 | 1263 | echo i386-pc-qnx |
1264 | exit ;; | |
1265 | NEO-?:NONSTOP_KERNEL:*:*) | |
1266 | echo neo-tandem-nsk${UNAME_RELEASE} | |
1259 | 1267 | exit ;; |
1260 | 1268 | NSE-?:NONSTOP_KERNEL:*:*) |
1261 | 1269 | echo nse-tandem-nsk${UNAME_RELEASE} |
1281 | 1289 | else |
1282 | 1290 | UNAME_MACHINE="$cputype" |
1283 | 1291 | fi |
1284 | echo ${UNAME_MACHINE}-unknown-plan9 | |
1292 | echo ${UNAME_MACHINE}-${VENDOR}-plan9 | |
1285 | 1293 | exit ;; |
1286 | 1294 | *:TOPS-10:*:*) |
1287 | echo pdp10-unknown-tops10 | |
1295 | echo pdp10-${VENDOR}-tops10 | |
1288 | 1296 | exit ;; |
1289 | 1297 | *:TENEX:*:*) |
1290 | echo pdp10-unknown-tenex | |
1298 | echo pdp10-${VENDOR}-tenex | |
1291 | 1299 | exit ;; |
1292 | 1300 | KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) |
1293 | 1301 | echo pdp10-dec-tops20 |
1296 | 1304 | echo pdp10-xkl-tops20 |
1297 | 1305 | exit ;; |
1298 | 1306 | *:TOPS-20:*:*) |
1299 | echo pdp10-unknown-tops20 | |
1307 | echo pdp10-${VENDOR}-tops20 | |
1300 | 1308 | exit ;; |
1301 | 1309 | *:ITS:*:*) |
1302 | echo pdp10-unknown-its | |
1310 | echo pdp10-${VENDOR}-its | |
1303 | 1311 | exit ;; |
1304 | 1312 | SEI:*:*:SEIUX) |
1305 | echo mips-sei-seiux${UNAME_RELEASE} | |
1313 | echo mips-sei-seiux${UNAME_RELEASE} | |
1306 | 1314 | exit ;; |
1307 | 1315 | *:DragonFly:*:*) |
1308 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1316 | echo ${UNAME_MACHINE}-${VENDOR}-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | |
1309 | 1317 | exit ;; |
1310 | 1318 | *:*VMS:*:*) |
1311 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1319 | UNAME_MACHINE=`(uname -p) 2>/dev/null` | |
1312 | 1320 | case "${UNAME_MACHINE}" in |
1313 | 1321 | A*) echo alpha-dec-vms ; exit ;; |
1314 | 1322 | I*) echo ia64-dec-vms ; exit ;; |
1322 | 1330 | exit ;; |
1323 | 1331 | i*86:rdos:*:*) |
1324 | 1332 | echo ${UNAME_MACHINE}-pc-rdos |
1333 | exit ;; | |
1334 | i*86:AROS:*:*) | |
1335 | echo ${UNAME_MACHINE}-pc-aros | |
1336 | exit ;; | |
1337 | x86_64:VMkernel:*:*) | |
1338 | echo ${UNAME_MACHINE}-${VENDOR}-esx | |
1325 | 1339 | exit ;; |
1326 | 1340 | esac |
1327 | 1341 | |
1345 | 1359 | #include <sys/param.h> |
1346 | 1360 | printf ("m68k-sony-newsos%s\n", |
1347 | 1361 | #ifdef NEWSOS4 |
1348 | "4" | |
1362 | "4" | |
1349 | 1363 | #else |
1350 | "" | |
1351 | #endif | |
1352 | ); exit (0); | |
1364 | "" | |
1365 | #endif | |
1366 | ); exit (0); | |
1353 | 1367 | #endif |
1354 | 1368 | #endif |
1355 | 1369 |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | |
4 | # Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2008-01-16' | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
4 | # 2011, 2012 Free Software Foundation, Inc. | |
5 | ||
6 | timestamp='2012-04-18' | |
7 | 7 | |
8 | 8 | # This file is (in principle) common to ALL GNU software. |
9 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
20 | 20 | # GNU General Public License for more details. |
21 | 21 | # |
22 | 22 | # You should have received a copy of the GNU General Public License |
23 | # along with this program; if not, write to the Free Software | |
24 |