Imported Upstream version 0.21.3
Willi Mann
10 years ago
0 | 0.21.3: | |
1 | - added '--quiet' flag which suppresses leading comments in output | |
2 | - default directory for config files is now /usr/local/share/unrtf | |
3 | and this can be changed when configure is run at compilation time | |
4 | - subdirs in config directory eliminated making it easier for a user | |
5 | to supply their own in a single directory specified with -P | |
6 | - code for two hex characters introduced in 0.21.2 completely replaced | |
7 | by more generalised string handling. | |
8 | - major improvements to codepage handling | |
9 | - major improvements in unicode handling | |
10 | - latex config file improved. Some Greek characters output properly. | |
11 | - troff_mm config file improved such that this option is now useful | |
0 | 12 | 0.21.2: |
1 | 13 | - added feof() calls to fgets() and fgetchar() instances so end-of |
2 | 14 | file is correctly determined under AIX |
0 | 0 | Installation Instructions |
1 | 1 | ************************* |
2 | 2 | |
3 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free | |
4 | Software Foundation, Inc. | |
5 | ||
6 | This file is free documentation; the Free Software Foundation gives | |
7 | unlimited permission to copy, distribute and modify it. | |
3 | Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, | |
4 | Inc. | |
5 | ||
6 | Copying and distribution of this file, with or without modification, | |
7 | are permitted in any medium without royalty provided the copyright | |
8 | notice and this notice are preserved. This file is offered as-is, | |
9 | without warranty of any kind. | |
8 | 10 | |
9 | 11 | Basic Installation |
10 | 12 | ================== |
11 | 13 | |
12 | These are generic installation instructions. | |
14 | Briefly, the shell commands `./configure; make; make install' should | |
15 | configure, build, and install this package. The following | |
16 | more-detailed instructions are generic; see the `README' file for | |
17 | instructions specific to this package. Some packages provide this | |
18 | `INSTALL' file but do not implement all of the features documented | |
19 | below. The lack of an optional feature in a given package is not | |
20 | necessarily a bug. More recommendations for GNU packages can be found | |
21 | in *note Makefile Conventions: (standards)Makefile Conventions. | |
13 | 22 | |
14 | 23 | The `configure' shell script attempts to guess correct values for |
15 | 24 | various system-dependent variables used during compilation. It uses |
22 | 31 | |
23 | 32 | It can also use an optional file (typically called `config.cache' |
24 | 33 | and enabled with `--cache-file=config.cache' or simply `-C') that saves |
25 | the results of its tests to speed up reconfiguring. (Caching is | |
34 | the results of its tests to speed up reconfiguring. Caching is | |
26 | 35 | disabled by default to prevent problems with accidental use of stale |
27 | cache files.) | |
36 | cache files. | |
28 | 37 | |
29 | 38 | If you need to do unusual things to compile the package, please try |
30 | 39 | to figure out how `configure' could check whether to do them, and mail |
34 | 43 | may remove or edit it. |
35 | 44 | |
36 | 45 | The file `configure.ac' (or `configure.in') is used to create |
37 | `configure' by a program called `autoconf'. You only need | |
38 | `configure.ac' if you want to change it or regenerate `configure' using | |
39 | a newer version of `autoconf'. | |
40 | ||
41 | The simplest way to compile this package is: | |
46 | `configure' by a program called `autoconf'. You need `configure.ac' if | |
47 | you want to change it or regenerate `configure' using a newer version | |
48 | of `autoconf'. | |
49 | ||
50 | The simplest way to compile this package is: | |
42 | 51 | |
43 | 52 | 1. `cd' to the directory containing the package's source code and type |
44 | `./configure' to configure the package for your system. If you're | |
45 | using `csh' on an old version of System V, you might need to type | |
46 | `sh ./configure' instead to prevent `csh' from trying to execute | |
47 | `configure' itself. | |
48 | ||
49 | Running `configure' takes awhile. While running, it prints some | |
50 | messages telling which features it is checking for. | |
53 | `./configure' to configure the package for your system. | |
54 | ||
55 | Running `configure' might take a while. While running, it prints | |
56 | some messages telling which features it is checking for. | |
51 | 57 | |
52 | 58 | 2. Type `make' to compile the package. |
53 | 59 | |
54 | 60 | 3. Optionally, type `make check' to run any self-tests that come with |
55 | the package. | |
61 | the package, generally using the just-built uninstalled binaries. | |
56 | 62 | |
57 | 63 | 4. Type `make install' to install the programs and any data files and |
58 | documentation. | |
59 | ||
60 | 5. You can remove the program binaries and object files from the | |
64 | documentation. When installing into a prefix owned by root, it is | |
65 | recommended that the package be configured and built as a regular | |
66 | user, and only the `make install' phase executed with root | |
67 | privileges. | |
68 | ||
69 | 5. Optionally, type `make installcheck' to repeat any self-tests, but | |
70 | this time using the binaries in their final installed location. | |
71 | This target does not install anything. Running this target as a | |
72 | regular user, particularly if the prior `make install' required | |
73 | root privileges, verifies that the installation completed | |
74 | correctly. | |
75 | ||
76 | 6. You can remove the program binaries and object files from the | |
61 | 77 | source code directory by typing `make clean'. To also remove the |
62 | 78 | files that `configure' created (so you can compile the package for |
63 | 79 | a different kind of computer), type `make distclean'. There is |
66 | 82 | all sorts of other programs in order to regenerate files that came |
67 | 83 | with the distribution. |
68 | 84 | |
85 | 7. Often, you can also type `make uninstall' to remove the installed | |
86 | files again. In practice, not all packages have tested that | |
87 | uninstallation works correctly, even though it is required by the | |
88 | GNU Coding Standards. | |
89 | ||
90 | 8. Some packages, particularly those that use Automake, provide `make | |
91 | distcheck', which can by used by developers to test that all other | |
92 | targets like `make install' and `make uninstall' work correctly. | |
93 | This target is generally not run by end users. | |
94 | ||
69 | 95 | Compilers and Options |
70 | 96 | ===================== |
71 | 97 | |
72 | Some systems require unusual options for compilation or linking that the | |
73 | `configure' script does not know about. Run `./configure --help' for | |
74 | details on some of the pertinent environment variables. | |
98 | Some systems require unusual options for compilation or linking that | |
99 | the `configure' script does not know about. Run `./configure --help' | |
100 | for details on some of the pertinent environment variables. | |
75 | 101 | |
76 | 102 | You can give `configure' initial values for configuration parameters |
77 | 103 | by setting variables in the command line or in the environment. Here |
78 | 104 | is an example: |
79 | 105 | |
80 | ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix | |
106 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix | |
81 | 107 | |
82 | 108 | *Note Defining Variables::, for more details. |
83 | 109 | |
84 | 110 | Compiling For Multiple Architectures |
85 | 111 | ==================================== |
86 | 112 | |
87 | You can compile the package for more than one kind of computer at the | |
113 | You can compile the package for more than one kind of computer at the | |
88 | 114 | same time, by placing the object files for each architecture in their |
89 | own directory. To do this, you must use a version of `make' that | |
90 | supports the `VPATH' variable, such as GNU `make'. `cd' to the | |
115 | own directory. To do this, you can use GNU `make'. `cd' to the | |
91 | 116 | directory where you want the object files and executables to go and run |
92 | 117 | the `configure' script. `configure' automatically checks for the |
93 | source code in the directory that `configure' is in and in `..'. | |
94 | ||
95 | If you have to use a `make' that does not support the `VPATH' | |
96 | variable, you have to compile the package for one architecture at a | |
97 | time in the source code directory. After you have installed the | |
98 | package for one architecture, use `make distclean' before reconfiguring | |
99 | for another architecture. | |
118 | source code in the directory that `configure' is in and in `..'. This | |
119 | is known as a "VPATH" build. | |
120 | ||
121 | With a non-GNU `make', it is safer to compile the package for one | |
122 | architecture at a time in the source code directory. After you have | |
123 | installed the package for one architecture, use `make distclean' before | |
124 | reconfiguring for another architecture. | |
125 | ||
126 | On MacOS X 10.5 and later systems, you can create libraries and | |
127 | executables that work on multiple system types--known as "fat" or | |
128 | "universal" binaries--by specifying multiple `-arch' options to the | |
129 | compiler but only a single `-arch' option to the preprocessor. Like | |
130 | this: | |
131 | ||
132 | ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | |
133 | CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | |
134 | CPP="gcc -E" CXXCPP="g++ -E" | |
135 | ||
136 | This is not guaranteed to produce working output in all cases, you | |
137 | may have to build one architecture at a time and combine the results | |
138 | using the `lipo' tool if you have problems. | |
100 | 139 | |
101 | 140 | Installation Names |
102 | 141 | ================== |
103 | 142 | |
104 | By default, `make install' will install the package's files in | |
105 | `/usr/local/bin', `/usr/local/man', etc. You can specify an | |
106 | installation prefix other than `/usr/local' by giving `configure' the | |
107 | option `--prefix=PREFIX'. | |
143 | By default, `make install' installs the package's commands under | |
144 | `/usr/local/bin', include files under `/usr/local/include', etc. You | |
145 | can specify an installation prefix other than `/usr/local' by giving | |
146 | `configure' the option `--prefix=PREFIX', where PREFIX must be an | |
147 | absolute file name. | |
108 | 148 | |
109 | 149 | You can specify separate installation prefixes for |
110 | 150 | architecture-specific files and architecture-independent files. If you |
111 | give `configure' the option `--exec-prefix=PREFIX', the package will | |
112 | use PREFIX as the prefix for installing programs and libraries. | |
113 | Documentation and other data files will still use the regular prefix. | |
151 | pass the option `--exec-prefix=PREFIX' to `configure', the package uses | |
152 | PREFIX as the prefix for installing programs and libraries. | |
153 | Documentation and other data files still use the regular prefix. | |
114 | 154 | |
115 | 155 | In addition, if you use an unusual directory layout you can give |
116 | 156 | options like `--bindir=DIR' to specify different values for particular |
117 | 157 | kinds of files. Run `configure --help' for a list of the directories |
118 | you can set and what kinds of files go in them. | |
158 | you can set and what kinds of files go in them. In general, the | |
159 | default for these options is expressed in terms of `${prefix}', so that | |
160 | specifying just `--prefix' will affect all of the other directory | |
161 | specifications that were not explicitly provided. | |
162 | ||
163 | The most portable way to affect installation locations is to pass the | |
164 | correct locations to `configure'; however, many packages provide one or | |
165 | both of the following shortcuts of passing variable assignments to the | |
166 | `make install' command line to change installation locations without | |
167 | having to reconfigure or recompile. | |
168 | ||
169 | The first method involves providing an override variable for each | |
170 | affected directory. For example, `make install | |
171 | prefix=/alternate/directory' will choose an alternate location for all | |
172 | directory configuration variables that were expressed in terms of | |
173 | `${prefix}'. Any directories that were specified during `configure', | |
174 | but not in terms of `${prefix}', must each be overridden at install | |
175 | time for the entire installation to be relocated. The approach of | |
176 | makefile variable overrides for each directory variable is required by | |
177 | the GNU Coding Standards, and ideally causes no recompilation. | |
178 | However, some platforms have known limitations with the semantics of | |
179 | shared libraries that end up requiring recompilation when using this | |
180 | method, particularly noticeable in packages that use GNU Libtool. | |
181 | ||
182 | The second method involves providing the `DESTDIR' variable. For | |
183 | example, `make install DESTDIR=/alternate/directory' will prepend | |
184 | `/alternate/directory' before all installation names. The approach of | |
185 | `DESTDIR' overrides is not required by the GNU Coding Standards, and | |
186 | does not work on platforms that have drive letters. On the other hand, | |
187 | it does better at avoiding recompilation issues, and works well even | |
188 | when some directory options were not specified in terms of `${prefix}' | |
189 | at `configure' time. | |
190 | ||
191 | Optional Features | |
192 | ================= | |
119 | 193 | |
120 | 194 | If the package supports it, you can cause programs to be installed |
121 | 195 | with an extra prefix or suffix on their names by giving `configure' the |
122 | 196 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
123 | 197 | |
124 | Optional Features | |
125 | ================= | |
126 | ||
127 | Some packages pay attention to `--enable-FEATURE' options to | |
198 | Some packages pay attention to `--enable-FEATURE' options to | |
128 | 199 | `configure', where FEATURE indicates an optional part of the package. |
129 | 200 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
130 | 201 | is something like `gnu-as' or `x' (for the X Window System). The |
136 | 207 | you can use the `configure' options `--x-includes=DIR' and |
137 | 208 | `--x-libraries=DIR' to specify their locations. |
138 | 209 | |
210 | Some packages offer the ability to configure how verbose the | |
211 | execution of `make' will be. For these packages, running `./configure | |
212 | --enable-silent-rules' sets the default to minimal output, which can be | |
213 | overridden with `make V=1'; while running `./configure | |
214 | --disable-silent-rules' sets the default to verbose, which can be | |
215 | overridden with `make V=0'. | |
216 | ||
217 | Particular systems | |
218 | ================== | |
219 | ||
220 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU | |
221 | CC is not installed, it is recommended to use the following options in | |
222 | order to use an ANSI C compiler: | |
223 | ||
224 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | |
225 | ||
226 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. | |
227 | ||
228 | HP-UX `make' updates targets which have the same time stamps as | |
229 | their prerequisites, which makes it generally unusable when shipped | |
230 | generated files such as `configure' are involved. Use GNU `make' | |
231 | instead. | |
232 | ||
233 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | |
234 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as | |
235 | a workaround. If GNU CC is not installed, it is therefore recommended | |
236 | to try | |
237 | ||
238 | ./configure CC="cc" | |
239 | ||
240 | and if that doesn't work, try | |
241 | ||
242 | ./configure CC="cc -nodtk" | |
243 | ||
244 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This | |
245 | directory contains several dysfunctional programs; working variants of | |
246 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | |
247 | in your `PATH', put it _after_ `/usr/bin'. | |
248 | ||
249 | On Haiku, software installed for all users goes in `/boot/common', | |
250 | not `/usr/local'. It is recommended to use the following options: | |
251 | ||
252 | ./configure --prefix=/boot/common | |
253 | ||
139 | 254 | Specifying the System Type |
140 | 255 | ========================== |
141 | 256 | |
142 | There may be some features `configure' cannot figure out automatically, | |
143 | but needs to determine by the type of machine the package will run on. | |
144 | Usually, assuming the package is built to be run on the _same_ | |
145 | architectures, `configure' can figure that out, but if it prints a | |
146 | message saying it cannot guess the machine type, give it the | |
257 | There may be some features `configure' cannot figure out | |
258 | automatically, but needs to determine by the type of machine the package | |
259 | will run on. Usually, assuming the package is built to be run on the | |
260 | _same_ architectures, `configure' can figure that out, but if it prints | |
261 | a message saying it cannot guess the machine type, give it the | |
147 | 262 | `--build=TYPE' option. TYPE can either be a short name for the system |
148 | 263 | type, such as `sun4', or a canonical name which has the form: |
149 | 264 | |
151 | 266 | |
152 | 267 | where SYSTEM can have one of these forms: |
153 | 268 | |
154 | OS KERNEL-OS | |
269 | OS | |
270 | KERNEL-OS | |
155 | 271 | |
156 | 272 | See the file `config.sub' for the possible values of each field. If |
157 | 273 | `config.sub' isn't included in this package, then this package doesn't |
158 | 274 | need to know the machine type. |
159 | 275 | |
160 | 276 | If you are _building_ compiler tools for cross-compiling, you should |
161 | use the `--target=TYPE' option to select the type of system they will | |
277 | use the option `--target=TYPE' to select the type of system they will | |
162 | 278 | produce code for. |
163 | 279 | |
164 | 280 | If you want to _use_ a cross compiler, that generates code for a |
169 | 285 | Sharing Defaults |
170 | 286 | ================ |
171 | 287 | |
172 | If you want to set default values for `configure' scripts to share, you | |
173 | can create a site shell script called `config.site' that gives default | |
174 | values for variables like `CC', `cache_file', and `prefix'. | |
288 | If you want to set default values for `configure' scripts to share, | |
289 | you can create a site shell script called `config.site' that gives | |
290 | default values for variables like `CC', `cache_file', and `prefix'. | |
175 | 291 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
176 | 292 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
177 | 293 | `CONFIG_SITE' environment variable to the location of the site script. |
180 | 296 | Defining Variables |
181 | 297 | ================== |
182 | 298 | |
183 | Variables not defined in a site shell script can be set in the | |
299 | Variables not defined in a site shell script can be set in the | |
184 | 300 | environment passed to `configure'. However, some packages may run |
185 | 301 | configure again during the build, and the customized values of these |
186 | 302 | variables may be lost. In order to avoid this problem, you should set |
188 | 304 | |
189 | 305 | ./configure CC=/usr/local2/bin/gcc |
190 | 306 | |
191 | will cause the specified gcc to be used as the C compiler (unless it is | |
307 | causes the specified `gcc' to be used as the C compiler (unless it is | |
192 | 308 | overridden in the site shell script). |
309 | ||
310 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to | |
311 | an Autoconf limitation. Until the limitation is lifted, you can use | |
312 | this workaround: | |
313 | ||
314 | CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash | |
193 | 315 | |
194 | 316 | `configure' Invocation |
195 | 317 | ====================== |
196 | 318 | |
197 | `configure' recognizes the following options to control how it operates. | |
319 | `configure' recognizes the following options to control how it | |
320 | operates. | |
198 | 321 | |
199 | 322 | `--help' |
200 | 323 | `-h' |
201 | Print a summary of the options to `configure', and exit. | |
324 | Print a summary of all of the options to `configure', and exit. | |
325 | ||
326 | `--help=short' | |
327 | `--help=recursive' | |
328 | Print a summary of the options unique to this package's | |
329 | `configure', and exit. The `short' variant lists options used | |
330 | only in the top level, while the `recursive' variant lists options | |
331 | also present in any nested packages. | |
202 | 332 | |
203 | 333 | `--version' |
204 | 334 | `-V' |
225 | 355 | Look for the package's source code in directory DIR. Usually |
226 | 356 | `configure' can determine that directory automatically. |
227 | 357 | |
358 | `--prefix=DIR' | |
359 | Use DIR as the installation prefix. *note Installation Names:: | |
360 | for more details, including other options available for fine-tuning | |
361 | the installation locations. | |
362 | ||
363 | `--no-create' | |
364 | `-n' | |
365 | Run the configure checks, but stop before creating any output | |
366 | files. | |
367 | ||
228 | 368 | `configure' also accepts some other, not widely useful, options. Run |
229 | 369 | `configure --help' for more details. |
230 |
0 | 0 | # this is the main Makefile.am |
1 | 1 | |
2 | 2 | # first of all, parse the subdirectories in the order given |
3 | SUBDIRS = src tests doc patches charmaps outputs | |
3 | SUBDIRS = src tests doc patches outputs | |
4 | 4 | |
5 | 5 | # then do stuff in this directory. Actually, we just need to add the |
6 | 6 | # bootstrap script to the distribution (for curious users, not really needed). |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.12.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
3 | # Copyright (C) 1994-2012 Free Software Foundation, Inc. | |
4 | ||
6 | 5 | # This Makefile.in is free software; the Free Software Foundation |
7 | 6 | # gives unlimited permission to copy and/or distribute it, |
8 | 7 | # with or without modifications, as long as this notice is preserved. |
16 | 15 | |
17 | 16 | # this is the main Makefile.am |
18 | 17 | VPATH = @srcdir@ |
18 | am__make_dryrun = \ | |
19 | { \ | |
20 | am__dry=no; \ | |
21 | case $$MAKEFLAGS in \ | |
22 | *\\[\ \ ]*) \ | |
23 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
24 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
25 | *) \ | |
26 | for am__flg in $$MAKEFLAGS; do \ | |
27 | case $$am__flg in \ | |
28 | *=*|--*) ;; \ | |
29 | *n*) am__dry=yes; break;; \ | |
30 | esac; \ | |
31 | done;; \ | |
32 | esac; \ | |
33 | test $$am__dry = yes; \ | |
34 | } | |
19 | 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
20 | 36 | pkgincludedir = $(includedir)/@PACKAGE@ |
21 | 37 | pkglibdir = $(libdir)/@PACKAGE@ |
37 | 53 | subdir = . |
38 | 54 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
39 | 55 | $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
56 | $(top_srcdir)/config/config.guess \ | |
57 | $(top_srcdir)/config/config.sub \ | |
58 | $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing \ | |
40 | 59 | $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
41 | 60 | config/config.guess config/config.sub config/depcomp \ |
42 | 61 | config/install-sh config/missing |
59 | 78 | install-pdf-recursive install-ps-recursive install-recursive \ |
60 | 79 | installcheck-recursive installdirs-recursive pdf-recursive \ |
61 | 80 | ps-recursive uninstall-recursive |
81 | am__can_run_installinfo = \ | |
82 | case $$AM_UPDATE_INFO_DIR in \ | |
83 | n|no|NO) false;; \ | |
84 | *) (install-info --version) >/dev/null 2>&1;; \ | |
85 | esac | |
62 | 86 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
63 | 87 | distclean-recursive maintainer-clean-recursive |
64 | 88 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
65 | 89 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
66 | distdir dist dist-all distcheck | |
90 | cscope distdir dist dist-all distcheck | |
67 | 91 | ETAGS = etags |
68 | 92 | CTAGS = ctags |
93 | CSCOPE = cscope | |
69 | 94 | DIST_SUBDIRS = $(SUBDIRS) |
70 | 95 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
71 | 96 | distdir = $(PACKAGE)-$(VERSION) |
72 | 97 | top_distdir = $(distdir) |
73 | 98 | am__remove_distdir = \ |
74 | { test ! -d "$(distdir)" \ | |
75 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
76 | && rm -fr "$(distdir)"; }; } | |
99 | if test -d "$(distdir)"; then \ | |
100 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
101 | && rm -rf "$(distdir)" \ | |
102 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | |
103 | else :; fi | |
104 | am__post_remove_distdir = $(am__remove_distdir) | |
77 | 105 | am__relativize = \ |
78 | 106 | dir0=`pwd`; \ |
79 | 107 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
101 | 129 | reldir="$$dir2" |
102 | 130 | DIST_ARCHIVES = $(distdir).tar.gz |
103 | 131 | GZIP_ENV = --best |
132 | DIST_TARGETS = dist-gzip | |
104 | 133 | distuninstallcheck_listfiles = find . -type f -print |
134 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | |
135 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | |
105 | 136 | distcleancheck_listfiles = find . -type f -print |
106 | 137 | ACLOCAL = @ACLOCAL@ |
107 | 138 | AMTAR = @AMTAR@ |
141 | 172 | PACKAGE_NAME = @PACKAGE_NAME@ |
142 | 173 | PACKAGE_STRING = @PACKAGE_STRING@ |
143 | 174 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
175 | PACKAGE_URL = @PACKAGE_URL@ | |
144 | 176 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
145 | 177 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
146 | 178 | SET_MAKE = @SET_MAKE@ |
199 | 231 | top_srcdir = @top_srcdir@ |
200 | 232 | |
201 | 233 | # first of all, parse the subdirectories in the order given |
202 | SUBDIRS = src tests doc patches charmaps outputs | |
234 | SUBDIRS = src tests doc patches outputs | |
203 | 235 | |
204 | 236 | # then do stuff in this directory. Actually, we just need to add the |
205 | 237 | # bootstrap script to the distribution (for curious users, not really needed). |
208 | 240 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
209 | 241 | |
210 | 242 | .SUFFIXES: |
211 | am--refresh: | |
243 | am--refresh: Makefile | |
212 | 244 | @: |
213 | 245 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
214 | 246 | @for dep in $?; do \ |
244 | 276 | $(am__aclocal_m4_deps): |
245 | 277 | |
246 | 278 | config.h: stamp-h1 |
247 | @if test ! -f $@; then \ | |
248 | rm -f stamp-h1; \ | |
249 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
250 | else :; fi | |
279 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
280 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
251 | 281 | |
252 | 282 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
253 | 283 | @rm -f stamp-h1 |
261 | 291 | -rm -f config.h stamp-h1 |
262 | 292 | |
263 | 293 | # This directory's subdirectories are mostly independent; you can cd |
264 | # into them and run `make' without going through this Makefile. | |
265 | # To change the values of `make' variables: instead of editing Makefiles, | |
266 | # (1) if the variable is set in `config.status', edit `config.status' | |
267 | # (which will cause the Makefiles to be regenerated when you run `make'); | |
268 | # (2) otherwise, pass the desired values on the `make' command line. | |
294 | # into them and run 'make' without going through this Makefile. | |
295 | # To change the values of 'make' variables: instead of editing Makefiles, | |
296 | # (1) if the variable is set in 'config.status', edit 'config.status' | |
297 | # (which will cause the Makefiles to be regenerated when you run 'make'); | |
298 | # (2) otherwise, pass the desired values on the 'make' command line. | |
269 | 299 | $(RECURSIVE_TARGETS): |
270 | 300 | @fail= failcom='exit 1'; \ |
271 | 301 | for f in x $$MAKEFLAGS; do \ |
328 | 358 | ctags-recursive: |
329 | 359 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
330 | 360 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
361 | done | |
362 | cscopelist-recursive: | |
363 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
364 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ | |
331 | 365 | done |
332 | 366 | |
333 | 367 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
392 | 426 | && $(am__cd) $(top_srcdir) \ |
393 | 427 | && gtags -i $(GTAGS_ARGS) "$$here" |
394 | 428 | |
429 | cscope: cscope.files | |
430 | test ! -s cscope.files \ | |
431 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) | |
432 | ||
433 | clean-cscope: | |
434 | -rm -f cscope.files | |
435 | ||
436 | cscope.files: clean-cscope cscopelist-recursive cscopelist | |
437 | ||
438 | cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) | |
439 | list='$(SOURCES) $(HEADERS) $(LISP)'; \ | |
440 | case "$(srcdir)" in \ | |
441 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |
442 | *) sdir=$(subdir)/$(srcdir) ;; \ | |
443 | esac; \ | |
444 | for i in $$list; do \ | |
445 | if test -f "$$i"; then \ | |
446 | echo "$(subdir)/$$i"; \ | |
447 | else \ | |
448 | echo "$$sdir/$$i"; \ | |
449 | fi; \ | |
450 | done >> $(top_builddir)/cscope.files | |
451 | ||
395 | 452 | distclean-tags: |
396 | 453 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
454 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files | |
397 | 455 | |
398 | 456 | distdir: $(DISTFILES) |
399 | 457 | $(am__remove_distdir) |
429 | 487 | done |
430 | 488 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
431 | 489 | if test "$$subdir" = .; then :; else \ |
432 | test -d "$(distdir)/$$subdir" \ | |
433 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
434 | || exit 1; \ | |
435 | fi; \ | |
436 | done | |
437 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |
438 | if test "$$subdir" = .; then :; else \ | |
490 | $(am__make_dryrun) \ | |
491 | || test -d "$(distdir)/$$subdir" \ | |
492 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | |
493 | || exit 1; \ | |
439 | 494 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
440 | 495 | $(am__relativize); \ |
441 | 496 | new_distdir=$$reldir; \ |
464 | 519 | || chmod -R a+r "$(distdir)" |
465 | 520 | dist-gzip: distdir |
466 | 521 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
467 | $(am__remove_distdir) | |
522 | $(am__post_remove_distdir) | |
468 | 523 | |
469 | 524 | dist-bzip2: distdir |
470 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
471 | $(am__remove_distdir) | |
472 | ||
473 | dist-lzma: distdir | |
474 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
475 | $(am__remove_distdir) | |
525 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | |
526 | $(am__post_remove_distdir) | |
527 | ||
528 | dist-lzip: distdir | |
529 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | |
530 | $(am__post_remove_distdir) | |
476 | 531 | |
477 | 532 | dist-xz: distdir |
478 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
479 | $(am__remove_distdir) | |
533 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | |
534 | $(am__post_remove_distdir) | |
480 | 535 | |
481 | 536 | dist-tarZ: distdir |
482 | 537 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
483 | $(am__remove_distdir) | |
538 | $(am__post_remove_distdir) | |
484 | 539 | |
485 | 540 | dist-shar: distdir |
486 | 541 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
487 | $(am__remove_distdir) | |
542 | $(am__post_remove_distdir) | |
488 | 543 | |
489 | 544 | dist-zip: distdir |
490 | 545 | -rm -f $(distdir).zip |
491 | 546 | zip -rq $(distdir).zip $(distdir) |
492 | $(am__remove_distdir) | |
493 | ||
494 | dist dist-all: distdir | |
495 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
496 | $(am__remove_distdir) | |
547 | $(am__post_remove_distdir) | |
548 | ||
549 | dist dist-all: | |
550 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' | |
551 | $(am__post_remove_distdir) | |
497 | 552 | |
498 | 553 | # This target untars the dist file and tries a VPATH configuration. Then |
499 | 554 | # it guarantees that the distribution is self-contained by making another |
504 | 559 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
505 | 560 | *.tar.bz2*) \ |
506 | 561 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
507 | *.tar.lzma*) \ | |
508 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
562 | *.tar.lz*) \ | |
563 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | |
509 | 564 | *.tar.xz*) \ |
510 | 565 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
511 | 566 | *.tar.Z*) \ |
515 | 570 | *.zip*) \ |
516 | 571 | unzip $(distdir).zip ;;\ |
517 | 572 | esac |
518 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
573 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
519 | 574 | mkdir $(distdir)/_build |
520 | 575 | mkdir $(distdir)/_inst |
521 | 576 | chmod a-w $(distdir) |
525 | 580 | && am__cwd=`pwd` \ |
526 | 581 | && $(am__cd) $(distdir)/_build \ |
527 | 582 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
583 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | |
528 | 584 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
529 | 585 | && $(MAKE) $(AM_MAKEFLAGS) \ |
530 | 586 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
548 | 604 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
549 | 605 | && cd "$$am__cwd" \ |
550 | 606 | || exit 1 |
551 | $(am__remove_distdir) | |
607 | $(am__post_remove_distdir) | |
552 | 608 | @(echo "$(distdir) archives ready for distribution: "; \ |
553 | 609 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
554 | 610 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
555 | 611 | distuninstallcheck: |
556 | @$(am__cd) '$(distuninstallcheck_dir)' \ | |
557 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
612 | @test -n '$(distuninstallcheck_dir)' || { \ | |
613 | echo 'ERROR: trying to run $@ with an empty' \ | |
614 | '$$(distuninstallcheck_dir)' >&2; \ | |
615 | exit 1; \ | |
616 | }; \ | |
617 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | |
618 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | |
619 | exit 1; \ | |
620 | }; \ | |
621 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | |
558 | 622 | || { echo "ERROR: files left after uninstall:" ; \ |
559 | 623 | if test -n "$(DESTDIR)"; then \ |
560 | 624 | echo " (check DESTDIR support)"; \ |
585 | 649 | |
586 | 650 | installcheck: installcheck-recursive |
587 | 651 | install-strip: |
588 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
589 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
590 | `test -z '$(STRIP)' || \ | |
591 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
652 | if test -z '$(STRIP)'; then \ | |
653 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
654 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
655 | install; \ | |
656 | else \ | |
657 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
658 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
659 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
660 | fi | |
592 | 661 | mostlyclean-generic: |
593 | 662 | |
594 | 663 | clean-generic: |
670 | 739 | uninstall-am: |
671 | 740 | |
672 | 741 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
673 | ctags-recursive install-am install-strip tags-recursive | |
742 | cscopelist-recursive ctags-recursive install-am install-strip \ | |
743 | tags-recursive | |
674 | 744 | |
675 | 745 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
676 | all all-am am--refresh check check-am clean clean-generic \ | |
677 | ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ | |
678 | dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ | |
679 | distclean distclean-generic distclean-hdr distclean-tags \ | |
680 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | |
681 | html-am info info-am install install-am install-data \ | |
682 | install-data-am install-dvi install-dvi-am install-exec \ | |
683 | install-exec-am install-html install-html-am install-info \ | |
684 | install-info-am install-man install-pdf install-pdf-am \ | |
685 | install-ps install-ps-am install-strip installcheck \ | |
686 | installcheck-am installdirs installdirs-am maintainer-clean \ | |
746 | all all-am am--refresh check check-am clean clean-cscope \ | |
747 | clean-generic cscope cscopelist cscopelist-recursive ctags \ | |
748 | ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzip \ | |
749 | dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ | |
750 | distclean-generic distclean-hdr distclean-tags distcleancheck \ | |
751 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
752 | info-am install install-am install-data install-data-am \ | |
753 | install-dvi install-dvi-am install-exec install-exec-am \ | |
754 | install-html install-html-am install-info install-info-am \ | |
755 | install-man install-pdf install-pdf-am install-ps \ | |
756 | install-ps-am install-strip installcheck installcheck-am \ | |
757 | installdirs installdirs-am maintainer-clean \ | |
687 | 758 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
688 | 759 | pdf-am ps ps-am tags tags-recursive uninstall uninstall-am |
689 | 760 |
0 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
3 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.12.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
3 | ||
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
6 | 6 | # with or without modifications, as long as this notice is preserved. |
12 | 12 | |
13 | 13 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 14 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, | |
16 | [m4_warning([this file was generated for autoconf 2.63. | |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | |
16 | [m4_warning([this file was generated for autoconf 2.69. | |
17 | 17 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 18 | If you have problems, you may need to regenerate the build system entirely. |
19 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | |
20 | ||
21 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
22 | # | |
23 | # This file is free software; the Free Software Foundation | |
24 | # gives unlimited permission to copy and/or distribute it, | |
25 | # with or without modifications, as long as this notice is preserved. | |
19 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) | |
20 | ||
21 | # Copyright (C) 2002-2012 Free Software Foundation, Inc. | |
22 | # | |
23 | # This file is free software; the Free Software Foundation | |
24 | # gives unlimited permission to copy and/or distribute it, | |
25 | # with or without modifications, as long as this notice is preserved. | |
26 | ||
27 | # serial 8 | |
26 | 28 | |
27 | 29 | # AM_AUTOMAKE_VERSION(VERSION) |
28 | 30 | # ---------------------------- |
30 | 32 | # generated from the m4 files accompanying Automake X.Y. |
31 | 33 | # (This private macro should not be called outside this file.) |
32 | 34 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
33 | [am__api_version='1.11' | |
35 | [am__api_version='1.12' | |
34 | 36 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
35 | 37 | dnl require some minimum version. Point them to the right macro. |
36 | m4_if([$1], [1.11.1], [], | |
38 | m4_if([$1], [1.12.1], [], | |
37 | 39 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
38 | 40 | ]) |
39 | 41 | |
49 | 51 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
50 | 52 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
51 | 53 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
52 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
54 | [AM_AUTOMAKE_VERSION([1.12.1])dnl | |
53 | 55 | m4_ifndef([AC_AUTOCONF_VERSION], |
54 | 56 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
55 | 57 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
56 | 58 | |
57 | 59 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
58 | 60 | |
59 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
60 | # | |
61 | # This file is free software; the Free Software Foundation | |
62 | # gives unlimited permission to copy and/or distribute it, | |
63 | # with or without modifications, as long as this notice is preserved. | |
61 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
62 | # | |
63 | # This file is free software; the Free Software Foundation | |
64 | # gives unlimited permission to copy and/or distribute it, | |
65 | # with or without modifications, as long as this notice is preserved. | |
66 | ||
67 | # serial 2 | |
64 | 68 | |
65 | 69 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
66 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | |
67 | # `$srcdir', `$srcdir/..', or `$srcdir/../..'. | |
70 | # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | |
71 | # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | |
68 | 72 | # |
69 | 73 | # Of course, Automake must honor this variable whenever it calls a |
70 | 74 | # tool from the auxiliary directory. The problem is that $srcdir (and |
83 | 87 | # |
84 | 88 | # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
85 | 89 | # are both prefixed by $srcdir. In an in-source build this is usually |
86 | # harmless because $srcdir is `.', but things will broke when you | |
90 | # harmless because $srcdir is '.', but things will broke when you | |
87 | 91 | # start a VPATH build or use an absolute $srcdir. |
88 | 92 | # |
89 | 93 | # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
109 | 113 | |
110 | 114 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 115 | |
112 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 | |
113 | # Free Software Foundation, Inc. | |
114 | # | |
115 | # This file is free software; the Free Software Foundation | |
116 | # gives unlimited permission to copy and/or distribute it, | |
117 | # with or without modifications, as long as this notice is preserved. | |
118 | ||
119 | # serial 9 | |
116 | # Copyright (C) 1997-2012 Free Software Foundation, Inc. | |
117 | # | |
118 | # This file is free software; the Free Software Foundation | |
119 | # gives unlimited permission to copy and/or distribute it, | |
120 | # with or without modifications, as long as this notice is preserved. | |
121 | ||
122 | # serial 10 | |
120 | 123 | |
121 | 124 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
122 | 125 | # ------------------------------------- |
123 | 126 | # Define a conditional. |
124 | 127 | AC_DEFUN([AM_CONDITIONAL], |
125 | [AC_PREREQ(2.52)dnl | |
126 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
127 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
128 | [AC_PREREQ([2.52])dnl | |
129 | m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], | |
130 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | |
128 | 131 | AC_SUBST([$1_TRUE])dnl |
129 | 132 | AC_SUBST([$1_FALSE])dnl |
130 | 133 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
143 | 146 | Usually this means the macro was only invoked conditionally.]]) |
144 | 147 | fi])]) |
145 | 148 | |
146 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
147 | # Free Software Foundation, Inc. | |
148 | # | |
149 | # This file is free software; the Free Software Foundation | |
150 | # gives unlimited permission to copy and/or distribute it, | |
151 | # with or without modifications, as long as this notice is preserved. | |
152 | ||
153 | # serial 10 | |
154 | ||
155 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | |
149 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
150 | # | |
151 | # This file is free software; the Free Software Foundation | |
152 | # gives unlimited permission to copy and/or distribute it, | |
153 | # with or without modifications, as long as this notice is preserved. | |
154 | ||
155 | # serial 17 | |
156 | ||
157 | # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | |
156 | 158 | # written in clear, in which case automake, when reading aclocal.m4, |
157 | 159 | # will think it sees a *use*, and therefore will trigger all it's |
158 | 160 | # C support machinery. Also note that it means that autoscan, seeing |
162 | 164 | # _AM_DEPENDENCIES(NAME) |
163 | 165 | # ---------------------- |
164 | 166 | # See how the compiler implements dependency checking. |
165 | # NAME is "CC", "CXX", "GCJ", or "OBJC". | |
167 | # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | |
166 | 168 | # We try a few techniques and use that to set a single cache variable. |
167 | 169 | # |
168 | 170 | # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
175 | 177 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
176 | 178 | AC_REQUIRE([AM_DEP_TRACK])dnl |
177 | 179 | |
178 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], | |
179 | [$1], CXX, [depcc="$CXX" am_compiler_list=], | |
180 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
181 | [$1], UPC, [depcc="$UPC" am_compiler_list=], | |
182 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
183 | [depcc="$$1" am_compiler_list=]) | |
180 | m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], | |
181 | [$1], [CXX], [depcc="$CXX" am_compiler_list=], | |
182 | [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | |
183 | [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | |
184 | [$1], [UPC], [depcc="$UPC" am_compiler_list=], | |
185 | [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], | |
186 | [depcc="$$1" am_compiler_list=]) | |
184 | 187 | |
185 | 188 | AC_CACHE_CHECK([dependency style of $depcc], |
186 | 189 | [am_cv_$1_dependencies_compiler_type], |
188 | 191 | # We make a subdir and do the tests there. Otherwise we can end up |
189 | 192 | # making bogus files that we don't know about and never remove. For |
190 | 193 | # instance it was reported that on HP-UX the gcc test will end up |
191 | # making a dummy file named `D' -- because `-MD' means `put the output | |
192 | # in D'. | |
194 | # making a dummy file named 'D' -- because '-MD' means "put the output | |
195 | # in D". | |
196 | rm -rf conftest.dir | |
193 | 197 | mkdir conftest.dir |
194 | 198 | # Copy depcomp to subdir because otherwise we won't find it if we're |
195 | 199 | # using a relative directory. |
228 | 232 | : > sub/conftest.c |
229 | 233 | for i in 1 2 3 4 5 6; do |
230 | 234 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
231 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
232 | # Solaris 8's {/usr,}/bin/sh. | |
233 | touch sub/conftst$i.h | |
235 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
236 | # Solaris 10 /bin/sh. | |
237 | echo '/* dummy */' > sub/conftst$i.h | |
234 | 238 | done |
235 | 239 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
236 | 240 | |
237 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
241 | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
238 | 242 | # mode. It turns out that the SunPro C++ compiler does not properly |
239 | # handle `-M -o', and we need to detect this. Also, some Intel | |
240 | # versions had trouble with output in subdirs | |
243 | # handle '-M -o', and we need to detect this. Also, some Intel | |
244 | # versions had trouble with output in subdirs. | |
241 | 245 | am__obj=sub/conftest.${OBJEXT-o} |
242 | 246 | am__minus_obj="-o $am__obj" |
243 | 247 | case $depmode in |
246 | 250 | test "$am__universal" = false || continue |
247 | 251 | ;; |
248 | 252 | nosideeffect) |
249 | # after this tag, mechanisms are not by side-effect, so they'll | |
250 | # only be used when explicitly requested | |
253 | # After this tag, mechanisms are not by side-effect, so they'll | |
254 | # only be used when explicitly requested. | |
251 | 255 | if test "x$enable_dependency_tracking" = xyes; then |
252 | 256 | continue |
253 | 257 | else |
254 | 258 | break |
255 | 259 | fi |
256 | 260 | ;; |
257 | msvisualcpp | msvcmsys) | |
258 | # This compiler won't grok `-c -o', but also, the minuso test has | |
261 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
262 | # This compiler won't grok '-c -o', but also, the minuso test has | |
259 | 263 | # not run yet. These depmodes are late enough in the game, and |
260 | 264 | # so weak that their functioning should not be impacted. |
261 | 265 | am__obj=conftest.${OBJEXT-o} |
303 | 307 | # AM_SET_DEPDIR |
304 | 308 | # ------------- |
305 | 309 | # Choose a directory name for dependency files. |
306 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES | |
310 | # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | |
307 | 311 | AC_DEFUN([AM_SET_DEPDIR], |
308 | 312 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
309 | 313 | AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
313 | 317 | # AM_DEP_TRACK |
314 | 318 | # ------------ |
315 | 319 | AC_DEFUN([AM_DEP_TRACK], |
316 | [AC_ARG_ENABLE(dependency-tracking, | |
317 | [ --disable-dependency-tracking speeds up one-time build | |
318 | --enable-dependency-tracking do not reject slow dependency extractors]) | |
320 | [AC_ARG_ENABLE([dependency-tracking], [dnl | |
321 | AS_HELP_STRING( | |
322 | [--enable-dependency-tracking], | |
323 | [do not reject slow dependency extractors]) | |
324 | AS_HELP_STRING( | |
325 | [--disable-dependency-tracking], | |
326 | [speeds up one-time build])]) | |
319 | 327 | if test "x$enable_dependency_tracking" != xno; then |
320 | 328 | am_depcomp="$ac_aux_dir/depcomp" |
321 | 329 | AMDEPBACKSLASH='\' |
330 | am__nodep='_no' | |
322 | 331 | fi |
323 | 332 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
324 | 333 | AC_SUBST([AMDEPBACKSLASH])dnl |
325 | 334 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
335 | AC_SUBST([am__nodep])dnl | |
336 | _AM_SUBST_NOTMAKE([am__nodep])dnl | |
326 | 337 | ]) |
327 | 338 | |
328 | 339 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
329 | 340 | |
330 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
331 | # Free Software Foundation, Inc. | |
332 | # | |
333 | # This file is free software; the Free Software Foundation | |
334 | # gives unlimited permission to copy and/or distribute it, | |
335 | # with or without modifications, as long as this notice is preserved. | |
336 | ||
337 | #serial 5 | |
341 | # Copyright (C) 1999-2012 Free Software Foundation, Inc. | |
342 | # | |
343 | # This file is free software; the Free Software Foundation | |
344 | # gives unlimited permission to copy and/or distribute it, | |
345 | # with or without modifications, as long as this notice is preserved. | |
346 | ||
347 | # serial 6 | |
338 | 348 | |
339 | 349 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
340 | 350 | # ------------------------------ |
353 | 363 | # Strip MF so we end up with the name of the file. |
354 | 364 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
355 | 365 | # Check whether this is an Automake generated Makefile or not. |
356 | # We used to match only the files named `Makefile.in', but | |
366 | # We used to match only the files named 'Makefile.in', but | |
357 | 367 | # some people rename them; so instead we look at the file content. |
358 | 368 | # Grep'ing the first line is not enough: some people post-process |
359 | 369 | # each Makefile.in and add a new line on top of each file to say so. |
365 | 375 | continue |
366 | 376 | fi |
367 | 377 | # Extract the definition of DEPDIR, am__include, and am__quote |
368 | # from the Makefile without running `make'. | |
378 | # from the Makefile without running 'make'. | |
369 | 379 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
370 | 380 | test -z "$DEPDIR" && continue |
371 | 381 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
372 | 382 | test -z "am__include" && continue |
373 | 383 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
374 | # When using ansi2knr, U may be empty or an underscore; expand it | |
375 | U=`sed -n 's/^U = //p' < "$mf"` | |
376 | 384 | # Find all dependency output files, they are included files with |
377 | 385 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
378 | 386 | # simplest approach to changing $(DEPDIR) to its actual value in the |
379 | 387 | # expansion. |
380 | 388 | for file in `sed -n " |
381 | 389 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
390 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
383 | 391 | # Make sure the directory exists. |
384 | 392 | test -f "$dirpart/$file" && continue |
385 | 393 | fdir=`AS_DIRNAME(["$file"])` |
397 | 405 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 406 | # |
399 | 407 | # This code is only required when automatic dependency tracking |
400 | # is enabled. FIXME. This creates each `.P' file that we will | |
408 | # is enabled. FIXME. This creates each '.P' file that we will | |
401 | 409 | # need in order to bootstrap the dependency handling code. |
402 | 410 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 411 | [AC_CONFIG_COMMANDS([depfiles], |
407 | 415 | |
408 | 416 | # Do all the work for Automake. -*- Autoconf -*- |
409 | 417 | |
410 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | |
411 | # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. | |
412 | # | |
413 | # This file is free software; the Free Software Foundation | |
414 | # gives unlimited permission to copy and/or distribute it, | |
415 | # with or without modifications, as long as this notice is preserved. | |
416 | ||
417 | # serial 16 | |
418 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
419 | # | |
420 | # This file is free software; the Free Software Foundation | |
421 | # gives unlimited permission to copy and/or distribute it, | |
422 | # with or without modifications, as long as this notice is preserved. | |
423 | ||
424 | # serial 19 | |
418 | 425 | |
419 | 426 | # This macro actually does too much. Some checks are only needed if |
420 | 427 | # your package does certain things. But this isn't really a big deal. |
460 | 467 | # Define the identity of the package. |
461 | 468 | dnl Distinguish between old-style and new-style calls. |
462 | 469 | m4_ifval([$2], |
463 | [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
470 | [AC_DIAGNOSE([obsolete], | |
471 | [$0: two- and three-arguments forms are deprecated. For more info, see: | |
472 | http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) | |
473 | m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | |
464 | 474 | AC_SUBST([PACKAGE], [$1])dnl |
465 | 475 | AC_SUBST([VERSION], [$2])], |
466 | 476 | [_AM_SET_OPTIONS([$1])dnl |
467 | 477 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
468 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, | |
478 | m4_if( | |
479 | m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | |
480 | [ok:ok],, | |
469 | 481 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
470 | 482 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
471 | 483 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
472 | 484 | |
473 | 485 | _AM_IF_OPTION([no-define],, |
474 | [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) | |
475 | AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl | |
486 | [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | |
487 | AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | |
476 | 488 | |
477 | 489 | # Some tools Automake needs. |
478 | 490 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
479 | 491 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
480 | AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) | |
481 | AM_MISSING_PROG(AUTOCONF, autoconf) | |
482 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | |
483 | AM_MISSING_PROG(AUTOHEADER, autoheader) | |
484 | AM_MISSING_PROG(MAKEINFO, makeinfo) | |
492 | AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | |
493 | AM_MISSING_PROG([AUTOCONF], [autoconf]) | |
494 | AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | |
495 | AM_MISSING_PROG([AUTOHEADER], [autoheader]) | |
496 | AM_MISSING_PROG([MAKEINFO], [makeinfo]) | |
485 | 497 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
486 | 498 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
487 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |
499 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
500 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
488 | 501 | # We need awk for the "check" target. The system "awk" is bad on |
489 | 502 | # some platforms. |
490 | 503 | AC_REQUIRE([AC_PROG_AWK])dnl |
495 | 508 | [_AM_PROG_TAR([v7])])]) |
496 | 509 | _AM_IF_OPTION([no-dependencies],, |
497 | 510 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
498 | [_AM_DEPENDENCIES(CC)], | |
499 | [define([AC_PROG_CC], | |
500 | defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl | |
511 | [_AM_DEPENDENCIES([CC])], | |
512 | [m4_define([AC_PROG_CC], | |
513 | m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | |
501 | 514 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
502 | [_AM_DEPENDENCIES(CXX)], | |
503 | [define([AC_PROG_CXX], | |
504 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl | |
515 | [_AM_DEPENDENCIES([CXX])], | |
516 | [m4_define([AC_PROG_CXX], | |
517 | m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl | |
505 | 518 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
506 | [_AM_DEPENDENCIES(OBJC)], | |
507 | [define([AC_PROG_OBJC], | |
508 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl | |
519 | [_AM_DEPENDENCIES([OBJC])], | |
520 | [m4_define([AC_PROG_OBJC], | |
521 | m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl | |
522 | dnl Support for Objective C++ was only introduced in Autoconf 2.65, | |
523 | dnl but we still cater to Autoconf 2.62. | |
524 | m4_ifdef([AC_PROG_OBJCXX], | |
525 | [AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | |
526 | [_AM_DEPENDENCIES([OBJCXX])], | |
527 | [m4_define([AC_PROG_OBJCXX], | |
528 | m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl | |
509 | 529 | ]) |
510 | 530 | _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
511 | dnl The `parallel-tests' driver may need to know about EXEEXT, so add the | |
512 | dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
531 | dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the | |
532 | dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro | |
513 | 533 | dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
514 | 534 | AC_CONFIG_COMMANDS_PRE(dnl |
515 | 535 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
516 | 536 | [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
517 | 537 | ]) |
518 | 538 | |
519 | dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
539 | dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | |
520 | 540 | dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
521 | 541 | dnl mangled by Autoconf and run in a shell conditional statement. |
522 | 542 | m4_define([_AC_COMPILER_EXEEXT], |
544 | 564 | done |
545 | 565 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
546 | 566 | |
547 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
548 | # | |
549 | # This file is free software; the Free Software Foundation | |
550 | # gives unlimited permission to copy and/or distribute it, | |
551 | # with or without modifications, as long as this notice is preserved. | |
567 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
568 | # | |
569 | # This file is free software; the Free Software Foundation | |
570 | # gives unlimited permission to copy and/or distribute it, | |
571 | # with or without modifications, as long as this notice is preserved. | |
572 | ||
573 | # serial 8 | |
552 | 574 | |
553 | 575 | # AM_PROG_INSTALL_SH |
554 | 576 | # ------------------ |
563 | 585 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
564 | 586 | esac |
565 | 587 | fi |
566 | AC_SUBST(install_sh)]) | |
567 | ||
568 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. | |
588 | AC_SUBST([install_sh])]) | |
589 | ||
590 | # Copyright (C) 2003-2012 Free Software Foundation, Inc. | |
569 | 591 | # |
570 | 592 | # This file is free software; the Free Software Foundation |
571 | 593 | # gives unlimited permission to copy and/or distribute it, |
589 | 611 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
590 | 612 | # From Jim Meyering |
591 | 613 | |
592 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 | |
593 | # Free Software Foundation, Inc. | |
594 | # | |
595 | # This file is free software; the Free Software Foundation | |
596 | # gives unlimited permission to copy and/or distribute it, | |
597 | # with or without modifications, as long as this notice is preserved. | |
598 | ||
599 | # serial 5 | |
614 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
615 | # | |
616 | # This file is free software; the Free Software Foundation | |
617 | # gives unlimited permission to copy and/or distribute it, | |
618 | # with or without modifications, as long as this notice is preserved. | |
619 | ||
620 | # serial 7 | |
600 | 621 | |
601 | 622 | # AM_MAINTAINER_MODE([DEFAULT-MODE]) |
602 | 623 | # ---------------------------------- |
603 | 624 | # Control maintainer-specific portions of Makefiles. |
604 | # Default is to disable them, unless `enable' is passed literally. | |
605 | # For symmetry, `disable' may be passed as well. Anyway, the user | |
625 | # Default is to disable them, unless 'enable' is passed literally. | |
626 | # For symmetry, 'disable' may be passed as well. Anyway, the user | |
606 | 627 | # can override the default with the --enable/--disable switch. |
607 | 628 | AC_DEFUN([AM_MAINTAINER_MODE], |
608 | 629 | [m4_case(m4_default([$1], [disable]), |
610 | 631 | [disable], [m4_define([am_maintainer_other], [enable])], |
611 | 632 | [m4_define([am_maintainer_other], [enable]) |
612 | 633 | m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
613 | AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) | |
634 | AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | |
614 | 635 | dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
615 | 636 | AC_ARG_ENABLE([maintainer-mode], |
616 | [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful | |
617 | (and sometimes confusing) to the casual installer], | |
618 | [USE_MAINTAINER_MODE=$enableval], | |
619 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
637 | [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], | |
638 | am_maintainer_other[ make rules and dependencies not useful | |
639 | (and sometimes confusing) to the casual installer])], | |
640 | [USE_MAINTAINER_MODE=$enableval], | |
641 | [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) | |
620 | 642 | AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
621 | 643 | AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
622 | 644 | MAINT=$MAINTAINER_MODE_TRUE |
628 | 650 | |
629 | 651 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
630 | 652 | |
631 | # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. | |
632 | # | |
633 | # This file is free software; the Free Software Foundation | |
634 | # gives unlimited permission to copy and/or distribute it, | |
635 | # with or without modifications, as long as this notice is preserved. | |
636 | ||
637 | # serial 4 | |
653 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
654 | # | |
655 | # This file is free software; the Free Software Foundation | |
656 | # gives unlimited permission to copy and/or distribute it, | |
657 | # with or without modifications, as long as this notice is preserved. | |
658 | ||
659 | # serial 5 | |
638 | 660 | |
639 | 661 | # AM_MAKE_INCLUDE() |
640 | 662 | # ----------------- |
653 | 675 | _am_result=none |
654 | 676 | # First try GNU make style include. |
655 | 677 | echo "include confinc" > confmf |
656 | # Ignore all kinds of additional output from `make'. | |
678 | # Ignore all kinds of additional output from 'make'. | |
657 | 679 | case `$am_make -s -f confmf 2> /dev/null` in #( |
658 | 680 | *the\ am__doit\ target*) |
659 | 681 | am__include=include |
680 | 702 | |
681 | 703 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
682 | 704 | |
683 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 | |
684 | # Free Software Foundation, Inc. | |
685 | # | |
686 | # This file is free software; the Free Software Foundation | |
687 | # gives unlimited permission to copy and/or distribute it, | |
688 | # with or without modifications, as long as this notice is preserved. | |
689 | ||
690 | # serial 6 | |
705 | # Copyright (C) 1997-2012 Free Software Foundation, Inc. | |
706 | # | |
707 | # This file is free software; the Free Software Foundation | |
708 | # gives unlimited permission to copy and/or distribute it, | |
709 | # with or without modifications, as long as this notice is preserved. | |
710 | ||
711 | # serial 7 | |
691 | 712 | |
692 | 713 | # AM_MISSING_PROG(NAME, PROGRAM) |
693 | 714 | # ------------------------------ |
717 | 738 | am_missing_run="$MISSING --run " |
718 | 739 | else |
719 | 740 | am_missing_run= |
720 | AC_MSG_WARN([`missing' script is too old or missing]) | |
721 | fi | |
722 | ]) | |
723 | ||
724 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
725 | # | |
726 | # This file is free software; the Free Software Foundation | |
727 | # gives unlimited permission to copy and/or distribute it, | |
728 | # with or without modifications, as long as this notice is preserved. | |
729 | ||
730 | # AM_PROG_MKDIR_P | |
731 | # --------------- | |
732 | # Check for `mkdir -p'. | |
733 | AC_DEFUN([AM_PROG_MKDIR_P], | |
734 | [AC_PREREQ([2.60])dnl | |
735 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl | |
736 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, | |
737 | dnl while keeping a definition of mkdir_p for backward compatibility. | |
738 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. | |
739 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of | |
740 | dnl Makefile.ins that do not define MKDIR_P, so we do our own | |
741 | dnl adjustment using top_builddir (which is defined more often than | |
742 | dnl MKDIR_P). | |
743 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl | |
744 | case $mkdir_p in | |
745 | [[\\/$]]* | ?:[[\\/]]*) ;; | |
746 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
747 | esac | |
741 | AC_MSG_WARN(['missing' script is too old or missing]) | |
742 | fi | |
748 | 743 | ]) |
749 | 744 | |
750 | 745 | # Helper functions for option handling. -*- Autoconf -*- |
751 | 746 | |
752 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
753 | # | |
754 | # This file is free software; the Free Software Foundation | |
755 | # gives unlimited permission to copy and/or distribute it, | |
756 | # with or without modifications, as long as this notice is preserved. | |
757 | ||
758 | # serial 4 | |
747 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
748 | # | |
749 | # This file is free software; the Free Software Foundation | |
750 | # gives unlimited permission to copy and/or distribute it, | |
751 | # with or without modifications, as long as this notice is preserved. | |
752 | ||
753 | # serial 6 | |
759 | 754 | |
760 | 755 | # _AM_MANGLE_OPTION(NAME) |
761 | 756 | # ----------------------- |
763 | 758 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
764 | 759 | |
765 | 760 | # _AM_SET_OPTION(NAME) |
766 | # ------------------------------ | |
761 | # -------------------- | |
767 | 762 | # Set option NAME. Presently that only means defining a flag for this option. |
768 | 763 | AC_DEFUN([_AM_SET_OPTION], |
769 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) | |
764 | [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | |
770 | 765 | |
771 | 766 | # _AM_SET_OPTIONS(OPTIONS) |
772 | # ---------------------------------- | |
767 | # ------------------------ | |
773 | 768 | # OPTIONS is a space-separated list of Automake options. |
774 | 769 | AC_DEFUN([_AM_SET_OPTIONS], |
775 | 770 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
782 | 777 | |
783 | 778 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
784 | 779 | |
785 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 | |
786 | # Free Software Foundation, Inc. | |
787 | # | |
788 | # This file is free software; the Free Software Foundation | |
789 | # gives unlimited permission to copy and/or distribute it, | |
790 | # with or without modifications, as long as this notice is preserved. | |
791 | ||
792 | # serial 5 | |
780 | # Copyright (C) 1996-2012 Free Software Foundation, Inc. | |
781 | # | |
782 | # This file is free software; the Free Software Foundation | |
783 | # gives unlimited permission to copy and/or distribute it, | |
784 | # with or without modifications, as long as this notice is preserved. | |
785 | ||
786 | # serial 9 | |
793 | 787 | |
794 | 788 | # AM_SANITY_CHECK |
795 | 789 | # --------------- |
796 | 790 | AC_DEFUN([AM_SANITY_CHECK], |
797 | 791 | [AC_MSG_CHECKING([whether build environment is sane]) |
798 | # Just in case | |
799 | sleep 1 | |
800 | echo timestamp > conftest.file | |
801 | 792 | # Reject unsafe characters in $srcdir or the absolute working directory |
802 | 793 | # name. Accept space and tab only in the latter. |
803 | 794 | am_lf=' |
808 | 799 | esac |
809 | 800 | case $srcdir in |
810 | 801 | *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
811 | AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; | |
802 | AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | |
812 | 803 | esac |
813 | 804 | |
814 | # Do `set' in a subshell so we don't clobber the current shell's | |
805 | # Do 'set' in a subshell so we don't clobber the current shell's | |
815 | 806 | # arguments. Must try -L first in case configure is actually a |
816 | 807 | # symlink; some systems play weird games with the mod time of symlinks |
817 | 808 | # (eg FreeBSD returns the mod time of the symlink's containing |
818 | 809 | # directory). |
819 | 810 | if ( |
820 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
821 | if test "$[*]" = "X"; then | |
822 | # -L didn't work. | |
823 | set X `ls -t "$srcdir/configure" conftest.file` | |
824 | fi | |
825 | rm -f conftest.file | |
826 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
827 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
828 | ||
829 | # If neither matched, then we have a broken ls. This can happen | |
830 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
831 | # broken ls alias from the environment. This has actually | |
832 | # happened. Such a system could not be considered "sane". | |
833 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
834 | alias in your environment]) | |
835 | fi | |
836 | ||
811 | am_has_slept=no | |
812 | for am_try in 1 2; do | |
813 | echo "timestamp, slept: $am_has_slept" > conftest.file | |
814 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
815 | if test "$[*]" = "X"; then | |
816 | # -L didn't work. | |
817 | set X `ls -t "$srcdir/configure" conftest.file` | |
818 | fi | |
819 | if test "$[*]" != "X $srcdir/configure conftest.file" \ | |
820 | && test "$[*]" != "X conftest.file $srcdir/configure"; then | |
821 | ||
822 | # If neither matched, then we have a broken ls. This can happen | |
823 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
824 | # broken ls alias from the environment. This has actually | |
825 | # happened. Such a system could not be considered "sane". | |
826 | AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken | |
827 | alias in your environment]) | |
828 | fi | |
829 | if test "$[2]" = conftest.file || test $am_try -eq 2; then | |
830 | break | |
831 | fi | |
832 | # Just in case. | |
833 | sleep 1 | |
834 | am_has_slept=yes | |
835 | done | |
837 | 836 | test "$[2]" = conftest.file |
838 | 837 | ) |
839 | 838 | then |
843 | 842 | AC_MSG_ERROR([newly created file is older than distributed files! |
844 | 843 | Check your system clock]) |
845 | 844 | fi |
846 | AC_MSG_RESULT(yes)]) | |
847 | ||
848 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
849 | # | |
850 | # This file is free software; the Free Software Foundation | |
851 | # gives unlimited permission to copy and/or distribute it, | |
852 | # with or without modifications, as long as this notice is preserved. | |
845 | AC_MSG_RESULT([yes]) | |
846 | # If we didn't sleep, we still need to ensure time stamps of config.status and | |
847 | # generated files are strictly newer. | |
848 | am_sleep_pid= | |
849 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
850 | ( sleep 1 ) & | |
851 | am_sleep_pid=$! | |
852 | fi | |
853 | AC_CONFIG_COMMANDS_PRE( | |
854 | [AC_MSG_CHECKING([that generated files are newer than configure]) | |
855 | if test -n "$am_sleep_pid"; then | |
856 | # Hide warnings about reused PIDs. | |
857 | wait $am_sleep_pid 2>/dev/null | |
858 | fi | |
859 | AC_MSG_RESULT([done])]) | |
860 | rm -f conftest.file | |
861 | ]) | |
862 | ||
863 | # Copyright (C) 2001-2012 Free Software Foundation, Inc. | |
864 | # | |
865 | # This file is free software; the Free Software Foundation | |
866 | # gives unlimited permission to copy and/or distribute it, | |
867 | # with or without modifications, as long as this notice is preserved. | |
868 | ||
869 | # serial 2 | |
853 | 870 | |
854 | 871 | # AM_PROG_INSTALL_STRIP |
855 | 872 | # --------------------- |
856 | # One issue with vendor `install' (even GNU) is that you can't | |
873 | # One issue with vendor 'install' (even GNU) is that you can't | |
857 | 874 | # specify the program used to strip binaries. This is especially |
858 | 875 | # annoying in cross-compiling environments, where the build's strip |
859 | 876 | # is unlikely to handle the host's binaries. |
860 | 877 | # Fortunately install-sh will honor a STRIPPROG variable, so we |
861 | # always use install-sh in `make install-strip', and initialize | |
878 | # always use install-sh in "make install-strip", and initialize | |
862 | 879 | # STRIPPROG with the value of the STRIP variable (set by the user). |
863 | 880 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
864 | 881 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
865 | # Installed binaries are usually stripped using `strip' when the user | |
866 | # run `make install-strip'. However `strip' might not be the right | |
882 | # Installed binaries are usually stripped using 'strip' when the user | |
883 | # run "make install-strip". However 'strip' might not be the right | |
867 | 884 | # tool to use in cross-compilation environments, therefore Automake |
868 | # will honor the `STRIP' environment variable to overrule this program. | |
869 | dnl Don't test for $cross_compiling = yes, because it might be `maybe'. | |
885 | # will honor the 'STRIP' environment variable to overrule this program. | |
886 | dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | |
870 | 887 | if test "$cross_compiling" != no; then |
871 | 888 | AC_CHECK_TOOL([STRIP], [strip], :) |
872 | 889 | fi |
873 | 890 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
874 | 891 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
875 | 892 | |
876 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
877 | # | |
878 | # This file is free software; the Free Software Foundation | |
879 | # gives unlimited permission to copy and/or distribute it, | |
880 | # with or without modifications, as long as this notice is preserved. | |
881 | ||
882 | # serial 2 | |
893 | # Copyright (C) 2006-2012 Free Software Foundation, Inc. | |
894 | # | |
895 | # This file is free software; the Free Software Foundation | |
896 | # gives unlimited permission to copy and/or distribute it, | |
897 | # with or without modifications, as long as this notice is preserved. | |
898 | ||
899 | # serial 3 | |
883 | 900 | |
884 | 901 | # _AM_SUBST_NOTMAKE(VARIABLE) |
885 | 902 | # --------------------------- |
888 | 905 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
889 | 906 | |
890 | 907 | # AM_SUBST_NOTMAKE(VARIABLE) |
891 | # --------------------------- | |
908 | # -------------------------- | |
892 | 909 | # Public sister of _AM_SUBST_NOTMAKE. |
893 | 910 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
894 | 911 | |
895 | 912 | # Check how to create a tarball. -*- Autoconf -*- |
896 | 913 | |
897 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
898 | # | |
899 | # This file is free software; the Free Software Foundation | |
900 | # gives unlimited permission to copy and/or distribute it, | |
901 | # with or without modifications, as long as this notice is preserved. | |
902 | ||
903 | # serial 2 | |
914 | # Copyright (C) 2004-2012 Free Software Foundation, Inc. | |
915 | # | |
916 | # This file is free software; the Free Software Foundation | |
917 | # gives unlimited permission to copy and/or distribute it, | |
918 | # with or without modifications, as long as this notice is preserved. | |
919 | ||
920 | # serial 3 | |
904 | 921 | |
905 | 922 | # _AM_PROG_TAR(FORMAT) |
906 | 923 | # -------------------- |
907 | 924 | # Check how to create a tarball in format FORMAT. |
908 | # FORMAT should be one of `v7', `ustar', or `pax'. | |
925 | # FORMAT should be one of 'v7', 'ustar', or 'pax'. | |
909 | 926 | # |
910 | 927 | # Substitute a variable $(am__tar) that is a command |
911 | 928 | # writing to stdout a FORMAT-tarball containing the directory |
916 | 933 | # a tarball read from stdin. |
917 | 934 | # $(am__untar) < result.tar |
918 | 935 | AC_DEFUN([_AM_PROG_TAR], |
919 | [# Always define AMTAR for backward compatibility. | |
920 | AM_MISSING_PROG([AMTAR], [tar]) | |
936 | [# Always define AMTAR for backward compatibility. Yes, it's still used | |
937 | # in the wild :-( We should find a proper way to deprecate it ... | |
938 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | |
921 | 939 | m4_if([$1], [v7], |
922 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
940 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
923 | 941 | [m4_case([$1], [ustar],, [pax],, |
924 | 942 | [m4_fatal([Unknown tar format])]) |
925 | 943 | AC_MSG_CHECKING([how to create a $1 tar archive]) |
927 | 945 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
928 | 946 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
929 | 947 | # Do not fold the above two line into one, because Tru64 sh and |
930 | # Solaris sh will not grok spaces in the rhs of `-'. | |
948 | # Solaris sh will not grok spaces in the rhs of '-'. | |
931 | 949 | for _am_tool in $_am_tools |
932 | 950 | do |
933 | 951 | case $_am_tool in |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ Guess values for system-dependent variables and create Makefiles. |
2 | @%:@ Generated by GNU Autoconf 2.63 for unrtf 0.21.2. | |
2 | @%:@ Generated by GNU Autoconf 2.69 for unrtf 0.21.3. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <bug-unrtf@gnu.org>. |
5 | 5 | @%:@ |
6 | @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
7 | @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
6 | @%:@ | |
7 | @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
8 | @%:@ | |
9 | @%:@ | |
8 | 10 | @%:@ This configure script is free software; the Free Software Foundation |
9 | 11 | @%:@ gives unlimited permission to copy, distribute and modify it. |
10 | ## --------------------- ## | |
11 | ## M4sh Initialization. ## | |
12 | ## --------------------- ## | |
12 | ## -------------------- ## | |
13 | ## M4sh Initialization. ## | |
14 | ## -------------------- ## | |
13 | 15 | |
14 | 16 | # Be more Bourne compatible |
15 | 17 | DUALCASE=1; export DUALCASE # for MKS sh |
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
18 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
17 | 19 | emulate sh |
18 | 20 | NULLCMD=: |
19 | 21 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 | 23 | alias -g '${1+"$@"}'='"$@"' |
22 | 24 | setopt NO_GLOB_SUBST |
23 | 25 | else |
24 | case `(set -o) 2>/dev/null` in | |
25 | *posix*) set -o posix ;; | |
26 | case `(set -o) 2>/dev/null` in @%:@( | |
27 | *posix*) : | |
28 | set -o posix ;; @%:@( | |
29 | *) : | |
30 | ;; | |
26 | 31 | esac |
27 | ||
28 | fi | |
29 | ||
30 | ||
31 | ||
32 | ||
33 | # PATH needs CR | |
34 | # Avoid depending upon Character Ranges. | |
35 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
36 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
37 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
38 | as_cr_digits='0123456789' | |
39 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
32 | fi | |
33 | ||
40 | 34 | |
41 | 35 | as_nl=' |
42 | 36 | ' |
45 | 39 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
46 | 40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
47 | 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
48 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
42 | # Prefer a ksh shell builtin over an external printf program on Solaris, | |
43 | # but without wasting forks for bash or zsh. | |
44 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
45 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
46 | as_echo='print -r --' | |
47 | as_echo_n='print -rn --' | |
48 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
49 | 49 | as_echo='printf %s\n' |
50 | 50 | as_echo_n='printf %s' |
51 | 51 | else |
56 | 56 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
57 | 57 | as_echo_n_body='eval |
58 | 58 | arg=$1; |
59 | case $arg in | |
59 | case $arg in @%:@( | |
60 | 60 | *"$as_nl"*) |
61 | 61 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
62 | 62 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
79 | 79 | } |
80 | 80 | fi |
81 | 81 | |
82 | # Support unset when possible. | |
83 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
84 | as_unset=unset | |
85 | else | |
86 | as_unset=false | |
87 | fi | |
88 | ||
89 | 82 | |
90 | 83 | # IFS |
91 | 84 | # We need space, tab and new line, in precisely that order. Quoting is |
95 | 88 | IFS=" "" $as_nl" |
96 | 89 | |
97 | 90 | # Find who we are. Look in the path if we contain no directory separator. |
98 | case $0 in | |
91 | as_myself= | |
92 | case $0 in @%:@(( | |
99 | 93 | *[\\/]* ) as_myself=$0 ;; |
100 | 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
101 | 95 | for as_dir in $PATH |
102 | 96 | do |
103 | 97 | IFS=$as_save_IFS |
104 | 98 | test -z "$as_dir" && as_dir=. |
105 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
106 | done | |
99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
100 | done | |
107 | 101 | IFS=$as_save_IFS |
108 | 102 | |
109 | 103 | ;; |
115 | 109 | fi |
116 | 110 | if test ! -f "$as_myself"; then |
117 | 111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
118 | { (exit 1); exit 1; } | |
119 | fi | |
120 | ||
121 | # Work around bugs in pre-3.0 UWIN ksh. | |
122 | for as_var in ENV MAIL MAILPATH | |
123 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
112 | exit 1 | |
113 | fi | |
114 | ||
115 | # Unset variables that we do not need and which cause bugs (e.g. in | |
116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
117 | # suppresses any "Segmentation fault" message there. '((' could | |
118 | # trigger a bug in pdksh 5.2.14. | |
119 | for as_var in BASH_ENV ENV MAIL MAILPATH | |
120 | do eval test x\${$as_var+set} = xset \ | |
121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
124 | 122 | done |
125 | 123 | PS1='$ ' |
126 | 124 | PS2='> ' |
132 | 130 | LANGUAGE=C |
133 | 131 | export LANGUAGE |
134 | 132 | |
135 | # Required to use basename. | |
133 | # CDPATH. | |
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
135 | ||
136 | # Use a proper internal environment variable to ensure we don't fall | |
137 | # into an infinite loop, continuously re-executing ourselves. | |
138 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
139 | _as_can_reexec=no; export _as_can_reexec; | |
140 | # We cannot yet assume a decent shell, so we have to provide a | |
141 | # neutralization value for shells without unset; and this also | |
142 | # works around shells that cannot unset nonexistent variables. | |
143 | # Preserve -v and -x to the replacement shell. | |
144 | BASH_ENV=/dev/null | |
145 | ENV=/dev/null | |
146 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
147 | case $- in @%:@ (((( | |
148 | *v*x* | *x*v* ) as_opts=-vx ;; | |
149 | *v* ) as_opts=-v ;; | |
150 | *x* ) as_opts=-x ;; | |
151 | * ) as_opts= ;; | |
152 | esac | |
153 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
154 | # Admittedly, this is quite paranoid, since all the known shells bail | |
155 | # out after a failed `exec'. | |
156 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
157 | as_fn_exit 255 | |
158 | fi | |
159 | # We don't want this to propagate to other subprocesses. | |
160 | { _as_can_reexec=; unset _as_can_reexec;} | |
161 | if test "x$CONFIG_SHELL" = x; then | |
162 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
163 | emulate sh | |
164 | NULLCMD=: | |
165 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
166 | # is contrary to our usage. Disable this feature. | |
167 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
168 | setopt NO_GLOB_SUBST | |
169 | else | |
170 | case \`(set -o) 2>/dev/null\` in @%:@( | |
171 | *posix*) : | |
172 | set -o posix ;; @%:@( | |
173 | *) : | |
174 | ;; | |
175 | esac | |
176 | fi | |
177 | " | |
178 | as_required="as_fn_return () { (exit \$1); } | |
179 | as_fn_success () { as_fn_return 0; } | |
180 | as_fn_failure () { as_fn_return 1; } | |
181 | as_fn_ret_success () { return 0; } | |
182 | as_fn_ret_failure () { return 1; } | |
183 | ||
184 | exitcode=0 | |
185 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
186 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
187 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
188 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
189 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
190 | ||
191 | else | |
192 | exitcode=1; echo positional parameters were not saved. | |
193 | fi | |
194 | test x\$exitcode = x0 || exit 1 | |
195 | test -x / || exit 1" | |
196 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
197 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
198 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
199 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
200 | test \$(( 1 + 1 )) = 2 || exit 1" | |
201 | if (eval "$as_required") 2>/dev/null; then : | |
202 | as_have_required=yes | |
203 | else | |
204 | as_have_required=no | |
205 | fi | |
206 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
207 | ||
208 | else | |
209 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
210 | as_found=false | |
211 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
212 | do | |
213 | IFS=$as_save_IFS | |
214 | test -z "$as_dir" && as_dir=. | |
215 | as_found=: | |
216 | case $as_dir in @%:@( | |
217 | /*) | |
218 | for as_base in sh bash ksh sh5; do | |
219 | # Try only shells that exist, to save several forks. | |
220 | as_shell=$as_dir/$as_base | |
221 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
222 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
223 | CONFIG_SHELL=$as_shell as_have_required=yes | |
224 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
225 | break 2 | |
226 | fi | |
227 | fi | |
228 | done;; | |
229 | esac | |
230 | as_found=false | |
231 | done | |
232 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
233 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
234 | CONFIG_SHELL=$SHELL as_have_required=yes | |
235 | fi; } | |
236 | IFS=$as_save_IFS | |
237 | ||
238 | ||
239 | if test "x$CONFIG_SHELL" != x; then : | |
240 | export CONFIG_SHELL | |
241 | # We cannot yet assume a decent shell, so we have to provide a | |
242 | # neutralization value for shells without unset; and this also | |
243 | # works around shells that cannot unset nonexistent variables. | |
244 | # Preserve -v and -x to the replacement shell. | |
245 | BASH_ENV=/dev/null | |
246 | ENV=/dev/null | |
247 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
248 | case $- in @%:@ (((( | |
249 | *v*x* | *x*v* ) as_opts=-vx ;; | |
250 | *v* ) as_opts=-v ;; | |
251 | *x* ) as_opts=-x ;; | |
252 | * ) as_opts= ;; | |
253 | esac | |
254 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
255 | # Admittedly, this is quite paranoid, since all the known shells bail | |
256 | # out after a failed `exec'. | |
257 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
258 | exit 255 | |
259 | fi | |
260 | ||
261 | if test x$as_have_required = xno; then : | |
262 | $as_echo "$0: This script requires a shell more modern than all" | |
263 | $as_echo "$0: the shells that I found on your system." | |
264 | if test x${ZSH_VERSION+set} = xset ; then | |
265 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
266 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
267 | else | |
268 | $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-unrtf@gnu.org | |
269 | $0: about your system, including any error possibly output | |
270 | $0: before this message. Then install a modern shell, or | |
271 | $0: manually run the script under such a shell if you do | |
272 | $0: have one." | |
273 | fi | |
274 | exit 1 | |
275 | fi | |
276 | fi | |
277 | fi | |
278 | SHELL=${CONFIG_SHELL-/bin/sh} | |
279 | export SHELL | |
280 | # Unset more variables known to interfere with behavior of common tools. | |
281 | CLICOLOR_FORCE= GREP_OPTIONS= | |
282 | unset CLICOLOR_FORCE GREP_OPTIONS | |
283 | ||
284 | ## --------------------- ## | |
285 | ## M4sh Shell Functions. ## | |
286 | ## --------------------- ## | |
287 | @%:@ as_fn_unset VAR | |
288 | @%:@ --------------- | |
289 | @%:@ Portably unset VAR. | |
290 | as_fn_unset () | |
291 | { | |
292 | { eval $1=; unset $1;} | |
293 | } | |
294 | as_unset=as_fn_unset | |
295 | ||
296 | @%:@ as_fn_set_status STATUS | |
297 | @%:@ ----------------------- | |
298 | @%:@ Set @S|@? to STATUS, without forking. | |
299 | as_fn_set_status () | |
300 | { | |
301 | return $1 | |
302 | } @%:@ as_fn_set_status | |
303 | ||
304 | @%:@ as_fn_exit STATUS | |
305 | @%:@ ----------------- | |
306 | @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
307 | as_fn_exit () | |
308 | { | |
309 | set +e | |
310 | as_fn_set_status $1 | |
311 | exit $1 | |
312 | } @%:@ as_fn_exit | |
313 | ||
314 | @%:@ as_fn_mkdir_p | |
315 | @%:@ ------------- | |
316 | @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. | |
317 | as_fn_mkdir_p () | |
318 | { | |
319 | ||
320 | case $as_dir in #( | |
321 | -*) as_dir=./$as_dir;; | |
322 | esac | |
323 | test -d "$as_dir" || eval $as_mkdir_p || { | |
324 | as_dirs= | |
325 | while :; do | |
326 | case $as_dir in #( | |
327 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
328 | *) as_qdir=$as_dir;; | |
329 | esac | |
330 | as_dirs="'$as_qdir' $as_dirs" | |
331 | as_dir=`$as_dirname -- "$as_dir" || | |
332 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
333 | X"$as_dir" : 'X\(//\)[^/]' \| \ | |
334 | X"$as_dir" : 'X\(//\)$' \| \ | |
335 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
336 | $as_echo X"$as_dir" | | |
337 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
338 | s//\1/ | |
339 | q | |
340 | } | |
341 | /^X\(\/\/\)[^/].*/{ | |
342 | s//\1/ | |
343 | q | |
344 | } | |
345 | /^X\(\/\/\)$/{ | |
346 | s//\1/ | |
347 | q | |
348 | } | |
349 | /^X\(\/\).*/{ | |
350 | s//\1/ | |
351 | q | |
352 | } | |
353 | s/.*/./; q'` | |
354 | test -d "$as_dir" && break | |
355 | done | |
356 | test -z "$as_dirs" || eval "mkdir $as_dirs" | |
357 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
358 | ||
359 | ||
360 | } @%:@ as_fn_mkdir_p | |
361 | ||
362 | @%:@ as_fn_executable_p FILE | |
363 | @%:@ ----------------------- | |
364 | @%:@ Test if FILE is an executable regular file. | |
365 | as_fn_executable_p () | |
366 | { | |
367 | test -f "$1" && test -x "$1" | |
368 | } @%:@ as_fn_executable_p | |
369 | @%:@ as_fn_append VAR VALUE | |
370 | @%:@ ---------------------- | |
371 | @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take | |
372 | @%:@ advantage of any shell optimizations that allow amortized linear growth over | |
373 | @%:@ repeated appends, instead of the typical quadratic growth present in naive | |
374 | @%:@ implementations. | |
375 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
376 | eval 'as_fn_append () | |
377 | { | |
378 | eval $1+=\$2 | |
379 | }' | |
380 | else | |
381 | as_fn_append () | |
382 | { | |
383 | eval $1=\$$1\$2 | |
384 | } | |
385 | fi # as_fn_append | |
386 | ||
387 | @%:@ as_fn_arith ARG... | |
388 | @%:@ ------------------ | |
389 | @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the | |
390 | @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments | |
391 | @%:@ must be portable across @S|@(()) and expr. | |
392 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
393 | eval 'as_fn_arith () | |
394 | { | |
395 | as_val=$(( $* )) | |
396 | }' | |
397 | else | |
398 | as_fn_arith () | |
399 | { | |
400 | as_val=`expr "$@" || test $? -eq 1` | |
401 | } | |
402 | fi # as_fn_arith | |
403 | ||
404 | ||
405 | @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] | |
406 | @%:@ ---------------------------------------- | |
407 | @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
408 | @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
409 | @%:@ script with STATUS, using 1 if that was 0. | |
410 | as_fn_error () | |
411 | { | |
412 | as_status=$1; test $as_status -eq 0 && as_status=1 | |
413 | if test "$4"; then | |
414 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
415 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
416 | fi | |
417 | $as_echo "$as_me: error: $2" >&2 | |
418 | as_fn_exit $as_status | |
419 | } @%:@ as_fn_error | |
420 | ||
136 | 421 | if expr a : '\(a\)' >/dev/null 2>&1 && |
137 | 422 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
138 | 423 | as_expr=expr |
146 | 431 | as_basename=false |
147 | 432 | fi |
148 | 433 | |
149 | ||
150 | # Name of the executable. | |
434 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
435 | as_dirname=dirname | |
436 | else | |
437 | as_dirname=false | |
438 | fi | |
439 | ||
151 | 440 | as_me=`$as_basename -- "$0" || |
152 | 441 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
153 | 442 | X"$0" : 'X\(//\)$' \| \ |
167 | 456 | } |
168 | 457 | s/.*/./; q'` |
169 | 458 | |
170 | # CDPATH. | |
171 | $as_unset CDPATH | |
172 | ||
173 | ||
174 | if test "x$CONFIG_SHELL" = x; then | |
175 | if (eval ":") 2>/dev/null; then | |
176 | as_have_required=yes | |
177 | else | |
178 | as_have_required=no | |
179 | fi | |
180 | ||
181 | if test $as_have_required = yes && (eval ": | |
182 | (as_func_return () { | |
183 | (exit \$1) | |
184 | } | |
185 | as_func_success () { | |
186 | as_func_return 0 | |
187 | } | |
188 | as_func_failure () { | |
189 | as_func_return 1 | |
190 | } | |
191 | as_func_ret_success () { | |
192 | return 0 | |
193 | } | |
194 | as_func_ret_failure () { | |
195 | return 1 | |
196 | } | |
197 | ||
198 | exitcode=0 | |
199 | if as_func_success; then | |
200 | : | |
201 | else | |
202 | exitcode=1 | |
203 | echo as_func_success failed. | |
204 | fi | |
205 | ||
206 | if as_func_failure; then | |
207 | exitcode=1 | |
208 | echo as_func_failure succeeded. | |
209 | fi | |
210 | ||
211 | if as_func_ret_success; then | |
212 | : | |
213 | else | |
214 | exitcode=1 | |
215 | echo as_func_ret_success failed. | |
216 | fi | |
217 | ||
218 | if as_func_ret_failure; then | |
219 | exitcode=1 | |
220 | echo as_func_ret_failure succeeded. | |
221 | fi | |
222 | ||
223 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
224 | : | |
225 | else | |
226 | exitcode=1 | |
227 | echo positional parameters were not saved. | |
228 | fi | |
229 | ||
230 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
231 | ||
232 | ( | |
233 | as_lineno_1=\$LINENO | |
234 | as_lineno_2=\$LINENO | |
235 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
236 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
237 | ") 2> /dev/null; then | |
238 | : | |
239 | else | |
240 | as_candidate_shells= | |
241 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
242 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
243 | do | |
244 | IFS=$as_save_IFS | |
245 | test -z "$as_dir" && as_dir=. | |
246 | case $as_dir in | |
247 | /*) | |
248 | for as_base in sh bash ksh sh5; do | |
249 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
250 | done;; | |
251 | esac | |
252 | done | |
253 | IFS=$as_save_IFS | |
254 | ||
255 | ||
256 | for as_shell in $as_candidate_shells $SHELL; do | |
257 | # Try only shells that exist, to save several forks. | |
258 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
259 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
260 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
261 | emulate sh | |
262 | NULLCMD=: | |
263 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
264 | # is contrary to our usage. Disable this feature. | |
265 | alias -g '${1+"$@"}'='"$@"' | |
266 | setopt NO_GLOB_SUBST | |
267 | else | |
268 | case `(set -o) 2>/dev/null` in | |
269 | *posix*) set -o posix ;; | |
270 | esac | |
271 | ||
272 | fi | |
273 | ||
274 | ||
275 | : | |
276 | _ASEOF | |
277 | }; then | |
278 | CONFIG_SHELL=$as_shell | |
279 | as_have_required=yes | |
280 | if { "$as_shell" 2> /dev/null <<\_ASEOF | |
281 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
282 | emulate sh | |
283 | NULLCMD=: | |
284 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
285 | # is contrary to our usage. Disable this feature. | |
286 | alias -g '${1+"$@"}'='"$@"' | |
287 | setopt NO_GLOB_SUBST | |
288 | else | |
289 | case `(set -o) 2>/dev/null` in | |
290 | *posix*) set -o posix ;; | |
291 | esac | |
292 | ||
293 | fi | |
294 | ||
295 | ||
296 | : | |
297 | (as_func_return () { | |
298 | (exit $1) | |
299 | } | |
300 | as_func_success () { | |
301 | as_func_return 0 | |
302 | } | |
303 | as_func_failure () { | |
304 | as_func_return 1 | |
305 | } | |
306 | as_func_ret_success () { | |
307 | return 0 | |
308 | } | |
309 | as_func_ret_failure () { | |
310 | return 1 | |
311 | } | |
312 | ||
313 | exitcode=0 | |
314 | if as_func_success; then | |
315 | : | |
316 | else | |
317 | exitcode=1 | |
318 | echo as_func_success failed. | |
319 | fi | |
320 | ||
321 | if as_func_failure; then | |
322 | exitcode=1 | |
323 | echo as_func_failure succeeded. | |
324 | fi | |
325 | ||
326 | if as_func_ret_success; then | |
327 | : | |
328 | else | |
329 | exitcode=1 | |
330 | echo as_func_ret_success failed. | |
331 | fi | |
332 | ||
333 | if as_func_ret_failure; then | |
334 | exitcode=1 | |
335 | echo as_func_ret_failure succeeded. | |
336 | fi | |
337 | ||
338 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
339 | : | |
340 | else | |
341 | exitcode=1 | |
342 | echo positional parameters were not saved. | |
343 | fi | |
344 | ||
345 | test $exitcode = 0) || { (exit 1); exit 1; } | |
346 | ||
347 | ( | |
348 | as_lineno_1=$LINENO | |
349 | as_lineno_2=$LINENO | |
350 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
351 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
352 | ||
353 | _ASEOF | |
354 | }; then | |
355 | break | |
356 | fi | |
357 | ||
358 | fi | |
359 | ||
360 | done | |
361 | ||
362 | if test "x$CONFIG_SHELL" != x; then | |
363 | for as_var in BASH_ENV ENV | |
364 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
365 | done | |
366 | export CONFIG_SHELL | |
367 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
368 | fi | |
369 | ||
370 | ||
371 | if test $as_have_required = no; then | |
372 | echo This script requires a shell more modern than all the | |
373 | echo shells that I found on your system. Please install a | |
374 | echo modern shell, or manually run the script under such a | |
375 | echo shell if you do have one. | |
376 | { (exit 1); exit 1; } | |
377 | fi | |
378 | ||
379 | ||
380 | fi | |
381 | ||
382 | fi | |
383 | ||
384 | ||
385 | ||
386 | (eval "as_func_return () { | |
387 | (exit \$1) | |
388 | } | |
389 | as_func_success () { | |
390 | as_func_return 0 | |
391 | } | |
392 | as_func_failure () { | |
393 | as_func_return 1 | |
394 | } | |
395 | as_func_ret_success () { | |
396 | return 0 | |
397 | } | |
398 | as_func_ret_failure () { | |
399 | return 1 | |
400 | } | |
401 | ||
402 | exitcode=0 | |
403 | if as_func_success; then | |
404 | : | |
405 | else | |
406 | exitcode=1 | |
407 | echo as_func_success failed. | |
408 | fi | |
409 | ||
410 | if as_func_failure; then | |
411 | exitcode=1 | |
412 | echo as_func_failure succeeded. | |
413 | fi | |
414 | ||
415 | if as_func_ret_success; then | |
416 | : | |
417 | else | |
418 | exitcode=1 | |
419 | echo as_func_ret_success failed. | |
420 | fi | |
421 | ||
422 | if as_func_ret_failure; then | |
423 | exitcode=1 | |
424 | echo as_func_ret_failure succeeded. | |
425 | fi | |
426 | ||
427 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
428 | : | |
429 | else | |
430 | exitcode=1 | |
431 | echo positional parameters were not saved. | |
432 | fi | |
433 | ||
434 | test \$exitcode = 0") || { | |
435 | echo No shell found that supports shell functions. | |
436 | echo Please tell bug-autoconf@gnu.org about your system, | |
437 | echo including any error possibly output before this message. | |
438 | echo This can help us improve future autoconf versions. | |
439 | echo Configuration will now proceed without shell functions. | |
440 | } | |
441 | ||
442 | ||
443 | ||
444 | as_lineno_1=$LINENO | |
445 | as_lineno_2=$LINENO | |
446 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
447 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
448 | ||
449 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
450 | # uniformly replaced by the line number. The first 'sed' inserts a | |
451 | # line-number line after each line using $LINENO; the second 'sed' | |
452 | # does the real work. The second script uses 'N' to pair each | |
453 | # line-number line with the line containing $LINENO, and appends | |
454 | # trailing '-' during substitution so that $LINENO is not a special | |
455 | # case at line end. | |
456 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
457 | # scripts with optimization help from Paolo Bonzini. Blame Lee | |
458 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
459 | # Avoid depending upon Character Ranges. | |
460 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
461 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
462 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
463 | as_cr_digits='0123456789' | |
464 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
465 | ||
466 | ||
467 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
468 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
469 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
470 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
471 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
459 | 472 | sed -n ' |
460 | 473 | p |
461 | 474 | /[$]LINENO/= |
472 | 485 | s/-\n.*// |
473 | 486 | ' >$as_me.lineno && |
474 | 487 | chmod +x "$as_me.lineno" || |
475 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
476 | { (exit 1); exit 1; }; } | |
477 | ||
488 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
489 | ||
490 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
491 | # already done that, so ensure we don't try to do so again and fall | |
492 | # in an infinite loop. This has already happened in practice. | |
493 | _as_can_reexec=no; export _as_can_reexec | |
478 | 494 | # Don't try to exec as it changes $[0], causing all sort of problems |
479 | 495 | # (the dirname of $[0] is not the place where we might find the |
480 | 496 | # original and so on. Autoconf is especially sensitive to this). |
483 | 499 | exit |
484 | 500 | } |
485 | 501 | |
486 | ||
487 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
488 | as_dirname=dirname | |
489 | else | |
490 | as_dirname=false | |
491 | fi | |
492 | ||
493 | 502 | ECHO_C= ECHO_N= ECHO_T= |
494 | case `echo -n x` in | |
503 | case `echo -n x` in @%:@((((( | |
495 | 504 | -n*) |
496 | case `echo 'x\c'` in | |
505 | case `echo 'xy\c'` in | |
497 | 506 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
498 | *) ECHO_C='\c';; | |
507 | xy) ECHO_C='\c';; | |
508 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
509 | ECHO_T=' ';; | |
499 | 510 | esac;; |
500 | 511 | *) |
501 | 512 | ECHO_N='-n';; |
502 | 513 | esac |
503 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
504 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
505 | as_expr=expr | |
506 | else | |
507 | as_expr=false | |
508 | fi | |
509 | 514 | |
510 | 515 | rm -f conf$$ conf$$.exe conf$$.file |
511 | 516 | if test -d conf$$.dir; then |
520 | 525 | # ... but there are two gotchas: |
521 | 526 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
522 | 527 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
523 | # In both cases, we have to default to `cp -p'. | |
528 | # In both cases, we have to default to `cp -pR'. | |
524 | 529 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
525 | as_ln_s='cp -p' | |
530 | as_ln_s='cp -pR' | |
526 | 531 | elif ln conf$$.file conf$$ 2>/dev/null; then |
527 | 532 | as_ln_s=ln |
528 | 533 | else |
529 | as_ln_s='cp -p' | |
534 | as_ln_s='cp -pR' | |
530 | 535 | fi |
531 | 536 | else |
532 | as_ln_s='cp -p' | |
537 | as_ln_s='cp -pR' | |
533 | 538 | fi |
534 | 539 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
535 | 540 | rmdir conf$$.dir 2>/dev/null |
536 | 541 | |
537 | 542 | if mkdir -p . 2>/dev/null; then |
538 | as_mkdir_p=: | |
543 | as_mkdir_p='mkdir -p "$as_dir"' | |
539 | 544 | else |
540 | 545 | test -d ./-p && rmdir ./-p |
541 | 546 | as_mkdir_p=false |
542 | 547 | fi |
543 | 548 | |
544 | if test -x / >/dev/null 2>&1; then | |
545 | as_test_x='test -x' | |
546 | else | |
547 | if ls -dL / >/dev/null 2>&1; then | |
548 | as_ls_L_option=L | |
549 | else | |
550 | as_ls_L_option= | |
551 | fi | |
552 | as_test_x=' | |
553 | eval sh -c '\'' | |
554 | if test -d "$1"; then | |
555 | test -d "$1/."; | |
556 | else | |
557 | case $1 in | |
558 | -*)set "./$1";; | |
559 | esac; | |
560 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
561 | ???[sx]*):;;*)false;;esac;fi | |
562 | '\'' sh | |
563 | ' | |
564 | fi | |
565 | as_executable_p=$as_test_x | |
549 | as_test_x='test -x' | |
550 | as_executable_p=as_fn_executable_p | |
566 | 551 | |
567 | 552 | # Sed expression to map a string onto a valid CPP name. |
568 | 553 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
571 | 556 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
572 | 557 | |
573 | 558 | |
574 | ||
575 | exec 7<&0 </dev/null 6>&1 | |
559 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
560 | exec 6>&1 | |
576 | 561 | |
577 | 562 | # Name of the host. |
578 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
563 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
579 | 564 | # so uname gets run too. |
580 | 565 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
581 | 566 | |
590 | 575 | subdirs= |
591 | 576 | MFLAGS= |
592 | 577 | MAKEFLAGS= |
593 | SHELL=${CONFIG_SHELL-/bin/sh} | |
594 | 578 | |
595 | 579 | # Identity of this package. |
596 | 580 | PACKAGE_NAME='unrtf' |
597 | 581 | PACKAGE_TARNAME='unrtf' |
598 | PACKAGE_VERSION='0.21.2' | |
599 | PACKAGE_STRING='unrtf 0.21.2' | |
582 | PACKAGE_VERSION='0.21.3' | |
583 | PACKAGE_STRING='unrtf 0.21.3' | |
600 | 584 | PACKAGE_BUGREPORT='bug-unrtf@gnu.org' |
585 | PACKAGE_URL='' | |
601 | 586 | |
602 | 587 | ac_unique_file="src/attr.c" |
603 | 588 | # Factoring default headers for most tests. |
654 | 639 | am__fastdepCC_FALSE |
655 | 640 | am__fastdepCC_TRUE |
656 | 641 | CCDEPMODE |
642 | am__nodep | |
657 | 643 | AMDEPBACKSLASH |
658 | 644 | AMDEP_FALSE |
659 | 645 | AMDEP_TRUE |
723 | 709 | program_transform_name |
724 | 710 | prefix |
725 | 711 | exec_prefix |
712 | PACKAGE_URL | |
726 | 713 | PACKAGE_BUGREPORT |
727 | 714 | PACKAGE_STRING |
728 | 715 | PACKAGE_VERSION |
807 | 794 | fi |
808 | 795 | |
809 | 796 | case $ac_option in |
810 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
811 | *) ac_optarg=yes ;; | |
797 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
798 | *=) ac_optarg= ;; | |
799 | *) ac_optarg=yes ;; | |
812 | 800 | esac |
813 | 801 | |
814 | 802 | # Accept the important Cygnus configure options, so we can diagnose typos. |
853 | 841 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
854 | 842 | # Reject names that are not valid shell variable names. |
855 | 843 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
856 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
857 | { (exit 1); exit 1; }; } | |
844 | as_fn_error $? "invalid feature name: $ac_useropt" | |
858 | 845 | ac_useropt_orig=$ac_useropt |
859 | 846 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
860 | 847 | case $ac_user_opts in |
880 | 867 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
881 | 868 | # Reject names that are not valid shell variable names. |
882 | 869 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
883 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
884 | { (exit 1); exit 1; }; } | |
870 | as_fn_error $? "invalid feature name: $ac_useropt" | |
885 | 871 | ac_useropt_orig=$ac_useropt |
886 | 872 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
887 | 873 | case $ac_user_opts in |
1085 | 1071 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1086 | 1072 | # Reject names that are not valid shell variable names. |
1087 | 1073 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1088 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1089 | { (exit 1); exit 1; }; } | |
1074 | as_fn_error $? "invalid package name: $ac_useropt" | |
1090 | 1075 | ac_useropt_orig=$ac_useropt |
1091 | 1076 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1092 | 1077 | case $ac_user_opts in |
1102 | 1087 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1103 | 1088 | # Reject names that are not valid shell variable names. |
1104 | 1089 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1105 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
1106 | { (exit 1); exit 1; }; } | |
1090 | as_fn_error $? "invalid package name: $ac_useropt" | |
1107 | 1091 | ac_useropt_orig=$ac_useropt |
1108 | 1092 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1109 | 1093 | case $ac_user_opts in |
1133 | 1117 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1134 | 1118 | x_libraries=$ac_optarg ;; |
1135 | 1119 | |
1136 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option | |
1137 | Try \`$0 --help' for more information." >&2 | |
1138 | { (exit 1); exit 1; }; } | |
1120 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
1121 | Try \`$0 --help' for more information" | |
1139 | 1122 | ;; |
1140 | 1123 | |
1141 | 1124 | *=*) |
1142 | 1125 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1143 | 1126 | # Reject names that are not valid shell variable names. |
1144 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
1145 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
1146 | { (exit 1); exit 1; }; } | |
1127 | case $ac_envvar in #( | |
1128 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
1129 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
1130 | esac | |
1147 | 1131 | eval $ac_envvar=\$ac_optarg |
1148 | 1132 | export $ac_envvar ;; |
1149 | 1133 | |
1152 | 1136 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1153 | 1137 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1154 | 1138 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1155 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
1139 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
1156 | 1140 | ;; |
1157 | 1141 | |
1158 | 1142 | esac |
1160 | 1144 | |
1161 | 1145 | if test -n "$ac_prev"; then |
1162 | 1146 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1163 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 | |
1164 | { (exit 1); exit 1; }; } | |
1147 | as_fn_error $? "missing argument to $ac_option" | |
1165 | 1148 | fi |
1166 | 1149 | |
1167 | 1150 | if test -n "$ac_unrecognized_opts"; then |
1168 | 1151 | case $enable_option_checking in |
1169 | 1152 | no) ;; |
1170 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | |
1171 | { (exit 1); exit 1; }; } ;; | |
1153 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1172 | 1154 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1173 | 1155 | esac |
1174 | 1156 | fi |
1191 | 1173 | [\\/$]* | ?:[\\/]* ) continue;; |
1192 | 1174 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1193 | 1175 | esac |
1194 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
1195 | { (exit 1); exit 1; }; } | |
1176 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
1196 | 1177 | done |
1197 | 1178 | |
1198 | 1179 | # There might be people who depend on the old broken behavior: `$host' |
1206 | 1187 | if test "x$host_alias" != x; then |
1207 | 1188 | if test "x$build_alias" = x; then |
1208 | 1189 | cross_compiling=maybe |
1209 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1210 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
1211 | 1190 | elif test "x$build_alias" != "x$host_alias"; then |
1212 | 1191 | cross_compiling=yes |
1213 | 1192 | fi |
1222 | 1201 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1223 | 1202 | ac_ls_di=`ls -di .` && |
1224 | 1203 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1225 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 | |
1226 | { (exit 1); exit 1; }; } | |
1204 | as_fn_error $? "working directory cannot be determined" | |
1227 | 1205 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1228 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1229 | { (exit 1); exit 1; }; } | |
1206 | as_fn_error $? "pwd does not report name of working directory" | |
1230 | 1207 | |
1231 | 1208 | |
1232 | 1209 | # Find the source files, if location was not specified. |
1265 | 1242 | fi |
1266 | 1243 | if test ! -r "$srcdir/$ac_unique_file"; then |
1267 | 1244 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1268 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | |
1269 | { (exit 1); exit 1; }; } | |
1245 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
1270 | 1246 | fi |
1271 | 1247 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1272 | 1248 | ac_abs_confdir=`( |
1273 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 | |
1274 | { (exit 1); exit 1; }; } | |
1249 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
1275 | 1250 | pwd)` |
1276 | 1251 | # When building in place, set srcdir=. |
1277 | 1252 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1297 | 1272 | # Omit some internal or obsolete options to make the list less imposing. |
1298 | 1273 | # This message is too long to be a string in the A/UX 3.1 sh. |
1299 | 1274 | cat <<_ACEOF |
1300 | \`configure' configures unrtf 0.21.2 to adapt to many kinds of systems. | |
1275 | \`configure' configures unrtf 0.21.3 to adapt to many kinds of systems. | |
1301 | 1276 | |
1302 | 1277 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1303 | 1278 | |
1311 | 1286 | --help=short display options specific to this package |
1312 | 1287 | --help=recursive display the short help of all the included packages |
1313 | 1288 | -V, --version display version information and exit |
1314 | -q, --quiet, --silent do not print \`checking...' messages | |
1289 | -q, --quiet, --silent do not print \`checking ...' messages | |
1315 | 1290 | --cache-file=FILE cache test results in FILE [disabled] |
1316 | 1291 | -C, --config-cache alias for \`--cache-file=config.cache' |
1317 | 1292 | -n, --no-create do not create output files |
1319 | 1294 | |
1320 | 1295 | Installation directories: |
1321 | 1296 | --prefix=PREFIX install architecture-independent files in PREFIX |
1322 | [$ac_default_prefix] | |
1297 | @<:@@S|@ac_default_prefix@:>@ | |
1323 | 1298 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1324 | [PREFIX] | |
1299 | @<:@PREFIX@:>@ | |
1325 | 1300 | |
1326 | 1301 | By default, \`make install' will install all the files in |
1327 | 1302 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1367 | 1342 | |
1368 | 1343 | if test -n "$ac_init_help"; then |
1369 | 1344 | case $ac_init_help in |
1370 | short | recursive ) echo "Configuration of unrtf 0.21.2:";; | |
1345 | short | recursive ) echo "Configuration of unrtf 0.21.3:";; | |
1371 | 1346 | esac |
1372 | 1347 | cat <<\_ACEOF |
1373 | 1348 | |
1375 | 1350 | --disable-option-checking ignore unrecognized --enable/--with options |
1376 | 1351 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1377 | 1352 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1378 | --enable-maintainer-mode enable make rules and dependencies not useful | |
1379 | (and sometimes confusing) to the casual installer | |
1380 | --disable-dependency-tracking speeds up one-time build | |
1381 | --enable-dependency-tracking do not reject slow dependency extractors | |
1353 | --enable-maintainer-mode | |
1354 | enable make rules and dependencies not useful (and | |
1355 | sometimes confusing) to the casual installer | |
1356 | --enable-dependency-tracking | |
1357 | do not reject slow dependency extractors | |
1358 | --disable-dependency-tracking | |
1359 | speeds up one-time build | |
1382 | 1360 | |
1383 | 1361 | Some influential environment variables: |
1384 | 1362 | CC C compiler command |
1386 | 1364 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1387 | 1365 | nonstandard directory <lib dir> |
1388 | 1366 | LIBS libraries to pass to the linker, e.g. -l<library> |
1389 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | |
1367 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
1390 | 1368 | you have headers in a nonstandard directory <include dir> |
1391 | 1369 | CPP C preprocessor |
1392 | 1370 | |
1456 | 1434 | test -n "$ac_init_help" && exit $ac_status |
1457 | 1435 | if $ac_init_version; then |
1458 | 1436 | cat <<\_ACEOF |
1459 | unrtf configure 0.21.2 | |
1460 | generated by GNU Autoconf 2.63 | |
1461 | ||
1462 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1463 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
1437 | unrtf configure 0.21.3 | |
1438 | generated by GNU Autoconf 2.69 | |
1439 | ||
1440 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1464 | 1441 | This configure script is free software; the Free Software Foundation |
1465 | 1442 | gives unlimited permission to copy, distribute and modify it. |
1466 | 1443 | _ACEOF |
1467 | 1444 | exit |
1468 | 1445 | fi |
1446 | ||
1447 | ## ------------------------ ## | |
1448 | ## Autoconf initialization. ## | |
1449 | ## ------------------------ ## | |
1450 | ||
1451 | @%:@ ac_fn_c_try_compile LINENO | |
1452 | @%:@ -------------------------- | |
1453 | @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. | |
1454 | ac_fn_c_try_compile () | |
1455 | { | |
1456 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1457 | rm -f conftest.$ac_objext | |
1458 | if { { ac_try="$ac_compile" | |
1459 | case "(($ac_try" in | |
1460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1461 | *) ac_try_echo=$ac_try;; | |
1462 | esac | |
1463 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1464 | $as_echo "$ac_try_echo"; } >&5 | |
1465 | (eval "$ac_compile") 2>conftest.err | |
1466 | ac_status=$? | |
1467 | if test -s conftest.err; then | |
1468 | grep -v '^ *+' conftest.err >conftest.er1 | |
1469 | cat conftest.er1 >&5 | |
1470 | mv -f conftest.er1 conftest.err | |
1471 | fi | |
1472 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1473 | test $ac_status = 0; } && { | |
1474 | test -z "$ac_c_werror_flag" || | |
1475 | test ! -s conftest.err | |
1476 | } && test -s conftest.$ac_objext; then : | |
1477 | ac_retval=0 | |
1478 | else | |
1479 | $as_echo "$as_me: failed program was:" >&5 | |
1480 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1481 | ||
1482 | ac_retval=1 | |
1483 | fi | |
1484 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1485 | as_fn_set_status $ac_retval | |
1486 | ||
1487 | } @%:@ ac_fn_c_try_compile | |
1488 | ||
1489 | @%:@ ac_fn_c_try_cpp LINENO | |
1490 | @%:@ ---------------------- | |
1491 | @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. | |
1492 | ac_fn_c_try_cpp () | |
1493 | { | |
1494 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1495 | if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1496 | case "(($ac_try" in | |
1497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1498 | *) ac_try_echo=$ac_try;; | |
1499 | esac | |
1500 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1501 | $as_echo "$ac_try_echo"; } >&5 | |
1502 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1503 | ac_status=$? | |
1504 | if test -s conftest.err; then | |
1505 | grep -v '^ *+' conftest.err >conftest.er1 | |
1506 | cat conftest.er1 >&5 | |
1507 | mv -f conftest.er1 conftest.err | |
1508 | fi | |
1509 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1510 | test $ac_status = 0; } > conftest.i && { | |
1511 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1512 | test ! -s conftest.err | |
1513 | }; then : | |
1514 | ac_retval=0 | |
1515 | else | |
1516 | $as_echo "$as_me: failed program was:" >&5 | |
1517 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1518 | ||
1519 | ac_retval=1 | |
1520 | fi | |
1521 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1522 | as_fn_set_status $ac_retval | |
1523 | ||
1524 | } @%:@ ac_fn_c_try_cpp | |
1525 | ||
1526 | @%:@ ac_fn_c_try_run LINENO | |
1527 | @%:@ ---------------------- | |
1528 | @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes | |
1529 | @%:@ that executables *can* be run. | |
1530 | ac_fn_c_try_run () | |
1531 | { | |
1532 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1533 | if { { ac_try="$ac_link" | |
1534 | case "(($ac_try" in | |
1535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1536 | *) ac_try_echo=$ac_try;; | |
1537 | esac | |
1538 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1539 | $as_echo "$ac_try_echo"; } >&5 | |
1540 | (eval "$ac_link") 2>&5 | |
1541 | ac_status=$? | |
1542 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1543 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1544 | { { case "(($ac_try" in | |
1545 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1546 | *) ac_try_echo=$ac_try;; | |
1547 | esac | |
1548 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1549 | $as_echo "$ac_try_echo"; } >&5 | |
1550 | (eval "$ac_try") 2>&5 | |
1551 | ac_status=$? | |
1552 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1553 | test $ac_status = 0; }; }; then : | |
1554 | ac_retval=0 | |
1555 | else | |
1556 | $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1557 | $as_echo "$as_me: failed program was:" >&5 | |
1558 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1559 | ||
1560 | ac_retval=$ac_status | |
1561 | fi | |
1562 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1563 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1564 | as_fn_set_status $ac_retval | |
1565 | ||
1566 | } @%:@ ac_fn_c_try_run | |
1567 | ||
1568 | @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1569 | @%:@ ------------------------------------------------------- | |
1570 | @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1571 | @%:@ the include files in INCLUDES and setting the cache variable VAR | |
1572 | @%:@ accordingly. | |
1573 | ac_fn_c_check_header_mongrel () | |
1574 | { | |
1575 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1576 | if eval \${$3+:} false; then : | |
1577 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1578 | $as_echo_n "checking for $2... " >&6; } | |
1579 | if eval \${$3+:} false; then : | |
1580 | $as_echo_n "(cached) " >&6 | |
1581 | fi | |
1582 | eval ac_res=\$$3 | |
1583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1584 | $as_echo "$ac_res" >&6; } | |
1585 | else | |
1586 | # Is the header compilable? | |
1587 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1588 | $as_echo_n "checking $2 usability... " >&6; } | |
1589 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1590 | /* end confdefs.h. */ | |
1591 | $4 | |
1592 | @%:@include <$2> | |
1593 | _ACEOF | |
1594 | if ac_fn_c_try_compile "$LINENO"; then : | |
1595 | ac_header_compiler=yes | |
1596 | else | |
1597 | ac_header_compiler=no | |
1598 | fi | |
1599 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1601 | $as_echo "$ac_header_compiler" >&6; } | |
1602 | ||
1603 | # Is the header present? | |
1604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1605 | $as_echo_n "checking $2 presence... " >&6; } | |
1606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1607 | /* end confdefs.h. */ | |
1608 | @%:@include <$2> | |
1609 | _ACEOF | |
1610 | if ac_fn_c_try_cpp "$LINENO"; then : | |
1611 | ac_header_preproc=yes | |
1612 | else | |
1613 | ac_header_preproc=no | |
1614 | fi | |
1615 | rm -f conftest.err conftest.i conftest.$ac_ext | |
1616 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1617 | $as_echo "$ac_header_preproc" >&6; } | |
1618 | ||
1619 | # So? What about this header? | |
1620 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1621 | yes:no: ) | |
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1623 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1624 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1625 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1626 | ;; | |
1627 | no:yes:* ) | |
1628 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1629 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1630 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1631 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1632 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1633 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1634 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1635 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1637 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1638 | ( $as_echo "## -------------------------------- ## | |
1639 | ## Report this to bug-unrtf@gnu.org ## | |
1640 | ## -------------------------------- ##" | |
1641 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
1642 | ;; | |
1643 | esac | |
1644 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1645 | $as_echo_n "checking for $2... " >&6; } | |
1646 | if eval \${$3+:} false; then : | |
1647 | $as_echo_n "(cached) " >&6 | |
1648 | else | |
1649 | eval "$3=\$ac_header_compiler" | |
1650 | fi | |
1651 | eval ac_res=\$$3 | |
1652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1653 | $as_echo "$ac_res" >&6; } | |
1654 | fi | |
1655 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1656 | ||
1657 | } @%:@ ac_fn_c_check_header_mongrel | |
1658 | ||
1659 | @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1660 | @%:@ ------------------------------------------------------- | |
1661 | @%:@ Tests whether HEADER exists and can be compiled using the include files in | |
1662 | @%:@ INCLUDES, setting the cache variable VAR accordingly. | |
1663 | ac_fn_c_check_header_compile () | |
1664 | { | |
1665 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1666 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1667 | $as_echo_n "checking for $2... " >&6; } | |
1668 | if eval \${$3+:} false; then : | |
1669 | $as_echo_n "(cached) " >&6 | |
1670 | else | |
1671 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1672 | /* end confdefs.h. */ | |
1673 | $4 | |
1674 | @%:@include <$2> | |
1675 | _ACEOF | |
1676 | if ac_fn_c_try_compile "$LINENO"; then : | |
1677 | eval "$3=yes" | |
1678 | else | |
1679 | eval "$3=no" | |
1680 | fi | |
1681 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1682 | fi | |
1683 | eval ac_res=\$$3 | |
1684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1685 | $as_echo "$ac_res" >&6; } | |
1686 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1687 | ||
1688 | } @%:@ ac_fn_c_check_header_compile | |
1689 | ||
1690 | @%:@ ac_fn_c_try_link LINENO | |
1691 | @%:@ ----------------------- | |
1692 | @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. | |
1693 | ac_fn_c_try_link () | |
1694 | { | |
1695 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1696 | rm -f conftest.$ac_objext conftest$ac_exeext | |
1697 | if { { ac_try="$ac_link" | |
1698 | case "(($ac_try" in | |
1699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1700 | *) ac_try_echo=$ac_try;; | |
1701 | esac | |
1702 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1703 | $as_echo "$ac_try_echo"; } >&5 | |
1704 | (eval "$ac_link") 2>conftest.err | |
1705 | ac_status=$? | |
1706 | if test -s conftest.err; then | |
1707 | grep -v '^ *+' conftest.err >conftest.er1 | |
1708 | cat conftest.er1 >&5 | |
1709 | mv -f conftest.er1 conftest.err | |
1710 | fi | |
1711 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1712 | test $ac_status = 0; } && { | |
1713 | test -z "$ac_c_werror_flag" || | |
1714 | test ! -s conftest.err | |
1715 | } && test -s conftest$ac_exeext && { | |
1716 | test "$cross_compiling" = yes || | |
1717 | test -x conftest$ac_exeext | |
1718 | }; then : | |
1719 | ac_retval=0 | |
1720 | else | |
1721 | $as_echo "$as_me: failed program was:" >&5 | |
1722 | sed 's/^/| /' conftest.$ac_ext >&5 | |
1723 | ||
1724 | ac_retval=1 | |
1725 | fi | |
1726 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1727 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1728 | # interfere with the next link command; also delete a directory that is | |
1729 | # left behind by Apple's compiler. We do this before executing the actions. | |
1730 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1731 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1732 | as_fn_set_status $ac_retval | |
1733 | ||
1734 | } @%:@ ac_fn_c_try_link | |
1735 | ||
1736 | @%:@ ac_fn_c_check_func LINENO FUNC VAR | |
1737 | @%:@ ---------------------------------- | |
1738 | @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1739 | ac_fn_c_check_func () | |
1740 | { | |
1741 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1743 | $as_echo_n "checking for $2... " >&6; } | |
1744 | if eval \${$3+:} false; then : | |
1745 | $as_echo_n "(cached) " >&6 | |
1746 | else | |
1747 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1748 | /* end confdefs.h. */ | |
1749 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
1750 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
1751 | #define $2 innocuous_$2 | |
1752 | ||
1753 | /* System header to define __stub macros and hopefully few prototypes, | |
1754 | which can conflict with char $2 (); below. | |
1755 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
1756 | <limits.h> exists even on freestanding compilers. */ | |
1757 | ||
1758 | #ifdef __STDC__ | |
1759 | # include <limits.h> | |
1760 | #else | |
1761 | # include <assert.h> | |
1762 | #endif | |
1763 | ||
1764 | #undef $2 | |
1765 | ||
1766 | /* Override any GCC internal prototype to avoid an error. | |
1767 | Use char because int might match the return type of a GCC | |
1768 | builtin and then its argument prototype would still apply. */ | |
1769 | #ifdef __cplusplus | |
1770 | extern "C" | |
1771 | #endif | |
1772 | char $2 (); | |
1773 | /* The GNU C library defines this for functions which it implements | |
1774 | to always fail with ENOSYS. Some functions are actually named | |
1775 | something starting with __ and the normal name is an alias. */ | |
1776 | #if defined __stub_$2 || defined __stub___$2 | |
1777 | choke me | |
1778 | #endif | |
1779 | ||
1780 | int | |
1781 | main () | |
1782 | { | |
1783 | return $2 (); | |
1784 | ; | |
1785 | return 0; | |
1786 | } | |
1787 | _ACEOF | |
1788 | if ac_fn_c_try_link "$LINENO"; then : | |
1789 | eval "$3=yes" | |
1790 | else | |
1791 | eval "$3=no" | |
1792 | fi | |
1793 | rm -f core conftest.err conftest.$ac_objext \ | |
1794 | conftest$ac_exeext conftest.$ac_ext | |
1795 | fi | |
1796 | eval ac_res=\$$3 | |
1797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1798 | $as_echo "$ac_res" >&6; } | |
1799 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1800 | ||
1801 | } @%:@ ac_fn_c_check_func | |
1469 | 1802 | cat >config.log <<_ACEOF |
1470 | 1803 | This file contains any messages produced by compilers while |
1471 | 1804 | running configure, to aid debugging if configure makes a mistake. |
1472 | 1805 | |
1473 | It was created by unrtf $as_me 0.21.2, which was | |
1474 | generated by GNU Autoconf 2.63. Invocation command line was | |
1806 | It was created by unrtf $as_me 0.21.3, which was | |
1807 | generated by GNU Autoconf 2.69. Invocation command line was | |
1475 | 1808 | |
1476 | 1809 | $ $0 $@ |
1477 | 1810 | |
1479 | 1812 | exec 5>>config.log |
1480 | 1813 | { |
1481 | 1814 | cat <<_ASUNAME |
1482 | @%:@@%:@ --------- @%:@@%:@ | |
1483 | @%:@@%:@ Platform. @%:@@%:@ | |
1484 | @%:@@%:@ --------- @%:@@%:@ | |
1815 | ## --------- ## | |
1816 | ## Platform. ## | |
1817 | ## --------- ## | |
1485 | 1818 | |
1486 | 1819 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1487 | 1820 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1507 | 1840 | do |
1508 | 1841 | IFS=$as_save_IFS |
1509 | 1842 | test -z "$as_dir" && as_dir=. |
1510 | $as_echo "PATH: $as_dir" | |
1511 | done | |
1843 | $as_echo "PATH: $as_dir" | |
1844 | done | |
1512 | 1845 | IFS=$as_save_IFS |
1513 | 1846 | |
1514 | 1847 | } >&5 |
1516 | 1849 | cat >&5 <<_ACEOF |
1517 | 1850 | |
1518 | 1851 | |
1519 | @%:@@%:@ ----------- @%:@@%:@ | |
1520 | @%:@@%:@ Core tests. @%:@@%:@ | |
1521 | @%:@@%:@ ----------- @%:@@%:@ | |
1852 | ## ----------- ## | |
1853 | ## Core tests. ## | |
1854 | ## ----------- ## | |
1522 | 1855 | |
1523 | 1856 | _ACEOF |
1524 | 1857 | |
1545 | 1878 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1546 | 1879 | esac |
1547 | 1880 | case $ac_pass in |
1548 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1881 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
1549 | 1882 | 2) |
1550 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1883 | as_fn_append ac_configure_args1 " '$ac_arg'" | |
1551 | 1884 | if test $ac_must_keep_next = true; then |
1552 | 1885 | ac_must_keep_next=false # Got value, back to normal. |
1553 | 1886 | else |
1563 | 1896 | -* ) ac_must_keep_next=true ;; |
1564 | 1897 | esac |
1565 | 1898 | fi |
1566 | ac_configure_args="$ac_configure_args '$ac_arg'" | |
1899 | as_fn_append ac_configure_args " '$ac_arg'" | |
1567 | 1900 | ;; |
1568 | 1901 | esac |
1569 | 1902 | done |
1570 | 1903 | done |
1571 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1572 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1904 | { ac_configure_args0=; unset ac_configure_args0;} | |
1905 | { ac_configure_args1=; unset ac_configure_args1;} | |
1573 | 1906 | |
1574 | 1907 | # When interrupted or exit'd, cleanup temporary files, and complete |
1575 | 1908 | # config.log. We remove comments because anyway the quotes in there |
1581 | 1914 | { |
1582 | 1915 | echo |
1583 | 1916 | |
1584 | cat <<\_ASBOX | |
1585 | @%:@@%:@ ---------------- @%:@@%:@ | |
1586 | @%:@@%:@ Cache variables. @%:@@%:@ | |
1587 | @%:@@%:@ ---------------- @%:@@%:@ | |
1588 | _ASBOX | |
1917 | $as_echo "## ---------------- ## | |
1918 | ## Cache variables. ## | |
1919 | ## ---------------- ##" | |
1589 | 1920 | echo |
1590 | 1921 | # The following way of writing the cache mishandles newlines in values, |
1591 | 1922 | ( |
1594 | 1925 | case $ac_val in #( |
1595 | 1926 | *${as_nl}*) |
1596 | 1927 | case $ac_var in #( |
1597 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 | |
1928 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
1598 | 1929 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1599 | 1930 | esac |
1600 | 1931 | case $ac_var in #( |
1601 | 1932 | _ | IFS | as_nl) ;; #( |
1602 | 1933 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1603 | *) $as_unset $ac_var ;; | |
1934 | *) { eval $ac_var=; unset $ac_var;} ;; | |
1604 | 1935 | esac ;; |
1605 | 1936 | esac |
1606 | 1937 | done |
1619 | 1950 | ) |
1620 | 1951 | echo |
1621 | 1952 | |
1622 | cat <<\_ASBOX | |
1623 | @%:@@%:@ ----------------- @%:@@%:@ | |
1624 | @%:@@%:@ Output variables. @%:@@%:@ | |
1625 | @%:@@%:@ ----------------- @%:@@%:@ | |
1626 | _ASBOX | |
1953 | $as_echo "## ----------------- ## | |
1954 | ## Output variables. ## | |
1955 | ## ----------------- ##" | |
1627 | 1956 | echo |
1628 | 1957 | for ac_var in $ac_subst_vars |
1629 | 1958 | do |
1636 | 1965 | echo |
1637 | 1966 | |
1638 | 1967 | if test -n "$ac_subst_files"; then |
1639 | cat <<\_ASBOX | |
1640 | @%:@@%:@ ------------------- @%:@@%:@ | |
1641 | @%:@@%:@ File substitutions. @%:@@%:@ | |
1642 | @%:@@%:@ ------------------- @%:@@%:@ | |
1643 | _ASBOX | |
1968 | $as_echo "## ------------------- ## | |
1969 | ## File substitutions. ## | |
1970 | ## ------------------- ##" | |
1644 | 1971 | echo |
1645 | 1972 | for ac_var in $ac_subst_files |
1646 | 1973 | do |
1654 | 1981 | fi |
1655 | 1982 | |
1656 | 1983 | if test -s confdefs.h; then |
1657 | cat <<\_ASBOX | |
1658 | @%:@@%:@ ----------- @%:@@%:@ | |
1659 | @%:@@%:@ confdefs.h. @%:@@%:@ | |
1660 | @%:@@%:@ ----------- @%:@@%:@ | |
1661 | _ASBOX | |
1984 | $as_echo "## ----------- ## | |
1985 | ## confdefs.h. ## | |
1986 | ## ----------- ##" | |
1662 | 1987 | echo |
1663 | 1988 | cat confdefs.h |
1664 | 1989 | echo |
1672 | 1997 | exit $exit_status |
1673 | 1998 | ' 0 |
1674 | 1999 | for ac_signal in 1 2 13 15; do |
1675 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
2000 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
1676 | 2001 | done |
1677 | 2002 | ac_signal=0 |
1678 | 2003 | |
1679 | 2004 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1680 | 2005 | rm -f -r conftest* confdefs.h |
1681 | 2006 | |
2007 | $as_echo "/* confdefs.h */" > confdefs.h | |
2008 | ||
1682 | 2009 | # Predefined preprocessor variables. |
1683 | 2010 | |
1684 | 2011 | cat >>confdefs.h <<_ACEOF |
1685 | 2012 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" |
1686 | 2013 | _ACEOF |
1687 | 2014 | |
1688 | ||
1689 | 2015 | cat >>confdefs.h <<_ACEOF |
1690 | 2016 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1691 | 2017 | _ACEOF |
1692 | 2018 | |
1693 | ||
1694 | 2019 | cat >>confdefs.h <<_ACEOF |
1695 | 2020 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |