Package list unrtf / 72c95aa
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 8 years ago
71 changed file(s) with 9284 addition(s) and 8634 deletion(s). Raw diff Collapse all Expand all
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
012 0.21.2:
113 - added feof() calls to fgets() and fgetchar() instances so end-of
214 file is correctly determined under AIX
00 Installation Instructions
11 *************************
22
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.
810
911 Basic Installation
1012 ==================
1113
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.
1322
1423 The `configure' shell script attempts to guess correct values for
1524 various system-dependent variables used during compilation. It uses
2231
2332 It can also use an optional file (typically called `config.cache'
2433 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
2635 disabled by default to prevent problems with accidental use of stale
27 cache files.)
36 cache files.
2837
2938 If you need to do unusual things to compile the package, please try
3039 to figure out how `configure' could check whether to do them, and mail
3443 may remove or edit it.
3544
3645 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:
4251
4352 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.
5157
5258 2. Type `make' to compile the package.
5359
5460 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.
5662
5763 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
6177 source code directory by typing `make clean'. To also remove the
6278 files that `configure' created (so you can compile the package for
6379 a different kind of computer), type `make distclean'. There is
6682 all sorts of other programs in order to regenerate files that came
6783 with the distribution.
6884
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
6995 Compilers and Options
7096 =====================
7197
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.
75101
76102 You can give `configure' initial values for configuration parameters
77103 by setting variables in the command line or in the environment. Here
78104 is an example:
79105
80 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
106 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
81107
82108 *Note Defining Variables::, for more details.
83109
84110 Compiling For Multiple Architectures
85111 ====================================
86112
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
88114 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
91116 directory where you want the object files and executables to go and run
92117 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.
100139
101140 Installation Names
102141 ==================
103142
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.
108148
109149 You can specify separate installation prefixes for
110150 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.
114154
115155 In addition, if you use an unusual directory layout you can give
116156 options like `--bindir=DIR' to specify different values for particular
117157 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 =================
119193
120194 If the package supports it, you can cause programs to be installed
121195 with an extra prefix or suffix on their names by giving `configure' the
122196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
123197
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
128199 `configure', where FEATURE indicates an optional part of the package.
129200 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
130201 is something like `gnu-as' or `x' (for the X Window System). The
136207 you can use the `configure' options `--x-includes=DIR' and
137208 `--x-libraries=DIR' to specify their locations.
138209
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
139254 Specifying the System Type
140255 ==========================
141256
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
147262 `--build=TYPE' option. TYPE can either be a short name for the system
148263 type, such as `sun4', or a canonical name which has the form:
149264
151266
152267 where SYSTEM can have one of these forms:
153268
154 OS KERNEL-OS
269 OS
270 KERNEL-OS
155271
156272 See the file `config.sub' for the possible values of each field. If
157273 `config.sub' isn't included in this package, then this package doesn't
158274 need to know the machine type.
159275
160276 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
162278 produce code for.
163279
164280 If you want to _use_ a cross compiler, that generates code for a
169285 Sharing Defaults
170286 ================
171287
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'.
175291 `configure' looks for `PREFIX/share/config.site' if it exists, then
176292 `PREFIX/etc/config.site' if it exists. Or, you can set the
177293 `CONFIG_SITE' environment variable to the location of the site script.
180296 Defining Variables
181297 ==================
182298
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
184300 environment passed to `configure'. However, some packages may run
185301 configure again during the build, and the customized values of these
186302 variables may be lost. In order to avoid this problem, you should set
188304
189305 ./configure CC=/usr/local2/bin/gcc
190306
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
192308 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
193315
194316 `configure' Invocation
195317 ======================
196318
197 `configure' recognizes the following options to control how it operates.
319 `configure' recognizes the following options to control how it
320 operates.
198321
199322 `--help'
200323 `-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.
202332
203333 `--version'
204334 `-V'
225355 Look for the package's source code in directory DIR. Usually
226356 `configure' can determine that directory automatically.
227357
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
228368 `configure' also accepts some other, not widely useful, options. Run
229369 `configure --help' for more details.
230
00 # this is the main Makefile.am
11
22 # 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
44
55 # then do stuff in this directory. Actually, we just need to add the
66 # 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.
11 # @configure_input@
22
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
65 # This Makefile.in is free software; the Free Software Foundation
76 # gives unlimited permission to copy and/or distribute it,
87 # with or without modifications, as long as this notice is preserved.
1615
1716 # this is the main Makefile.am
1817 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 }
1935 pkgdatadir = $(datadir)/@PACKAGE@
2036 pkgincludedir = $(includedir)/@PACKAGE@
2137 pkglibdir = $(libdir)/@PACKAGE@
3753 subdir = .
3854 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
3955 $(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 \
4059 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
4160 config/config.guess config/config.sub config/depcomp \
4261 config/install-sh config/missing
5978 install-pdf-recursive install-ps-recursive install-recursive \
6079 installcheck-recursive installdirs-recursive pdf-recursive \
6180 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
6286 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
6387 distclean-recursive maintainer-clean-recursive
6488 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
6589 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
66 distdir dist dist-all distcheck
90 cscope distdir dist dist-all distcheck
6791 ETAGS = etags
6892 CTAGS = ctags
93 CSCOPE = cscope
6994 DIST_SUBDIRS = $(SUBDIRS)
7095 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
7196 distdir = $(PACKAGE)-$(VERSION)
7297 top_distdir = $(distdir)
7398 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)
77105 am__relativize = \
78106 dir0=`pwd`; \
79107 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
101129 reldir="$$dir2"
102130 DIST_ARCHIVES = $(distdir).tar.gz
103131 GZIP_ENV = --best
132 DIST_TARGETS = dist-gzip
104133 distuninstallcheck_listfiles = find . -type f -print
134 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
135 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
105136 distcleancheck_listfiles = find . -type f -print
106137 ACLOCAL = @ACLOCAL@
107138 AMTAR = @AMTAR@
141172 PACKAGE_NAME = @PACKAGE_NAME@
142173 PACKAGE_STRING = @PACKAGE_STRING@
143174 PACKAGE_TARNAME = @PACKAGE_TARNAME@
175 PACKAGE_URL = @PACKAGE_URL@
144176 PACKAGE_VERSION = @PACKAGE_VERSION@
145177 PATH_SEPARATOR = @PATH_SEPARATOR@
146178 SET_MAKE = @SET_MAKE@
199231 top_srcdir = @top_srcdir@
200232
201233 # 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
203235
204236 # then do stuff in this directory. Actually, we just need to add the
205237 # bootstrap script to the distribution (for curious users, not really needed).
208240 $(MAKE) $(AM_MAKEFLAGS) all-recursive
209241
210242 .SUFFIXES:
211 am--refresh:
243 am--refresh: Makefile
212244 @:
213245 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
214246 @for dep in $?; do \
244276 $(am__aclocal_m4_deps):
245277
246278 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
251281
252282 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
253283 @rm -f stamp-h1
261291 -rm -f config.h stamp-h1
262292
263293 # 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.
269299 $(RECURSIVE_TARGETS):
270300 @fail= failcom='exit 1'; \
271301 for f in x $$MAKEFLAGS; do \
328358 ctags-recursive:
329359 list='$(SUBDIRS)'; for subdir in $$list; do \
330360 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); \
331365 done
332366
333367 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
392426 && $(am__cd) $(top_srcdir) \
393427 && gtags -i $(GTAGS_ARGS) "$$here"
394428
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
395452 distclean-tags:
396453 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
454 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
397455
398456 distdir: $(DISTFILES)
399457 $(am__remove_distdir)
429487 done
430488 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
431489 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; \
439494 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
440495 $(am__relativize); \
441496 new_distdir=$$reldir; \
464519 || chmod -R a+r "$(distdir)"
465520 dist-gzip: distdir
466521 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
467 $(am__remove_distdir)
522 $(am__post_remove_distdir)
468523
469524 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)
476531
477532 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)
480535
481536 dist-tarZ: distdir
482537 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
483 $(am__remove_distdir)
538 $(am__post_remove_distdir)
484539
485540 dist-shar: distdir
486541 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
487 $(am__remove_distdir)
542 $(am__post_remove_distdir)
488543
489544 dist-zip: distdir
490545 -rm -f $(distdir).zip
491546 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)
497552
498553 # This target untars the dist file and tries a VPATH configuration. Then
499554 # it guarantees that the distribution is self-contained by making another
504559 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
505560 *.tar.bz2*) \
506561 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) ;;\
509564 *.tar.xz*) \
510565 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
511566 *.tar.Z*) \
515570 *.zip*) \
516571 unzip $(distdir).zip ;;\
517572 esac
518 chmod -R a-w $(distdir); chmod a+w $(distdir)
573 chmod -R a-w $(distdir); chmod u+w $(distdir)
519574 mkdir $(distdir)/_build
520575 mkdir $(distdir)/_inst
521576 chmod a-w $(distdir)
525580 && am__cwd=`pwd` \
526581 && $(am__cd) $(distdir)/_build \
527582 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
583 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
528584 $(DISTCHECK_CONFIGURE_FLAGS) \
529585 && $(MAKE) $(AM_MAKEFLAGS) \
530586 && $(MAKE) $(AM_MAKEFLAGS) dvi \
548604 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
549605 && cd "$$am__cwd" \
550606 || exit 1
551 $(am__remove_distdir)
607 $(am__post_remove_distdir)
552608 @(echo "$(distdir) archives ready for distribution: "; \
553609 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
554610 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
555611 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 \
558622 || { echo "ERROR: files left after uninstall:" ; \
559623 if test -n "$(DESTDIR)"; then \
560624 echo " (check DESTDIR support)"; \
585649
586650 installcheck: installcheck-recursive
587651 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
592661 mostlyclean-generic:
593662
594663 clean-generic:
670739 uninstall-am:
671740
672741 .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
674744
675745 .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 \
687758 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
688759 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
689760
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
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [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.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 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
2628
2729 # AM_AUTOMAKE_VERSION(VERSION)
2830 # ----------------------------
3032 # generated from the m4 files accompanying Automake X.Y.
3133 # (This private macro should not be called outside this file.)
3234 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
35 [am__api_version='1.12'
3436 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3537 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], [],
3739 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3840 ])
3941
4951 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5052 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5153 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
54 [AM_AUTOMAKE_VERSION([1.12.1])dnl
5355 m4_ifndef([AC_AUTOCONF_VERSION],
5456 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5557 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5658
5759 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5860
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
6468
6569 # 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/../..'.
6872 #
6973 # Of course, Automake must honor this variable whenever it calls a
7074 # tool from the auxiliary directory. The problem is that $srcdir (and
8387 #
8488 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
8589 # 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
8791 # start a VPATH build or use an absolute $srcdir.
8892 #
8993 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
109113
110114 # AM_CONDITIONAL -*- Autoconf -*-
111115
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
120123
121124 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
122125 # -------------------------------------
123126 # Define a conditional.
124127 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
128131 AC_SUBST([$1_TRUE])dnl
129132 AC_SUBST([$1_FALSE])dnl
130133 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
143146 Usually this means the macro was only invoked conditionally.]])
144147 fi])])
145148
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
156158 # written in clear, in which case automake, when reading aclocal.m4,
157159 # will think it sees a *use*, and therefore will trigger all it's
158160 # C support machinery. Also note that it means that autoscan, seeing
162164 # _AM_DEPENDENCIES(NAME)
163165 # ----------------------
164166 # 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".
166168 # We try a few techniques and use that to set a single cache variable.
167169 #
168170 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
175177 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
176178 AC_REQUIRE([AM_DEP_TRACK])dnl
177179
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=])
184187
185188 AC_CACHE_CHECK([dependency style of $depcc],
186189 [am_cv_$1_dependencies_compiler_type],
188191 # We make a subdir and do the tests there. Otherwise we can end up
189192 # making bogus files that we don't know about and never remove. For
190193 # 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
193197 mkdir conftest.dir
194198 # Copy depcomp to subdir because otherwise we won't find it if we're
195199 # using a relative directory.
228232 : > sub/conftest.c
229233 for i in 1 2 3 4 5 6; do
230234 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
234238 done
235239 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
236240
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"
238242 # 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.
241245 am__obj=sub/conftest.${OBJEXT-o}
242246 am__minus_obj="-o $am__obj"
243247 case $depmode in
246250 test "$am__universal" = false || continue
247251 ;;
248252 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.
251255 if test "x$enable_dependency_tracking" = xyes; then
252256 continue
253257 else
254258 break
255259 fi
256260 ;;
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
259263 # not run yet. These depmodes are late enough in the game, and
260264 # so weak that their functioning should not be impacted.
261265 am__obj=conftest.${OBJEXT-o}
303307 # AM_SET_DEPDIR
304308 # -------------
305309 # 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.
307311 AC_DEFUN([AM_SET_DEPDIR],
308312 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
309313 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
313317 # AM_DEP_TRACK
314318 # ------------
315319 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])])
319327 if test "x$enable_dependency_tracking" != xno; then
320328 am_depcomp="$ac_aux_dir/depcomp"
321329 AMDEPBACKSLASH='\'
330 am__nodep='_no'
322331 fi
323332 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
324333 AC_SUBST([AMDEPBACKSLASH])dnl
325334 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
335 AC_SUBST([am__nodep])dnl
336 _AM_SUBST_NOTMAKE([am__nodep])dnl
326337 ])
327338
328339 # Generate code to set up dependency tracking. -*- Autoconf -*-
329340
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
338348
339349 # _AM_OUTPUT_DEPENDENCY_COMMANDS
340350 # ------------------------------
353363 # Strip MF so we end up with the name of the file.
354364 mf=`echo "$mf" | sed -e 's/:.*$//'`
355365 # 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
357367 # some people rename them; so instead we look at the file content.
358368 # Grep'ing the first line is not enough: some people post-process
359369 # each Makefile.in and add a new line on top of each file to say so.
365375 continue
366376 fi
367377 # Extract the definition of DEPDIR, am__include, and am__quote
368 # from the Makefile without running `make'.
378 # from the Makefile without running 'make'.
369379 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
370380 test -z "$DEPDIR" && continue
371381 am__include=`sed -n 's/^am__include = //p' < "$mf"`
372382 test -z "am__include" && continue
373383 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"`
376384 # Find all dependency output files, they are included files with
377385 # $(DEPDIR) in their names. We invoke sed twice because it is the
378386 # simplest approach to changing $(DEPDIR) to its actual value in the
379387 # expansion.
380388 for file in `sed -n "
381389 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
383391 # Make sure the directory exists.
384392 test -f "$dirpart/$file" && continue
385393 fdir=`AS_DIRNAME(["$file"])`
397405 # This macro should only be invoked once -- use via AC_REQUIRE.
398406 #
399407 # 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
401409 # need in order to bootstrap the dependency handling code.
402410 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
403411 [AC_CONFIG_COMMANDS([depfiles],
407415
408416 # Do all the work for Automake. -*- Autoconf -*-
409417
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
418425
419426 # This macro actually does too much. Some checks are only needed if
420427 # your package does certain things. But this isn't really a big deal.
460467 # Define the identity of the package.
461468 dnl Distinguish between old-style and new-style calls.
462469 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
464474 AC_SUBST([PACKAGE], [$1])dnl
465475 AC_SUBST([VERSION], [$2])],
466476 [_AM_SET_OPTIONS([$1])dnl
467477 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],,
469481 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
470482 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
471483 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
472484
473485 _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
476488
477489 # Some tools Automake needs.
478490 AC_REQUIRE([AM_SANITY_CHECK])dnl
479491 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])
485497 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
486498 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
488501 # We need awk for the "check" target. The system "awk" is bad on
489502 # some platforms.
490503 AC_REQUIRE([AC_PROG_AWK])dnl
495508 [_AM_PROG_TAR([v7])])])
496509 _AM_IF_OPTION([no-dependencies],,
497510 [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
501514 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
505518 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
509529 ])
510530 _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
513533 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
514534 AC_CONFIG_COMMANDS_PRE(dnl
515535 [m4_provide_if([_AM_COMPILER_EXEEXT],
516536 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
517537 ])
518538
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
520540 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
521541 dnl mangled by Autoconf and run in a shell conditional statement.
522542 m4_define([_AC_COMPILER_EXEEXT],
544564 done
545565 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
546566
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
552574
553575 # AM_PROG_INSTALL_SH
554576 # ------------------
563585 install_sh="\${SHELL} $am_aux_dir/install-sh"
564586 esac
565587 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.
569591 #
570592 # This file is free software; the Free Software Foundation
571593 # gives unlimited permission to copy and/or distribute it,
589611 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
590612 # From Jim Meyering
591613
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
600621
601622 # AM_MAINTAINER_MODE([DEFAULT-MODE])
602623 # ----------------------------------
603624 # 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
606627 # can override the default with the --enable/--disable switch.
607628 AC_DEFUN([AM_MAINTAINER_MODE],
608629 [m4_case(m4_default([$1], [disable]),
610631 [disable], [m4_define([am_maintainer_other], [enable])],
611632 [m4_define([am_maintainer_other], [enable])
612633 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])
614635 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
615636 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]))
620642 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
621643 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
622644 MAINT=$MAINTAINER_MODE_TRUE
628650
629651 # Check to see how 'make' treats includes. -*- Autoconf -*-
630652
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
638660
639661 # AM_MAKE_INCLUDE()
640662 # -----------------
653675 _am_result=none
654676 # First try GNU make style include.
655677 echo "include confinc" > confmf
656 # Ignore all kinds of additional output from `make'.
678 # Ignore all kinds of additional output from 'make'.
657679 case `$am_make -s -f confmf 2> /dev/null` in #(
658680 *the\ am__doit\ target*)
659681 am__include=include
680702
681703 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
682704
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
691712
692713 # AM_MISSING_PROG(NAME, PROGRAM)
693714 # ------------------------------
717738 am_missing_run="$MISSING --run "
718739 else
719740 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
748743 ])
749744
750745 # Helper functions for option handling. -*- Autoconf -*-
751746
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
759754
760755 # _AM_MANGLE_OPTION(NAME)
761756 # -----------------------
763758 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
764759
765760 # _AM_SET_OPTION(NAME)
766 # ------------------------------
761 # --------------------
767762 # Set option NAME. Presently that only means defining a flag for this option.
768763 AC_DEFUN([_AM_SET_OPTION],
769 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
764 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
770765
771766 # _AM_SET_OPTIONS(OPTIONS)
772 # ----------------------------------
767 # ------------------------
773768 # OPTIONS is a space-separated list of Automake options.
774769 AC_DEFUN([_AM_SET_OPTIONS],
775770 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
782777
783778 # Check to make sure that the build environment is sane. -*- Autoconf -*-
784779
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
793787
794788 # AM_SANITY_CHECK
795789 # ---------------
796790 AC_DEFUN([AM_SANITY_CHECK],
797791 [AC_MSG_CHECKING([whether build environment is sane])
798 # Just in case
799 sleep 1
800 echo timestamp > conftest.file
801792 # Reject unsafe characters in $srcdir or the absolute working directory
802793 # name. Accept space and tab only in the latter.
803794 am_lf='
808799 esac
809800 case $srcdir in
810801 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
811 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
802 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
812803 esac
813804
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
815806 # arguments. Must try -L first in case configure is actually a
816807 # symlink; some systems play weird games with the mod time of symlinks
817808 # (eg FreeBSD returns the mod time of the symlink's containing
818809 # directory).
819810 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
837836 test "$[2]" = conftest.file
838837 )
839838 then
843842 AC_MSG_ERROR([newly created file is older than distributed files!
844843 Check your system clock])
845844 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
853870
854871 # AM_PROG_INSTALL_STRIP
855872 # ---------------------
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
857874 # specify the program used to strip binaries. This is especially
858875 # annoying in cross-compiling environments, where the build's strip
859876 # is unlikely to handle the host's binaries.
860877 # 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
862879 # STRIPPROG with the value of the STRIP variable (set by the user).
863880 AC_DEFUN([AM_PROG_INSTALL_STRIP],
864881 [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
867884 # 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'.
870887 if test "$cross_compiling" != no; then
871888 AC_CHECK_TOOL([STRIP], [strip], :)
872889 fi
873890 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
874891 AC_SUBST([INSTALL_STRIP_PROGRAM])])
875892
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
883900
884901 # _AM_SUBST_NOTMAKE(VARIABLE)
885902 # ---------------------------
888905 AC_DEFUN([_AM_SUBST_NOTMAKE])
889906
890907 # AM_SUBST_NOTMAKE(VARIABLE)
891 # ---------------------------
908 # --------------------------
892909 # Public sister of _AM_SUBST_NOTMAKE.
893910 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
894911
895912 # Check how to create a tarball. -*- Autoconf -*-
896913
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
904921
905922 # _AM_PROG_TAR(FORMAT)
906923 # --------------------
907924 # 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'.
909926 #
910927 # Substitute a variable $(am__tar) that is a command
911928 # writing to stdout a FORMAT-tarball containing the directory
916933 # a tarball read from stdin.
917934 # $(am__untar) < result.tar
918935 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}'])
921939 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 -'],
923941 [m4_case([$1], [ustar],, [pax],,
924942 [m4_fatal([Unknown tar format])])
925943 AC_MSG_CHECKING([how to create a $1 tar archive])
927945 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
928946 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
929947 # 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 '-'.
931949 for _am_tool in $_am_tools
932950 do
933951 case $_am_tool in
+0
-2
charmaps/Makefile.am less more
0 outputsdir = ${libdir}/${PACKAGE}
1 dist_outputs_DATA = SYMBOL.charmap
+0
-375
charmaps/Makefile.in less more
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
-257
charmaps/SYMBOL.charmap less more
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
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
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'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
1616 # General Public License for more details.
1717 #
1818 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
21 # 02110-1301, USA.
19 # along with this program; if not, see <http://www.gnu.org/licenses/>.
2220 #
2321 # As a special exception to the GNU General Public License, if you
2422 # distribute this file as part of a program that contains a
2624 # the same distribution terms that you use for the rest of that program.
2725
2826
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.
3230 #
3331 # This script attempts to guess a canonical system name similar to
3432 # config.sub. If it succeeds, it prints the system name on stdout, and
3533 # exits with 0. Otherwise, it exits with 1.
3634 #
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
3937
4038 me=`echo "$0" | sed -e 's,.*/,,'`
4139
5553 GNU config.guess ($timestamp)
5654
5755 Originally written by Per Bothner.
58 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
59 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
57 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
58 Free Software Foundation, Inc.
6059
6160 This is free software; see the source for copying conditions. There is NO
6261 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
138137 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
139138 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
140139
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
141150 # Note: order is significant - the case branches are not exclusive.
142151
143152 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
144153 *:NetBSD:*:*)
145154 # NetBSD (nbsd) targets should (where applicable) match one or
146 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
155 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
147156 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
148157 # switched to ELF, *-*-netbsd* would select the old
149158 # object file format. This provides both forward
169178 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
170179 eval $set_cc_for_build
171180 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
172 | grep __ELF__ >/dev/null
181 | grep -q __ELF__
173182 then
174183 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
175184 # Return netbsd for either. FIX?
179188 fi
180189 ;;
181190 *)
182 os=netbsd
191 os=netbsd
183192 ;;
184193 esac
185194 # The OS release
202211 exit ;;
203212 *:OpenBSD:*:*)
204213 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}
206215 exit ;;
207216 *:ekkoBSD:*:*)
208 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
217 echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE}
209218 exit ;;
210219 *:SolidBSD:*:*)
211 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
220 echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE}
212221 exit ;;
213222 macppc:MirBSD:*:*)
214 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
223 echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE}
215224 exit ;;
216225 *:MirBSD:*:*)
217 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
226 echo ${UNAME_MACHINE}-${VENDOR}-mirbsd${UNAME_RELEASE}
218227 exit ;;
219228 alpha:OSF1:*:*)
220229 case $UNAME_RELEASE in
222231 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
223232 ;;
224233 *5.*)
225 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
234 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
226235 ;;
227236 esac
228237 # According to Compaq, /usr/sbin/psrinfo has been available on
268277 # A Xn.n version is an unreleased experimental baselevel.
269278 # 1.2 uses "1.2" for uname -r.
270279 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 ;;
272284 Alpha\ *:Windows_NT*:*)
273285 # How do we know it's Interix rather than the generic POSIX subsystem?
274286 # Should we change UNAME_MACHINE based on the output of uname instead
279291 echo alpha-dec-winnt3.5
280292 exit ;;
281293 Amiga*:UNIX_System_V:4.0:*)
282 echo m68k-unknown-sysv4
294 echo m68k-${VENDOR}-sysv4
283295 exit ;;
284296 *:[Aa]miga[Oo][Ss]:*:*)
285 echo ${UNAME_MACHINE}-unknown-amigaos
297 echo ${UNAME_MACHINE}-${VENDOR}-amigaos
286298 exit ;;
287299 *:[Mm]orph[Oo][Ss]:*:*)
288 echo ${UNAME_MACHINE}-unknown-morphos
300 echo ${UNAME_MACHINE}-${VENDOR}-morphos
289301 exit ;;
290302 *:OS/390:*:*)
291303 echo i370-ibm-openedition
294306 echo s390-ibm-zvmoe
295307 exit ;;
296308 *:OS400:*:*)
297 echo powerpc-ibm-os400
309 echo powerpc-ibm-os400
298310 exit ;;
299311 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
300312 echo arm-acorn-riscix${UNAME_RELEASE}
301313 exit ;;
302314 arm:riscos:*:*|arm:RISCOS:*:*)
303 echo arm-unknown-riscos
315 echo arm-${VENDOR}-riscos
304316 exit ;;
305317 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
306318 echo hppa1.1-hitachi-hiuxmpp
323335 case `/usr/bin/uname -p` in
324336 sparc) echo sparc-icl-nx7; exit ;;
325337 esac ;;
338 s390x:SunOS:*:*)
339 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
340 exit ;;
326341 sun4H:SunOS:5.*:*)
327342 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
328343 exit ;;
329344 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
330345 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
331346 exit ;;
347 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
348 echo i386-pc-auroraux${UNAME_RELEASE}
349 exit ;;
332350 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/[^.]*//'`
334365 exit ;;
335366 sun4*:SunOS:6*:*)
336367 # According to config.sub, this is the proper way to canonicalize
374405 # MiNT. But MiNT is downward compatible to TOS, so this should
375406 # be no problem.
376407 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
377 echo m68k-atari-mint${UNAME_RELEASE}
408 echo m68k-atari-mint${UNAME_RELEASE}
378409 exit ;;
379410 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
380411 echo m68k-atari-mint${UNAME_RELEASE}
381 exit ;;
412 exit ;;
382413 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
383 echo m68k-atari-mint${UNAME_RELEASE}
414 echo m68k-atari-mint${UNAME_RELEASE}
384415 exit ;;
385416 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
386 echo m68k-milan-mint${UNAME_RELEASE}
387 exit ;;
417 echo m68k-milan-mint${UNAME_RELEASE}
418 exit ;;
388419 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
389 echo m68k-hades-mint${UNAME_RELEASE}
390 exit ;;
420 echo m68k-hades-mint${UNAME_RELEASE}
421 exit ;;
391422 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
392 echo m68k-unknown-mint${UNAME_RELEASE}
393 exit ;;
423 echo m68k-${VENDOR}-mint${UNAME_RELEASE}
424 exit ;;
394425 m68k:machten:*:*)
395426 echo m68k-apple-machten${UNAME_RELEASE}
396427 exit ;;
460491 echo m88k-motorola-sysv3
461492 exit ;;
462493 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`
465496 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
466497 then
467498 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
474505 else
475506 echo i586-dg-dgux${UNAME_RELEASE}
476507 fi
477 exit ;;
508 exit ;;
478509 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
479510 echo m88k-dolphin-sysv3
480511 exit ;;
531562 echo rs6000-ibm-aix3.2
532563 fi
533564 exit ;;
534 *:AIX:*:[456])
565 *:AIX:*:[4567])
535566 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
536567 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
537568 IBM_ARCH=rs6000
574605 9000/[678][0-9][0-9])
575606 if [ -x /usr/bin/getconf ]; then
576607 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" ;;
585616 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
586 esac ;;
587 esac
617 esac ;;
618 esac
588619 fi
589620 if [ "${HP_ARCH}" = "" ]; then
590621 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 }
623654 EOF
624655 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
625656 test -z "$HP_ARCH" && HP_ARCH=hppa
639670 # => hppa64-hp-hpux11.23
640671
641672 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
642 grep __LP64__ >/dev/null
673 grep -q __LP64__
643674 then
644675 HP_ARCH="hppa2.0w"
645676 else
700731 exit ;;
701732 i*86:OSF1:*:*)
702733 if [ -x /usr/sbin/sysversion ] ; then
703 echo ${UNAME_MACHINE}-unknown-osf1mk
734 echo ${UNAME_MACHINE}-${VENDOR}-osf1mk
704735 else
705 echo ${UNAME_MACHINE}-unknown-osf1
736 echo ${UNAME_MACHINE}-${VENDOR}-osf1
706737 fi
707738 exit ;;
708739 parisc*:Lites*:*:*)
710741 exit ;;
711742 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
712743 echo c1-convex-bsd
713 exit ;;
744 exit ;;
714745 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
715746 if getsysinfo -f scalar_acc
716747 then echo c32-convex-bsd
717748 else echo c2-convex-bsd
718749 fi
719 exit ;;
750 exit ;;
720751 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
721752 echo c34-convex-bsd
722 exit ;;
753 exit ;;
723754 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
724755 echo c38-convex-bsd
725 exit ;;
756 exit ;;
726757 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
727758 echo c4-convex-bsd
728 exit ;;
759 exit ;;
729760 CRAY*Y-MP:*:*:*)
730761 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
731762 exit ;;
749780 exit ;;
750781 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
751782 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 ;;
756787 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}"
760791 exit ;;
761792 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
762793 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
763794 exit ;;
764795 sparc*:BSD/OS:*:*)
765 echo sparc-unknown-bsdi${UNAME_RELEASE}
796 echo sparc-${VENDOR}-bsdi${UNAME_RELEASE}
766797 exit ;;
767798 *:BSD/OS:*:*)
768 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
799 echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE}
769800 exit ;;
770801 *: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
774804 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/[-(].*//'` ;;
776806 *)
777 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
807 echo ${UNAME_PROCESSOR}-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
778808 esac
779809 exit ;;
780810 i*:CYGWIN*:*)
783813 *:MINGW*:*)
784814 echo ${UNAME_MACHINE}-pc-mingw32
785815 exit ;;
816 i*:MSYS*:*)
817 echo ${UNAME_MACHINE}-pc-msys
818 exit ;;
786819 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
789822 exit ;;
790823 i*:PW*:*)
791824 echo ${UNAME_MACHINE}-pc-pw32
792825 exit ;;
793 *:Interix*:[3456]*)
794 case ${UNAME_MACHINE} in
826 *:Interix*:*)
827 case ${UNAME_MACHINE} in
795828 x86)
796829 echo i586-pc-interix${UNAME_RELEASE}
797830 exit ;;
798 EM64T | authenticamd)
799 echo x86_64-unknown-interix${UNAME_RELEASE}
831 authenticamd | genuineintel | EM64T)
832 echo x86_64-${VENDOR}-interix${UNAME_RELEASE}
800833 exit ;;
801834 IA64)
802 echo ia64-unknown-interix${UNAME_RELEASE}
835 echo ia64-${VENDOR}-interix${UNAME_RELEASE}
803836 exit ;;
804837 esac ;;
805838 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
806839 echo i${UNAME_MACHINE}-pc-mks
840 exit ;;
841 8664:Windows_NT:*)
842 echo x86_64-pc-mks
807843 exit ;;
808844 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
809845 # How do we know it's Interix rather than the generic POSIX subsystem?
815851 echo ${UNAME_MACHINE}-pc-uwin
816852 exit ;;
817853 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
818 echo x86_64-unknown-cygwin
854 echo x86_64-${VENDOR}-cygwin
819855 exit ;;
820856 p*:CYGWIN*:*)
821 echo powerpcle-unknown-cygwin
857 echo powerpcle-${VENDOR}-cygwin
822858 exit ;;
823859 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/[^.]*//'`
825861 exit ;;
826862 *:GNU:*:*)
827863 # 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,/.*$,,'`
829865 exit ;;
830866 *:GNU/*:*:*)
831867 # 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
833869 exit ;;
834870 i*86:Minix:*:*)
835871 echo ${UNAME_MACHINE}-pc-minix
836872 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
922879 exit ;;
923880 alpha:Linux:*:*)
924881 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
929886 EV6) UNAME_MACHINE=alphaev6 ;;
930887 EV67) UNAME_MACHINE=alphaev67 ;;
931888 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
934891 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
968924 exit ;;
969925 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
997927 eval $set_cc_for_build
998928 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
1017929 #ifdef __dietlibc__
1018930 LIBC=dietlibc
1019931 #endif
1020932 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; }
1031963 ;;
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 ;;
10321011 i*86:DYNIX/ptx:4*:*)
10331012 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10341013 # earlier versions are messed up and put the nodename in both
10361015 echo i386-sequent-sysv4
10371016 exit ;;
10381017 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,
10421021 # I just have to hope. -- rms.
1043 # Use sysv4.2uw... so that sysv4* matches it.
1022 # Use sysv4.2uw... so that sysv4* matches it.
10441023 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
10451024 exit ;;
10461025 i*86:OS/2:*:*)
10491028 echo ${UNAME_MACHINE}-pc-os2-emx
10501029 exit ;;
10511030 i*86:XTS-300:*:STOP)
1052 echo ${UNAME_MACHINE}-unknown-stop
1031 echo ${UNAME_MACHINE}-${VENDOR}-stop
10531032 exit ;;
10541033 i*86:atheos:*:*)
1055 echo ${UNAME_MACHINE}-unknown-atheos
1034 echo ${UNAME_MACHINE}-${VENDOR}-atheos
10561035 exit ;;
10571036 i*86:syllable:*:*)
10581037 echo ${UNAME_MACHINE}-pc-syllable
10591038 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}
10621041 exit ;;
10631042 i*86:*DOS:*:*)
10641043 echo ${UNAME_MACHINE}-pc-msdosdjgpp
10721051 fi
10731052 exit ;;
10741053 i*86:*:5:[678]*)
1075 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1054 # UnixWare 7.x, OpenUNIX and OpenServer 6.
10761055 case `/bin/uname -X | grep "^Machine"` in
10771056 *486*) UNAME_MACHINE=i486 ;;
10781057 *Pentium) UNAME_MACHINE=i586 ;;
10791058 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
10801059 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}
10821061 exit ;;
10831062 i*86:*:3.2:*)
10841063 if test -f /usr/options/cb.name; then
11001079 exit ;;
11011080 pc:*:*:*)
11021081 # 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 ;;
11071089 Intel:Mach:3*:*)
11081090 echo i386-pc-mach3
11091091 exit ;;
11141096 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
11151097 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
11161098 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
11181100 fi
11191101 exit ;;
11201102 mini*:CTIX:SYS*5:*)
11381120 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
11391121 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
11401122 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; } ;;
11431135 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1144 echo m68k-unknown-lynxos${UNAME_RELEASE}
1136 echo m68k-${VENDOR}-lynxos${UNAME_RELEASE}
11451137 exit ;;
11461138 mc68030:UNIX_System_V:4.*:*)
11471139 echo m68k-atari-sysv4
11481140 exit ;;
11491141 TSUNAMI:LynxOS:2.*:*)
1150 echo sparc-unknown-lynxos${UNAME_RELEASE}
1142 echo sparc-${VENDOR}-lynxos${UNAME_RELEASE}
11511143 exit ;;
11521144 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}
11571149 exit ;;
11581150 SM[BE]S:UNIX_SV:*:*)
11591151 echo mips-dde-sysv${UNAME_RELEASE}
11721164 echo ns32k-sni-sysv
11731165 fi
11741166 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 ;;
11791171 *:UNIX_System_V:4*:FTX*)
11801172 # From Gerald Hewes <hewes@openmarket.com>.
11811173 # How about differentiating between stratus architectures? -djm
12011193 exit ;;
12021194 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
12031195 if [ -d /usr/nec ]; then
1204 echo mips-nec-sysv${UNAME_RELEASE}
1196 echo mips-nec-sysv${UNAME_RELEASE}
12051197 else
1206 echo mips-unknown-sysv${UNAME_RELEASE}
1207 fi
1208 exit ;;
1198 echo mips-${VENDOR}-sysv${UNAME_RELEASE}
1199 fi
1200 exit ;;
12091201 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
12101202 echo powerpc-be-beos
12111203 exit ;;
12141206 exit ;;
12151207 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
12161208 echo i586-pc-beos
1209 exit ;;
1210 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1211 echo i586-pc-haiku
12171212 exit ;;
12181213 SX-4:SUPER-UX:*:*)
12191214 echo sx4-nec-superux${UNAME_RELEASE}
12421237 *:Darwin:*:*)
12431238 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
12441239 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 ;;
12451250 unknown) UNAME_PROCESSOR=powerpc ;;
12461251 esac
12471252 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12561261 exit ;;
12571262 *:QNX:*:4*)
12581263 echo i386-pc-qnx
1264 exit ;;
1265 NEO-?:NONSTOP_KERNEL:*:*)
1266 echo neo-tandem-nsk${UNAME_RELEASE}
12591267 exit ;;
12601268 NSE-?:NONSTOP_KERNEL:*:*)
12611269 echo nse-tandem-nsk${UNAME_RELEASE}
12811289 else
12821290 UNAME_MACHINE="$cputype"
12831291 fi
1284 echo ${UNAME_MACHINE}-unknown-plan9
1292 echo ${UNAME_MACHINE}-${VENDOR}-plan9
12851293 exit ;;
12861294 *:TOPS-10:*:*)
1287 echo pdp10-unknown-tops10
1295 echo pdp10-${VENDOR}-tops10
12881296 exit ;;
12891297 *:TENEX:*:*)
1290 echo pdp10-unknown-tenex
1298 echo pdp10-${VENDOR}-tenex
12911299 exit ;;
12921300 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
12931301 echo pdp10-dec-tops20
12961304 echo pdp10-xkl-tops20
12971305 exit ;;
12981306 *:TOPS-20:*:*)
1299 echo pdp10-unknown-tops20
1307 echo pdp10-${VENDOR}-tops20
13001308 exit ;;
13011309 *:ITS:*:*)
1302 echo pdp10-unknown-its
1310 echo pdp10-${VENDOR}-its
13031311 exit ;;
13041312 SEI:*:*:SEIUX)
1305 echo mips-sei-seiux${UNAME_RELEASE}
1313 echo mips-sei-seiux${UNAME_RELEASE}
13061314 exit ;;
13071315 *: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/[-(].*//'`
13091317 exit ;;
13101318 *:*VMS:*:*)
1311 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1319 UNAME_MACHINE=`(uname -p) 2>/dev/null`
13121320 case "${UNAME_MACHINE}" in
13131321 A*) echo alpha-dec-vms ; exit ;;
13141322 I*) echo ia64-dec-vms ; exit ;;
13221330 exit ;;
13231331 i*86:rdos:*:*)
13241332 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
13251339 exit ;;
13261340 esac
13271341
13451359 #include <sys/param.h>
13461360 printf ("m68k-sony-newsos%s\n",
13471361 #ifdef NEWSOS4
1348 "4"
1362 "4"
13491363 #else
1350 ""
1351 #endif
1352 ); exit (0);
1364 ""
1365 #endif
1366 ); exit (0);
13531367 #endif
13541368 #endif
13551369
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
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'
77
88 # This file is (in principle) common to ALL GNU software.
99 # The presence of a machine in this file suggests that SOME GNU software
2020 # GNU General Public License for more details.
2121 #
2222 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street - Fift